Home
last modified time | relevance | path

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

12

/linux/kernel/trace/rv/
H A Drv.h5 struct dentry *root_dir; member
34 int init_rv_reactors(struct dentry *root_dir);
41 static inline int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() argument
H A Drv.c844 rv_root.root_dir = rv_create_dir("rv", NULL); in rv_init_interface()
845 if (!rv_root.root_dir) in rv_init_interface()
848 rv_root.monitors_dir = rv_create_dir("monitors", rv_root.root_dir); in rv_init_interface()
852 tmp = rv_create_file("available_monitors", RV_MODE_READ, rv_root.root_dir, NULL, in rv_init_interface()
857 tmp = rv_create_file("enabled_monitors", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface()
862 tmp = rv_create_file("monitoring_on", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface()
866 retval = init_rv_reactors(rv_root.root_dir); in rv_init_interface()
875 rv_remove(rv_root.root_dir); in rv_init_interface()
H A Drv_reactors.c451 int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() argument
456 available = rv_create_file("available_reactors", RV_MODE_READ, root_dir, NULL, in init_rv_reactors()
461 reacting = rv_create_file("reacting_on", RV_MODE_WRITE, root_dir, NULL, &reacting_on_fops); in init_rv_reactors()
/linux/tools/perf/
H A Dbuiltin-buildid-cache.c36 char root_dir[PATH_MAX]; in build_id_cache__kcore_buildid() local
39 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid()
41 p = strrchr(root_dir, '/'); in build_id_cache__kcore_buildid()
45 return sysfs__snprintf_build_id(root_dir, sbuildid, sbuildid_size); in build_id_cache__kcore_buildid()
/linux/fs/befs/
H A Dsuper.c50 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); in befs_load_sb()
H A Dbefs.h55 befs_inode_addr root_dir; member
H A Dbefs_fs_types.h138 befs_disk_inode_addr root_dir; member
H A Ddebug.c193 tmp_run = fsrun_to_cpu(sb, sup->root_dir); in befs_dump_super_block()
194 befs_debug(sb, " root_dir %u, %hu, %hu", in befs_dump_super_block()
H A Dlinuxvfs.c866 root = befs_iget(sb, iaddr2blockno(sb, &(befs_sb->root_dir))); in befs_fill_super()
/linux/samples/bpf/
H A Drun_cookie_uid_helper_example.sh4 root_dir=$local_dir/../..
/linux/fs/exfat/
H A Dsuper.c351 exfat_chain_set(&ei->dir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root()
353 ei->start_clu = sbi->root_dir; in exfat_read_root()
359 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root()
378 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root()
494 sbi->root_dir = le32_to_cpu(p_boot->root_cluster); in exfat_read_boot_sector()
600 exfat_chain_set(root_clu, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in __exfat_fill_super()
H A Dballoc.c83 exfat_chain_set(&clu, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_load_bitmap()
H A Dexfat_fs.h259 unsigned int root_dir; /* root dir cluster */ member
H A Dinode.c40 if (is_dir && ei->dir.dir == sbi->root_dir && ei->entry == -1) in __exfat_write_inode()
/linux/tools/perf/util/
H A Dmachine.h39 char *root_dir; member
162 const char *root_dir);
175 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
H A Dmachine.c75 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument
102 machine->root_dir = strdup(root_dir); in machine__init()
103 if (machine->root_dir == NULL) in machine__init()
126 zfree(&machine->root_dir); in machine__init()
216 zfree(&machine->root_dir); in machine__exit()
245 const char *root_dir) in machines__add() argument
255 if (machine__init(machine, root_dir, pid) != 0) { in machines__add()
321 const char *root_dir = ""; in machines__findnew() local
344 root_dir in machines__findnew()
1315 get_kernel_version(const char * root_dir) get_kernel_version() argument
[all...]
H A Ddso.c114 char *root_dir, char *filename, size_t size) in dso__read_binary_type_filename() argument
236 root_dir, dso__long_name(dso)); in dso__read_binary_type_filename()
570 char *root_dir = (char *)""; in __open_dso() local
579 root_dir = machine->root_dir; in __open_dso()
582 root_dir, name, PATH_MAX)) in __open_dso()
1693 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); in dso__read_running_kernel_build_id()
1699 const char *root_dir) in dso__kernel_module_get_build_id() argument
1711 root_dir, (int)strlen(name) - 1, name); in dso__kernel_module_get_build_id()
H A Dsymbol.c914 machine->root_dir, module); in maps__split_kallsyms()
1810 char *root_dir = (char *) ""; in dso__load() local
1864 root_dir = machine->root_dir; in dso__load()
1905 root_dir, name, PATH_MAX)) in dso__load()
2283 sprintf(path, "%s/proc/kallsyms", machine->root_dir); in dso__load_guest_kernel_sym()
H A Ddso.h753 int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir);
757 char *root_dir, char *filename, size_t size);
H A Dsynthetic-events.c448 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events()
488 machine->root_dir, pid, pid); in perf_event__synthesize_mmap_events()
810 machine->root_dir, pid); in __event__synthesize_thread()
1046 snprintf(proc_path, sizeof(proc_path), "%s/proc", machine->root_dir); in perf_event__synthesize_threads()
H A Dunwind-libunwind-local.c398 machine->root_dir, debuglink, PATH_MAX); in read_unwind_spec_debug_frame()
/linux/tools/perf/scripts/python/
H A Dexport-to-postgresql.py347 'root_dir varchar(4096))')
502 'root_dir,'
983 def machine_table(machine_id, pid, root_dir, *x): argument
984 root_dir = toserverstr(root_dir)
985 n = len(root_dir)
987 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir)
/linux/tools/testing/selftests/hid/tests/
H A Dbase.py255 root_dir = (script_dir / "../../../../..").resolve()
256 bpf_dir = root_dir / "drivers/hid/bpf/progs"
/linux/fs/ocfs2/
H A Docfs2_trace.h1710 TP_PROTO(char *label, char *uuid_str, unsigned long long root_dir,
1712 TP_ARGS(label, uuid_str, root_dir, system_dir, cluster_bits),
1716 __field(unsigned long long, root_dir)
1723 __entry->root_dir = root_dir;
1728 __entry->root_dir, __entry->system_dir, __entry->cluster_bits)
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1163 tuple_set_string(t, 2, machine->root_dir ? machine->root_dir : ""); in python_export_machine()

12