/openbmc/qemu/tests/qapi-schema/ |
H A D | test-qapi.py | 137 def open_test_result(dir_name, file_name, update): argument 140 return open(os.path.join(dir_name, file_name), mode, encoding='utf-8') 144 return open(os.path.join(dir_name, file_name), 'w+', encoding='utf-8') 147 def test_and_diff(test_name, dir_name, update): argument 150 test_frontend(os.path.join(dir_name, test_name + '.json')) 153 if dir_name: 154 errstr = errstr.replace(dir_name + '/', '') 164 outfp = open_test_result(dir_name, test_name + '.out', update) 165 errfp = open_test_result(dir_name, test_name + '.err', update) 216 (dir_name, base_name) = os.path.split(t) [all …]
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A 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()
|
H A 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()
|
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ |
H A D | ledgroup | 22 dir_name="/var/lib/phosphor-led-manager/" 23 if [ -d "$dir_name" ]; then 24 add_copy_file "$dir_name" "$desc"
|
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/plugins.d/ |
H A D | vpd_data | 19 dir_name="/tmp/bad-vpd" 21 if [ -f $dir_name ]; then 22 add_copy_file "$dir_name" "$desc"
|
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
H A D | vpd_data | 19 dir_name="/tmp/bad-vpd" 21 if [ -f $dir_name ]; then 22 add_copy_file "$dir_name" "$desc"
|
/openbmc/linux/samples/bpf/ |
H A 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
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A 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()
|
/openbmc/linux/tools/perf/util/ |
H A 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 …]
|
H A 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()
|
/openbmc/openbmc/poky/meta/recipes-extended/quota/quota/ |
H A D | 0001-Fix-building-on-musl.patch | 57 +static char *dir_name; 66 + dir_name = optarg; 75 + curprivs = getprivs(id, handles, !dir_name); 84 + handles = create_handle_list(dir_name ? 1 : 0, dir_name ? &dir_name : NULL, quotatype, fmt, 93 + curprivs = getprivs(id, handles, !dir_name);
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | common.c | 247 int create_and_mount_bpffs_dir(const char *dir_name) in create_and_mount_bpffs_dir() argument 253 if (is_bpffs(dir_name)) in create_and_mount_bpffs_dir() 256 dir_exists = access(dir_name, F_OK) == 0; in create_and_mount_bpffs_dir() 262 temp_name = strdup(dir_name); in create_and_mount_bpffs_dir() 278 dir_name, parent_name); in create_and_mount_bpffs_dir() 292 err = mkdir(dir_name, S_IRWXU); in create_and_mount_bpffs_dir() 294 p_err("failed to create dir '%s': %s", dir_name, strerror(errno)); in create_and_mount_bpffs_dir() 299 err = mnt_fs(dir_name, "bpf", err_str, ERR_MAX_LEN); in create_and_mount_bpffs_dir() 303 dir_name, err_str); in create_and_mount_bpffs_dir() 306 rmdir(dir_name); in create_and_mount_bpffs_dir()
|
H A D | main.h | 146 int create_and_mount_bpffs_dir(const char *dir_name);
|
/openbmc/linux/drivers/thunderbolt/ |
H A 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() 955 char dir_name[10]; in margining_port_remove() local 960 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in margining_port_remove() 961 parent = debugfs_lookup(dir_name, port->sw->debugfs_dir); in margining_port_remove() 1526 char dir_name[10]; in tb_switch_debugfs_init() local 1533 snprintf(dir_name, sizeof(dir_name), "port%d", port->port); in tb_switch_debugfs_init() 1534 debugfs_dir = debugfs_create_dir(dir_name, sw->debugfs_dir); in tb_switch_debugfs_init()
|
/openbmc/u-boot/include/ |
H A D | ubifs_uboot.h | 24 int ubifs_ls(const char *dir_name);
|
/openbmc/linux/include/linux/ |
H A D | init_syscalls.h | 3 int __init init_mount(const char *dev_name, const char *dir_name,
|
/openbmc/linux/sound/soc/tegra/ |
H A 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()
|
/openbmc/linux/fs/ |
H A 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()
|
/openbmc/linux/security/tomoyo/ |
H A 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()
|
H A D | mount.c | 58 &acl->dir_name) && in tomoyo_check_mount_acl()
|
/openbmc/linux/include/linux/sunrpc/ |
H A D | rpc_pipe_fs.h | 85 const unsigned char *dir_name);
|
/openbmc/linux/drivers/dma/ |
H A 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()
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A 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()
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | testexport.bbclass | 175 dir_name = os.path.dirname(src_dir) 178 os.chdir(dir_name)
|
/openbmc/openbmc/poky/meta/recipes-support/libksba/libksba/ |
H A D | ksba-add-pkgconfig-support.patch | 29 - dnl package name in --with-$dir_name-prefix=PFX.
|