Searched refs:alloc_size (Results 1 – 2 of 2) sorted by relevance
203 unsigned int alloc_size = table->orig_nents; in __sg_free_table() local212 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() local290 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 …]
784 size_t alloc_size; in objagg_tmp_graph_create() local796 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()