/linux-6.3-rc2/kernel/ |
A D | kallsyms.c | 194 ret = strcmp(name, namebuf); in compare_symbol_name() 198 if (cleanup_symbol_name(namebuf) && !strcmp(name, namebuf)) in compare_symbol_name() 221 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_names() local 230 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names() 247 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names() 259 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names() 295 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol() local 301 off = kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_on_each_symbol() 412 namebuf[0] = 0; in kallsyms_lookup_buildid() 426 ret = namebuf; in kallsyms_lookup_buildid() [all …]
|
A D | kallsyms_selftest.c | 285 char namebuf[KSYM_NAME_LEN]; in test_kallsyms_basic_function() local 341 ret = lookup_symbol_name(addr, namebuf); in test_kallsyms_basic_function() 343 namebuf[0] = 0; in test_kallsyms_basic_function() 365 if (IS_ENABLED(CONFIG_LTO_CLANG) && !namebuf[0]) in test_kallsyms_basic_function() 368 lookup_addr = kallsyms_lookup_name(namebuf); in test_kallsyms_basic_function() 372 kallsyms_on_each_match_symbol(match_symbol, namebuf, stat); in test_kallsyms_basic_function() 381 stat2->name = namebuf; in test_kallsyms_basic_function() 433 pr_info("Test for %dth symbol failed: (%s) addr=%lx", i, namebuf, addr); in test_kallsyms_basic_function()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | pcic.c | 292 char namebuf[64]; in pcic_probe() local 354 prom_getstring(node, "name", namebuf, 63); namebuf[63] = 0; in pcic_probe() 368 prom_getstring(prom_root_node, "name", namebuf, 63); namebuf[63] = 0; in pcic_probe() 384 namebuf); in pcic_probe() 474 char namebuf[64]; in pcic_map_pci_device() local 480 strcpy(namebuf, "???"); in pcic_map_pci_device() 482 prom_getstring(node, "name", namebuf, 63); namebuf[63] = 0; in pcic_map_pci_device() 524 namebuf); in pcic_map_pci_device() 536 char namebuf[64]; in pcic_fill_irq() local 539 strcpy(namebuf, "???"); in pcic_fill_irq() [all …]
|
/linux-6.3-rc2/fs/ocfs2/ |
A D | sysfile.c | 127 char namebuf[40]; in _ocfs2_get_system_file_inode() local 132 ocfs2_sprintf_system_inode_name(namebuf, in _ocfs2_get_system_file_inode() 133 sizeof(namebuf), in _ocfs2_get_system_file_inode() 136 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, in _ocfs2_get_system_file_inode() 137 strlen(namebuf), &blkno); in _ocfs2_get_system_file_inode()
|
A D | ioctl.c | 330 char namebuf[40]; in ocfs2_info_handle_freeinode() local 360 ocfs2_sprintf_system_inode_name(namebuf, in ocfs2_info_handle_freeinode() 361 sizeof(namebuf), in ocfs2_info_handle_freeinode() 364 namebuf, in ocfs2_info_handle_freeinode() 365 strlen(namebuf), in ocfs2_info_handle_freeinode() 617 char namebuf[40]; in ocfs2_info_handle_freefrag() local 653 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, in ocfs2_info_handle_freefrag() 656 namebuf, in ocfs2_info_handle_freefrag() 657 strlen(namebuf), in ocfs2_info_handle_freefrag()
|
A D | move_extents.c | 369 char namebuf[40]; in ocfs2_find_victim_alloc_group() local 378 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, slot); in ocfs2_find_victim_alloc_group() 379 ret = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, in ocfs2_find_victim_alloc_group() 380 strlen(namebuf), &blkno); in ocfs2_find_victim_alloc_group()
|
/linux-6.3-rc2/fs/reiserfs/ |
A D | item_ops.c | 378 static char namebuf[80]; in direntry_print_item() local 392 namebuf[0] = '"'; in direntry_print_item() 393 if (namelen > sizeof(namebuf) - 3) { in direntry_print_item() 394 strncpy(namebuf + 1, name, sizeof(namebuf) - 3); in direntry_print_item() 395 namebuf[sizeof(namebuf) - 2] = '"'; in direntry_print_item() 396 namebuf[sizeof(namebuf) - 1] = 0; in direntry_print_item() 398 memcpy(namebuf + 1, name, namelen); in direntry_print_item() 399 namebuf[namelen + 1] = '"'; in direntry_print_item() 400 namebuf[namelen + 2] = 0; in direntry_print_item() 404 i, namebuf, in direntry_print_item()
|
A D | xattr.c | 150 char namebuf[17]; in open_xa_dir() local 156 snprintf(namebuf, sizeof(namebuf), "%X.%X", in open_xa_dir() 162 xadir = lookup_one_len(namebuf, xaroot, strlen(namebuf)); in open_xa_dir()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | util.c | 154 char namebuf[PATH_MAX]; in rm_rf_depth_pat() local 181 scnprintf(namebuf, sizeof(namebuf), "%s/%s", in rm_rf_depth_pat() 185 ret = lstat(namebuf, &statbuf); in rm_rf_depth_pat() 187 pr_debug("stat failed: %s\n", namebuf); in rm_rf_depth_pat() 192 ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; in rm_rf_depth_pat() 194 ret = unlink(namebuf); in rm_rf_depth_pat()
|
/linux-6.3-rc2/arch/sparc/prom/ |
A D | tree_64.c | 205 char namebuf[128]; in prom_nodematch() local 206 prom_getproperty(node, "name", namebuf, sizeof(namebuf)); in prom_nodematch() 207 if (strcmp(namebuf, name) == 0) in prom_nodematch()
|
/linux-6.3-rc2/include/linux/ |
A D | kallsyms.h | 87 char **modname, char *namebuf); 119 char **modname, char *namebuf) in kallsyms_lookup() argument
|
A D | module.h | 672 char *namebuf); 772 char *namebuf) in module_address_lookup() argument
|
/linux-6.3-rc2/tools/include/linux/ |
A D | kallsyms.h | 16 char **modname, char *namebuf) in kallsyms_lookup() argument
|
/linux-6.3-rc2/security/integrity/ima/ |
A D | ima_api.c | 431 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument 446 strscpy(namebuf, path->dentry->d_name.name, NAME_MAX); in ima_d_path() 447 pathname = namebuf; in ima_d_path()
|
/linux-6.3-rc2/fs/udf/ |
A D | directory.c | 119 iter->name = iter->namebuf; in udf_copy_fi() 259 iter->namebuf = kmalloc(UDF_NAME_LEN_CS0, GFP_KERNEL | __GFP_NOFAIL); in udf_fiiter_init() 323 kfree(iter->namebuf); in udf_fiiter_release() 324 iter->namebuf = NULL; in udf_fiiter_release() 425 iter->name == iter->namebuf ? iter->name : NULL); in udf_fiiter_write_fi()
|
A D | namei.c | 257 memcpy(iter->namebuf, name, namelen); in udf_fiiter_add_entry() 258 iter->name = iter->namebuf; in udf_fiiter_add_entry() 313 memcpy(iter->namebuf, name, namelen); in udf_fiiter_add_entry() 314 iter->name = iter->namebuf; in udf_fiiter_add_entry()
|
A D | udfdecl.h | 98 uint8_t *namebuf; /* Storage for entry name in case member
|
/linux-6.3-rc2/kernel/trace/ |
A D | trace_probe_tmpl.h | 73 char namebuf[KSYM_SYMBOL_LEN]; in fetch_store_symstrlen() local 76 ret = sprint_symbol(namebuf, addr); in fetch_store_symstrlen()
|
/linux-6.3-rc2/kernel/debug/kdb/ |
A D | kdb_support.c | 86 static char namebuf[KSYM_NAME_LEN]; in kdbnearsym() local 95 (char **)(&symtab->mod_name), namebuf); in kdbnearsym()
|
/linux-6.3-rc2/kernel/module/ |
A D | kallsyms.c | 332 char *namebuf) in module_address_lookup() argument 354 strncpy(namebuf, ret, KSYM_NAME_LEN - 1); in module_address_lookup() 355 ret = namebuf; in module_address_lookup()
|
/linux-6.3-rc2/drivers/net/mctp/ |
A D | mctp-i2c.c | 809 char namebuf[30]; in mctp_i2c_add_netdev() local 821 snprintf(namebuf, sizeof(namebuf), "mctpi2c%d", adap->nr); in mctp_i2c_add_netdev() 822 ndev = alloc_netdev(sizeof(*midev), namebuf, NET_NAME_ENUM, mctp_i2c_net_setup); in mctp_i2c_add_netdev()
|
/linux-6.3-rc2/arch/um/os-Linux/ |
A D | file.c | 100 int os_get_ifname(int fd, char* namebuf) in os_get_ifname() argument 102 if (ioctl(fd, SIOCGIFNAME, namebuf) < 0) in os_get_ifname()
|
/linux-6.3-rc2/fs/exfat/ |
A D | dir.c | 158 dir_entry->namebuf.lfn, in exfat_readdir() 159 dir_entry->namebuf.lfnbuf_len); in exfat_readdir() 188 dir_entry->namebuf.lfn[0] = '\0'; in exfat_readdir() 225 struct exfat_dentry_namebuf *nb = &(de.namebuf); in exfat_iterate()
|
/linux-6.3-rc2/security/selinux/ |
A D | selinuxfs.c | 968 char *namebuf = NULL, *objname = NULL; in sel_write_create() local 994 namebuf = kzalloc(size + 1, GFP_KERNEL); in sel_write_create() 995 if (!namebuf) in sel_write_create() 999 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create() 1013 r = w = namebuf; in sel_write_create() 1030 objname = namebuf; in sel_write_create() 1061 kfree(namebuf); in sel_write_create()
|
/linux-6.3-rc2/arch/um/include/shared/ |
A D | os.h | 145 extern int os_get_ifname(int fd, char *namebuf);
|