Lines Matching refs:objagg_obj
33 struct objagg_obj *objagg_objs[NUM_KEYS];
46 static struct objagg_obj *world_obj_get(struct world *world, in world_obj_get()
50 struct objagg_obj *objagg_obj; in world_obj_get() local
55 objagg_obj = objagg_obj_get(objagg, &key); in world_obj_get()
56 if (IS_ERR(objagg_obj)) { in world_obj_get()
58 return objagg_obj; in world_obj_get()
61 world->objagg_objs[key_id_index(key_id)] = objagg_obj; in world_obj_get()
62 } else if (world->objagg_objs[key_id_index(key_id)] != objagg_obj) { in world_obj_get()
69 return objagg_obj; in world_obj_get()
72 objagg_obj_put(objagg, objagg_obj); in world_obj_get()
79 struct objagg_obj *objagg_obj; in world_obj_put() local
83 objagg_obj = world->objagg_objs[key_id_index(key_id)]; in world_obj_put()
84 objagg_obj_put(objagg, objagg_obj); in world_obj_put()
155 struct objagg_obj *objagg_obj; in test_nodelta_obj_get() local
163 objagg_obj = world_obj_get(world, objagg, key_id); in test_nodelta_obj_get()
164 if (IS_ERR(objagg_obj)) { in test_nodelta_obj_get()
166 return PTR_ERR(objagg_obj); in test_nodelta_obj_get()
182 root = objagg_obj_root_priv(objagg_obj); in test_nodelta_obj_get()
200 objagg_obj_put(objagg, objagg_obj); in test_nodelta_obj_get()
626 static unsigned int obj_to_key_id(struct objagg_obj *objagg_obj) in obj_to_key_id() argument
632 root_key = objagg_obj_root_priv(objagg_obj); in obj_to_key_id()
634 delta = objagg_obj_delta_priv(objagg_obj); in obj_to_key_id()
670 if (obj_to_key_id(stats_info->objagg_obj) != in check_expect_stats_key_id()
766 struct objagg_obj *objagg_obj; in test_delta_action_item() local
775 objagg_obj = world_obj_get(world, objagg, key_id); in test_delta_action_item()
776 if (IS_ERR(objagg_obj)) in test_delta_action_item()
777 return PTR_ERR(objagg_obj); in test_delta_action_item()
866 obj_to_key_id(stats->stats_info[i].objagg_obj), in __pr_debug_stats()
911 struct objagg_obj *objagg_obj; in test_hints_case() local
926 objagg_obj = world_obj_get(&world, objagg, in test_hints_case()
928 if (IS_ERR(objagg_obj)) { in test_hints_case()
929 err = PTR_ERR(objagg_obj); in test_hints_case()
960 objagg_obj = world_obj_get(&world2, objagg2, in test_hints_case()
962 if (IS_ERR(objagg_obj)) { in test_hints_case()
963 err = PTR_ERR(objagg_obj); in test_hints_case()