Home
last modified time | relevance | path

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

12

/linux-6.12.1/kernel/
Dkallsyms.c180 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_names() local
189 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names()
190 ret = strcmp(name, namebuf); in kallsyms_lookup_names()
206 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names()
207 if (strcmp(name, namebuf)) in kallsyms_lookup_names()
218 kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_names()
219 if (strcmp(name, namebuf)) in kallsyms_lookup_names()
253 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol() local
259 off = kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_on_each_symbol()
260 ret = fn(data, namebuf, kallsyms_sym_address(i)); in kallsyms_on_each_symbol()
[all …]
Dkallsyms_selftest.c264 char namebuf[KSYM_NAME_LEN]; in test_kallsyms_basic_function() local
320 ret = lookup_symbol_name(addr, namebuf); in test_kallsyms_basic_function()
322 namebuf[0] = 0; in test_kallsyms_basic_function()
327 lookup_addr = kallsyms_lookup_name(namebuf); in test_kallsyms_basic_function()
331 kallsyms_on_each_match_symbol(match_symbol, namebuf, stat); in test_kallsyms_basic_function()
340 stat2->name = namebuf; in test_kallsyms_basic_function()
352 namebuf); in test_kallsyms_basic_function()
366 pr_info("%s: Never found\n", namebuf); in test_kallsyms_basic_function()
375 pr_info("%s: NULL lookup_addr?!\n", namebuf); in test_kallsyms_basic_function()
379 pr_info("%s: lookup_addr != stat->addrs[0]\n", namebuf); in test_kallsyms_basic_function()
[all …]
/linux-6.12.1/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.12.1/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.c331 char namebuf[40]; in ocfs2_info_handle_freeinode() local
361 ocfs2_sprintf_system_inode_name(namebuf, in ocfs2_info_handle_freeinode()
362 sizeof(namebuf), in ocfs2_info_handle_freeinode()
365 namebuf, in ocfs2_info_handle_freeinode()
366 strlen(namebuf), in ocfs2_info_handle_freeinode()
618 char namebuf[40]; in ocfs2_info_handle_freefrag() local
654 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, in ocfs2_info_handle_freefrag()
657 namebuf, in ocfs2_info_handle_freefrag()
658 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.12.1/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.12.1/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.12.1/include/linux/
Dkallsyms.h89 char **modname, char *namebuf);
117 char **modname, char *namebuf) in kallsyms_lookup() argument
Dmodule.h946 char *namebuf);
980 char *namebuf) in module_address_lookup() argument
/linux-6.12.1/fs/reiserfs/
Ditem_ops.c378 static char namebuf[80]; in direntry_print_item() local
393 scnprintf(namebuf, sizeof(namebuf), "\"%.*s\"", in direntry_print_item()
394 (int)sizeof(namebuf)-3, name); in direntry_print_item()
397 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.12.1/fs/udf/
Ddirectory.c115 iter->name = iter->namebuf; in udf_copy_fi()
262 iter->namebuf = kmalloc(UDF_NAME_LEN_CS0, GFP_KERNEL | __GFP_NOFAIL); in udf_fiiter_init()
326 kfree(iter->namebuf); in udf_fiiter_release()
327 iter->namebuf = NULL; in udf_fiiter_release()
428 iter->name == iter->namebuf ? iter->name : NULL); in udf_fiiter_write_fi()
Dnamei.c249 memcpy(iter->namebuf, name, namelen); in udf_fiiter_add_entry()
250 iter->name = iter->namebuf; in udf_fiiter_add_entry()
305 memcpy(iter->namebuf, name, namelen); in udf_fiiter_add_entry()
306 iter->name = iter->namebuf; in udf_fiiter_add_entry()
/linux-6.12.1/tools/include/linux/
Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup() argument
/linux-6.12.1/security/integrity/ima/
Dima_api.c439 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument
456 strscpy(namebuf, filename.name.name, NAME_MAX); in ima_d_path()
459 pathname = namebuf; in ima_d_path()
/linux-6.12.1/fs/xfs/scrub/
Dnlinks.h37 char namebuf[MAXNAMELEN]; member
Dorphanage.c400 char *namebuf = (void *)xname->name; in xrep_adoption_compute_name() local
406 xname->len = snprintf(namebuf, MAXNAMELEN, "%llu", sc->ip->i_ino); in xrep_adoption_compute_name()
412 xname->len = snprintf(namebuf, MAXNAMELEN, "%llu.%u", in xrep_adoption_compute_name()
Ddirtree.h104 char namebuf[MAXNAMELEN]; member
/linux-6.12.1/drivers/net/mctp/
Dmctp-i3c.c569 char namebuf[IFNAMSIZ]; in mctp_i3c_bus_add() local
576 snprintf(namebuf, sizeof(namebuf), "mctpi3c%d", bus->id); in mctp_i3c_bus_add()
577 ndev = alloc_netdev(sizeof(*mbus), namebuf, NET_NAME_ENUM, in mctp_i3c_bus_add()
Dmctp-i2c.c853 char namebuf[30]; in mctp_i2c_add_netdev() local
865 snprintf(namebuf, sizeof(namebuf), "mctpi2c%d", adap->nr); in mctp_i2c_add_netdev()
866 ndev = alloc_netdev(sizeof(*midev), namebuf, NET_NAME_ENUM, mctp_i2c_net_setup); in mctp_i2c_add_netdev()
/linux-6.12.1/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.12.1/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.12.1/security/selinux/
Dselinuxfs.c907 char *namebuf = NULL, *objname = NULL; in sel_write_create() local
932 namebuf = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
933 if (!namebuf) in sel_write_create()
937 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create()
951 r = w = namebuf; in sel_write_create()
968 objname = namebuf; in sel_write_create()
999 kfree(namebuf); in sel_write_create()
/linux-6.12.1/kernel/module/
Dkallsyms.c329 char *namebuf) in module_address_lookup() argument
351 ret = strscpy(namebuf, sym, KSYM_NAME_LEN); in module_address_lookup()

12