Home
last modified time | relevance | path

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

/linux/security/tomoyo/
H A Daudit.c272 len = kmalloc_size_roundup(len); in tomoyo_init_log()
383 len = kmalloc_size_roundup(strlen(buf) + 1); in tomoyo_write_log2()
388 entry->size = len + kmalloc_size_roundup(sizeof(*entry)); in tomoyo_write_log2()
H A Dcommon.c2241 len = kmalloc_size_roundup(entry.query_len); in tomoyo_supervisor()
/linux/drivers/net/ipa/
H A Dgsi_trans.c108 alloc_size = kmalloc_size_roundup(alloc_size); in gsi_trans_pool_init()
/linux/mm/
H A Dslab_common.c783 size_t kmalloc_size_roundup(size_t size) in kmalloc_size_roundup() function
804 EXPORT_SYMBOL(kmalloc_size_roundup);
H A Dslub.c6596 * after the fact. Instead, use kmalloc_size_roundup(). Using memory beyond in kfree_nolock()
7828 size = kmalloc_size_roundup(size); in calculate_sizes()
/linux/include/linux/
H A Dslab.h1431 * kmalloc_size_roundup - Report allocation bucket size for the given size
1444 size_t kmalloc_size_roundup(size_t size);
/linux/net/openvswitch/
H A Dflow_netlink.c2287 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL); in nla_alloc_flow_actions()
/linux/net/core/
H A Dskbuff.c627 obj_size = kmalloc_size_roundup(obj_size); in kmalloc_reserve()
718 /* kmalloc_size_roundup() might give us more room than requested. in __alloc_skb()
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c5418 bp->rx_buf_size = kmalloc_size_roundup( in bnx2_free_tx_skbs()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c1180 size = kmalloc_size_roundup(struct_size(q_vector, ring, ring_count)); in igb_alloc_q_vector()
/linux/kernel/bpf/
H A Dverifier.c1271 alloc_bytes = max(ksize(orig), kmalloc_size_roundup(bytes)); in copy_array()
1296 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array()