Home
last modified time | relevance | path

Searched refs:symname (Results 1 – 25 of 79) sorted by relevance

1234

/linux-6.1.9/arch/x86/tools/
Drelocs.c284 static Elf_Sym *sym_lookup(const char *symname) in sym_lookup() argument
304 if (strcmp(symname, strtab + sym->st_name) == 0) in sym_lookup()
722 Elf_Sym *sym, const char *symname)) in walk_relocs() argument
746 const char *symname = sym_name(sym_strtab, sym); in walk_relocs() local
748 process(sec, rel, sym, symname); in walk_relocs()
817 static int is_percpu_sym(ElfW(Sym) *sym, const char *symname) in is_percpu_sym() argument
822 strcmp(symname, "__init_begin") && in is_percpu_sym()
823 strcmp(symname, "__per_cpu_load") && in is_percpu_sym()
824 strncmp(symname, "init_per_cpu_", 13); in is_percpu_sym()
829 const char *symname) in do_reloc64() argument
[all …]
/linux-6.1.9/kernel/module/
Dversion.c14 const char *symname, in check_version() argument
29 return try_to_force_load(mod, symname) == 0; in check_version()
38 if (strcmp(versions[i].name, symname) != 0) in check_version()
50 pr_warn_once("%s: no symbol version for %s\n", info->name, symname); in check_version()
54 pr_warn("%s: disagrees about version of symbol %s\n", info->name, symname); in check_version()
/linux-6.1.9/scripts/mod/
Dmodpost.c354 static void sym_update_namespace(const char *symname, const char *namespace) in sym_update_namespace() argument
356 struct symbol *s = find_symbol(symname); in sym_update_namespace()
364 namespace, symname); in sym_update_namespace()
588 static int ignore_undef_symbol(struct elf_info *info, const char *symname) in ignore_undef_symbol() argument
591 if (strcmp(symname, "__this_module") == 0) in ignore_undef_symbol()
594 if (strcmp(symname, "_GLOBAL_OFFSET_TABLE_") == 0) in ignore_undef_symbol()
598 if (strstarts(symname, "_restgpr_") || in ignore_undef_symbol()
599 strstarts(symname, "_savegpr_") || in ignore_undef_symbol()
600 strstarts(symname, "_rest32gpr_") || in ignore_undef_symbol()
601 strstarts(symname, "_save32gpr_") || in ignore_undef_symbol()
[all …]
/linux-6.1.9/fs/affs/
Dsymlink.c35 if (strchr(lf->symname,':')) { /* Handle assign or volume name */ in affs_symlink_read_folio()
43 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_read_folio()
44 link[i++] = lf->symname[j++]; in affs_symlink_read_folio()
50 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_read_folio()
Dnamei.c317 struct dentry *dentry, const char *symname) in affs_symlink() argument
327 __func__, dir->i_ino, dentry, symname); in affs_symlink()
347 if (*symname == '/') { in affs_symlink()
349 while (*symname == '/') in affs_symlink()
350 symname++; in affs_symlink()
356 while (i < maxlen && (c = *symname++)) { in affs_symlink()
357 if (c == '.' && lc == '/' && *symname == '.' && symname[1] == '/') { in affs_symlink()
360 symname += 2; in affs_symlink()
362 } else if (c == '.' && lc == '/' && *symname == '/') { in affs_symlink()
363 symname++; in affs_symlink()
[all …]
/linux-6.1.9/arch/arm/kernel/
Dmodule.c122 const char *symname; in apply_relocate() local
140 symname = strtab + sym->st_name; in apply_relocate()
144 module->name, relindex, i, symname, in apply_relocate()
166 module->name, relindex, i, symname); in apply_relocate()
193 module->name, relindex, i, symname, in apply_relocate()
220 module->name, relindex, i, symname, in apply_relocate()
297 module->name, relindex, i, symname, in apply_relocate()
320 module->name, relindex, i, symname); in apply_relocate()
365 module->name, relindex, i, symname, in apply_relocate()
Dvdso.c129 static Elf32_Sym * __init find_symbol(struct elfinfo *lib, const char *symname) in find_symbol() argument
143 if (strcmp(symname, name) == 0) in find_symbol()
149 static void __init vdso_nullpatch_one(struct elfinfo *lib, const char *symname) in vdso_nullpatch_one() argument
153 sym = find_symbol(lib, symname); in vdso_nullpatch_one()
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fcs.c764 strlcpy(port_cfg->sym_name.symname, model, in bfa_fcs_fabric_psymb_init()
766 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
770 strlcat(port_cfg->sym_name.symname, driver_info->version, in bfa_fcs_fabric_psymb_init()
772 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
776 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
779 strlcat(port_cfg->sym_name.symname, BFA_FCS_PORT_SYMBNAME_SEPARATOR, in bfa_fcs_fabric_psymb_init()
788 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
791 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
795 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
798 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
[all …]
Dbfa_defs_fcs.h68 char symname[BFA_SYMNAME_MAXLEN]; member
346 char symname[BFA_RPORT_SYMNAME_MAXLEN]; member
398 struct bfa_rport_symname_s symname; /* Symbolic Name */ member
/linux-6.1.9/fs/configfs/
Dsymlink.c117 static int get_target(const char *symname, struct path *path, in get_target() argument
122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
141 struct dentry *dentry, const char *symname) in configfs_symlink() argument
191 ret = get_target(symname, &path, &target_item, dentry->d_sb); in configfs_symlink()
/linux-6.1.9/fs/ufs/
Dnamei.c110 struct dentry * dentry, const char * symname) in ufs_symlink() argument
114 unsigned l = strlen(symname)+1; in ufs_symlink()
130 err = page_symlink(inode, symname, l); in ufs_symlink()
137 memcpy(inode->i_link, symname, l); in ufs_symlink()
/linux-6.1.9/fs/udf/
Dnamei.c885 struct dentry *dentry, const char *symname) in udf_symlink() argument
955 if (*symname == '/') { in udf_symlink()
957 symname++; in udf_symlink()
958 } while (*symname == '/'); in udf_symlink()
968 while (*symname) { in udf_symlink()
974 compstart = symname; in udf_symlink()
977 symname++; in udf_symlink()
978 } while (*symname && *symname != '/'); in udf_symlink()
984 if ((symname - compstart) == 1) in udf_symlink()
986 else if ((symname - compstart) == 2 && in udf_symlink()
[all …]
/linux-6.1.9/include/linux/
Dkallsyms.h93 int lookup_symbol_name(unsigned long addr, char *symname);
151 static inline int lookup_symbol_name(unsigned long addr, char *symname) in lookup_symbol_name() argument
/linux-6.1.9/fs/orangefs/
Dnamei.c222 const char *symname) in orangefs_symlink() argument
234 if (!symname) in orangefs_symlink()
237 if (strlen(symname)+1 > ORANGEFS_NAME_MAX) in orangefs_symlink()
253 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); in orangefs_symlink()
284 inode->i_size = strlen(symname); in orangefs_symlink()
/linux-6.1.9/arch/mips/boot/tools/
Drelocs.c468 Elf_Sym *sym, const char *symname)) in walk_relocs() argument
493 const char *symname = sym_name(sym_strtab, sym); in walk_relocs() local
495 process(sec, rel, sym, symname); in walk_relocs()
501 const char *symname) in do_reloc() argument
511 if (regex_skip_reloc(symname)) in do_reloc()
637 const char *symname) in do_reloc_info() argument
643 symname, in do_reloc_info()
/linux-6.1.9/kernel/
Dkallsyms.c370 int lookup_symbol_name(unsigned long addr, char *symname) in lookup_symbol_name() argument
374 symname[0] = '\0'; in lookup_symbol_name()
375 symname[KSYM_NAME_LEN - 1] = '\0'; in lookup_symbol_name()
383 symname, KSYM_NAME_LEN); in lookup_symbol_name()
387 res = lookup_module_symbol_name(addr, symname); in lookup_symbol_name()
392 cleanup_symbol_name(symname); in lookup_symbol_name()
/linux-6.1.9/fs/ramfs/
Dinode.c129 struct dentry *dentry, const char *symname) in ramfs_symlink() argument
136 int l = strlen(symname)+1; in ramfs_symlink()
137 error = page_symlink(inode, symname, l); in ramfs_symlink()
/linux-6.1.9/fs/sysv/
Dnamei.c71 struct dentry *dentry, const char *symname) in sysv_symlink() argument
74 int l = strlen(symname)+1; in sysv_symlink()
86 err = page_symlink(inode, symname, l); in sysv_symlink()
/linux-6.1.9/fs/minix/
Dnamei.c75 struct dentry *dentry, const char *symname) in minix_symlink() argument
78 int i = strlen(symname)+1; in minix_symlink()
89 err = page_symlink(inode, symname, i); in minix_symlink()
/linux-6.1.9/fs/ext2/
Dnamei.c158 struct dentry * dentry, const char * symname) in ext2_symlink() argument
162 unsigned l = strlen(symname)+1; in ext2_symlink()
182 err = page_symlink(inode, symname, l); in ext2_symlink()
189 memcpy(inode->i_link, symname, l); in ext2_symlink()
/linux-6.1.9/scripts/
Drecordmcount.h358 char const *symname = &str0[w(symp->st_name)]; in get_mcountsym() local
362 if (symname[0] == '.') in get_mcountsym()
363 ++symname; /* ppc64 hack */ in get_mcountsym()
364 if (strcmp(mcount, symname) == 0 || in get_mcountsym()
365 (altmcount && strcmp(altmcount, symname) == 0) || in get_mcountsym()
366 (strcmp(fentry, symname) == 0)) in get_mcountsym()
Dinsert-sys-cert.c136 char *strtab, *symname; in find_elf_symbol() local
149 symname = strtab + sym->st_name; in find_elf_symbol()
150 if (strcmp(symname, name) == 0) in find_elf_symbol()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_support.c39 int kdbgetsymval(const char *symname, kdb_symtab_t *symtab) in kdbgetsymval() argument
41 kdb_dbg_printf(AR, "symname=%s, symtab=%px\n", symname, symtab); in kdbgetsymval()
43 symtab->sym_start = kallsyms_lookup_name(symname); in kdbgetsymval()
/linux-6.1.9/fs/ntfs3/
Dnamei.c185 struct dentry *dentry, const char *symname) in ntfs_symlink() argument
187 u32 size = strlen(symname); in ntfs_symlink()
191 0, symname, size, NULL); in ntfs_symlink()
/linux-6.1.9/fs/cifs/
Dlink.c573 struct dentry *direntry, const char *symname) argument
607 cifs_dbg(FYI, "symname is %s\n", symname);
611 rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname);
614 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname,

1234