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

/linux-master/security/tomoyo/
H A Daudit.c274 len = kmalloc_size_roundup(len);
385 len = kmalloc_size_roundup(strlen(buf) + 1);
390 entry->size = len + kmalloc_size_roundup(sizeof(*entry));
H A Dcommon.c2098 len = kmalloc_size_roundup(entry.query_len);
/linux-master/drivers/dma-buf/
H A Ddma-resv.c104 size = kmalloc_size_roundup(struct_size(list, table, max_fences));
/linux-master/include/linux/
H A Ddma-map-ops.h323 IS_ALIGNED(kmalloc_size_roundup(size), dma_get_cache_alignment()))
H A Dslab.h291 * with kmalloc_size_roundup() prior to allocation. If this is used to
823 * kmalloc_size_roundup - Report allocation bucket size for the given size
836 size_t kmalloc_size_roundup(size_t size);
/linux-master/mm/
H A Dslab_common.c699 size_t kmalloc_size_roundup(size_t size) function
720 EXPORT_SYMBOL(kmalloc_size_roundup); variable
943 * after the fact. Instead, use kmalloc_size_roundup(). Using memory beyond
/linux-master/drivers/net/ipa/
H A Dgsi_trans.c108 alloc_size = kmalloc_size_roundup(alloc_size);
/linux-master/drivers/base/
H A Ddevres.c105 *tot_size = kmalloc_size_roundup(*tot_size);
/linux-master/fs/
H A Dcoredump.c78 size = kmalloc_size_roundup(size);
/linux-master/fs/bcachefs/
H A Dsnapshot.c168 size_t new_bytes = kmalloc_size_roundup(struct_size(new, s, idx + 1));
/linux-master/net/openvswitch/
H A Dflow_netlink.c2327 sfa = kmalloc(kmalloc_size_roundup(sizeof(*sfa) + size), GFP_KERNEL);
/linux-master/net/core/
H A Dskbuff.c587 obj_size = kmalloc_size_roundup(obj_size);
669 /* kmalloc_size_roundup() might give us more room than requested.
/linux-master/kernel/bpf/
H A Dverifier.c1224 alloc_bytes = max(ksize(orig), kmalloc_size_roundup(bytes));
1249 alloc_size = kmalloc_size_roundup(size_mul(new_n, size));
3357 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p)));
/linux-master/fs/btrfs/
H A Dsend.c500 len = kmalloc_size_roundup(len);
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c1171 size = kmalloc_size_roundup(struct_size(q_vector, ring, ring_count));
/linux-master/drivers/net/ethernet/broadcom/
H A Dbnx2.c5402 bp->rx_buf_size = kmalloc_size_roundup(

Completed in 443 milliseconds