Home
last modified time | relevance | path

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

/Linux-v5.10/net/ceph/
Dosdmap.c216 struct crush_choose_arg_map *arg_map; in alloc_choose_arg_map() local
218 arg_map = kzalloc(sizeof(*arg_map), GFP_NOIO); in alloc_choose_arg_map()
219 if (!arg_map) in alloc_choose_arg_map()
222 RB_CLEAR_NODE(&arg_map->node); in alloc_choose_arg_map()
223 return arg_map; in alloc_choose_arg_map()
226 static void free_choose_arg_map(struct crush_choose_arg_map *arg_map) in free_choose_arg_map() argument
228 if (arg_map) { in free_choose_arg_map()
231 WARN_ON(!RB_EMPTY_NODE(&arg_map->node)); in free_choose_arg_map()
233 for (i = 0; i < arg_map->size; i++) { in free_choose_arg_map()
234 struct crush_choose_arg *arg = &arg_map->args[i]; in free_choose_arg_map()
[all …]