Home
last modified time | relevance | path

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

/linux/kernel/
A Dkallsyms.c211 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_name() local
216 off = kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_name()
221 if (cleanup_symbol_name(namebuf) && strcmp(namebuf, name) == 0) in kallsyms_lookup_name()
236 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol() local
242 off = kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_on_each_symbol()
317 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_size_offset() local
334 namebuf[KSYM_NAME_LEN - 1] = 0; in kallsyms_lookup_buildid()
335 namebuf[0] = 0; in kallsyms_lookup_buildid()
349 ret = namebuf; in kallsyms_lookup_buildid()
365 cleanup_symbol_name(namebuf); in kallsyms_lookup_buildid()
[all …]
A Dkprobes.c2663 char *modname, namebuf[KSYM_NAME_LEN]; in show_kprobe_addr() local
2669 &offset, &modname, namebuf); in show_kprobe_addr()
A Dmodule.c4324 char *namebuf) in module_address_lookup() argument
4346 strncpy(namebuf, ret, KSYM_NAME_LEN - 1); in module_address_lookup()
4347 ret = namebuf; in module_address_lookup()
/linux/arch/sparc/kernel/
A Dpcic.c292 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/fs/reiserfs/
A 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()
A Dxattr.c150 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/fs/ocfs2/
A 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()
A 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()
A Dmove_extents.c379 char namebuf[40]; in ocfs2_find_victim_alloc_group() local
388 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, slot); in ocfs2_find_victim_alloc_group()
389 ret = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, in ocfs2_find_victim_alloc_group()
390 strlen(namebuf), &blkno); in ocfs2_find_victim_alloc_group()
/linux/tools/perf/util/
A Dutil.c153 char namebuf[PATH_MAX]; in rm_rf_depth_pat() local
180 scnprintf(namebuf, sizeof(namebuf), "%s/%s", in rm_rf_depth_pat()
184 ret = lstat(namebuf, &statbuf); in rm_rf_depth_pat()
186 pr_debug("stat failed: %s\n", namebuf); in rm_rf_depth_pat()
191 ret = depth ? rm_rf_depth_pat(namebuf, depth - 1, pat) : 0; in rm_rf_depth_pat()
193 ret = unlink(namebuf); in rm_rf_depth_pat()
/linux/arch/sparc/prom/
A 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/include/linux/
A Dkallsyms.h84 char **modname, char *namebuf);
116 char **modname, char *namebuf) in kallsyms_lookup() argument
A Dmodule.h651 char *namebuf);
755 char *namebuf) in module_address_lookup() argument
/linux/security/integrity/ima/
A Dima_api.c391 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument
406 strscpy(namebuf, path->dentry->d_name.name, NAME_MAX); in ima_d_path()
407 pathname = namebuf; in ima_d_path()
/linux/tools/include/linux/
A Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup() argument
/linux/kernel/debug/kdb/
A Dkdb_support.c87 static char namebuf[KSYM_NAME_LEN]; in kdbnearsym() local
96 (char **)(&symtab->mod_name), namebuf); in kdbnearsym()
/linux/fs/exfat/
A Ddir.c155 dir_entry->namebuf.lfn, in exfat_readdir()
156 dir_entry->namebuf.lfnbuf_len); in exfat_readdir()
185 dir_entry->namebuf.lfn[0] = '\0'; in exfat_readdir()
222 struct exfat_dentry_namebuf *nb = &(de.namebuf); in exfat_iterate()
A Dexfat_fs.h189 struct exfat_dentry_namebuf namebuf; member
/linux/security/selinux/
A Dselinuxfs.c964 char *namebuf = NULL, *objname = NULL; in sel_write_create() local
990 namebuf = kzalloc(size + 1, GFP_KERNEL); in sel_write_create()
991 if (!namebuf) in sel_write_create()
995 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create()
1009 r = w = namebuf; in sel_write_create()
1026 objname = namebuf; in sel_write_create()
1057 kfree(namebuf); in sel_write_create()
/linux/arch/um/os-Linux/
A 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/arch/um/include/shared/
A Dos.h139 extern int os_get_ifname(int fd, char *namebuf);
/linux/fs/btrfs/
A Dtree-checker.c597 char namebuf[max(BTRFS_NAME_LEN, XATTR_NAME_MAX)]; in check_dir_item() local
599 read_extent_buffer(leaf, namebuf, in check_dir_item()
601 name_hash = btrfs_name_hash(namebuf, name_len); in check_dir_item()
/linux/drivers/net/ethernet/sun/
A Dniu.c8023 static int niu_pci_vpd_get_propname(struct niu *np, u32 off, char *namebuf, in niu_pci_vpd_get_propname() argument
8032 *namebuf++ = err; in niu_pci_vpd_get_propname()
8084 char namebuf[64]; in niu_pci_vpd_scan_props() local
8102 err = niu_pci_vpd_get_propname(np, start + 5, namebuf, 64); in niu_pci_vpd_scan_props()
8108 if (!strcmp(namebuf, "model")) { in niu_pci_vpd_scan_props()
8112 } else if (!strcmp(namebuf, "board-model")) { in niu_pci_vpd_scan_props()
8116 } else if (!strcmp(namebuf, "version")) { in niu_pci_vpd_scan_props()
8120 } else if (!strcmp(namebuf, "local-mac-address")) { in niu_pci_vpd_scan_props()
8124 } else if (!strcmp(namebuf, "num-mac-addresses")) { in niu_pci_vpd_scan_props()
8128 } else if (!strcmp(namebuf, "phy-type")) { in niu_pci_vpd_scan_props()
[all …]

Completed in 74 milliseconds