/openbmc/openbmc/poky/bitbake/lib/bb/tests/support/ |
H A D | httpserver.py | 15 def server_start(self, root_dir, logger): argument 16 os.chdir(root_dir) 26 def __init__(self, root_dir, host='', port=0, logger=None): argument 27 self.root_dir = root_dir 35 print(self.root_dir) 36 if not os.path.exists(self.root_dir): 37 …self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir)) 43 …self.process = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.…
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | httpserver.py | 16 def server_start(self, root_dir, logger): argument 17 os.chdir(root_dir) 28 def __init__(self, root_dir, host='', port=0, logger=None): argument 29 self.root_dir = root_dir 38 if not os.path.exists(self.root_dir): 39 …self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir)) 45 …self.process = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.… 62 … self.logger.info("Started HTTPService for %s on %s:%s" % (self.root_dir, self.host, self.port))
|
/openbmc/linux/kernel/trace/rv/ |
H A D | rv.h | 5 struct dentry *root_dir; member 52 int init_rv_reactors(struct dentry *root_dir); 64 static inline int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() argument
|
H A D | rv.c | 765 rv_root.root_dir = rv_create_dir("rv", NULL); in rv_init_interface() 766 if (!rv_root.root_dir) in rv_init_interface() 769 rv_root.monitors_dir = rv_create_dir("monitors", rv_root.root_dir); in rv_init_interface() 773 tmp = rv_create_file("available_monitors", RV_MODE_READ, rv_root.root_dir, NULL, in rv_init_interface() 778 tmp = rv_create_file("enabled_monitors", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface() 783 tmp = rv_create_file("monitoring_on", RV_MODE_WRITE, rv_root.root_dir, NULL, in rv_init_interface() 787 retval = init_rv_reactors(rv_root.root_dir); in rv_init_interface() 796 rv_remove(rv_root.root_dir); in rv_init_interface()
|
H A D | rv_reactors.c | 482 int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() argument 487 available = rv_create_file("available_reactors", RV_MODE_READ, root_dir, NULL, in init_rv_reactors() 492 reacting = rv_create_file("reacting_on", RV_MODE_WRITE, root_dir, NULL, &reacting_on_fops); in init_rv_reactors()
|
/openbmc/linux/tools/perf/util/ |
H A D | build-id.c | 125 if (!root_dir) in sysfs__sprintf_build_id() 126 root_dir = ""; in sysfs__sprintf_build_id() 626 const char *root_dir) in build_id_cache__find_debug() argument 639 if (root_dir) { in build_id_cache__find_debug() 640 path__join(dirbuf, PATH_MAX, root_dir, dirname); in build_id_cache__find_debug() 817 is_kallsyms, is_vdso, proper_name, root_dir); in __build_id_cache__add_s() 828 const char *root_dir) in build_id_cache__add_b() argument 835 is_vdso, proper_name, root_dir); in build_id_cache__add_b() 923 const char *root_dir = NULL; in dso__cache_build_id() local 936 if (*machine->root_dir) { in dso__cache_build_id() [all …]
|
H A D | build-id.h | 28 int sysfs__sprintf_build_id(const char *root_dir, char *sbuild_id); 70 const char *proper_name, const char *root_dir); 74 const char *proper_name, const char *root_dir);
|
H A D | dso.c | 105 char *root_dir, char *filename, size_t size) in dso__read_binary_type_filename() argument 226 root_dir, dso->long_name); in dso__read_binary_type_filename() 535 char *root_dir = (char *)""; in __open_dso() local 544 root_dir = machine->root_dir; in __open_dso() 547 root_dir, name, PATH_MAX)) in __open_dso() 1432 sprintf(path, "%s/sys/kernel/notes", machine->root_dir); in dso__read_running_kernel_build_id() 1438 const char *root_dir) in dso__kernel_module_get_build_id() argument 1449 root_dir, (int)strlen(name) - 1, name); in dso__kernel_module_get_build_id()
|
H A D | machine.h | 49 char *root_dir; member 172 const char *root_dir); 184 int machine__init(struct machine *machine, const char *root_dir, pid_t pid);
|
H A D | machine.c | 137 machine->root_dir = strdup(root_dir); in machine__init() 138 if (machine->root_dir == NULL) in machine__init() 161 zfree(&machine->root_dir); in machine__init() 253 zfree(&machine->root_dir); in machine__exit() 287 const char *root_dir) in machines__add() argument 297 if (machine__init(machine, root_dir, pid) != 0) { in machines__add() 363 const char *root_dir = ""; in machines__findnew() local 386 root_dir = path; in machines__findnew() 389 machine = machines__add(machines, pid, root_dir); in machines__findnew() 1498 sprintf(version, "%s/proc/version", root_dir); in get_kernel_version() [all …]
|
H A D | dso.h | 280 int dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir); 284 char *root_dir, char *filename, size_t size);
|
/openbmc/openbmc/poky/meta/recipes-gnome/gnome/gconf/ |
H A D | create_config_directory.patch | 4 because ~/.config folder aka root_dir doesn't exist. 24 - else if (g_mkdir (root_dir, dir_mode) < 0) 25 + else if (g_mkdir_with_parents (root_dir, dir_mode) < 0)
|
/openbmc/qemu/scripts/coverage/ |
H A D | compare_gcov_json.py | 44 root_dir = json_file_path.absolute().parent 52 if resolved_path.is_relative_to(root_dir): 53 file_path = resolved_path.relative_to(root_dir)
|
/openbmc/linux/kernel/irq/ |
H A D | debugfs.c | 247 struct dentry *root_dir; in irq_debugfs_init() local 250 root_dir = debugfs_create_dir("irq", NULL); in irq_debugfs_init() 252 irq_domain_debugfs_init(root_dir); in irq_debugfs_init() 254 irq_dir = debugfs_create_dir("irqs", root_dir); in irq_debugfs_init()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-buildid-cache.c | 36 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__sprintf_build_id(root_dir, sbuildid); in build_id_cache__kcore_buildid()
|
/openbmc/linux/fs/befs/ |
H A D | super.c | 50 befs_sb->root_dir = fsrun_to_cpu(sb, disk_sb->root_dir); in befs_load_sb()
|
H A D | befs.h | 55 befs_inode_addr root_dir; member
|
H A D | befs_fs_types.h | 138 befs_disk_inode_addr root_dir; member
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | vvfat | 186 root_dir = fat16.read_root_directory() 188 self.assertEqual(len(root_dir), 13) # 12 + 1 special file 206 for entry in root_dir: 217 root_dir = fat16.read_root_directory() 223 self.assertEqual(root_dir[0].as_bytes(),
|
/openbmc/linux/samples/bpf/ |
H A D | run_cookie_uid_helper_example.sh | 4 root_dir=$local_dir/../..
|
/openbmc/linux/fs/exfat/ |
H A D | super.c | 338 exfat_chain_set(&ei->dir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 340 ei->start_clu = sbi->root_dir; in exfat_read_root() 346 ei->hint_stat.clu = sbi->root_dir; in exfat_read_root() 349 exfat_chain_set(&cdir, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_read_root() 368 ei->i_pos = ((loff_t)sbi->root_dir << 32) | 0xffffffff; in exfat_read_root() 486 sbi->root_dir = le32_to_cpu(p_boot->root_cluster); in exfat_read_boot_sector()
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 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)
|
/openbmc/qemu/system/ |
H A D | device_tree.c | 149 const char *root_dir = SYSFS_DT_BASEDIR; in read_fstree() local 152 if (strstr(dirname, root_dir) != dirname) { in read_fstree() 154 __func__, dirname, root_dir); in read_fstree()
|
/openbmc/linux/drivers/staging/pi433/ |
H A D | pi433_if.c | 57 static struct dentry *root_dir; /* debugfs root directory for the driver */ variable 1308 entry = debugfs_create_dir(dev_name(device->dev), root_dir); in pi433_probe() 1335 debugfs_lookup_and_remove(dev_name(device->dev), root_dir); in pi433_remove() 1408 root_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); in pi433_init() 1427 debugfs_remove(root_dir); in pi433_exit()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_guts.c | 289 return dev->root_dir; in yaffs_root() 1817 if (dev->root_dir) { in yaffs_alloc_empty_obj() 1818 obj->parent = dev->root_dir; in yaffs_alloc_empty_obj() 1820 &dev->root_dir->variant.dir_variant.children); in yaffs_alloc_empty_obj() 3277 if (in->fake && in != dev->root_dir && !force && !xmod) in yaffs_update_oh() 4216 obj == dev->unlinked_dir || obj == dev->root_dir); in yaffs_has_null_parent() 4259 while (parent != dev->root_dir && in yaffs_fix_hanging_objs() 4267 if (parent != dev->root_dir) in yaffs_fix_hanging_objs() 4559 dev->lost_n_found = dev->root_dir = NULL; in yaffs_create_initial_dir() 4565 dev->root_dir = in yaffs_create_initial_dir() [all …]
|