/openbmc/linux/kernel/ |
H A D | fail_function.c | 157 struct dentry *dir; in fei_debugfs_add_attr() local 159 dir = debugfs_create_dir(attr->kp.symbol_name, fei_debugfs_dir); in fei_debugfs_add_attr() 161 debugfs_create_file("retval", 0600, dir, attr, &fei_retval_ops); in fei_debugfs_add_attr() 317 struct dentry *dir; in fei_debugfs_init() local 319 dir = fault_create_debugfs_attr("fail_function", NULL, in fei_debugfs_init() 321 if (IS_ERR(dir)) in fei_debugfs_init() 322 return PTR_ERR(dir); in fei_debugfs_init() 325 debugfs_create_symlink("injectable", dir, "../error_injection/list"); in fei_debugfs_init() 327 debugfs_create_file("inject", 0600, dir, NULL, &fei_ops); in fei_debugfs_init() 329 fei_debugfs_dir = dir; in fei_debugfs_init()
|
/openbmc/u-boot/fs/btrfs/ |
H A D | subvolume.c | 16 u64 dir; in get_subvol_name() local 39 dir = rref.dirid; in get_subvol_name() 41 while (dir != BTRFS_FIRST_FREE_OBJECTID) { in get_subvol_name() 42 dir = btrfs_lookup_inode_ref(&root, dir, &iref, tmp); in get_subvol_name() 44 if (dir == -1ULL) in get_subvol_name()
|
/openbmc/linux/fs/qnx6/ |
H A D | dir.c | 27 static struct page *qnx6_get_page(struct inode *dir, unsigned long n) in qnx6_get_page() argument 29 struct address_space *mapping = dir->i_mapping; in qnx6_get_page() 176 struct qnx6_long_dir_entry *de, struct inode *dir) in qnx6_long_match() argument 178 struct super_block *s = dir->i_sb; in qnx6_long_match() 213 unsigned qnx6_find_entry(int len, struct inode *dir, const char *name, in qnx6_find_entry() argument 216 struct super_block *s = dir->i_sb; in qnx6_find_entry() 217 struct qnx6_inode_info *ei = QNX6_I(dir); in qnx6_find_entry() 220 unsigned long npages = dir_pages(dir); in qnx6_find_entry() 235 page = qnx6_get_page(dir, n); in qnx6_find_entry() 237 int limit = last_entry(dir, n); in qnx6_find_entry() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nft_xfrm.c | 28 u8 dir; member 40 u8 dir; in nft_xfrm_get_init() local 72 dir = nla_get_u8(tb[NFTA_XFRM_DIR]); in nft_xfrm_get_init() 73 switch (dir) { in nft_xfrm_get_init() 76 priv->dir = dir; in nft_xfrm_get_init() 200 switch (priv->dir) { in nft_xfrm_get_eval() 224 if (nla_put_u8(skb, NFTA_XFRM_DIR, priv->dir)) in nft_xfrm_get_dump() 243 switch (priv->dir) { in nft_xfrm_validate() 276 priv->dir != xfrm->dir || in nft_xfrm_reduce()
|
H A D | nf_nat_proto.c | 421 enum ip_conntrack_dir dir) in nf_nat_manip_pkt() argument 595 if (dir == IP_CT_DIR_REPLY) in nf_nat_icmp_reply_translation() 602 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmp_reply_translation() 740 if (ct->tuplehash[dir].tuple.src.u3.ip != in nf_nat_ipv4_out() 771 if (ct->tuplehash[dir].tuple.dst.u3.ip != in nf_nat_ipv4_local_fn() 780 ct->tuplehash[dir].tuple.dst.u.all != in nf_nat_ipv4_local_fn() 781 ct->tuplehash[!dir].tuple.src.u.all) { in nf_nat_ipv4_local_fn() 872 if (dir == IP_CT_DIR_REPLY) in nf_nat_icmpv6_reply_translation() 879 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmpv6_reply_translation() 1018 ct->tuplehash[dir].tuple.dst.u.all != in nf_nat_ipv6_local_fn() [all …]
|
H A D | nf_conntrack_proto_tcp.c | 475 if (dir == IP_CT_DIR_REPLY && in tcp_init_sender() 547 end, win, dir); in tcp_in_window() 590 end, win, dir); in tcp_in_window() 703 if (state->last_dir == dir && in tcp_in_window() 710 state->last_dir = dir; in tcp_in_window() 973 enum ip_conntrack_dir dir; in nf_conntrack_tcp_packet() local 990 dir = CTINFO2DIR(ctinfo); in nf_conntrack_tcp_packet() 1110 dir == IP_CT_DIR_REPLY) in nf_conntrack_tcp_packet() 1116 index, dir, in nf_conntrack_tcp_packet() 1139 index, dir, in nf_conntrack_tcp_packet() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | internals.h | 25 enum dma_data_direction dir); 27 struct sg_table *sgt, enum dma_data_direction dir); 31 enum dma_data_direction dir) in spi_map_buf() argument 38 enum dma_data_direction dir) in spi_unmap_buf() argument
|
/openbmc/linux/drivers/iio/light/ |
H A D | max44009.c | 87 .dir = IIO_EV_DIR_RISING, 93 .dir = IIO_EV_DIR_FALLING, 328 switch (dir) { in max44009_get_thr_reg() 341 enum iio_event_direction dir, in max44009_write_event_value() argument 355 reg = max44009_get_thr_reg(dir); in max44009_write_event_value() 363 enum iio_event_direction dir) in max44009_read_threshold() argument 369 reg = max44009_get_thr_reg(dir); in max44009_read_threshold() 384 if (dir == IIO_EV_DIR_RISING) in max44009_read_threshold() 400 enum iio_event_direction dir, in max44009_read_event_value() argument 424 enum iio_event_direction dir, in max44009_write_event_config() argument [all …]
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_bios_table_test.cpp | 18 dir = fs::path(mkdtemp(tmpdir)); in SetUp() 23 fs::remove_all(dir); in TearDown() 26 fs::path dir; member in TestBIOSTable 32 fs::path file(dir / "t1"); in TEST_F() 48 fs::path file(dir / "t1"); in TEST_F()
|
/openbmc/linux/include/linux/ |
H A D | genl_magic_func.h | 56 static void dprint_field(const char *dir, int nla_type, in dprint_field() argument 64 pr_info("%s attr %s: %d 0x%08x\n", dir, in dprint_field() 69 pr_info("%s attr %s: %lld 0x%08llx\n", dir, in dprint_field() 74 pr_info("%s attr %s: set\n", dir, name); in dprint_field() 92 dir, name, len, val[0], val[1], val[2], val[3]); in dprint_array() 102 #define DPRINT_FIELD(dir, nla_type, name, s, nla) \ argument 105 dprint_field(dir, nla_type, #name, &s->name); \ 107 dprint_field(dir, nla_type, #name, \ 112 #define DPRINT_ARRAY(dir, nla_type, name, s, nla) \ argument 115 dprint_array(dir, nla_type, #name, \ [all …]
|
/openbmc/linux/drivers/iommu/ |
H A D | dma-iommu.c | 525 enum dma_data_direction dir) in dev_use_swiotlb() argument 549 if (!dma_kmalloc_safe(dev, dir)) { in dev_use_sg_swiotlb() 647 switch (dir) { in dma_info_to_prot() 999 enum dma_data_direction dir) in iommu_dma_sync_sg_for_cpu() argument 1007 sg->length, dir); in iommu_dma_sync_sg_for_cpu() 1015 enum dma_data_direction dir) in iommu_dma_sync_sg_for_device() argument 1024 sg->length, dir); in iommu_dma_sync_sg_for_device() 1046 if (dev_use_swiotlb(dev, size, dir) && in iommu_dma_map_page() 1070 (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL)) { in iommu_dma_map_page() 1208 sg_dma_len(s), dir, attrs); in iommu_dma_unmap_sg_swiotlb() [all …]
|
/openbmc/linux/sound/soc/atmel/ |
H A D | atmel_ssc_dai.c | 294 dir = 0; in atmel_ssc_startup() 297 dir = 1; in atmel_ssc_startup() 341 dir = 0; in atmel_ssc_shutdown() 343 dir = 1; in atmel_ssc_shutdown() 480 dir = 0; in atmel_ssc_hw_params() 482 dir = 1; in atmel_ssc_hw_params() 718 int dir; in atmel_ssc_prepare() local 721 dir = 0; in atmel_ssc_prepare() 723 dir = 1; in atmel_ssc_prepare() 742 int dir; in atmel_ssc_trigger() local [all …]
|
/openbmc/linux/fs/fuse/ |
H A D | dir.c | 425 if (fuse_is_bad(dir)) in fuse_lookup() 429 err = fuse_lookup_name(dir->i_sb, get_node_id(dir), &entry->d_name, in fuse_lookup() 698 fuse_dir_changed(dir); in fuse_create_open() 731 if (fuse_is_bad(dir)) in fuse_atomic_open() 783 if (fuse_is_bad(dir)) in create_new_entry() 833 fuse_dir_changed(dir); in create_new_entry() 978 if (fuse_is_bad(dir)) in fuse_unlink() 1001 if (fuse_is_bad(dir)) in fuse_rmdir() 1349 struct dentry *dir; in fuse_reverse_inval_entry() local 1362 if (!dir) in fuse_reverse_inval_entry() [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | paths.cpp | 34 std::filesystem::path dir = mkdtemp(templ); in getPELIDFile() local 35 idFile = dir / "logid"; in getPELIDFile() 47 std::filesystem::path dir = mkdtemp(templ); in getPELRepoPath() local 48 repoPath = dir; in getPELRepoPath()
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/ |
H A D | finish | 30 for dir in `awk '/\/dev.* \/run\/media/{print $2}' /proc/mounts`; do 33 dir=`printf $dir` 35 mount -n --move "$dir" "${ROOTFS_DIR}/media/${dir##*/}"
|
/openbmc/linux/sound/core/ |
H A D | ump.c | 222 int dir = substream->stream; in snd_ump_rawmidi_open() local 225 if (ump->substreams[dir]) in snd_ump_rawmidi_open() 237 int dir = substream->stream; in snd_ump_rawmidi_close() local 239 ump->substreams[dir] = NULL; in snd_ump_rawmidi_close() 240 ump->ops->close(ump, dir); in snd_ump_rawmidi_close() 248 int dir = substream->stream; in snd_ump_rawmidi_trigger() local 448 switch (dir) { in ump_direction_string() 462 switch (dir) { in ump_ui_hint_string() 1014 int dir = substream->stream; in snd_ump_legacy_open() local 1046 int dir = substream->stream; in snd_ump_legacy_close() local [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-musb.c | 285 int dir; member 551 int dir = p->dir; in musb_schedule_cb() local 563 if (!ep->intv_timer[dir]) in musb_schedule_cb() 613 int idx = epnum && dir; in musb_packet() 638 ep->packey[dir].ep = ep; in musb_packet() 639 ep->packey[dir].dir = dir; in musb_packet() 650 ep->status[dir] = ep->packey[dir].p.actual_length; in musb_packet() 652 ep->status[dir] = ep->packey[dir].p.status; in musb_packet() 822 int ep, dir; in musb_async_cancel_device() local 825 for (dir = 0; dir < 2; dir++) { in musb_async_cancel_device() [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | pinctrl_ich6.c | 51 static int ich6_pinctrl_set_direction(uint16_t base, unsigned offset, int dir) in ich6_pinctrl_set_direction() argument 53 if (!dir) in ich6_pinctrl_set_direction() 66 int dir, val; in ich6_pinctrl_cfg_pin() local 83 dir = fdtdec_get_int(gd->fdt_blob, pin_node, "direction", -1); in ich6_pinctrl_cfg_pin() 84 if (dir != -1) in ich6_pinctrl_cfg_pin() 87 dir); in ich6_pinctrl_cfg_pin() 100 gpio_offset[0], gpio_offset[1], is_gpio, dir, val, in ich6_pinctrl_cfg_pin()
|
/openbmc/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-core.h | 78 enum dw_edma_dir dir; member 122 u16 (*ch_count)(struct dw_edma *dw, enum dw_edma_dir dir); 124 irqreturn_t (*handle_int)(struct dw_edma_irq *dw_irq, enum dw_edma_dir dir, 173 u16 dw_edma_core_ch_count(struct dw_edma *dw, enum dw_edma_dir dir) in dw_edma_core_ch_count() argument 175 return dw->core->ch_count(dw, dir); in dw_edma_core_ch_count() 185 dw_edma_core_handle_int(struct dw_edma_irq *dw_irq, enum dw_edma_dir dir, in dw_edma_core_handle_int() argument 188 return dw_irq->dw->core->handle_int(dw_irq, dir, done, abort); in dw_edma_core_handle_int()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | xilinx-xadc-events.c | 71 enum iio_event_direction dir) in xadc_get_threshold_offset() argument 84 if (dir == IIO_EV_DIR_FALLING) in xadc_get_threshold_offset() 115 enum iio_event_direction dir) in xadc_read_event_config() argument 124 enum iio_event_direction dir, int state) in xadc_write_event_config() argument 160 enum iio_event_direction dir, enum iio_event_info info, in xadc_read_event_value() argument 163 unsigned int offset = xadc_get_threshold_offset(chan, dir); in xadc_read_event_value() 185 enum iio_event_direction dir, enum iio_event_info info, in xadc_write_event_value() argument 188 unsigned int offset = xadc_get_threshold_offset(chan, dir); in xadc_write_event_value()
|
/openbmc/linux/fs/ocfs2/ |
H A D | export.c | 134 struct inode *dir = d_inode(child); in ocfs2_get_parent() local 138 (unsigned long long)OCFS2_I(dir)->ip_blkno); in ocfs2_get_parent() 140 status = ocfs2_nfs_sync_lock(OCFS2_SB(dir->i_sb), 1); in ocfs2_get_parent() 147 status = ocfs2_inode_lock(dir, NULL, 0); in ocfs2_get_parent() 155 status = ocfs2_lookup_ino_from_name(dir, "..", 2, &blkno); in ocfs2_get_parent() 161 status = ocfs2_test_inode_bit(OCFS2_SB(dir->i_sb), blkno, &set); in ocfs2_get_parent() 178 parent = d_obtain_alias(ocfs2_iget(OCFS2_SB(dir->i_sb), blkno, 0, 0)); in ocfs2_get_parent() 181 ocfs2_inode_unlock(dir, 0); in ocfs2_get_parent() 184 ocfs2_nfs_sync_unlock(OCFS2_SB(dir->i_sb), 1); in ocfs2_get_parent()
|
/openbmc/linux/security/apparmor/ |
H A D | apparmorfs.c | 221 AA_BUG(!dir); in __aafs_setup_d_inode() 235 inc_nlink(dir); in __aafs_setup_d_inode() 270 struct inode *dir; in aafs_create() local 285 inode_lock(dir); in aafs_create() 300 inode_unlock(dir); in aafs_create() 308 inode_unlock(dir); in aafs_create() 353 struct inode *dir; in aafs_remove() local 359 inode_lock(dir); in aafs_remove() 368 inode_unlock(dir); in aafs_remove() 1461 if (IS_ERR(dir)) in __aa_fs_create_rawdata() [all …]
|
/openbmc/linux/arch/nios2/mm/ |
H A D | dma-mapping.c | 22 enum dma_data_direction dir) in arch_sync_dma_for_device() argument 26 switch (dir) { in arch_sync_dma_for_device() 46 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument 50 switch (dir) { in arch_sync_dma_for_cpu()
|
/openbmc/linux/arch/arc/mm/ |
H A D | dma.c | 52 enum dma_data_direction dir) in arch_sync_dma_for_device() argument 54 switch (dir) { in arch_sync_dma_for_device() 73 enum dma_data_direction dir) in arch_sync_dma_for_cpu() argument 75 switch (dir) { in arch_sync_dma_for_cpu()
|
/openbmc/linux/fs/overlayfs/ |
H A D | readdir.c | 287 inode_unlock(dir->d_inode); in ovl_check_whiteouts() 462 struct dentry *dir = path->dentry; in ovl_cache_update_ino() local 475 this = dget(dir); in ovl_cache_update_ino() 480 this = dget(dir->d_parent); in ovl_cache_update_ino() 513 dir->d_sb->s_dev != stat.dev); in ovl_cache_update_ino() 681 struct inode *dir = file_inode(file); in ovl_is_impure_dir() local 714 statpath.dentry = dir->d_parent; in ovl_iterate_real() 1127 inode_unlock(dir); in ovl_workdir_cleanup_recurse() 1142 err = ovl_do_rmdir(ofs, dir, dentry); in ovl_workdir_cleanup() 1146 inode_unlock(dir); in ovl_workdir_cleanup() [all …]
|