Lines Matching refs:location

252 static void find_caller_pc_and_caller_sp(CallerLocation *location,  in find_caller_pc_and_caller_sp()  argument
288 location->sp_location = SP_LOC_OFFSET; in find_caller_pc_and_caller_sp()
289 location->sp_offset = 0; in find_caller_pc_and_caller_sp()
292 location->pc_location = PC_LOC_UNKNOWN; in find_caller_pc_and_caller_sp()
327 location->pc_location = PC_LOC_IN_LR; in find_caller_pc_and_caller_sp()
376 location->pc_location = in find_caller_pc_and_caller_sp()
379 location->pc_location = in find_caller_pc_and_caller_sp()
384 location->pc_location = PC_LOC_UNKNOWN; in find_caller_pc_and_caller_sp()
385 location->sp_location = SP_LOC_UNKNOWN; in find_caller_pc_and_caller_sp()
390 location->sp_location = SP_LOC_IN_R52; in find_caller_pc_and_caller_sp()
402 location->sp_location = in find_caller_pc_and_caller_sp()
404 location->sp_offset = in find_caller_pc_and_caller_sp()
446 location->sp_location = SP_LOC_OFFSET; in find_caller_pc_and_caller_sp()
451 location->sp_offset = 0; in find_caller_pc_and_caller_sp()
454 location->sp_offset = adjust; in find_caller_pc_and_caller_sp()
477 location->sp_location = in find_caller_pc_and_caller_sp()
479 location->sp_offset = 0; in find_caller_pc_and_caller_sp()
486 location->sp_location = in find_caller_pc_and_caller_sp()
514 if (location->pc_location == PC_LOC_UNKNOWN) { in find_caller_pc_and_caller_sp()
519 location->pc_location = in find_caller_pc_and_caller_sp()
522 location->pc_location = in find_caller_pc_and_caller_sp()
527 location->pc_location = PC_LOC_IN_LR; in find_caller_pc_and_caller_sp()
553 CallerLocation location; in backtrace_init() local
557 find_caller_pc_and_caller_sp(&location, pc, in backtrace_init()
560 switch (location.sp_location) { in backtrace_init()
571 fp = sp + location.sp_offset; in backtrace_init()
589 switch (location.pc_location) { in backtrace_init()