Home
last modified time | relevance | path

Searched refs:kmalloc_size_roundup (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/security/tomoyo/
Daudit.c274 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()
Dcommon.c2098 len = kmalloc_size_roundup(entry.query_len); in tomoyo_supervisor()
/linux-6.12.1/mm/
Dslab_common.c733 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/
Ddma-map-ops.h291 IS_ALIGNED(kmalloc_size_roundup(size), dma_get_cache_alignment())) in dma_kmalloc_size_aligned()
Dslab.h1076 size_t kmalloc_size_roundup(size_t size);
/linux-6.12.1/drivers/dma-buf/
Ddma-resv.c104 size = kmalloc_size_roundup(struct_size(list, table, max_fences)); in dma_resv_list_alloc()
/linux-6.12.1/drivers/net/ipa/
Dgsi_trans.c108 alloc_size = kmalloc_size_roundup(alloc_size); in gsi_trans_pool_init()
/linux-6.12.1/drivers/base/
Ddevres.c105 *tot_size = kmalloc_size_roundup(*tot_size); in check_dr_size()
/linux-6.12.1/fs/
Dcoredump.c79 size = kmalloc_size_roundup(size); in expand_corename()
/linux-6.12.1/fs/bcachefs/
Dsnapshot.c167 size_t new_bytes = kmalloc_size_roundup(struct_size(new, s, idx + 1)); in __snapshot_t_mut()
/linux-6.12.1/net/openvswitch/
Dflow_netlink.c2328 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions()
/linux-6.12.1/net/core/
Dskbuff.c599 obj_size = kmalloc_size_roundup(obj_size); in kmalloc_reserve()
/linux-6.12.1/kernel/bpf/
Dverifier.c1221 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/
Dsend.c502 len = kmalloc_size_roundup(len); in fs_path_ensure_buf()
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dbnx2.c5402 bp->rx_buf_size = kmalloc_size_roundup( in bnx2_set_rx_ring_size()
/linux-6.12.1/drivers/net/ethernet/intel/igb/
Digb_main.c1171 size = kmalloc_size_roundup(struct_size(q_vector, ring, ring_count)); in igb_alloc_q_vector()