/linux-6.6.21/drivers/accessibility/speakup/ |
D | makemapdata.c | 54 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()
|
D | utils.h | 32 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/ |
D | do_hbm_test.sh | 76 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/ |
D | uvc_debugfs.c | 76 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/ |
D | build-id.c | 581 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 …]
|
D | probe-file.c | 455 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()
|
D | machine.c | 1554 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/ |
D | debugfs.c | 878 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/ |
D | init_syscalls.h | 3 int __init init_mount(const char *dev_name, const char *dir_name,
|
D | syscalls.h | 400 asmlinkage long sys_mount(char __user *dev_name, char __user *dir_name,
|
/linux-6.6.21/sound/soc/tegra/ |
D | tegra210_admaif.c | 349 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/ |
D | init.c | 16 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()
|
D | namespace.c | 3677 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/ |
D | file.c | 969 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()
|
D | mount.c | 58 &acl->dir_name) && in tomoyo_check_mount_acl()
|
D | gc.c | 201 tomoyo_put_name_union(&entry->dir_name); in tomoyo_del_acl()
|
D | common.h | 751 struct tomoyo_name_union dir_name; member
|
/linux-6.6.21/include/linux/sunrpc/ |
D | rpc_pipe_fs.h | 85 const unsigned char *dir_name);
|
/linux-6.6.21/drivers/dma/ |
D | hisi_dma.c | 874 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/ |
D | isst-config.c | 912 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/ |
D | blk-mq-debugfs.c | 801 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/ |
D | kvm_main.c | 1051 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/ |
D | rpc_pipe.c | 1192 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()
|
D | clnt.c | 124 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/ |
D | builtin-script.c | 3416 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()
|