Home
last modified time | relevance | path

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

/mm/
Dkmemleak.c158 unsigned long trace[MAX_TRACE]; member
256 unsigned long trace[MAX_TRACE]; /* stack trace */ member
368 void *ptr = (void *)object->trace[i]; in print_unreferenced()
380 struct stack_trace trace; in dump_object_info() local
382 trace.nr_entries = object->trace_len; in dump_object_info()
383 trace.entries = object->trace; in dump_object_info()
394 print_stack_trace(&trace, 4); in dump_object_info()
501 static int __save_stack_trace(unsigned long *trace) in __save_stack_trace() argument
507 stack_trace.entries = trace; in __save_stack_trace()
564 object->trace_len = __save_stack_trace(object->trace); in create_object()
[all …]
Dslub.c527 struct stack_trace trace; in set_track() local
530 trace.nr_entries = 0; in set_track()
531 trace.max_entries = TRACK_ADDRS_COUNT; in set_track()
532 trace.entries = p->addrs; in set_track()
533 trace.skip = 3; in set_track()
534 save_stack_trace(&trace); in set_track()
537 if (trace.nr_entries != 0 && in set_track()
538 trace.entries[trace.nr_entries - 1] == ULONG_MAX) in set_track()
539 trace.nr_entries--; in set_track()
541 for (i = trace.nr_entries; i < TRACK_ADDRS_COUNT; i++) in set_track()
[all …]