Home
last modified time | relevance | path

Searched refs:dir_name (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/drivers/accessibility/speakup/
Dmakemapdata.c54 const char *dir_name, *spk_dir_name; in main() local
57 dir_name = getenv("TOPDIR"); in main()
58 if (!dir_name) in main()
59 dir_name = "."; in main()
71 open_input(dir_name, "include/linux/input.h"); in main()
80 open_input(dir_name, "include/uapi/linux/input-event-codes.h"); in main()
Dutils.h32 static inline void open_input(const char *dir_name, const char *name) in open_input() argument
34 if (dir_name) in open_input()
35 snprintf(filename, sizeof(filename), "%s/%s", dir_name, name); in open_input()
/linux-6.6.21/samples/bpf/
Ddo_hbm_test.sh76 dir_name="out"
122 dir_name="out"
223 rm -f hbm.[0-9]*.$dir_name
315 if [ -e hbm.$id.$dir_name ] ; then
316 cat hbm.$id.$dir_name
354 if [ -e hbm.$id.$dir_name ] ; then
355 cat hbm.$id.$dir_name
380 if [ -e hbm.$id.$dir_name ] ; then
381 cat hbm.$id.$dir_name
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_debugfs.c76 char dir_name[33]; in uvc_debugfs_init_stream() local
81 snprintf(dir_name, sizeof(dir_name), "%u-%u-%u", udev->bus->busnum, in uvc_debugfs_init_stream()
84 stream->debugfs_dir = debugfs_create_dir(dir_name, in uvc_debugfs_init_stream()
/linux-6.6.21/tools/perf/util/
Dbuild-id.c581 char *dir_name; in build_id_cache__list_build_ids() local
584 dir_name = build_id_cache__cachedir(NULL, pathname, nsi, false, false); in build_id_cache__list_build_ids()
585 if (!dir_name) in build_id_cache__list_build_ids()
588 *result = lsdir(dir_name, lsdir_no_dot_filter); in build_id_cache__list_build_ids()
591 free(dir_name); in build_id_cache__list_build_ids()
683 char *filename = NULL, *dir_name = NULL, *linkname = zalloc(size), *tmp; in build_id_cache__add() local
690 dir_name = build_id_cache__cachedir(sbuild_id, proper_name, nsi, is_kallsyms, in build_id_cache__add()
692 if (!dir_name) in build_id_cache__add()
696 if (is_regular_file(dir_name)) in build_id_cache__add()
697 if (unlink(dir_name)) in build_id_cache__add()
[all …]
Dprobe-file.c455 char *dir_name = NULL; in probe_cache__open() local
463 dir_name = build_id_cache__linkname(sbuildid, NULL, 0); in probe_cache__open()
492 dir_name = build_id_cache__cachedir(sbuildid, target, nsi, is_kallsyms, in probe_cache__open()
495 if (!dir_name) { in probe_cache__open()
500 snprintf(cpath, PATH_MAX, "%s/probes", dir_name); in probe_cache__open()
504 free(dir_name); in probe_cache__open()
Dmachine.c1554 static int maps__set_modules_path_dir(struct maps *maps, const char *dir_name, int depth) in maps__set_modules_path_dir() argument
1557 DIR *dir = opendir(dir_name); in maps__set_modules_path_dir()
1561 pr_debug("%s: cannot open %s dir\n", __func__, dir_name); in maps__set_modules_path_dir()
1570 path__join(path, sizeof(path), dir_name, dent->d_name); in maps__set_modules_path_dir()
/linux-6.6.21/drivers/thunderbolt/
Ddebugfs.c878 char dir_name[10]; in margining_port_init() local
886 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in margining_port_init()
887 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_init()
954 char dir_name[10]; in margining_port_remove() local
959 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in margining_port_remove()
960 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_remove()
1525 char dir_name[10]; in tb_switch_debugfs_init() local
1532 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in tb_switch_debugfs_init()
1533 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
/linux-6.6.21/include/linux/
Dinit_syscalls.h3 int __init init_mount(const char *dev_name, const char *dir_name,
Dsyscalls.h400 asmlinkage long sys_mount(char __user *dev_name, char __user *dir_name,
/linux-6.6.21/sound/soc/tegra/
Dtegra210_admaif.c349 char *dir_name; in tegra_admaif_stop() local
356 dir_name = "TX"; in tegra_admaif_stop()
364 dir_name = "RX"; in tegra_admaif_stop()
381 dai->id + 1, dir_name); in tegra_admaif_stop()
392 dai->id + 1, dir_name); in tegra_admaif_stop()
/linux-6.6.21/fs/
Dinit.c16 int __init init_mount(const char *dev_name, const char *dir_name, in init_mount() argument
22 ret = kern_path(dir_name, LOOKUP_FOLLOW, &path); in init_mount()
Dnamespace.c3677 long do_mount(const char *dev_name, const char __user *dir_name, in do_mount() argument
3683 ret = user_path_at(AT_FDCWD, dir_name, LOOKUP_FOLLOW, &path); in do_mount()
3872 SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name, in SYSCALL_DEFINE5() argument
3895 ret = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in SYSCALL_DEFINE5()
/linux-6.6.21/security/tomoyo/
Dfile.c969 tomoyo_same_name_union(&p1->dir_name, &p2->dir_name) && in tomoyo_same_mount_acl()
989 !tomoyo_parse_name_union(param, &e.dir_name) || in tomoyo_update_mount_acl()
997 tomoyo_put_name_union(&e.dir_name); in tomoyo_update_mount_acl()
Dmount.c58 &acl->dir_name) && in tomoyo_check_mount_acl()
Dgc.c201 tomoyo_put_name_union(&entry->dir_name); in tomoyo_del_acl()
Dcommon.h751 struct tomoyo_name_union dir_name; member
/linux-6.6.21/include/linux/sunrpc/
Drpc_pipe_fs.h85 const unsigned char *dir_name);
/linux-6.6.21/drivers/dma/
Dhisi_dma.c874 char dir_name[HISI_DMA_MAX_DIR_NAME_LEN]; in hisi_dma_create_chan_dir() local
900 memset(dir_name, 0, HISI_DMA_MAX_DIR_NAME_LEN); in hisi_dma_create_chan_dir()
901 ret = sprintf(dir_name, "channel%d", i); in hisi_dma_create_chan_dir()
905 chan_dir = debugfs_create_dir(dir_name, in hisi_dma_create_chan_dir()
/linux-6.6.21/tools/power/x86/intel-speed-select/
Disst-config.c912 static char str[512], dir_name[64]; in isolate_cpus() local
917 snprintf(dir_name, sizeof(dir_name), "/sys/fs/cgroup/%d-%d-%d", id->pkg, id->die, id->punit); in isolate_cpus()
918 dir = opendir(dir_name); in isolate_cpus()
920 ret = mkdir(dir_name, 0744); in isolate_cpus()
922 debug_printf("Can't create dir:%s errno:%d\n", dir_name, errno); in isolate_cpus()
929 sprintf(cpuset_cpus, "%s/cpuset.cpus.partition", dir_name); in isolate_cpus()
976 snprintf(cpuset_cpus, sizeof(cpuset_cpus), "%s/cpuset.cpus", dir_name); in isolate_cpus()
991 snprintf(cpuset_cpus, sizeof(cpuset_cpus), "%s/cpuset.cpus.partition", dir_name); in isolate_cpus()
/linux-6.6.21/block/
Dblk-mq-debugfs.c801 const char *dir_name = rq_qos_id_to_name(rqos->id); in blk_mq_debugfs_register_rqos() local
812 rqos->debugfs_dir = debugfs_create_dir(dir_name, q->rqos_debugfs_dir); in blk_mq_debugfs_register_rqos()
/linux-6.6.21/virt/kvm/
Dkvm_main.c1051 char dir_name[ITOA_MAX_LEN * 2]; in kvm_create_vm_debugfs() local
1061 snprintf(dir_name, sizeof(dir_name), "%d-%s", task_pid_nr(current), fdname); in kvm_create_vm_debugfs()
1063 dent = debugfs_lookup(dir_name, kvm_debugfs_dir); in kvm_create_vm_debugfs()
1065 pr_warn_ratelimited("KVM: debugfs: duplicate directory %s\n", dir_name); in kvm_create_vm_debugfs()
1070 dent = debugfs_create_dir(dir_name, kvm_debugfs_dir); in kvm_create_vm_debugfs()
3925 char dir_name[ITOA_MAX_LEN * 2]; in kvm_create_vcpu_debugfs() local
3930 snprintf(dir_name, sizeof(dir_name), "vcpu%d", vcpu->vcpu_id); in kvm_create_vcpu_debugfs()
3931 debugfs_dentry = debugfs_create_dir(dir_name, in kvm_create_vcpu_debugfs()
/linux-6.6.21/net/sunrpc/
Drpc_pipe.c1192 const unsigned char *dir_name) in rpc_d_lookup_sb() argument
1194 struct qstr dir = QSTR_INIT(dir_name, strlen(dir_name)); in rpc_d_lookup_sb()
Dclnt.c124 const char *dir_name = clnt->cl_program->pipe_dir_name; in rpc_setup_pipedir_sb() local
128 dir = rpc_d_lookup_sb(sb, dir_name); in rpc_setup_pipedir_sb()
130 pr_info("RPC: pipefs directory doesn't exist: %s\n", dir_name); in rpc_setup_pipedir_sb()
143 dir_name, name, PTR_ERR(dentry)); in rpc_setup_pipedir_sb()
/linux-6.6.21/tools/perf/
Dbuiltin-script.c3416 static int check_ev_match(char *dir_name, char *scriptname, in check_ev_match() argument
3425 scnprintf(filename, MAXPATHLEN, "%s/bin/%s-record", dir_name, scriptname); in check_ev_match()

12