Lines Matching refs:cht_obj

76 struct cht_obj {  struct
90 static struct cht_obj *cht_objs; argument
95 struct cht_obj *co = container_of(node, struct cht_obj, co_cnode); in cht_obj_cmp__()
108 cht_obj_retain(struct cht_obj *co) in cht_obj_retain()
116 struct cht_obj *co = container_of(node, struct cht_obj, co_cnode); in cht_obj_retain__()
121 cht_obj_release(struct cht_obj *co) in cht_obj_release()
129 struct cht_obj *co = container_of(node, struct cht_obj, co_cnode); in cht_obj_release__()
134 cht_obj_refcnt(struct cht_obj *co) in cht_obj_refcnt()
164 cht_objs = sk_alloc_type_array(struct cht_obj, CHT_OBJ_MAX, in cht_obj_init()
188 sk_free_type_array(struct cht_obj, CHT_OBJ_MAX, cht_objs); in cht_obj_fini()
200 struct cht_obj co1 = { in cht_basic_tests()
207 struct cht_obj co2 = { in cht_basic_tests()
218 __block struct cht_obj *co = NULL; in cht_basic_tests()
275 co = container_of(curr_node, struct cht_obj, co_cnode); in cht_basic_tests()
362 struct cht_obj *co = &cht_objs[objs_start_idx + i]; in cht_concurrent_add()
379 __block struct cht_obj *co = NULL; in cht_concurrent_add_check()
395 co = container_of(curr_node, struct cht_obj, co_cnode); in cht_concurrent_add_check()
410 struct cht_obj *co = NULL; in cht_concurrent_add_fini()
435 struct cht_obj *co = &cht_objs[i]; in cht_concurrent_del_init()
460 struct cht_obj *co = &cht_objs[objs_start_idx + i]; in cht_concurrent_del()
479 struct cht_obj *co = &cht_objs[i]; in cht_concurrent_del_check()
501 struct cht_obj *co = &cht_objs[i]; in cht_concurrent_duo_init()
535 struct cht_obj *co = &cht_objs[idx]; in cht_concurrent_duo()
546 struct cht_obj *co = &cht_objs[idx]; in cht_concurrent_duo()
570 struct cht_obj *co = &cht_objs[i]; in cht_concurrent_duo_check()
590 struct cht_obj *co = &cht_objs[i]; in cht_concurrent_duo_fini()