iomode 207 drivers/isdn/hardware/mISDN/hfcmulti.c static uint iomode[MAX_CARDS]; iomode 236 drivers/isdn/hardware/mISDN/hfcmulti.c module_param_array(iomode, uint, NULL, S_IRUGO | S_IWUSR); iomode 5029 drivers/isdn/hardware/mISDN/hfcmulti.c hc->io_mode = iomode[HFC_cnt]; iomode 163 drivers/mtd/nand/raw/omap2.c } iomode; iomode 577 drivers/mtd/nand/raw/omap2.c if (info->iomode == OMAP_NAND_IO_WRITE) { /* checks for write io */ iomode 628 drivers/mtd/nand/raw/omap2.c info->iomode = OMAP_NAND_IO_READ; iomode 678 drivers/mtd/nand/raw/omap2.c info->iomode = OMAP_NAND_IO_WRITE; iomode 698 drivers/spi/spi-qup.c u32 config, iomode, control; iomode 767 drivers/spi/spi-qup.c iomode = readl_relaxed(controller->base + QUP_IO_M_MODES); iomode 769 drivers/spi/spi-qup.c iomode &= ~(QUP_IO_M_INPUT_MODE_MASK | QUP_IO_M_OUTPUT_MODE_MASK); iomode 772 drivers/spi/spi-qup.c iomode &= ~(QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN); iomode 774 drivers/spi/spi-qup.c iomode |= QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN; iomode 776 drivers/spi/spi-qup.c iomode |= (controller->mode << QUP_IO_M_OUTPUT_MODE_MASK_SHIFT); iomode 777 drivers/spi/spi-qup.c iomode |= (controller->mode << QUP_IO_M_INPUT_MODE_MASK_SHIFT); iomode 779 drivers/spi/spi-qup.c writel_relaxed(iomode, controller->base + QUP_IO_M_MODES); iomode 1003 drivers/spi/spi-qup.c u32 max_freq, iomode, num_cs; iomode 1095 drivers/spi/spi-qup.c iomode = readl_relaxed(base + QUP_IO_M_MODES); iomode 1097 drivers/spi/spi-qup.c size = QUP_IO_M_OUTPUT_BLOCK_SIZE(iomode); iomode 1103 drivers/spi/spi-qup.c size = QUP_IO_M_INPUT_BLOCK_SIZE(iomode); iomode 1109 drivers/spi/spi-qup.c size = QUP_IO_M_OUTPUT_FIFO_SIZE(iomode); iomode 1112 drivers/spi/spi-qup.c size = QUP_IO_M_INPUT_FIFO_SIZE(iomode); iomode 672 fs/nfs/blocklayout/blocklayout.c .mode = lgr->range.iomode, iomode 790 fs/nfs/blocklayout/blocklayout.c ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end); iomode 218 fs/nfs/callback_xdr.c uint32_t iomode; iomode 228 fs/nfs/callback_xdr.c iomode = ntohl(*p++); iomode 233 fs/nfs/callback_xdr.c args->cbl_range.iomode = iomode; iomode 751 fs/nfs/filelayout/filelayout.c if (lseg->pls_range.iomode == IOMODE_RW) { iomode 887 fs/nfs/filelayout/filelayout.c enum pnfs_iomode iomode, iomode 896 fs/nfs/filelayout/filelayout.c lseg = pnfs_update_layout(ino, ctx, pos, count, iomode, strict_iomode, iomode 297 fs/nfs/flexfilelayout/flexfilelayout.c if (l1->iomode != l2->iomode) iomode 298 fs/nfs/flexfilelayout/flexfilelayout.c return l1->iomode != IOMODE_READ; iomode 316 fs/nfs/flexfilelayout/flexfilelayout.c if (new->pls_range.iomode != old->pls_range.iomode) iomode 510 fs/nfs/flexfilelayout/flexfilelayout.c if (lgr->range.iomode == IOMODE_READ) iomode 518 fs/nfs/flexfilelayout/flexfilelayout.c if (lgr->range.iomode == IOMODE_READ) { iomode 530 fs/nfs/flexfilelayout/flexfilelayout.c lgr->range.iomode == IOMODE_READ ? "READ" : "RW", iomode 568 fs/nfs/flexfilelayout/flexfilelayout.c if (lseg->pls_range.iomode == IOMODE_RW) iomode 581 fs/nfs/flexfilelayout/flexfilelayout.c if (lseg->pls_range.iomode == IOMODE_RW) { iomode 283 fs/nfs/flexfilelayout/flexfilelayoutdev.c ff_layout_get_mirror_cred(struct nfs4_ff_layout_mirror *mirror, u32 iomode) iomode 287 fs/nfs/flexfilelayout/flexfilelayoutdev.c if (iomode == IOMODE_READ) iomode 426 fs/nfs/flexfilelayout/flexfilelayoutdev.c cred = ff_layout_get_mirror_cred(mirror, range->iomode); iomode 594 fs/nfs/flexfilelayout/flexfilelayoutdev.c if (lseg->pls_range.iomode == IOMODE_READ) iomode 608 fs/nfs/flexfilelayout/flexfilelayoutdev.c return lseg->pls_range.iomode == IOMODE_RW && iomode 1685 fs/nfs/nfs4trace.h #define show_pnfs_iomode(iomode) \ iomode 1686 fs/nfs/nfs4trace.h __print_symbolic(iomode, \ iomode 1706 fs/nfs/nfs4trace.h __field(u32, iomode) iomode 1722 fs/nfs/nfs4trace.h __entry->iomode = args->iomode; iomode 1750 fs/nfs/nfs4trace.h show_pnfs_iomode(__entry->iomode), iomode 1798 fs/nfs/nfs4trace.h enum pnfs_iomode iomode, iomode 1803 fs/nfs/nfs4trace.h TP_ARGS(inode, pos, count, iomode, lo, lseg, reason), iomode 1810 fs/nfs/nfs4trace.h __field(enum pnfs_iomode, iomode) iomode 1822 fs/nfs/nfs4trace.h __entry->iomode = iomode; iomode 1842 fs/nfs/nfs4trace.h show_pnfs_iomode(__entry->iomode), iomode 1855 fs/nfs/nfs4trace.h enum pnfs_iomode iomode, iomode 1859 fs/nfs/nfs4trace.h TP_ARGS(inode, pos, count, iomode, lo, lseg), iomode 1866 fs/nfs/nfs4trace.h __field(enum pnfs_iomode, iomode) iomode 1877 fs/nfs/nfs4trace.h __entry->iomode = iomode; iomode 1896 fs/nfs/nfs4trace.h show_pnfs_iomode(__entry->iomode), iomode 1909 fs/nfs/nfs4trace.h enum pnfs_iomode iomode, \ iomode 1913 fs/nfs/nfs4trace.h TP_ARGS(inode, pos, count, iomode, lo, lseg)) iomode 1980 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->range.iomode); iomode 1990 fs/nfs/nfs4xdr.c args->range.iomode, iomode 2044 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->range.iomode); iomode 5888 fs/nfs/nfs4xdr.c res->range.iomode = be32_to_cpup(p++); iomode 5896 fs/nfs/nfs4xdr.c res->range.iomode, iomode 313 fs/nfs/pnfs.c pnfs_set_plh_return_info(struct pnfs_layout_hdr *lo, enum pnfs_iomode iomode, iomode 316 fs/nfs/pnfs.c if (lo->plh_return_iomode != 0 && lo->plh_return_iomode != iomode) iomode 317 fs/nfs/pnfs.c iomode = IOMODE_ANY; iomode 318 fs/nfs/pnfs.c lo->plh_return_iomode = iomode; iomode 336 fs/nfs/pnfs.c pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); iomode 371 fs/nfs/pnfs.c .iomode = IOMODE_ANY, iomode 415 fs/nfs/pnfs.c .iomode = IOMODE_ANY, iomode 433 fs/nfs/pnfs.c pnfs_iomode_to_fail_bit(u32 iomode) iomode 435 fs/nfs/pnfs.c return iomode == IOMODE_RW ? iomode 455 fs/nfs/pnfs.c pnfs_layout_io_set_failed(struct pnfs_layout_hdr *lo, u32 iomode) iomode 459 fs/nfs/pnfs.c .iomode = iomode, iomode 466 fs/nfs/pnfs.c pnfs_layout_set_fail_bit(lo, pnfs_iomode_to_fail_bit(iomode)); iomode 471 fs/nfs/pnfs.c iomode == IOMODE_RW ? "RW" : "READ"); iomode 475 fs/nfs/pnfs.c pnfs_layout_io_test_failed(struct pnfs_layout_hdr *lo, u32 iomode) iomode 478 fs/nfs/pnfs.c int fail_bit = pnfs_iomode_to_fail_bit(iomode); iomode 539 fs/nfs/pnfs.c pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); iomode 639 fs/nfs/pnfs.c return (recall_range->iomode == IOMODE_ANY || iomode 640 fs/nfs/pnfs.c lseg_range->iomode == recall_range->iomode) && iomode 688 fs/nfs/pnfs.c lseg, lseg->pls_range.iomode, lseg->pls_seq, iomode 1050 fs/nfs/pnfs.c if (range->iomode == IOMODE_READ) { iomode 1125 fs/nfs/pnfs.c enum pnfs_iomode *iomode) iomode 1140 fs/nfs/pnfs.c if (iomode != NULL) iomode 1141 fs/nfs/pnfs.c *iomode = lo->plh_return_iomode; iomode 1147 fs/nfs/pnfs.c if (iomode != NULL) iomode 1148 fs/nfs/pnfs.c *iomode = IOMODE_ANY; iomode 1156 fs/nfs/pnfs.c enum pnfs_iomode iomode) iomode 1162 fs/nfs/pnfs.c args->range.iomode = iomode; iomode 1171 fs/nfs/pnfs.c enum pnfs_iomode iomode, bool sync) iomode 1188 fs/nfs/pnfs.c pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); iomode 1206 fs/nfs/pnfs.c enum pnfs_iomode iomode; iomode 1213 fs/nfs/pnfs.c iomode = lo->plh_return_iomode; iomode 1219 fs/nfs/pnfs.c if (iomode != IOMODE_ANY && s->pls_range.iomode != iomode) iomode 1237 fs/nfs/pnfs.c enum pnfs_iomode iomode; iomode 1240 fs/nfs/pnfs.c send = pnfs_prepare_layoutreturn(lo, &stateid, &iomode); iomode 1244 fs/nfs/pnfs.c pnfs_send_layoutreturn(lo, &stateid, iomode, false); iomode 1293 fs/nfs/pnfs.c .iomode = IOMODE_ANY, iomode 1358 fs/nfs/pnfs.c enum pnfs_iomode iomode = 0; iomode 1403 fs/nfs/pnfs.c if (skip_read && lseg->pls_range.iomode == IOMODE_READ) iomode 1415 fs/nfs/pnfs.c pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); iomode 1426 fs/nfs/pnfs.c layoutreturn = pnfs_prepare_layoutreturn(lo, &stateid, &iomode); iomode 1432 fs/nfs/pnfs.c pnfs_init_layoutreturn_args(args, lo, &stateid, iomode); iomode 1448 fs/nfs/pnfs.c pnfs_send_layoutreturn(lo, &stateid, iomode, true); iomode 1566 fs/nfs/pnfs.c return (int)(l1->iomode == IOMODE_READ) - (int)(l2->iomode == IOMODE_READ); iomode 1609 fs/nfs/pnfs.c __func__, lseg, lseg->pls_range.iomode, iomode 1611 fs/nfs/pnfs.c lp, lp->pls_range.iomode, lp->pls_range.offset, iomode 1618 fs/nfs/pnfs.c __func__, lseg, lseg->pls_range.iomode, iomode 1713 fs/nfs/pnfs.c if ((range->iomode == IOMODE_RW && iomode 1714 fs/nfs/pnfs.c ls_range->iomode != IOMODE_RW) || iomode 1715 fs/nfs/pnfs.c (range->iomode != ls_range->iomode && iomode 1772 fs/nfs/pnfs.c struct inode *ino, int iomode) iomode 1785 fs/nfs/pnfs.c switch (iomode) { iomode 1884 fs/nfs/pnfs.c enum pnfs_iomode iomode, iomode 1889 fs/nfs/pnfs.c .iomode = iomode, iomode 1905 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 1910 fs/nfs/pnfs.c if (pnfs_within_mdsthreshold(ctx, ino, iomode)) { iomode 1911 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 1925 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 1932 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 1939 fs/nfs/pnfs.c if (pnfs_layout_io_test_failed(lo, iomode)) { iomode 1940 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 1962 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 1994 fs/nfs/pnfs.c iomode == IOMODE_RW ? FMODE_WRITE : FMODE_READ, iomode 1999 fs/nfs/pnfs.c iomode, lo, lseg, iomode 2026 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, iomode 2030 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 2036 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 2055 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, NULL, iomode 2062 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 2076 fs/nfs/pnfs.c pnfs_layout_clear_fail_bit(lo, pnfs_iomode_to_fail_bit(iomode)); iomode 2085 fs/nfs/pnfs.c iomode, lo, lseg, PNFS_UPDATE_LAYOUT_RETRY); iomode 2090 fs/nfs/pnfs.c pnfs_layout_clear_fail_bit(lo, pnfs_iomode_to_fail_bit(iomode)); iomode 2096 fs/nfs/pnfs.c trace_pnfs_update_layout(ino, pos, count, iomode, lo, lseg, iomode 2105 fs/nfs/pnfs.c iomode==IOMODE_RW ? "read/write" : "read-only", iomode 2118 fs/nfs/pnfs.c switch (range->iomode) { iomode 2170 fs/nfs/pnfs.c .iomode = (data->o_arg.fmode & FMODE_WRITE) ? iomode 2179 fs/nfs/pnfs.c if (rng.iomode == IOMODE_READ && iomode 2202 fs/nfs/pnfs.c .iomode = (data->o_arg.fmode & FMODE_WRITE) ? iomode 2241 fs/nfs/pnfs.c u32 iomode; iomode 2278 fs/nfs/pnfs.c iomode = lgp->args.range.iomode; iomode 2279 fs/nfs/pnfs.c pnfs_layout_clear_fail_bit(lo, pnfs_iomode_to_fail_bit(iomode)); iomode 2408 fs/nfs/pnfs.c lseg, lseg->pls_range.iomode, iomode 2418 fs/nfs/pnfs.c pnfs_set_plh_return_info(lo, return_range->iomode, seq); iomode 2423 fs/nfs/pnfs.c pnfs_set_plh_return_info(lo, return_range->iomode, seq); iomode 2435 fs/nfs/pnfs.c .iomode = lseg->pls_range.iomode, iomode 2446 fs/nfs/pnfs.c pnfs_set_plh_return_info(lo, range.iomode, 0); iomode 2454 fs/nfs/pnfs.c enum pnfs_iomode iomode; iomode 2456 fs/nfs/pnfs.c return_now = pnfs_prepare_layoutreturn(lo, &stateid, &iomode); iomode 2459 fs/nfs/pnfs.c pnfs_send_layoutreturn(lo, &stateid, iomode, false); iomode 2892 fs/nfs/pnfs.c if (lseg->pls_range.iomode == IOMODE_RW && iomode 2913 fs/nfs/pnfs.c pnfs_layout_io_set_failed(lseg->pls_layout, lseg->pls_range.iomode); iomode 307 fs/nfs/pnfs.h enum pnfs_iomode iomode, iomode 51 fs/nfsd/blocklayout.c &iomap, seg->iomode != IOMODE_READ, iomode 66 fs/nfsd/blocklayout.c if (seg->iomode == IOMODE_READ) iomode 73 fs/nfsd/blocklayout.c if (seg->iomode & IOMODE_RW) { iomode 88 fs/nfsd/blocklayout.c if (seg->iomode == IOMODE_READ) { iomode 52 fs/nfsd/flexfilelayout.c if (seg->iomode == IOMODE_READ) { iomode 71 fs/nfsd/flexfilelayout.c seg->iomode); iomode 358 fs/nfsd/nfs4layouts.c if (s->iomode != IOMODE_ANY && s->iomode != lo->lo_seg.iomode) iomode 370 fs/nfsd/nfs4layouts.c if (lo->iomode != new->iomode) iomode 555 fs/nfsd/nfs4layouts.c if (lrp->lr_seg.iomode == IOMODE_ANY || iomode 556 fs/nfsd/nfs4layouts.c lrp->lr_seg.iomode == lp->lo_seg.iomode) iomode 1608 fs/nfsd/nfs4proc.c switch (lgp->lg_seg.iomode) { iomode 1617 fs/nfsd/nfs4proc.c __func__, lgp->lg_seg.iomode); iomode 1763 fs/nfsd/nfs4proc.c switch (lrp->lr_seg.iomode) { iomode 1770 fs/nfsd/nfs4proc.c lrp->lr_seg.iomode); iomode 1613 fs/nfsd/nfs4xdr.c lgp->lg_seg.iomode = be32_to_cpup(p++); iomode 1685 fs/nfsd/nfs4xdr.c lrp->lr_seg.iomode = be32_to_cpup(p++); iomode 4183 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(lgp->lg_seg.iomode); iomode 448 fs/nfsd/xdr4.h u32 iomode; iomode 243 include/linux/nfs_xdr.h u32 iomode;