Searched refs:iomode (Results 1 – 15 of 15) sorted by relevance
/fs/nfs/ |
D | pnfs.c | 322 .iomode = IOMODE_ANY, in pnfs_mark_layout_stateid_invalid() 333 pnfs_iomode_to_fail_bit(u32 iomode) in pnfs_iomode_to_fail_bit() argument 335 return iomode == IOMODE_RW ? in pnfs_iomode_to_fail_bit() 355 pnfs_layout_io_set_failed(struct pnfs_layout_hdr *lo, u32 iomode) in pnfs_layout_io_set_failed() argument 359 .iomode = iomode, in pnfs_layout_io_set_failed() 366 pnfs_layout_set_fail_bit(lo, pnfs_iomode_to_fail_bit(iomode)); in pnfs_layout_io_set_failed() 371 iomode == IOMODE_RW ? "RW" : "READ"); in pnfs_layout_io_set_failed() 375 pnfs_layout_io_test_failed(struct pnfs_layout_hdr *lo, u32 iomode) in pnfs_layout_io_test_failed() argument 378 int fail_bit = pnfs_iomode_to_fail_bit(iomode); in pnfs_layout_io_test_failed() 593 return (recall_range->iomode == IOMODE_ANY || in pnfs_should_free_range() [all …]
|
D | nfs4trace.h | 1422 #define show_pnfs_iomode(iomode) \ argument 1423 __print_symbolic(iomode, \ 1443 __field(u32, iomode) 1459 __entry->iomode = args->iomode; 1487 show_pnfs_iomode(__entry->iomode), 1519 enum pnfs_iomode iomode, 1524 TP_ARGS(inode, pos, count, iomode, lo, lseg, reason), 1531 __field(enum pnfs_iomode, iomode) 1543 __entry->iomode = iomode; 1563 show_pnfs_iomode(__entry->iomode),
|
D | callback_xdr.c | 249 uint32_t iomode; in decode_layoutrecall_args() local 261 iomode = ntohl(*p++); in decode_layoutrecall_args() 266 args->cbl_range.iomode = iomode; in decode_layoutrecall_args() 295 args->cbl_layout_type, iomode, in decode_layoutrecall_args()
|
D | pnfs.h | 293 enum pnfs_iomode iomode,
|
D | nfs4xdr.c | 1954 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutget() 1964 args->range.iomode, in encode_layoutget() 2024 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutreturn() 5969 res->range.iomode = be32_to_cpup(p++); in decode_layoutget() 5977 res->range.iomode, in decode_layoutget()
|
/fs/nfsd/ |
D | nfs4layouts.c | 364 if (s->iomode != IOMODE_ANY && s->iomode != lo->lo_seg.iomode) in layouts_overlapping() 376 if (lo->iomode != new->iomode) in layouts_try_merge() 561 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts() 562 lrp->lr_seg.iomode == lp->lo_seg.iomode) in nfsd4_return_client_layouts()
|
D | blocklayout.c | 48 &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()
|
D | flexfilelayout.c | 51 if (seg->iomode == IOMODE_READ) { in nfsd4_ff_proc_layoutget() 70 seg->iomode); in nfsd4_ff_proc_layoutget()
|
D | nfs4proc.c | 1343 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget() 1352 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget() 1492 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn() 1499 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
|
D | xdr4.h | 442 u32 iomode; member
|
D | nfs4xdr.c | 1560 lgp->lg_seg.iomode = be32_to_cpup(p++); in nfsd4_decode_layoutget() 1632 lrp->lr_seg.iomode = be32_to_cpup(p++); in nfsd4_decode_layoutreturn() 4179 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 308 ff_layout_get_mirror_cred(struct nfs4_ff_layout_mirror *mirror, u32 iomode) in ff_layout_get_mirror_cred() argument 312 if (iomode == IOMODE_READ) in ff_layout_get_mirror_cred() 431 cred = ff_layout_get_mirror_cred(mirror, lseg->pls_range.iomode); in ff_layout_get_ds_cred() 550 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds() 564 return lseg->pls_range.iomode == IOMODE_RW && in ff_layout_avoid_read_on_rw()
|
D | flexfilelayout.c | 289 if (l1->iomode != l2->iomode) in ff_lseg_range_is_after() 290 return l1->iomode != IOMODE_READ; in ff_lseg_range_is_after() 308 if (new->pls_range.iomode != old->pls_range.iomode) in ff_lseg_merge() 522 if (lgr->range.iomode == IOMODE_READ) in ff_layout_alloc_lseg() 530 if (lgr->range.iomode == IOMODE_READ) { in ff_layout_alloc_lseg() 542 lgr->range.iomode == IOMODE_READ ? "READ" : "RW", in ff_layout_alloc_lseg() 582 if (lseg->pls_range.iomode == IOMODE_RW) in ff_layout_has_rw_segments() 595 if (lseg->pls_range.iomode == IOMODE_RW) { in ff_layout_free_lseg()
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 615 .mode = lgr->range.iomode, in bl_alloc_lseg() 727 ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end); in bl_return_range()
|
/fs/nfs/filelayout/ |
D | filelayout.c | 759 if (lseg->pls_range.iomode == IOMODE_RW) { in filelayout_free_lseg()
|