Home
last modified time | relevance | path

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

/linux/security/tomoyo/
H A 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()
H A Dcommon.c2098 len = kmalloc_size_roundup(entry.query_len); in tomoyo_supervisor()
/linux/mm/
H A Dslab_common.c699 size_t kmalloc_size_roundup(size_t size) in kmalloc_size_roundup() function
720 EXPORT_SYMBOL(kmalloc_size_roundup);
/linux/include/linux/
H A Ddma-map-ops.h323 IS_ALIGNED(kmalloc_size_roundup(size), dma_get_cache_alignment())) in dma_kmalloc_size_aligned()
H A Dslab.h836 size_t kmalloc_size_roundup(size_t size);
/linux/drivers/dma-buf/
H A Ddma-resv.c104 size = kmalloc_size_roundup(struct_size(list, table, max_fences)); in dma_resv_list_alloc()
/linux/drivers/net/ipa/
H A Dgsi_trans.c108 alloc_size = kmalloc_size_roundup(alloc_size); in gsi_trans_pool_init()
/linux/drivers/base/
H A Ddevres.c105 *tot_size = kmalloc_size_roundup(*tot_size); in check_dr_size()
/linux/fs/
H A Dcoredump.c78 size = kmalloc_size_roundup(size); in expand_corename()
/linux/fs/bcachefs/
H A Dsnapshot.c168 size_t new_bytes = kmalloc_size_roundup(struct_size(new, s, idx + 1)); in __snapshot_t_mut()
/linux/net/openvswitch/
H A Dflow_netlink.c2327 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions()
/linux/net/core/
H A Dskbuff.c587 obj_size = kmalloc_size_roundup(obj_size); in kmalloc_reserve()
/linux/kernel/bpf/
H A Dverifier.c1224 alloc_bytes = max(ksize(orig), kmalloc_size_roundup(bytes)); in copy_array()
1249 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array()
3357 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p))); in push_jmp_history()
/linux/fs/btrfs/
H A Dsend.c500 len = kmalloc_size_roundup(len); in fs_path_ensure_buf()
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c5402 bp->rx_buf_size = kmalloc_size_roundup( in bnx2_set_rx_ring_size()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c1171 size = kmalloc_size_roundup(struct_size(q_vector, ring, ring_count)); in igb_alloc_q_vector()