Searched refs:kmalloc_size_roundup (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/security/tomoyo/ |
D | audit.c | 274 len = kmalloc_size_roundup(len); in tomoyo_init_log() 385 len = kmalloc_size_roundup(strlen(buf) + 1); in tomoyo_write_log2() 390 entry->size = len + kmalloc_size_roundup(sizeof(*entry)); in tomoyo_write_log2()
|
D | common.c | 2098 len = kmalloc_size_roundup(entry.query_len); in tomoyo_supervisor()
|
/linux-6.12.1/mm/ |
D | slab_common.c | 733 size_t kmalloc_size_roundup(size_t size) in kmalloc_size_roundup() function 754 EXPORT_SYMBOL(kmalloc_size_roundup);
|
/linux-6.12.1/include/linux/ |
D | dma-map-ops.h | 291 IS_ALIGNED(kmalloc_size_roundup(size), dma_get_cache_alignment())) in dma_kmalloc_size_aligned()
|
D | slab.h | 1076 size_t kmalloc_size_roundup(size_t size);
|
/linux-6.12.1/drivers/dma-buf/ |
D | dma-resv.c | 104 size = kmalloc_size_roundup(struct_size(list, table, max_fences)); in dma_resv_list_alloc()
|
/linux-6.12.1/drivers/net/ipa/ |
D | gsi_trans.c | 108 alloc_size = kmalloc_size_roundup(alloc_size); in gsi_trans_pool_init()
|
/linux-6.12.1/drivers/base/ |
D | devres.c | 105 *tot_size = kmalloc_size_roundup(*tot_size); in check_dr_size()
|
/linux-6.12.1/fs/ |
D | coredump.c | 79 size = kmalloc_size_roundup(size); in expand_corename()
|
/linux-6.12.1/fs/bcachefs/ |
D | snapshot.c | 167 size_t new_bytes = kmalloc_size_roundup(struct_size(new, s, idx + 1)); in __snapshot_t_mut()
|
/linux-6.12.1/net/openvswitch/ |
D | flow_netlink.c | 2328 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions()
|
/linux-6.12.1/net/core/ |
D | skbuff.c | 599 obj_size = kmalloc_size_roundup(obj_size); in kmalloc_reserve()
|
/linux-6.12.1/kernel/bpf/ |
D | verifier.c | 1221 alloc_bytes = max(ksize(orig), kmalloc_size_roundup(bytes)); in copy_array() 1246 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array() 3502 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p))); in push_jmp_history()
|
/linux-6.12.1/fs/btrfs/ |
D | send.c | 502 len = kmalloc_size_roundup(len); in fs_path_ensure_buf()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5402 bp->rx_buf_size = kmalloc_size_roundup( in bnx2_set_rx_ring_size()
|
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 1171 size = kmalloc_size_roundup(struct_size(q_vector, ring, ring_count)); in igb_alloc_q_vector()
|