Home
last modified time | relevance | path

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

/linux-6.12.1/fs/nfs/
Dpnfs.c355 pnfs_set_plh_return_info(struct pnfs_layout_hdr *lo, enum pnfs_iomode iomode, in pnfs_set_plh_return_info() argument
358 if (lo->plh_return_iomode != 0 && lo->plh_return_iomode != iomode) in pnfs_set_plh_return_info()
359 iomode = IOMODE_ANY; in pnfs_set_plh_return_info()
360 lo->plh_return_iomode = iomode; in pnfs_set_plh_return_info()
383 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_clear_layoutreturn_info()
418 .iomode = IOMODE_ANY, in nfs4_layout_refresh_old_stateid()
462 .iomode = IOMODE_ANY, in pnfs_mark_layout_stateid_invalid()
482 enum pnfs_iomode iomode, u32 seq) in pnfs_mark_layout_stateid_return() argument
485 .iomode = iomode, in pnfs_mark_layout_stateid_return()
493 pnfs_iomode_to_fail_bit(u32 iomode) in pnfs_iomode_to_fail_bit() argument
[all …]
Dnfs4trace.h1730 __field(u32, iomode)
1746 __entry->iomode = args->iomode;
1774 show_pnfs_layout_iomode(__entry->iomode),
1824 enum pnfs_iomode iomode,
1829 TP_ARGS(inode, pos, count, iomode, lo, lseg, reason),
1836 __field(enum pnfs_iomode, iomode)
1848 __entry->iomode = iomode;
1868 show_pnfs_layout_iomode(__entry->iomode),
1881 enum pnfs_iomode iomode,
1885 TP_ARGS(inode, pos, count, iomode, lo, lseg),
[all …]
Dcallback_xdr.c221 uint32_t iomode; in decode_layoutrecall_args() local
231 iomode = ntohl(*p++); in decode_layoutrecall_args()
236 args->cbl_range.iomode = iomode; in decode_layoutrecall_args()
Dpnfs.h329 enum pnfs_iomode iomode,
355 enum pnfs_iomode iomode);
Dnfs4state.c2573 int iomode = 0; in nfs4_layoutreturn_any_run() local
2576 iomode += IOMODE_READ; in nfs4_layoutreturn_any_run()
2578 iomode += IOMODE_RW; in nfs4_layoutreturn_any_run()
2580 if (iomode) { in nfs4_layoutreturn_any_run()
2581 pnfs_layout_return_unused_byclid(clp, iomode); in nfs4_layoutreturn_any_run()
Dnfs4xdr.c2039 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutget()
2049 args->range.iomode, in encode_layoutget()
2103 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutreturn()
6068 res->range.iomode = be32_to_cpup(p++); in decode_layoutget()
6076 res->range.iomode, in decode_layoutget()
/linux-6.12.1/fs/fuse/
Diomode.c60 WARN_ON(ff->iomode == IOM_UNCACHED); in fuse_file_cached_io_open()
61 if (ff->iomode == IOM_NONE) { in fuse_file_cached_io_open()
62 ff->iomode = IOM_CACHED; in fuse_file_cached_io_open()
76 WARN_ON(ff->iomode != IOM_CACHED); in fuse_file_cached_io_release()
77 ff->iomode = IOM_NONE; in fuse_file_cached_io_release()
127 WARN_ON(ff->iomode != IOM_NONE); in fuse_file_uncached_io_open()
128 ff->iomode = IOM_UNCACHED; in fuse_file_uncached_io_open()
152 WARN_ON(ff->iomode != IOM_UNCACHED); in fuse_file_uncached_io_release()
153 ff->iomode = IOM_NONE; in fuse_file_uncached_io_release()
265 switch (ff->iomode) { in fuse_file_io_release()
DMakefile14 fuse-y += iomode.o
Dfuse_i.h264 enum { IOM_NONE, IOM_CACHED, IOM_UNCACHED } iomode; member
/linux-6.12.1/drivers/spi/
Dspi-qup.c725 u32 config, iomode, control; in spi_qup_io_config() local
794 iomode = readl_relaxed(controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
796 iomode &= ~(QUP_IO_M_INPUT_MODE_MASK | QUP_IO_M_OUTPUT_MODE_MASK); in spi_qup_io_config()
799 iomode &= ~(QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN); in spi_qup_io_config()
801 iomode |= QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN; in spi_qup_io_config()
803 iomode |= (controller->mode << QUP_IO_M_OUTPUT_MODE_MASK_SHIFT); in spi_qup_io_config()
804 iomode |= (controller->mode << QUP_IO_M_INPUT_MODE_MASK_SHIFT); in spi_qup_io_config()
806 writel_relaxed(iomode, controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
1031 u32 max_freq, iomode, num_cs; in spi_qup_probe() local
1137 iomode = readl_relaxed(base + QUP_IO_M_MODES); in spi_qup_probe()
[all …]
Dspi-qcom-qspi.c202 u32 iomode; in qcom_qspi_pio_xfer_cfg() local
214 iomode = qspi_buswidth_to_iomode(ctrl, xfer->buswidth); in qcom_qspi_pio_xfer_cfg()
215 pio_xfer_cfg |= iomode << MULTI_IO_MODE_SHFT; in qcom_qspi_pio_xfer_cfg()
/linux-6.12.1/fs/nfsd/
Dnfs4layouts.c373 if (s->iomode != IOMODE_ANY && s->iomode != lo->lo_seg.iomode) in layouts_overlapping()
385 if (lo->iomode != new->iomode) in layouts_try_merge()
570 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts()
571 lrp->lr_seg.iomode == lp->lo_seg.iomode) in nfsd4_return_client_layouts()
Dblocklayout.c48 &iomap, seg->iomode != IOMODE_READ, in nfsd4_block_proc_layoutget()
63 if (seg->iomode == IOMODE_READ) in nfsd4_block_proc_layoutget()
70 if (seg->iomode & IOMODE_RW) { in nfsd4_block_proc_layoutget()
85 if (seg->iomode == IOMODE_READ) { in nfsd4_block_proc_layoutget()
Dflexfilelayout.c53 if (seg->iomode == IOMODE_READ) { in nfsd4_ff_proc_layoutget()
72 seg->iomode); in nfsd4_ff_proc_layoutget()
Dnfs4proc.c2279 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()
2288 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()
2435 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn()
2442 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
Dxdr4.h603 u32 iomode; member
Dnfs4xdr.c1828 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_seg.iomode) < 0) in nfsd4_decode_layoutget()
1855 if (xdr_stream_decode_u32(argp->xdr, &lrp->lr_seg.iomode) < 0) in nfsd4_decode_layoutreturn()
5100 if (xdr_stream_encode_u32(xdr, lgp->lg_seg.iomode) != XDR_UNIT) in nfsd4_encode_layout4()
/linux-6.12.1/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()
434 cred = ff_layout_get_mirror_cred(mirror, range->iomode); in ff_layout_get_ds_cred()
602 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds()
616 return lseg->pls_range.iomode == IOMODE_RW && in ff_layout_avoid_read_on_rw()
Dflexfilelayout.c313 if (l1->iomode != l2->iomode) in ff_lseg_range_is_after()
314 return l1->iomode != IOMODE_READ; in ff_lseg_range_is_after()
332 if (new->pls_range.iomode != old->pls_range.iomode) in ff_lseg_merge()
525 if (lgr->range.iomode == IOMODE_READ) in ff_layout_alloc_lseg()
533 if (lgr->range.iomode == IOMODE_READ) { in ff_layout_alloc_lseg()
545 lgr->range.iomode == IOMODE_READ ? "READ" : "RW", in ff_layout_alloc_lseg()
582 if (lseg->pls_range.iomode == IOMODE_RW) { in ff_layout_free_lseg()
/linux-6.12.1/fs/nfs/filelayout/
Dfilelayout.c744 if (lseg->pls_range.iomode == IOMODE_RW) { in filelayout_free_lseg()
833 enum pnfs_iomode iomode, in fl_pnfs_update_layout() argument
842 lseg = pnfs_update_layout(ino, ctx, pos, count, iomode, strict_iomode, in fl_pnfs_update_layout()
/linux-6.12.1/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.12.1/fs/nfs/blocklayout/
Dblocklayout.c657 .mode = lgr->range.iomode, in bl_alloc_lseg()
775 ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end); in bl_return_range()
/linux-6.12.1/include/linux/
Dnfs_xdr.h249 u32 iomode; member
/linux-6.12.1/drivers/isdn/hardware/mISDN/
Dhfcmulti.c207 static uint iomode[MAX_CARDS]; variable
237 module_param_array(iomode, uint, NULL, S_IRUGO | S_IWUSR);
5005 hc->io_mode = iomode[HFC_cnt]; in hfcmulti_init()