Lines Matching refs:retval

51 	void *retval;  in __xa_erase()  local
55 retval = radix_tree_delete(&xa->xa_head, index); in __xa_erase()
56 if (retval == NULL_VALUE) in __xa_erase()
57 retval = NULL; in __xa_erase()
59 return (retval); in __xa_erase()
65 void *retval; in xa_erase() local
68 retval = __xa_erase(xa, index); in xa_erase()
71 return (retval); in xa_erase()
81 void *retval; in xa_load() local
84 retval = radix_tree_lookup(&xa->xa_head, index); in xa_load()
87 if (retval == NULL_VALUE) in xa_load()
88 retval = NULL; in xa_load()
90 return (retval); in xa_load()
120 int retval; in __xa_alloc() local
134 retval = radix_tree_insert(&xa->xa_head, *pindex, ptr); in __xa_alloc()
136 switch (retval) { in __xa_alloc()
142 retval = -ENOMEM; in __xa_alloc()
153 return (retval); in __xa_alloc()
159 int retval; in xa_alloc() local
165 retval = __xa_alloc(xa, pindex, ptr, mask, gfp); in xa_alloc()
168 return (retval); in xa_alloc()
181 int retval; in __xa_alloc_cyclic() local
196 retval = radix_tree_insert(&xa->xa_head, *pnext_index, ptr); in __xa_alloc_cyclic()
198 switch (retval) { in __xa_alloc_cyclic()
201 retval = -ENOMEM; in __xa_alloc_cyclic()
220 return (retval); in __xa_alloc_cyclic()
227 int retval; in xa_alloc_cyclic() local
230 retval = __xa_alloc_cyclic(xa, pindex, ptr, mask, pnext_index, gfp); in xa_alloc_cyclic()
233 return (retval); in xa_alloc_cyclic()
240 int retval; in xa_alloc_cyclic_irq() local
243 retval = __xa_alloc_cyclic(xa, pindex, ptr, mask, pnext_index, gfp); in xa_alloc_cyclic_irq()
246 return (retval); in xa_alloc_cyclic_irq()
259 int retval; in __xa_insert() local
265 retval = radix_tree_insert(&xa->xa_head, index, ptr); in __xa_insert()
267 switch (retval) { in __xa_insert()
277 return (retval); in __xa_insert()
283 int retval; in xa_insert() local
286 retval = __xa_insert(xa, index, ptr, gfp); in xa_insert()
289 return (retval); in xa_insert()
303 int retval; in __xa_store() local
309 retval = radix_tree_store(&xa->xa_head, index, &ptr); in __xa_store()
311 switch (retval) { in __xa_store()
321 ptr = XA_ERROR(retval); in __xa_store()
324 ptr = XA_ERROR(retval); in __xa_store()
333 void *retval; in xa_store() local
336 retval = __xa_store(xa, index, ptr, gfp); in xa_store()
339 return (retval); in xa_store()
398 bool retval; in xa_empty() local
401 retval = __xa_empty(xa); in xa_empty()
404 return (retval); in xa_empty()
417 void *retval; in __xa_next() local
431 retval = *ppslot; in __xa_next()
432 if (retval == NULL_VALUE) in __xa_next()
433 retval = NULL; in __xa_next()
436 retval = NULL; in __xa_next()
438 return (retval); in __xa_next()
444 void *retval; in xa_next() local
447 retval = __xa_next(xa, pindex, not_first); in xa_next()
450 return (retval); in xa_next()