Home
last modified time | relevance | path

Searched refs:namebuf (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/kernel/
Dkallsyms.c187 static int compare_symbol_name(const char *name, char *namebuf) in compare_symbol_name() argument
194 cleanup_symbol_name(namebuf); in compare_symbol_name()
195 return strcmp(name, namebuf); in compare_symbol_name()
215 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_names() local
224 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names()
225 ret = compare_symbol_name(name, namebuf); in kallsyms_lookup_names()
241 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names()
242 if (compare_symbol_name(name, namebuf)) in kallsyms_lookup_names()
253 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names()
254 if (compare_symbol_name(name, namebuf)) in kallsyms_lookup_names()
[all …]
Dkallsyms_selftest.c285 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()
348 lookup_addr = kallsyms_lookup_name(namebuf); in test_kallsyms_basic_function()
352 kallsyms_on_each_match_symbol(match_symbol, namebuf, stat); in test_kallsyms_basic_function()
361 stat2->name = namebuf; in test_kallsyms_basic_function()
373 namebuf); in test_kallsyms_basic_function()
387 pr_info("%s: Never found\n", namebuf); in test_kallsyms_basic_function()
396 pr_info("%s: NULL lookup_addr?!\n", namebuf); in test_kallsyms_basic_function()
400 pr_info("%s: lookup_addr != stat->addrs[0]\n", namebuf); in test_kallsyms_basic_function()
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dpcic.c292 char namebuf[64]; in pcic_probe() local
354 prom_getstring(node, "name", namebuf, 63); namebuf[63] = 0; in pcic_probe()
355 strcpy(pbm->prom_name, namebuf); in pcic_probe()
368 prom_getstring(prom_root_node, "name", namebuf, 63); namebuf[63] = 0; in pcic_probe()
373 if (strcmp(namebuf, p->sysname) == 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()
[all …]
/linux-6.6.21/fs/ocfs2/
Dsysfile.c127 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()
Dioctl.c330 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()
Dmove_extents.c369 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.6.21/fs/reiserfs/
Ditem_ops.c378 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()
Dxattr.c151 char namebuf[17]; in open_xa_dir() local
157 snprintf(namebuf, sizeof(namebuf), "%X.%X", in open_xa_dir()
163 xadir = lookup_one_len(namebuf, xaroot, strlen(namebuf)); in open_xa_dir()
/linux-6.6.21/tools/perf/util/
Dutil.c156 char namebuf[PATH_MAX]; in rm_rf_depth_pat() local
183 scnprintf(namebuf, sizeof(namebuf), "%s/%s", in rm_rf_depth_pat()
187 ret = lstat(namebuf, &statbuf); in rm_rf_depth_pat()
189 pr_debug("stat failed: %s\n", namebuf); in rm_rf_depth_pat()
194 ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; in rm_rf_depth_pat()
196 ret = unlink(namebuf); in rm_rf_depth_pat()
/linux-6.6.21/arch/sparc/prom/
Dtree_64.c205 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.6.21/include/linux/
Dkallsyms.h89 char **modname, char *namebuf);
117 char **modname, char *namebuf) in kallsyms_lookup() argument
Dmodule.h927 char *namebuf);
961 char *namebuf) in module_address_lookup() argument
/linux-6.6.21/tools/include/linux/
Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup() argument
/linux-6.6.21/security/integrity/ima/
Dima_api.c432 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument
447 strscpy(namebuf, path->dentry->d_name.name, NAME_MAX); in ima_d_path()
448 pathname = namebuf; in ima_d_path()
/linux-6.6.21/fs/udf/
Ddirectory.c115 iter->name = iter->namebuf; in udf_copy_fi()
255 iter->namebuf = kmalloc(UDF_NAME_LEN_CS0, GFP_KERNEL | __GFP_NOFAIL); in udf_fiiter_init()
319 kfree(iter->namebuf); in udf_fiiter_release()
320 iter->namebuf = NULL; in udf_fiiter_release()
421 iter->name == iter->namebuf ? iter->name : NULL); in udf_fiiter_write_fi()
Dnamei.c253 memcpy(iter->namebuf, name, namelen); in udf_fiiter_add_entry()
254 iter->name = iter->namebuf; in udf_fiiter_add_entry()
309 memcpy(iter->namebuf, name, namelen); in udf_fiiter_add_entry()
310 iter->name = iter->namebuf; in udf_fiiter_add_entry()
Dudfdecl.h98 uint8_t *namebuf; /* Storage for entry name in case member
/linux-6.6.21/kernel/trace/
Dtrace_probe_tmpl.h73 char namebuf[KSYM_SYMBOL_LEN]; in fetch_store_symstrlen() local
76 ret = sprint_symbol(namebuf, addr); in fetch_store_symstrlen()
/linux-6.6.21/kernel/module/
Dkallsyms.c329 char *namebuf) in module_address_lookup() argument
351 strncpy(namebuf, ret, KSYM_NAME_LEN - 1); in module_address_lookup()
352 ret = namebuf; in module_address_lookup()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_support.c86 static char namebuf[KSYM_NAME_LEN]; in kdbnearsym() local
95 (char **)(&symtab->mod_name), namebuf); in kdbnearsym()
/linux-6.6.21/drivers/net/mctp/
Dmctp-i2c.c809 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.6.21/security/selinux/
Dselinuxfs.c916 char *namebuf = NULL, *objname = NULL; in sel_write_create() local
941 namebuf = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
942 if (!namebuf) in sel_write_create()
946 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create()
960 r = w = namebuf; in sel_write_create()
977 objname = namebuf; in sel_write_create()
1008 kfree(namebuf); in sel_write_create()
/linux-6.6.21/arch/um/os-Linux/
Dfile.c100 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.6.21/fs/exfat/
Ddir.c162 dir_entry->namebuf.lfn, in exfat_readdir()
163 dir_entry->namebuf.lfnbuf_len); in exfat_readdir()
192 dir_entry->namebuf.lfn[0] = '\0'; in exfat_readdir()
232 struct exfat_dentry_namebuf *nb = &(de.namebuf); in exfat_iterate()
/linux-6.6.21/arch/um/include/shared/
Dos.h145 extern int os_get_ifname(int fd, char *namebuf);

12