Home
last modified time | relevance | path

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

/lib/
Dscatterlist.c203 unsigned int alloc_size = table->orig_nents; in __sg_free_table() local
212 if (alloc_size > curr_max_ents) { in __sg_free_table()
214 alloc_size = curr_max_ents; in __sg_free_table()
215 sg_size = alloc_size - 1; in __sg_free_table()
217 sg_size = alloc_size; in __sg_free_table()
225 free_fn(sgl, alloc_size); in __sg_free_table()
288 unsigned int sg_size, alloc_size = left; in __sg_alloc_table() local
290 if (alloc_size > curr_max_ents) { in __sg_alloc_table()
291 alloc_size = curr_max_ents; in __sg_alloc_table()
292 sg_size = alloc_size - 1; in __sg_alloc_table()
[all …]
Dobjagg.c784 size_t alloc_size; in objagg_tmp_graph_create() local
796 alloc_size = BITS_TO_LONGS(nodes_count * nodes_count) * in objagg_tmp_graph_create()
798 graph->edges = kzalloc(alloc_size, GFP_KERNEL); in objagg_tmp_graph_create()