/Linux-v5.10/kernel/ |
D | kallsyms.c | 167 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_name() local 172 off = kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_lookup_name() 174 if (strcmp(namebuf, name) == 0) in kallsyms_lookup_name() 184 char namebuf[KSYM_NAME_LEN]; in kallsyms_on_each_symbol() local 190 off = kallsyms_expand_symbol(off, namebuf, ARRAY_SIZE(namebuf)); in kallsyms_on_each_symbol() 191 ret = fn(data, namebuf, NULL, kallsyms_sym_address(i)); in kallsyms_on_each_symbol() 264 char namebuf[KSYM_NAME_LEN]; in kallsyms_lookup_size_offset() local 270 return !!module_address_lookup(addr, symbolsize, offset, NULL, namebuf) || in kallsyms_lookup_size_offset() 271 !!__bpf_address_lookup(addr, symbolsize, offset, namebuf); in kallsyms_lookup_size_offset() 284 char **modname, char *namebuf) in kallsyms_lookup() argument [all …]
|
D | kprobes.c | 2693 char *modname, namebuf[KSYM_NAME_LEN]; in show_kprobe_addr() local 2699 &offset, &modname, namebuf); in show_kprobe_addr()
|
D | module.c | 4165 char *namebuf) in module_address_lookup() argument 4180 strncpy(namebuf, ret, KSYM_NAME_LEN - 1); in module_address_lookup() 4181 ret = namebuf; in module_address_lookup()
|
/Linux-v5.10/arch/sparc/kernel/ |
D | pcic.c | 292 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-v5.10/fs/ocfs2/ |
D | sysfile.c | 129 char namebuf[40]; in _ocfs2_get_system_file_inode() local 134 ocfs2_sprintf_system_inode_name(namebuf, in _ocfs2_get_system_file_inode() 135 sizeof(namebuf), in _ocfs2_get_system_file_inode() 138 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, in _ocfs2_get_system_file_inode() 139 strlen(namebuf), &blkno); in _ocfs2_get_system_file_inode()
|
D | ioctl.c | 326 char namebuf[40]; in ocfs2_info_handle_freeinode() local 356 ocfs2_sprintf_system_inode_name(namebuf, in ocfs2_info_handle_freeinode() 357 sizeof(namebuf), in ocfs2_info_handle_freeinode() 360 namebuf, in ocfs2_info_handle_freeinode() 361 strlen(namebuf), in ocfs2_info_handle_freeinode() 613 char namebuf[40]; in ocfs2_info_handle_freefrag() local 649 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, in ocfs2_info_handle_freefrag() 652 namebuf, in ocfs2_info_handle_freefrag() 653 strlen(namebuf), in ocfs2_info_handle_freefrag()
|
D | move_extents.c | 381 char namebuf[40]; in ocfs2_find_victim_alloc_group() local 390 ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, slot); in ocfs2_find_victim_alloc_group() 391 ret = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf, in ocfs2_find_victim_alloc_group() 392 strlen(namebuf), &blkno); in ocfs2_find_victim_alloc_group()
|
/Linux-v5.10/tools/perf/util/ |
D | util.c | 153 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-v5.10/fs/reiserfs/ |
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()
|
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-v5.10/arch/sparc/prom/ |
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-v5.10/include/linux/ |
D | kallsyms.h | 91 char **modname, char *namebuf); 129 char **modname, char *namebuf) in kallsyms_lookup() argument
|
D | module.h | 664 char *namebuf); 767 char *namebuf) in module_address_lookup() argument
|
/Linux-v5.10/tools/include/linux/ |
D | kallsyms.h | 16 char **modname, char *namebuf) in kallsyms_lookup() argument
|
/Linux-v5.10/security/integrity/ima/ |
D | ima_api.c | 387 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument 402 strlcpy(namebuf, path->dentry->d_name.name, NAME_MAX); in ima_d_path() 403 pathname = namebuf; in ima_d_path()
|
/Linux-v5.10/fs/exfat/ |
D | dir.c | 152 dir_entry->namebuf.lfn, in exfat_readdir() 153 dir_entry->namebuf.lfnbuf_len); in exfat_readdir() 182 dir_entry->namebuf.lfn[0] = '\0'; in exfat_readdir() 219 struct exfat_dentry_namebuf *nb = &(de.namebuf); in exfat_iterate()
|
D | exfat_fs.h | 189 struct exfat_dentry_namebuf namebuf; member
|
/Linux-v5.10/arch/um/os-Linux/ |
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-v5.10/security/selinux/ |
D | selinuxfs.c | 962 char *namebuf = NULL, *objname = NULL; in sel_write_create() local 988 namebuf = kzalloc(size + 1, GFP_KERNEL); in sel_write_create() 989 if (!namebuf) in sel_write_create() 993 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create() 1007 r = w = namebuf; in sel_write_create() 1024 objname = namebuf; in sel_write_create() 1055 kfree(namebuf); in sel_write_create()
|
/Linux-v5.10/arch/um/include/shared/ |
D | os.h | 140 extern int os_get_ifname(int fd, char *namebuf);
|
/Linux-v5.10/fs/btrfs/ |
D | tree-checker.c | 590 char namebuf[max(BTRFS_NAME_LEN, XATTR_NAME_MAX)]; in check_dir_item() local 592 read_extent_buffer(leaf, namebuf, in check_dir_item() 594 name_hash = btrfs_name_hash(namebuf, name_len); in check_dir_item()
|
/Linux-v5.10/drivers/net/ethernet/sun/ |
D | niu.c | 8025 static int niu_pci_vpd_get_propname(struct niu *np, u32 off, char *namebuf, in niu_pci_vpd_get_propname() argument 8034 *namebuf++ = err; in niu_pci_vpd_get_propname() 8086 char namebuf[64]; in niu_pci_vpd_scan_props() local 8104 err = niu_pci_vpd_get_propname(np, start + 5, namebuf, 64); in niu_pci_vpd_scan_props() 8110 if (!strcmp(namebuf, "model")) { in niu_pci_vpd_scan_props() 8114 } else if (!strcmp(namebuf, "board-model")) { in niu_pci_vpd_scan_props() 8118 } else if (!strcmp(namebuf, "version")) { in niu_pci_vpd_scan_props() 8122 } else if (!strcmp(namebuf, "local-mac-address")) { in niu_pci_vpd_scan_props() 8126 } else if (!strcmp(namebuf, "num-mac-addresses")) { in niu_pci_vpd_scan_props() 8130 } else if (!strcmp(namebuf, "phy-type")) { in niu_pci_vpd_scan_props() [all …]
|