/linux-4.19.296/include/linux/ ! |
D | bootmem.h | 95 unsigned long align, 98 unsigned long align, 102 unsigned long align, 106 unsigned long align, 110 unsigned long align, 114 unsigned long align, 118 unsigned long align, 121 unsigned long align, 125 unsigned long align, 141 #define alloc_bootmem_align(x, align) \ argument [all …]
|
D | dmapool.h | 22 size_t size, size_t align, size_t allocation); 34 size_t size, size_t align, size_t allocation); 39 struct device *dev, size_t size, size_t align, size_t allocation) in dma_pool_create() argument 47 struct device *dev, size_t size, size_t align, size_t allocation) in dmam_pool_create() argument
|
D | memblock.h | 102 phys_addr_t memblock_find_in_range_node(phys_addr_t size, phys_addr_t align, 106 phys_addr_t size, phys_addr_t align); 113 void memblock_trim_memory(phys_addr_t align); 304 phys_addr_t memblock_alloc_nid(phys_addr_t size, phys_addr_t align, int nid); 305 phys_addr_t memblock_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid); 307 phys_addr_t memblock_alloc(phys_addr_t size, phys_addr_t align); 331 phys_addr_t __init memblock_alloc_range(phys_addr_t size, phys_addr_t align, 335 phys_addr_t align, phys_addr_t max_addr, 337 phys_addr_t memblock_alloc_base(phys_addr_t size, phys_addr_t align, 339 phys_addr_t __memblock_alloc_base(phys_addr_t size, phys_addr_t align, [all …]
|
D | percpu.h | 105 size_t align); 132 extern void __percpu *__alloc_reserved_percpu(size_t size, size_t align); 140 extern void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp); 141 extern void __percpu *__alloc_percpu(size_t size, size_t align);
|
D | vmalloc.h | 81 extern void *__vmalloc_node_range(unsigned long size, unsigned long align, 176 extern __init void vm_area_register_early(struct vm_struct *vm, size_t align); 182 size_t align); 189 size_t align) in pcpu_get_vm_areas() argument
|
/linux-4.19.296/drivers/clk/tegra/ ! |
D | cvb.c | 35 const struct rail_alignment *align) in round_cvb_voltage() argument 39 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage() 40 int offset = align->offset_uv * v_scale; in round_cvb_voltage() 43 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage() 52 static int round_voltage(int mv, const struct rail_alignment *align, int up) in round_voltage() argument 54 if (align->step_uv) { in round_voltage() 57 uv = max(mv * 1000, align->offset_uv) - align->offset_uv; in round_voltage() 58 uv = (uv + (up ? align->step_uv - 1 : 0)) / align->step_uv; in round_voltage() 59 return (uv * align->step_uv + align->offset_uv) / 1000; in round_voltage() 67 const struct rail_alignment *align = &table->alignment; in build_opp_table() local [all …]
|
/linux-4.19.296/include/trace/events/ ! |
D | percpu.h | 13 size_t align, void *base_addr, int off, void __percpu *ptr), 15 TP_ARGS(reserved, is_atomic, size, align, base_addr, off, ptr), 21 __field( size_t, align ) 31 __entry->align = align; 39 __entry->size, __entry->align, 67 TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align), 69 TP_ARGS(reserved, is_atomic, size, align), 75 __field( size_t, align ) 82 __entry->align = align; 87 __entry->size, __entry->align)
|
D | cma.h | 14 unsigned int count, unsigned int align), 16 TP_ARGS(pfn, page, count, align), 22 __field(unsigned int, align) 29 __entry->align = align; 36 __entry->align)
|
/linux-4.19.296/fs/xfs/ ! |
D | xfs_iomap.h | 31 xfs_extlen_t align; in xfs_aligned_fsb_count() local 33 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count() 34 if (align) in xfs_aligned_fsb_count() 35 count_fsb += align; in xfs_aligned_fsb_count() 36 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count() 37 if (align) in xfs_aligned_fsb_count() 38 count_fsb += extsz - align; in xfs_aligned_fsb_count()
|
D | xfs_iomap.c | 71 xfs_extlen_t align = 0; in xfs_eof_alignment() local 83 align = mp->m_swidth; in xfs_eof_alignment() 85 align = mp->m_dalign; in xfs_eof_alignment() 87 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment() 88 align = 0; in xfs_eof_alignment() 96 if (align) in xfs_eof_alignment() 97 align = roundup_64(align, extsize); in xfs_eof_alignment() 99 align = extsize; in xfs_eof_alignment() 102 return align; in xfs_eof_alignment() 111 xfs_extlen_t align = xfs_eof_alignment(ip, extsize); in xfs_iomap_eof_align_last_fsb() local [all …]
|
/linux-4.19.296/lib/ ! |
D | strnlen_user.c | 31 unsigned long align, res = 0; in do_strnlen_user() local 38 align = (sizeof(unsigned long) - 1) & (unsigned long)src; in do_strnlen_user() 39 src -= align; in do_strnlen_user() 40 max += align; in do_strnlen_user() 43 c |= aligned_byte_mask(align); in do_strnlen_user() 50 return res + find_zero(data) + 1 - align; in do_strnlen_user() 59 res -= align; in do_strnlen_user()
|
D | sort.c | 14 static int alignment_ok(const void *base, int align) in alignment_ok() argument 17 ((unsigned long)base & (align - 1)) == 0; in alignment_ok()
|
/linux-4.19.296/include/uapi/linux/ ! |
D | virtio_ring.h | 144 unsigned long align) in vring_init() argument 150 + align-1) & ~(align - 1)); in vring_init() 153 static inline unsigned vring_size(unsigned int num, unsigned long align) in vring_size() argument 156 + align - 1) & ~(align - 1)) in vring_size()
|
/linux-4.19.296/include/asm-generic/ ! |
D | vmlinux.lds.h | 286 #define READ_MOSTLY_DATA(align) \ argument 287 . = ALIGN(align); \ 289 . = ALIGN(align); 291 #define CACHELINE_ALIGNED_DATA(align) \ argument 292 . = ALIGN(align); \ 295 #define INIT_TASK_DATA(align) \ argument 296 . = ALIGN(align); \ 320 #define RO_DATA_SECTION(align) \ argument 321 . = ALIGN((align)); \ 469 . = ALIGN((align)); \ [all …]
|
/linux-4.19.296/drivers/of/ ! |
D | of_reserved_mem.c | 31 phys_addr_t align, phys_addr_t start, phys_addr_t end, bool nomap, in early_init_dt_alloc_reserved_memory_arch() argument 40 base = __memblock_alloc_base(size, align, end); in early_init_dt_alloc_reserved_memory_arch() 59 phys_addr_t align, phys_addr_t start, phys_addr_t end, bool nomap, in early_init_dt_alloc_reserved_memory_arch() argument 99 phys_addr_t base = 0, align = 0, size; in __reserved_mem_alloc_size() local 124 align = dt_mem_next_cell(dt_root_addr_cells, &prop); in __reserved_mem_alloc_size() 135 align = max(align, (phys_addr_t)PAGE_SIZE << order); in __reserved_mem_alloc_size() 155 align, start, end, nomap, &base); in __reserved_mem_alloc_size() 166 ret = early_init_dt_alloc_reserved_memory_arch(size, align, in __reserved_mem_alloc_size()
|
/linux-4.19.296/drivers/pci/ ! |
D | setup-bus.c | 164 resource_size_t align; in pdev_sort_resources() local 166 align = pci_resource_alignment(dev_res->dev, in pdev_sort_resources() 169 if (r_align > align) { in pdev_sort_resources() 224 resource_size_t add_size, align; in reassign_resources_sorted() local 247 align = add_res->min_align; in reassign_resources_sorted() 249 res->start = align; in reassign_resources_sorted() 257 add_size, align)) in reassign_resources_sorted() 379 resource_size_t add_align, align; in __assign_resources_sorted() local 423 align = pci_resource_alignment(dev_res2->dev, in __assign_resources_sorted() 425 if (add_align > align) { in __assign_resources_sorted() [all …]
|
D | setup-res.c | 251 resource_size_t align) in pcibios_align_resource() argument 257 int resno, resource_size_t size, resource_size_t align) in __pci_assign_resource() argument 272 ret = pci_bus_alloc_resource(bus, res, size, align, min, in __pci_assign_resource() 284 ret = pci_bus_alloc_resource(bus, res, size, align, min, in __pci_assign_resource() 298 ret = pci_bus_alloc_resource(bus, res, size, align, min, 0, in __pci_assign_resource() 323 resource_size_t align, size; in pci_assign_resource() local 330 align = pci_resource_alignment(dev, res); in pci_assign_resource() 331 if (!align) { in pci_assign_resource() 338 ret = _pci_assign_resource(dev, resno, size, align); in pci_assign_resource()
|
D | bus.c | 155 resource_size_t size, resource_size_t align, in pci_bus_alloc_from_region() argument 202 align, alignf, alignf_data); in pci_bus_alloc_from_region() 225 resource_size_t size, resource_size_t align, in pci_bus_alloc_resource() argument 237 rc = pci_bus_alloc_from_region(bus, res, size, align, min, in pci_bus_alloc_resource() 243 return pci_bus_alloc_from_region(bus, res, size, align, min, in pci_bus_alloc_resource() 249 return pci_bus_alloc_from_region(bus, res, size, align, min, in pci_bus_alloc_resource()
|
/linux-4.19.296/drivers/misc/mic/scif/ ! |
D | scif_rma.h | 402 size_t align = ALIGN(size, PAGE_SIZE); in scif_zalloc() local 404 if (align && get_order(align) < MAX_ORDER) in scif_zalloc() 406 get_order(align)); in scif_zalloc() 407 return ret ? ret : vzalloc(align); in scif_zalloc() 418 size_t align = ALIGN(size, PAGE_SIZE); in scif_free() local 423 free_pages((unsigned long)addr, get_order(align)); in scif_free()
|
/linux-4.19.296/drivers/parisc/ ! |
D | ccio-dma.c | 1407 unsigned long min, unsigned long max, unsigned long align) in new_ioc_area() argument 1412 res->start = (max - size + 1) &~ (align - 1); in new_ioc_area() 1422 return new_ioc_area(res, size, min, max - size, align); in new_ioc_area() 1426 unsigned long min, unsigned long max, unsigned long align) in expand_ioc_area() argument 1431 return new_ioc_area(res, size, min, max, align); in expand_ioc_area() 1433 start = (res->start - size) &~ (align - 1); in expand_ioc_area() 1441 len = ((size + res->end + align) &~ (align - 1)) - start; in expand_ioc_area() 1459 unsigned long min, unsigned long max, unsigned long align) in ccio_allocate_resource() argument 1468 !allocate_resource(parent, res, size, min, max, align, NULL, NULL)) in ccio_allocate_resource() 1472 !allocate_resource(parent + 1, res, size, min, max, align, in ccio_allocate_resource() [all …]
|
/linux-4.19.296/drivers/iio/buffer/ ! |
D | industrialio-buffer-dmaengine.c | 37 size_t align; member 68 dmaengine_buffer->align); in iio_dmaengine_buffer_submit_block() 177 dmaengine_buffer->align = width; in iio_dmaengine_buffer_alloc()
|
/linux-4.19.296/crypto/ ! |
D | ctr.c | 291 unsigned long align = crypto_skcipher_alignmask(tfm); in crypto_rfc3686_crypt() local 293 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1); in crypto_rfc3686_crypt() 320 unsigned long align; in crypto_rfc3686_init_tfm() local 329 align = crypto_skcipher_alignmask(tfm); in crypto_rfc3686_init_tfm() 330 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm() 331 reqsize = align + sizeof(struct crypto_rfc3686_req_ctx) + in crypto_rfc3686_init_tfm()
|
D | gcm.c | 91 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx() local 93 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); in crypto_gcm_reqctx() 550 unsigned long align; in crypto_gcm_init_tfm() local 565 align = crypto_aead_alignmask(tfm); in crypto_gcm_init_tfm() 566 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_gcm_init_tfm() 568 align + offsetof(struct crypto_gcm_req_priv_ctx, u) + in crypto_gcm_init_tfm() 860 unsigned long align; in crypto_rfc4106_init_tfm() local 868 align = crypto_aead_alignmask(aead); in crypto_rfc4106_init_tfm() 869 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4106_init_tfm() 874 align + 24); in crypto_rfc4106_init_tfm() [all …]
|
/linux-4.19.296/drivers/s390/cio/ ! |
D | itcw.c | 138 int align, int check_4k) in fit_chunk() argument 142 addr = ALIGN(*start, align); in fit_chunk() 145 addr = ALIGN(addr, align); in fit_chunk()
|
/linux-4.19.296/drivers/media/v4l2-core/ ! |
D | v4l2-common.c | 308 unsigned int max, unsigned int align) in clamp_align() argument 311 unsigned int mask = ~((1 << align) - 1); in clamp_align() 317 if (align) in clamp_align() 318 x = (x + (1 << (align - 1))) & mask; in clamp_align()
|