Home
last modified time | relevance | path

Searched refs:alignment (Results 1 - 25 of 414) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dfree-space-tree-tests.c153 u32 alignment) in test_empty_block_group()
167 u32 alignment) in test_remove_all()
188 u32 alignment) in test_remove_beginning()
191 {cache->start + alignment, cache->length - alignment}, in test_remove_beginning()
196 cache->start, alignment); in test_remove_beginning()
211 u32 alignment) in test_remove_end()
214 {cache->start, cache->length - alignment}, in test_remove_end()
219 cache->start + cache->length - alignment, in test_remove_end()
220 alignment); in test_remove_end()
149 test_empty_block_group(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_empty_block_group() argument
163 test_remove_all(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_all() argument
184 test_remove_beginning(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_beginning() argument
207 test_remove_end(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_end() argument
230 test_remove_middle(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_middle() argument
254 test_merge_left(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_left() argument
291 test_merge_right(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_right() argument
329 test_merge_both(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_both() argument
372 test_merge_none(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_none() argument
423 run_test(test_func_t test_func, int bitmaps, u32 sectorsize, u32 nodesize, u32 alignment) run_test() argument
521 run_test_both_formats(test_func_t test_func, u32 sectorsize, u32 nodesize, u32 alignment) run_test_both_formats() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dfree-space-tree-tests.c154 u32 alignment) in test_empty_block_group()
168 u32 alignment) in test_remove_all()
189 u32 alignment) in test_remove_beginning()
192 {cache->start + alignment, cache->length - alignment}, in test_remove_beginning()
197 cache->start, alignment); in test_remove_beginning()
212 u32 alignment) in test_remove_end()
215 {cache->start, cache->length - alignment}, in test_remove_end()
220 cache->start + cache->length - alignment, in test_remove_end()
221 alignment); in test_remove_end()
150 test_empty_block_group(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_empty_block_group() argument
164 test_remove_all(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_all() argument
185 test_remove_beginning(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_beginning() argument
208 test_remove_end(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_end() argument
231 test_remove_middle(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_remove_middle() argument
255 test_merge_left(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_left() argument
292 test_merge_right(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_right() argument
330 test_merge_both(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_both() argument
373 test_merge_none(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, u32 alignment) test_merge_none() argument
424 run_test(test_func_t test_func, int bitmaps, u32 sectorsize, u32 nodesize, u32 alignment) run_test() argument
525 run_test_both_formats(test_func_t test_func, u32 sectorsize, u32 nodesize, u32 alignment) run_test_both_formats() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
H A Dload_address.c11 unsigned long long alignment; member
25 stats->alignment = 0; in ExtractStatistics()
31 if (info->dlpi_phdr[i].p_align > stats->alignment) in ExtractStatistics()
32 stats->alignment = info->dlpi_phdr[i].p_align; in ExtractStatistics()
50 if (extracted.alignment == 0) { in main()
51 fprintf(stderr, "No alignment found\n"); in main()
53 } else if (extracted.alignment & (extracted.alignment - 1)) { in main()
58 misalign = extracted.load_address & (extracted.alignment - 1); in main()
60 printf("alignment in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/exec/
H A Dload_address.c11 unsigned long long alignment; member
25 stats->alignment = 0; in ExtractStatistics()
31 if (info->dlpi_phdr[i].p_align > stats->alignment) in ExtractStatistics()
32 stats->alignment = info->dlpi_phdr[i].p_align; in ExtractStatistics()
50 if (extracted.alignment == 0) { in main()
51 fprintf(stderr, "No alignment found\n"); in main()
53 } else if (extracted.alignment & (extracted.alignment - 1)) { in main()
58 misalign = extracted.load_address & (extracted.alignment - 1); in main()
60 printf("alignment in main()
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dpci_endpoint_test.c121 size_t alignment; member
127 size_t alignment; member
339 struct pci_endpoint_test_xfer_param *param, size_t alignment) in pci_endpoint_test_validate_xfer_params()
346 if (param->size > SIZE_MAX - alignment) { in pci_endpoint_test_validate_xfer_params()
373 size_t alignment = test->alignment; in pci_endpoint_test_copy() local
385 err = pci_endpoint_test_validate_xfer_params(dev, &param, alignment); in pci_endpoint_test_copy()
400 orig_src_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_copy()
407 get_random_bytes(orig_src_addr, size + alignment); in pci_endpoint_test_copy()
409 size + alignment, DMA_TO_DEVIC in pci_endpoint_test_copy()
338 pci_endpoint_test_validate_xfer_params(struct device *dev, struct pci_endpoint_test_xfer_param *param, size_t alignment) pci_endpoint_test_validate_xfer_params() argument
509 size_t alignment = test->alignment; pci_endpoint_test_write() local
610 size_t alignment = test->alignment; pci_endpoint_test_read() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/
H A Dpci_endpoint_test.c121 size_t alignment; member
127 size_t alignment; member
332 struct pci_endpoint_test_xfer_param *param, size_t alignment) in pci_endpoint_test_validate_xfer_params()
339 if (param->size > SIZE_MAX - alignment) { in pci_endpoint_test_validate_xfer_params()
366 size_t alignment = test->alignment; in pci_endpoint_test_copy() local
378 err = pci_endpoint_test_validate_xfer_params(dev, &param, alignment); in pci_endpoint_test_copy()
393 orig_src_addr = kzalloc(size + alignment, GFP_KERNEL); in pci_endpoint_test_copy()
400 get_random_bytes(orig_src_addr, size + alignment); in pci_endpoint_test_copy()
402 size + alignment, DMA_TO_DEVIC in pci_endpoint_test_copy()
331 pci_endpoint_test_validate_xfer_params(struct device *dev, struct pci_endpoint_test_xfer_param *param, size_t alignment) pci_endpoint_test_validate_xfer_params() argument
502 size_t alignment = test->alignment; pci_endpoint_test_write() local
603 size_t alignment = test->alignment; pci_endpoint_test_read() local
[all...]
/kernel/liteos_a/compat/posix/src/
H A Dposix_memalign.c36 int posix_memalign(void **memAddr, size_t alignment, size_t size) in posix_memalign() argument
38 if ((alignment == 0) || ((alignment & (alignment - 1)) != 0) || ((alignment % sizeof(void *)) != 0)) { in posix_memalign()
42 *memAddr = LOS_MemAllocAlign(OS_SYS_MEM_ADDR, size, alignment); in posix_memalign()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c164 * @alignment: required alignment of starting offset, may be 0 but
175 * is can insert the node. The hole address is aligned to @alignment and
194 u64 size, u64 alignment, unsigned long color, in i915_gem_gtt_insert()
205 GEM_BUG_ON(alignment && !is_power_of_2(alignment)); in i915_gem_gtt_insert()
206 GEM_BUG_ON(alignment && !IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); in i915_gem_gtt_insert()
216 if (unlikely(round_up(start, alignment) > round_down(end - size, alignment))) in i915_gem_gtt_insert()
192 i915_gem_gtt_insert(struct i915_address_space *vm, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, u64 start, u64 end, unsigned int flags) i915_gem_gtt_insert() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_fb_pin.c31 u32 alignment; in intel_pin_fb_obj_dpt() local
43 alignment = 4096 * 512; in intel_pin_fb_obj_dpt()
79 if (i915_vma_misplaced(vma, 0, alignment, 0)) { in intel_pin_fb_obj_dpt()
85 ret = i915_vma_pin_ww(vma, &ww, 0, alignment, PIN_GLOBAL); in intel_pin_fb_obj_dpt()
94 vma->display_alignment = max(vma->display_alignment, alignment); in intel_pin_fb_obj_dpt()
119 u32 alignment; in intel_pin_and_fence_fb_obj() local
126 alignment = intel_cursor_alignment(dev_priv); in intel_pin_and_fence_fb_obj()
128 alignment = intel_surf_alignment(fb, 0); in intel_pin_and_fence_fb_obj()
129 if (drm_WARN_ON(dev, alignment && !is_power_of_2(alignment))) in intel_pin_and_fence_fb_obj()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c162 * @alignment: required alignment of starting offset, may be 0 but
173 * is can insert the node. The hole address is aligned to @alignment and
193 u64 size, u64 alignment, unsigned long color, in i915_gem_gtt_insert()
204 GEM_BUG_ON(alignment && !is_power_of_2(alignment)); in i915_gem_gtt_insert()
205 GEM_BUG_ON(alignment && !IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); in i915_gem_gtt_insert()
215 if (unlikely(round_up(start, alignment) > round_down(end - size, alignment))) in i915_gem_gtt_insert()
190 i915_gem_gtt_insert(struct i915_address_space *vm, struct i915_gem_ww_ctx *ww, struct drm_mm_node *node, u64 size, u64 alignment, unsigned long color, u64 start, u64 end, unsigned int flags) i915_gem_gtt_insert() argument
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.pl174 my $alignment; # The .align value to use for $mcount_section
175 my $section_type; # Section header plus possible alignment command
201 $alignment = 8;
211 $alignment = 4;
225 $alignment = 8;
231 $alignment = 2;
268 $alignment = 2;
274 $alignment = 3;
300 $alignment = 8;
364 $alignment
[all...]
/kernel/linux/linux-5.10/scripts/
H A Drecordmcount.pl174 my $alignment; # The .align value to use for $mcount_section
175 my $section_type; # Section header plus possible alignment command
234 $alignment = 8;
244 $alignment = 4;
261 $alignment = 8;
267 $alignment = 2;
304 $alignment = 2;
310 $alignment = 3;
336 $alignment = 8;
400 $alignment
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Dmsm_media_info.h44 * . . . . . . . . . . . . . . . . --> Buffer size alignment
82 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment
140 * . . . . . . . . . . . . . . . . --> Buffer size alignment
797 * . . . . . . . . . . . . . . . . --> Buffer size alignment
1072 unsigned int alignment = 0, bpp = 4; in VENUS_RGB_STRIDE() local
1079 alignment = 128; in VENUS_RGB_STRIDE()
1082 alignment = 256; in VENUS_RGB_STRIDE()
1087 alignment = 256; in VENUS_RGB_STRIDE()
1093 return MSM_MEDIA_ALIGN(width * bpp, alignment); in VENUS_RGB_STRIDE()
1098 unsigned int alignment in VENUS_RGB_SCANLINES() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Dmsm_media_info.h44 * . . . . . . . . . . . . . . . . --> Buffer size alignment
82 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment
140 * . . . . . . . . . . . . . . . . --> Buffer size alignment
797 * . . . . . . . . . . . . . . . . --> Buffer size alignment
1072 unsigned int alignment = 0, bpp = 4; in VENUS_RGB_STRIDE() local
1079 alignment = 128; in VENUS_RGB_STRIDE()
1082 alignment = 256; in VENUS_RGB_STRIDE()
1087 alignment = 256; in VENUS_RGB_STRIDE()
1093 return MSM_MEDIA_ALIGN(width * bpp, alignment); in VENUS_RGB_STRIDE()
1098 unsigned int alignment in VENUS_RGB_SCANLINES() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Dcma.c173 phys_addr_t alignment; in cma_init_reserved_mem() local
184 /* ensure minimal alignment required by mm core */ in cma_init_reserved_mem()
185 alignment = PAGE_SIZE << in cma_init_reserved_mem()
188 /* alignment should be aligned with order_per_bit */ in cma_init_reserved_mem()
189 if (!IS_ALIGNED(alignment >> PAGE_SHIFT, 1 << order_per_bit)) in cma_init_reserved_mem()
192 if (ALIGN(base, alignment) != base || ALIGN(size, alignment) != size) in cma_init_reserved_mem()
221 * @alignment: Alignment for the CMA area, should be power of 2 or zero
238 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous_nid()
253 pr_debug("%s(size %pa, base %pa, limit %pa alignment in cma_declare_contiguous_nid()
236 cma_declare_contiguous_nid(phys_addr_t base, phys_addr_t size, phys_addr_t limit, phys_addr_t alignment, unsigned int order_per_bit, bool fixed, const char *name, struct cma **res_cma, int nid) cma_declare_contiguous_nid() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
H A Dcvmx-bootmem.c128 * @alignment: Alignment required - must be power of 2
131 static void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment, in cvmx_bootmem_alloc_range() argument
136 cvmx_bootmem_phy_alloc(size, min_addr, max_addr, alignment, 0); in cvmx_bootmem_alloc_range()
145 uint64_t alignment) in cvmx_bootmem_alloc_address()
147 return cvmx_bootmem_alloc_range(size, alignment, address, in cvmx_bootmem_alloc_address()
165 void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, char *name) in cvmx_bootmem_alloc_named() argument
167 return cvmx_bootmem_alloc_named_range(size, 0, 0, alignment, name); in cvmx_bootmem_alloc_named()
218 uint64_t address_max, uint64_t alignment, in cvmx_bootmem_phy_alloc()
235 (unsigned long long)alignment); in cvmx_bootmem_phy_alloc()
259 /* Round req_size up to mult of minimum alignment byte in cvmx_bootmem_phy_alloc()
144 cvmx_bootmem_alloc_address(uint64_t size, uint64_t address, uint64_t alignment) cvmx_bootmem_alloc_address() argument
217 cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, uint64_t address_max, uint64_t alignment, uint32_t flags) cvmx_bootmem_phy_alloc() argument
718 cvmx_bootmem_phy_named_block_alloc(uint64_t size, uint64_t min_addr, uint64_t max_addr, uint64_t alignment, char *name, uint32_t flags) cvmx_bootmem_phy_named_block_alloc() argument
[all...]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/
H A Dcvmx-bootmem.c128 * @alignment: Alignment required - must be power of 2
131 static void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment, in cvmx_bootmem_alloc_range() argument
136 cvmx_bootmem_phy_alloc(size, min_addr, max_addr, alignment, 0); in cvmx_bootmem_alloc_range()
145 uint64_t alignment) in cvmx_bootmem_alloc_address()
147 return cvmx_bootmem_alloc_range(size, alignment, address, in cvmx_bootmem_alloc_address()
165 void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, char *name) in cvmx_bootmem_alloc_named() argument
167 return cvmx_bootmem_alloc_named_range(size, 0, 0, alignment, name); in cvmx_bootmem_alloc_named()
218 uint64_t address_max, uint64_t alignment, in cvmx_bootmem_phy_alloc()
235 (unsigned long long)alignment); in cvmx_bootmem_phy_alloc()
259 /* Round req_size up to mult of minimum alignment byte in cvmx_bootmem_phy_alloc()
144 cvmx_bootmem_alloc_address(uint64_t size, uint64_t address, uint64_t alignment) cvmx_bootmem_alloc_address() argument
217 cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, uint64_t address_max, uint64_t alignment, uint32_t flags) cvmx_bootmem_phy_alloc() argument
718 cvmx_bootmem_phy_named_block_alloc(uint64_t size, uint64_t min_addr, uint64_t max_addr, uint64_t alignment, char *name, uint32_t flags) cvmx_bootmem_phy_named_block_alloc() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/lib/
H A Drheap.c253 rh_info_t *rh_create(unsigned int alignment) in rh_create() argument
258 if ((alignment & (alignment - 1)) != 0) in rh_create()
265 info->alignment = alignment; in rh_create()
300 void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks, in rh_init() argument
307 if ((alignment & (alignment - 1)) != 0) in rh_init()
310 info->alignment = alignment; in rh_init()
442 rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner) rh_alloc_align() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/lib/
H A Drheap.c253 rh_info_t *rh_create(unsigned int alignment) in rh_create() argument
258 if ((alignment & (alignment - 1)) != 0) in rh_create()
265 info->alignment = alignment; in rh_create()
300 void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks, in rh_init() argument
307 if ((alignment & (alignment - 1)) != 0) in rh_init()
310 info->alignment = alignment; in rh_init()
442 rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner) rh_alloc_align() argument
[all...]
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dhci_h4.c159 u8 alignment = hu->alignment ? hu->alignment : 1; in h4_recv_buf() local
255 hu->padding = (skb->len - 1) % alignment; in h4_recv_buf()
256 hu->padding = (alignment - hu->padding) % alignment; in h4_recv_buf()
263 hu->padding = (skb->len - 1) % alignment; in h4_recv_buf()
264 hu->padding = (alignment - hu->padding) % alignment; in h4_recv_buf()
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dhci_h4.c159 u8 alignment = hu->alignment ? hu->alignment : 1; in h4_recv_buf() local
255 hu->padding = (skb->len + 1) % alignment; in h4_recv_buf()
256 hu->padding = (alignment - hu->padding) % alignment; in h4_recv_buf()
263 hu->padding = (skb->len + 1) % alignment; in h4_recv_buf()
264 hu->padding = (alignment - hu->padding) % alignment; in h4_recv_buf()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dcow_user.c58 * Add alignment field so that different alignments can be used for the
65 * by the bitmap alignment.
67 * by the alignment field. This is to allow COW files to be
69 * /dev/raw, with a 512 byte alignment restriction. This also
79 * align size to 8-byte alignment. This shifted all fields above (no padding
92 __u32 alignment; member
104 __u32 alignment; member
198 int sectorsize, int alignment, unsigned long long *size) in write_cow_header()
252 header->alignment = htobe32(alignment); in write_cow_header()
197 write_cow_header(char *cow_file, int fd, char *backing_file, int sectorsize, int alignment, unsigned long long *size) write_cow_header() argument
403 init_cow_file(int fd, char *cow_file, char *backing_file, int sectorsize, int alignment, int *bitmap_offset_out, unsigned long *bitmap_len_out, int *data_offset_out) init_cow_file() argument
[all...]
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dcow_user.c58 * Add alignment field so that different alignments can be used for the
65 * by the bitmap alignment.
67 * by the alignment field. This is to allow COW files to be
69 * /dev/raw, with a 512 byte alignment restriction. This also
79 * align size to 8-byte alignment. This shifted all fields above (no padding
92 __u32 alignment; member
104 __u32 alignment; member
198 int sectorsize, int alignment, unsigned long long *size) in write_cow_header()
252 header->alignment = htobe32(alignment); in write_cow_header()
197 write_cow_header(char *cow_file, int fd, char *backing_file, int sectorsize, int alignment, unsigned long long *size) write_cow_header() argument
403 init_cow_file(int fd, char *cow_file, char *backing_file, int sectorsize, int alignment, int *bitmap_offset_out, unsigned long *bitmap_len_out, int *data_offset_out) init_cow_file() argument
[all...]
/kernel/linux/linux-6.6/mm/
H A Dcma.c190 /* alignment should be aligned with order_per_bit */ in cma_init_reserved_mem()
194 /* ensure minimal alignment required by mm core */ in cma_init_reserved_mem()
224 * @alignment: Alignment for the CMA area, should be power of 2 or zero
241 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous_nid()
256 pr_debug("%s(size %pa, base %pa, limit %pa alignment %pa)\n", in cma_declare_contiguous_nid()
257 __func__, &size, &base, &limit, &alignment); in cma_declare_contiguous_nid()
267 if (alignment && !is_power_of_2(alignment)) in cma_declare_contiguous_nid()
274 alignment = max_t(phys_addr_t, alignment, CMA_MIN_ALIGNMENT_BYTE in cma_declare_contiguous_nid()
239 cma_declare_contiguous_nid(phys_addr_t base, phys_addr_t size, phys_addr_t limit, phys_addr_t alignment, unsigned int order_per_bit, bool fixed, const char *name, struct cma **res_cma, int nid) cma_declare_contiguous_nid() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Drheap.h27 unsigned int alignment; member
50 extern rh_info_t *rh_create(unsigned int alignment);
56 extern void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks,
65 /* Allocate the given size from the remote heap (with alignment) */
66 extern unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment,

Completed in 15 milliseconds

12345678910>>...17