Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance

/lib/
Dfortify_kunit.c146 #define TEST_kmalloc(checker, expected_size, alloc_size) do { \ argument
151 checker(expected_size, kmalloc(alloc_size, gfp), \
154 kmalloc_node(alloc_size, gfp, NUMA_NO_NODE), \
156 checker(expected_size, kzalloc(alloc_size, gfp), \
159 kzalloc_node(alloc_size, gfp, NUMA_NO_NODE), \
161 checker(expected_size, kcalloc(1, alloc_size, gfp), \
163 checker(expected_size, kcalloc(alloc_size, 1, gfp), \
166 kcalloc_node(1, alloc_size, gfp, NUMA_NO_NODE), \
169 kcalloc_node(alloc_size, 1, gfp, NUMA_NO_NODE), \
171 checker(expected_size, kmalloc_array(1, alloc_size, gfp), \
[all …]
Dscatterlist.c207 unsigned int alloc_size = num_ents; in __sg_free_table() local
216 if (alloc_size > curr_max_ents) { in __sg_free_table()
218 alloc_size = curr_max_ents; in __sg_free_table()
219 sg_size = alloc_size - 1; in __sg_free_table()
221 sg_size = alloc_size; in __sg_free_table()
229 free_fn(sgl, alloc_size); in __sg_free_table()
307 unsigned int sg_size, alloc_size = left; in __sg_alloc_table() local
309 if (alloc_size > curr_max_ents) { in __sg_alloc_table()
310 alloc_size = curr_max_ents; in __sg_alloc_table()
311 sg_size = alloc_size - 1; in __sg_alloc_table()
[all …]
Dtest_bpf.c14657 unsigned int alloc_size = 2000; in build_test_skb_linear_no_head_frag() local
14668 skb[i] = alloc_skb(alloc_size, GFP_KERNEL); in build_test_skb_linear_no_head_frag()