Lines Matching refs:offset
326 unsigned long *offset) in get_symbol_pos() argument
378 if (offset) in get_symbol_pos()
379 *offset = addr - symbol_start; in get_symbol_pos()
388 unsigned long *offset) in kallsyms_lookup_size_offset() argument
393 get_symbol_pos(addr, symbolsize, offset); in kallsyms_lookup_size_offset()
396 return !!module_address_lookup(addr, symbolsize, offset, NULL, NULL, namebuf) || in kallsyms_lookup_size_offset()
397 !!__bpf_address_lookup(addr, symbolsize, offset, namebuf); in kallsyms_lookup_size_offset()
402 unsigned long *offset, char **modname, in kallsyms_lookup_buildid() argument
413 pos = get_symbol_pos(addr, symbolsize, offset); in kallsyms_lookup_buildid()
427 ret = module_address_lookup(addr, symbolsize, offset, in kallsyms_lookup_buildid()
431 offset, modname, namebuf); in kallsyms_lookup_buildid()
435 offset, modname, namebuf); in kallsyms_lookup_buildid()
451 unsigned long *offset, in kallsyms_lookup() argument
454 return kallsyms_lookup_buildid(addr, symbolsize, offset, modname, in kallsyms_lookup()
485 unsigned long *offset, char *modname, char *name) in lookup_symbol_attrs() argument
495 pos = get_symbol_pos(addr, size, offset); in lookup_symbol_attrs()
503 res = lookup_module_symbol_attrs(addr, size, offset, modname, name); in lookup_symbol_attrs()
519 unsigned long offset, size; in __sprint_symbol() local
523 name = kallsyms_lookup_buildid(address, &size, &offset, &modname, &buildid, in __sprint_symbol()
531 offset -= symbol_offset; in __sprint_symbol()
534 len += sprintf(buffer + len, "+%#lx/%#lx", offset, size); in __sprint_symbol()