Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/accessibility/speakup/
Dmakemapdata.c54 const char *dir_name; in main() local
57 dir_name = getenv("TOPDIR"); in main()
58 if (!dir_name) in main()
59 dir_name = "."; in main()
68 open_input(dir_name, "include/linux/input.h"); in main()
77 open_input(dir_name, "include/uapi/linux/input-event-codes.h"); in main()
86 open_input(dir_name, "drivers/accessibility/speakup/spk_priv_keyinfo.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-v6.1/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-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddebugfs.c138 char dir_name[VNIC_DIAG_DIR_NAME_MAX_LEN]; in mlx5_esw_vport_debugfs_create() local
145 strcpy(dir_name, "pf"); in mlx5_esw_vport_debugfs_create()
147 strcpy(dir_name, "ecpf"); in mlx5_esw_vport_debugfs_create()
149 err = snprintf(dir_name, VNIC_DIAG_DIR_NAME_MAX_LEN, "%s_%d", is_sf ? "sf" : "vf", in mlx5_esw_vport_debugfs_create()
155 vport->dbgfs = debugfs_create_dir(dir_name, esw->dbgfs); in mlx5_esw_vport_debugfs_create()
/Linux-v6.1/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.c1500 static int maps__set_modules_path_dir(struct maps *maps, const char *dir_name, int depth) in maps__set_modules_path_dir() argument
1503 DIR *dir = opendir(dir_name); in maps__set_modules_path_dir()
1507 pr_debug("%s: cannot open %s dir\n", __func__, dir_name); in maps__set_modules_path_dir()
1516 path__join(path, sizeof(path), dir_name, dent->d_name); in maps__set_modules_path_dir()
/Linux-v6.1/drivers/thunderbolt/
Ddebugfs.c862 char dir_name[10]; in margining_port_init() local
870 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in margining_port_init()
871 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_init()
938 char dir_name[10]; in margining_port_remove() local
943 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in margining_port_remove()
944 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_remove()
1498 char dir_name[10]; in tb_switch_debugfs_init() local
1505 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in tb_switch_debugfs_init()
1506 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
/Linux-v6.1/include/linux/
Dinit_syscalls.h3 int __init init_mount(const char *dev_name, const char *dir_name,
/Linux-v6.1/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-v6.1/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.c3374 long do_mount(const char *dev_name, const char __user *dir_name, in do_mount() argument
3380 ret = user_path_at(AT_FDCWD, dir_name, LOOKUP_FOLLOW, &path); in do_mount()
3568 SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name, in SYSCALL_DEFINE5() argument
3591 ret = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in SYSCALL_DEFINE5()
/Linux-v6.1/include/linux/sunrpc/
Drpc_pipe_fs.h85 const unsigned char *dir_name);
/Linux-v6.1/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
Dcommon.c1553 tomoyo_print_name_union(head, &ptr->dir_name); in tomoyo_print_entry()
/Linux-v6.1/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-v6.1/block/
Dblk-mq-debugfs.c827 const char *dir_name = rq_qos_id_to_name(rqos->id); in blk_mq_debugfs_register_rqos() local
838 rqos->debugfs_dir = debugfs_create_dir(dir_name, in blk_mq_debugfs_register_rqos()
/Linux-v6.1/virt/kvm/
Dkvm_main.c1030 char dir_name[ITOA_MAX_LEN * 2]; in kvm_create_vm_debugfs() local
1040 snprintf(dir_name, sizeof(dir_name), "%d-%s", task_pid_nr(current), fdname); in kvm_create_vm_debugfs()
1042 dent = debugfs_lookup(dir_name, kvm_debugfs_dir); in kvm_create_vm_debugfs()
1044 pr_warn_ratelimited("KVM: debugfs: duplicate directory %s\n", dir_name); in kvm_create_vm_debugfs()
1049 dent = debugfs_create_dir(dir_name, kvm_debugfs_dir); in kvm_create_vm_debugfs()
3874 char dir_name[ITOA_MAX_LEN * 2]; in kvm_create_vcpu_debugfs() local
3879 snprintf(dir_name, sizeof(dir_name), "vcpu%d", vcpu->vcpu_id); in kvm_create_vcpu_debugfs()
3880 debugfs_dentry = debugfs_create_dir(dir_name, in kvm_create_vcpu_debugfs()
/Linux-v6.1/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.c123 const char *dir_name = clnt->cl_program->pipe_dir_name; in rpc_setup_pipedir_sb() local
127 dir = rpc_d_lookup_sb(sb, dir_name); in rpc_setup_pipedir_sb()
129 pr_info("RPC: pipefs directory doesn't exist: %s\n", dir_name); in rpc_setup_pipedir_sb()
142 dir_name, name, PTR_ERR(dentry)); in rpc_setup_pipedir_sb()
/Linux-v6.1/tools/perf/
Dbuiltin-script.c3370 static int check_ev_match(char *dir_name, char *scriptname, in check_ev_match() argument
3379 scnprintf(filename, MAXPATHLEN, "%s/bin/%s-record", dir_name, scriptname); in check_ev_match()

12