• Home
  • Raw
  • Download

Lines Matching refs:descr

222 alloc_object(void *addr, struct debug_bucket *b, struct debug_obj_descr *descr)  in alloc_object()  argument
273 obj->descr = descr; in alloc_object()
474 struct debug_obj_descr *descr = obj->descr; in debug_print_object() local
486 if (limit < 5 && descr != descr_test) { in debug_print_object()
487 void *hint = descr->debug_hint ? in debug_print_object()
488 descr->debug_hint(obj->object) : NULL; in debug_print_object()
493 descr->name, hint); in debug_print_object()
537 struct debug_obj_descr *descr, in lookup_object_or_alloc() argument
557 if (!descr->is_static_object || !descr->is_static_object(addr)) in lookup_object_or_alloc()
563 obj = alloc_object(addr, b, descr); in lookup_object_or_alloc()
586 __debug_object_init(void *addr, struct debug_obj_descr *descr, int onstack) in __debug_object_init() argument
599 obj = lookup_object_or_alloc(addr, db, descr, onstack, false); in __debug_object_init()
617 debug_object_fixup(descr->fixup_init, addr, state); in __debug_object_init()
636 void debug_object_init(void *addr, struct debug_obj_descr *descr) in debug_object_init() argument
641 __debug_object_init(addr, descr, 0); in debug_object_init()
651 void debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr) in debug_object_init_on_stack() argument
656 __debug_object_init(addr, descr, 1); in debug_object_init_on_stack()
666 int debug_object_activate(void *addr, struct debug_obj_descr *descr) in debug_object_activate() argument
668 struct debug_obj o = { .object = addr, .state = ODEBUG_STATE_NOTAVAILABLE, .descr = descr }; in debug_object_activate()
684 obj = lookup_object_or_alloc(addr, db, descr, false, true); in debug_object_activate()
699 ret = debug_object_fixup(descr->fixup_activate, addr, state); in debug_object_activate()
726 ret = debug_object_fixup(descr->fixup_activate, addr, ODEBUG_STATE_NOTAVAILABLE); in debug_object_activate()
736 void debug_object_deactivate(void *addr, struct debug_obj_descr *descr) in debug_object_deactivate() argument
774 .descr = descr }; in debug_object_deactivate()
788 void debug_object_destroy(void *addr, struct debug_obj_descr *descr) in debug_object_destroy() argument
817 debug_object_fixup(descr->fixup_destroy, addr, state); in debug_object_destroy()
838 void debug_object_free(void *addr, struct debug_obj_descr *descr) in debug_object_free() argument
861 debug_object_fixup(descr->fixup_free, addr, state); in debug_object_free()
879 void debug_object_assert_init(void *addr, struct debug_obj_descr *descr) in debug_object_assert_init() argument
881 struct debug_obj o = { .object = addr, .state = ODEBUG_STATE_NOTAVAILABLE, .descr = descr }; in debug_object_assert_init()
894 obj = lookup_object_or_alloc(addr, db, descr, false, true); in debug_object_assert_init()
907 debug_object_fixup(descr->fixup_assert_init, addr, ODEBUG_STATE_NOTAVAILABLE); in debug_object_assert_init()
919 debug_object_active_state(void *addr, struct debug_obj_descr *descr, in debug_object_active_state() argument
954 .descr = descr }; in debug_object_active_state()
967 struct debug_obj_descr *descr; in __debug_check_no_obj_freed() local
994 descr = obj->descr; in __debug_check_no_obj_freed()
998 debug_object_fixup(descr->fixup_free, in __debug_check_no_obj_freed()