/openbmc/phosphor-logging/test/ |
H A D | remote_logging_tests.hpp | 23 fs::path dir(fs::path(mkdtemp(tmplt))); 41 configFilePath = std::string(dir.c_str()) + "/server.conf"; in TestRemoteLogging() 53 fs::remove_all(dir); in TearDownTestCase()
|
/openbmc/u-boot/scripts/ |
H A D | Makefile.clean | 14 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 15 include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile)
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | nv10.c | 52 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in nv10_gpio_drive() argument 61 data = (dir << 4) | out; in nv10_gpio_drive() 67 data = (dir << 1) | out; in nv10_gpio_drive() 73 data = (dir << 1) | out; in nv10_gpio_drive()
|
/openbmc/linux/lib/ |
H A D | test_ref_tracker.c | 18 alloctest_ref_tracker_alloc##X(struct ref_tracker_dir *dir, \ 21 ref_tracker_alloc(dir, trackerp, GFP_KERNEL); \ 47 alloctest_ref_tracker_free(struct ref_tracker_dir *dir, in alloctest_ref_tracker_free() argument 50 ref_tracker_free(dir, trackerp); in alloctest_ref_tracker_free()
|
/openbmc/linux/arch/arm/xen/ |
H A D | mm.c | 78 size_t size, enum dma_data_direction dir) in xen_dma_sync_for_cpu() argument 80 if (dir != DMA_TO_DEVICE) in xen_dma_sync_for_cpu() 85 size_t size, enum dma_data_direction dir) in xen_dma_sync_for_device() argument 87 if (dir == DMA_FROM_DEVICE) in xen_dma_sync_for_device()
|
/openbmc/openbmc/poky/documentation/ |
H A D | Makefile | 36 PDFs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.pdf,$(wildcard $(SOURCEDIR)/$(dir)/*.svg))) 39 PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCEDIR)/$(dir)/*.svg)))
|
/openbmc/linux/net/netfilter/ |
H A D | nf_flow_table_inet.c | 47 enum flow_offload_tuple_dir dir, in nf_flow_rule_route_inet() argument 50 const struct flow_offload_tuple *flow_tuple = &flow->tuplehash[dir].tuple; in nf_flow_rule_route_inet() 55 err = nf_flow_rule_route_ipv4(net, flow, dir, flow_rule); in nf_flow_rule_route_inet() 58 err = nf_flow_rule_route_ipv6(net, flow, dir, flow_rule); in nf_flow_rule_route_inet()
|
/openbmc/linux/fs/jfs/ |
H A D | namei.c | 798 rc = dquot_initialize(dir); in jfs_link() 831 dir->i_mtime = inode_set_ctime_current(dir); in jfs_link() 832 mark_inode_dirty(dir); in jfs_link() 836 iplist[1] = dir; in jfs_link() 1368 rc = dquot_initialize(dir); in jfs_mknod() 1375 ip = ialloc(dir, mode); in jfs_mknod() 1382 tid = txBegin(dir->i_sb, 0); in jfs_mknod() 1419 dir->i_mtime = inode_set_ctime_current(dir); in jfs_mknod() 1421 mark_inode_dirty(dir); in jfs_mknod() 1423 iplist[0] = dir; in jfs_mknod() [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | sc-debugfs.c | 54 struct dentry *dir; in sc_debugfs_init() local 56 dir = debugfs_create_dir("l2cache", mips_debugfs_dir); in sc_debugfs_init() 57 debugfs_create_file("prefetch", S_IRUGO | S_IWUSR, dir, NULL, in sc_debugfs_init()
|
/openbmc/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 95 if (chan->dir == EDMA_DIR_WRITE) { in dw_edma_alloc_chunk() 221 if (chan->dir == EDMA_DIR_READ) in dw_edma_device_caps() 405 if ((chan->dir == EDMA_DIR_READ && dir != DMA_DEV_TO_MEM) || in dw_edma_device_transfer() 406 (chan->dir == EDMA_DIR_WRITE && dir != DMA_MEM_TO_DEV)) in dw_edma_device_transfer() 409 if ((chan->dir == EDMA_DIR_WRITE && dir != DMA_DEV_TO_MEM) || in dw_edma_device_transfer() 410 (chan->dir == EDMA_DIR_READ && dir != DMA_MEM_TO_DEV)) in dw_edma_device_transfer() 445 if (dir == DMA_DEV_TO_MEM) in dw_edma_device_transfer() 484 if (dir == DMA_DEV_TO_MEM) { in dw_edma_device_transfer() 590 xfer.direction = ilt->dir; in dw_edma_device_prep_interleaved_dma() 732 chan->dir = EDMA_DIR_WRITE; in dw_edma_channel_setup() [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | palmas_gpadc.c | 229 enum iio_event_direction dir; in palmas_gpadc_irq_auto() local 232 dir = ev->direction; in palmas_gpadc_irq_auto() 234 IIO_EV_TYPE_THRESH, dir); in palmas_gpadc_irq_auto() 590 enum iio_event_direction dir) in palmas_gpadc_read_event_config() argument 648 ev->direction = dir; in palmas_gpadc_enable_event_config() 678 enum iio_event_direction dir, in palmas_gpadc_write_event_config() argument 703 enum iio_event_direction dir, in palmas_gpadc_read_event_value() argument 736 enum iio_event_direction dir, in palmas_gpadc_write_event_value() argument 755 if (dir == IIO_EV_DIR_RISING) { in palmas_gpadc_write_event_value() 789 .dir = IIO_EV_DIR_RISING, [all …]
|
/openbmc/qemu/hw/gpio/ |
H A D | pl061.c | 61 uint32_t dir; member 95 VMSTATE_UINT32(dir, PL061State), 133 return floating & ~s->dir; in pl061_floating() 154 return pullups & ~s->dir; in pl061_pullups() 166 trace_pl061_update(DEVICE(s)->canonical_path, s->dir, s->data, in pl061_update() 190 changed = (s->old_in_data ^ s->data) & ~s->dir; in pl061_update() 233 r = s->dir; in pl061_read() 346 mask = (offset >> 2) & s->dir; in pl061_write() 351 s->dir = value & 0xff; in pl061_write() 467 s->dir = 0; in pl061_enter_reset() [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | da8xx_gpio.c | 347 clrbits_le32(&bank->dir, 1U << GPIO_BIT(gpio)); in _gpio_direction_output() 354 setbits_le32(&bank->dir, 1U << GPIO_BIT(gpio)); in _gpio_direction_input() 377 return in_le32(&bank->dir) & (1U << GPIO_BIT(gpio)); in _gpio_get_dir() 384 unsigned int gpio, dir, val; in gpio_info() local 389 dir = _gpio_get_dir(bank, gpio); in gpio_info() 393 gpio, dir ? " in" : "out", val, in gpio_info() 488 unsigned int dir; in davinci_gpio_get_function() local 491 dir = _gpio_get_dir(base, offset); in davinci_gpio_get_function() 493 if (dir) in davinci_gpio_get_function()
|
/openbmc/linux/fs/efivarfs/ |
H A D | inode.c | 20 const struct inode *dir, int mode, in efivarfs_get_inode() argument 73 static int efivarfs_create(struct mnt_idmap *idmap, struct inode *dir, in efivarfs_create() argument 103 inode = efivarfs_get_inode(dir->i_sb, dir, mode, 0, is_removable); in efivarfs_create() 132 static int efivarfs_unlink(struct inode *dir, struct dentry *dentry) in efivarfs_unlink() argument
|
/openbmc/linux/include/net/ |
H A D | xfrm.h | 150 u8 dir : 2; member 608 u8 dir, u8 type, 1150 int dir) in __xfrm_check_nopolicy() argument 1159 int dir, unsigned short family) in __xfrm_check_dev_nopolicy() argument 1189 return __xfrm_check_nopolicy(net, skb, dir) || in __xfrm_policy_check2() 1201 return xfrm_policy_check(sk, dir, skb, AF_INET); in xfrm4_policy_check() 1206 return xfrm_policy_check(sk, dir, skb, AF_INET6); in xfrm6_policy_check() 1748 u32 if_id, u8 type, int dir, 1754 u8 type, int dir, u32 id, int delete, 1948 struct xfrm_user_offload *xuo, u8 dir, [all …]
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | relocatable.bbclass | 16 for dir in ${libdir}/pkgconfig ${datadir}/pkgconfig; do 17 files_template=${SYSROOT_DESTDIR}$dir/*.pc 22 rel=$(realpath -m --relative-to=$dir ${base_prefix})
|
/openbmc/linux/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 111 const char *dir; member 314 .dir = "mnt", .path = ".", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests() 317 .dir = "mnt", .path = "..", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests() 320 .dir = "mnt", .path = "../mnt", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests() 323 .dir = "mnt", .path = "self", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests() 326 .dir = "mnt", .path = "absself", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests() 330 .dir = "mnt", .path = "/", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests() 333 .dir = "/", .path = "/", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests() 458 if (test->dir) in test_openat2_opath_tests() 459 dfd = openat(rootfd, test->dir, O_PATH | O_DIRECTORY); in test_openat2_opath_tests() [all …]
|
/openbmc/linux/fs/exfat/ |
H A D | inode.c | 36 if (ei->dir.dir == DIR_DELETED) in __exfat_write_inode() 39 if (is_dir && ei->dir.dir == sbi->root_dir && ei->entry == -1) in __exfat_write_inode() 45 if (exfat_get_dentry_set(&es, sb, &(ei->dir), ei->entry, ES_ALL_ENTRIES)) in __exfat_write_inode() 175 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster() 192 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster() 193 new_clu.dir == EXFAT_FREE_CLUSTER) { in exfat_map_cluster() 196 last_clu, new_clu.dir); in exfat_map_cluster() 204 ei->start_clu = new_clu.dir; in exfat_map_cluster() 216 if (exfat_ent_set(sb, last_clu, new_clu.dir)) in exfat_map_cluster() 221 *clu = new_clu.dir; in exfat_map_cluster() [all …]
|
/openbmc/linux/drivers/hsi/controllers/ |
H A D | omap_ssi_core.c | 115 struct dentry *dir; in ssi_debug_add_ctrl() local 119 if (!omap_ssi->dir) in ssi_debug_add_ctrl() 122 debugfs_create_file("regs", S_IRUGO, omap_ssi->dir, ssi, in ssi_debug_add_ctrl() 125 dir = debugfs_create_dir("gdd", omap_ssi->dir); in ssi_debug_add_ctrl() 126 if (!dir) in ssi_debug_add_ctrl() 132 debugfs_remove_recursive(omap_ssi->dir); in ssi_debug_add_ctrl() 141 debugfs_remove_recursive(omap_ssi->dir); in ssi_debug_remove_ctrl() 175 unsigned int dir; in ssi_gdd_complete() local 186 dir = DMA_FROM_DEVICE; in ssi_gdd_complete() 190 dir = DMA_TO_DEVICE; in ssi_gdd_complete() [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | veml6030.c | 164 .dir = IIO_EV_DIR_RISING, 168 .dir = IIO_EV_DIR_FALLING, 172 .dir = IIO_EV_DIR_EITHER, 457 int *val, int *val2, int dir) in veml6030_read_thresh() argument 462 if (dir == IIO_EV_DIR_RISING) in veml6030_read_thresh() 477 int val, int val2, int dir) in veml6030_write_thresh() argument 485 if (dir == IIO_EV_DIR_RISING) { in veml6030_write_thresh() 585 enum iio_event_direction dir, enum iio_event_info info, in veml6030_read_event_val() argument 590 switch (dir) { in veml6030_read_event_val() 622 enum iio_event_direction dir) in veml6030_read_interrupt_config() argument [all …]
|
/openbmc/u-boot/fs/fat/ |
H A D | fat.c | 1201 fat_dir *dir; in fat_opendir() local 1204 dir = malloc_cache_aligned(sizeof(*dir)); in fat_opendir() 1205 if (!dir) in fat_opendir() 1207 memset(dir, 0, sizeof(*dir)); in fat_opendir() 1209 ret = fat_itr_root(&dir->itr, &dir->fsdata); in fat_opendir() 1221 free(dir->fsdata.fatbuf); in fat_opendir() 1223 free(dir); in fat_opendir() 1229 fat_dir *dir = (fat_dir *)dirs; in fat_readdir() local 1232 if (!fat_itr_next(&dir->itr)) in fat_readdir() 1253 free(dir->fsdata.fatbuf); in fat_closedir() [all …]
|
/openbmc/linux/security/tomoyo/ |
H A D | mount.c | 34 r->param.mount.dir->name, in tomoyo_audit_mount_log() 57 tomoyo_compare_name_union(r->param.mount.dir, in tomoyo_check_mount_acl() 79 const struct path *dir, const char *type, in tomoyo_mount_acl() argument 104 obj.path2 = *dir; in tomoyo_mount_acl() 105 requested_dir_name = tomoyo_realpath_from_path(dir); in tomoyo_mount_acl() 161 r->param.mount.dir = &rdir; in tomoyo_mount_acl()
|
/openbmc/u-boot/scripts/dtc/ |
H A D | srcpos.c | 43 char *dir = xmalloc(len + 1); in get_dirname() local 45 memcpy(dir, path, len); in get_dirname() 46 dir[len] = '\0'; in get_dirname() 47 return dir; in get_dirname() 107 cur_dir = current_srcfile->dir; in fopen_any_on_path() 153 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
|
/openbmc/linux/tools/testing/selftests/damon/ |
H A D | sysfs.sh | 37 dir=$1 39 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ] 41 echo "$dir dir is expected but not found" 43 elif [ "$to_ensure" = "not_exist" ] && [ -d "$dir" ] 45 echo "$dir dir is not expected but found" 68 elif [ "$to_ensure" = "not_exist" ] && [ -f "$dir" ]
|
/openbmc/linux/drivers/platform/chrome/wilco_ec/ |
H A D | debugfs.c | 24 struct dentry *dir; member 253 debug_info->dir = debugfs_create_dir("wilco_ec", NULL); in wilco_ec_debugfs_probe() 254 debugfs_create_file("raw", 0644, debug_info->dir, NULL, &fops_raw); in wilco_ec_debugfs_probe() 255 debugfs_create_file("h1_gpio", 0444, debug_info->dir, ec, in wilco_ec_debugfs_probe() 257 debugfs_create_file("test_event", 0200, debug_info->dir, ec, in wilco_ec_debugfs_probe() 265 debugfs_remove_recursive(debug_info->dir); in wilco_ec_debugfs_remove()
|