Home
last modified time | relevance | path

Searched refs:iomode (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/fs/nfs/
Dpnfs.c354 pnfs_set_plh_return_info(struct pnfs_layout_hdr *lo, enum pnfs_iomode iomode, in pnfs_set_plh_return_info() argument
357 if (lo->plh_return_iomode != 0 && lo->plh_return_iomode != iomode) in pnfs_set_plh_return_info()
358 iomode = IOMODE_ANY; in pnfs_set_plh_return_info()
359 lo->plh_return_iomode = iomode; in pnfs_set_plh_return_info()
382 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_clear_layoutreturn_info()
417 .iomode = IOMODE_ANY, in nfs4_layout_refresh_old_stateid()
461 .iomode = IOMODE_ANY, in pnfs_mark_layout_stateid_invalid()
480 pnfs_iomode_to_fail_bit(u32 iomode) in pnfs_iomode_to_fail_bit() argument
482 return iomode == IOMODE_RW ? in pnfs_iomode_to_fail_bit()
502 pnfs_layout_io_set_failed(struct pnfs_layout_hdr *lo, u32 iomode) in pnfs_layout_io_set_failed() argument
[all …]
Dnfs4trace.h1698 __field(u32, iomode)
1714 __entry->iomode = args->iomode;
1742 show_pnfs_layout_iomode(__entry->iomode),
1792 enum pnfs_iomode iomode,
1797 TP_ARGS(inode, pos, count, iomode, lo, lseg, reason),
1804 __field(enum pnfs_iomode, iomode)
1816 __entry->iomode = iomode;
1836 show_pnfs_layout_iomode(__entry->iomode),
1849 enum pnfs_iomode iomode,
1853 TP_ARGS(inode, pos, count, iomode, lo, lseg),
[all …]
Dcallback_xdr.c218 uint32_t iomode; in decode_layoutrecall_args() local
228 iomode = ntohl(*p++); in decode_layoutrecall_args()
233 args->cbl_range.iomode = iomode; in decode_layoutrecall_args()
Dpnfs.h321 enum pnfs_iomode iomode,
344 enum pnfs_iomode iomode);
Dnfs4state.c2565 int iomode = 0; in nfs4_layoutreturn_any_run() local
2568 iomode += IOMODE_READ; in nfs4_layoutreturn_any_run()
2570 iomode += IOMODE_RW; in nfs4_layoutreturn_any_run()
2572 if (iomode) { in nfs4_layoutreturn_any_run()
2573 pnfs_layout_return_unused_byclid(clp, iomode); in nfs4_layoutreturn_any_run()
Dnfs4xdr.c2005 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutget()
2015 args->range.iomode, in encode_layoutget()
2069 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutreturn()
6008 res->range.iomode = be32_to_cpup(p++); in decode_layoutget()
6016 res->range.iomode, in decode_layoutget()
/linux-6.1.9/drivers/spi/
Dspi-qup.c697 u32 config, iomode, control; in spi_qup_io_config() local
766 iomode = readl_relaxed(controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
768 iomode &= ~(QUP_IO_M_INPUT_MODE_MASK | QUP_IO_M_OUTPUT_MODE_MASK); in spi_qup_io_config()
771 iomode &= ~(QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN); in spi_qup_io_config()
773 iomode |= QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN; in spi_qup_io_config()
775 iomode |= (controller->mode << QUP_IO_M_OUTPUT_MODE_MASK_SHIFT); in spi_qup_io_config()
776 iomode |= (controller->mode << QUP_IO_M_INPUT_MODE_MASK_SHIFT); in spi_qup_io_config()
778 writel_relaxed(iomode, controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
1002 u32 max_freq, iomode, num_cs; in spi_qup_probe() local
1096 iomode = readl_relaxed(base + QUP_IO_M_MODES); in spi_qup_probe()
[all …]
/linux-6.1.9/fs/nfsd/
Dblocklayout.c47 &iomap, seg->iomode != IOMODE_READ, in nfsd4_block_proc_layoutget()
62 if (seg->iomode == IOMODE_READ) in nfsd4_block_proc_layoutget()
69 if (seg->iomode & IOMODE_RW) { in nfsd4_block_proc_layoutget()
84 if (seg->iomode == IOMODE_READ) { in nfsd4_block_proc_layoutget()
Dnfs4layouts.c359 if (s->iomode != IOMODE_ANY && s->iomode != lo->lo_seg.iomode) in layouts_overlapping()
371 if (lo->iomode != new->iomode) in layouts_try_merge()
556 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts()
557 lrp->lr_seg.iomode == lp->lo_seg.iomode) in nfsd4_return_client_layouts()
Dflexfilelayout.c52 if (seg->iomode == IOMODE_READ) { in nfsd4_ff_proc_layoutget()
71 seg->iomode); in nfsd4_ff_proc_layoutget()
Dxdr4.h466 u32 iomode; member
Dnfs4proc.c2210 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()
2219 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()
2365 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn()
2372 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
Dnfs4xdr.c1765 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_seg.iomode) < 0) in nfsd4_decode_layoutget()
1791 if (xdr_stream_decode_u32(argp->xdr, &lrp->lr_seg.iomode) < 0) in nfsd4_decode_layoutreturn()
4633 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c285 ff_layout_get_mirror_cred(struct nfs4_ff_layout_mirror *mirror, u32 iomode) in ff_layout_get_mirror_cred() argument
289 if (iomode == IOMODE_READ) in ff_layout_get_mirror_cred()
428 cred = ff_layout_get_mirror_cred(mirror, range->iomode); in ff_layout_get_ds_cred()
596 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds()
610 return lseg->pls_range.iomode == IOMODE_RW && in ff_layout_avoid_read_on_rw()
Dflexfilelayout.c297 if (l1->iomode != l2->iomode) in ff_lseg_range_is_after()
298 return l1->iomode != IOMODE_READ; in ff_lseg_range_is_after()
316 if (new->pls_range.iomode != old->pls_range.iomode) in ff_lseg_merge()
509 if (lgr->range.iomode == IOMODE_READ) in ff_layout_alloc_lseg()
517 if (lgr->range.iomode == IOMODE_READ) { in ff_layout_alloc_lseg()
529 lgr->range.iomode == IOMODE_READ ? "READ" : "RW", in ff_layout_alloc_lseg()
566 if (lseg->pls_range.iomode == IOMODE_RW) { in ff_layout_free_lseg()
/linux-6.1.9/fs/nfs/filelayout/
Dfilelayout.c752 if (lseg->pls_range.iomode == IOMODE_RW) { in filelayout_free_lseg()
841 enum pnfs_iomode iomode, in fl_pnfs_update_layout() argument
850 lseg = pnfs_update_layout(ino, ctx, pos, count, iomode, strict_iomode, in fl_pnfs_update_layout()
/linux-6.1.9/drivers/mtd/nand/raw/
Domap2.c162 } iomode; member
495 if (info->iomode == OMAP_NAND_IO_WRITE) { /* checks for write io */ in omap_nand_irq()
543 info->iomode = OMAP_NAND_IO_READ; in omap_nand_data_in_irq_pref()
587 info->iomode = OMAP_NAND_IO_WRITE; in omap_nand_data_out_irq_pref()
/linux-6.1.9/fs/nfs/blocklayout/
Dblocklayout.c648 .mode = lgr->range.iomode, in bl_alloc_lseg()
766 ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end); in bl_return_range()
/linux-6.1.9/include/linux/
Dnfs_xdr.h249 u32 iomode; member
/linux-6.1.9/drivers/isdn/hardware/mISDN/
Dhfcmulti.c207 static uint iomode[MAX_CARDS]; variable
236 module_param_array(iomode, uint, NULL, S_IRUGO | S_IWUSR);
5034 hc->io_mode = iomode[HFC_cnt]; in hfcmulti_init()