Home
last modified time | relevance | path

Searched refs:op_flags (Results 1 – 25 of 37) sorted by relevance

12

/fs/
Dmpage.c79 static struct bio *mpage_bio_submit(int op, int op_flags, struct bio *bio) in mpage_bio_submit() argument
100 bio_set_op_attrs(bio, op, op_flags); in mpage_bio_submit()
209 int op_flags; in do_mpage_readpage() local
215 op_flags = REQ_RAHEAD; in do_mpage_readpage()
218 op_flags = 0; in do_mpage_readpage()
333 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
352 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
360 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
368 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
555 int op_flags = wbc_to_write_flags(wbc); in __mpage_writepage() local
[all …]
Dbuffer.c53 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh,
3026 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh, in submit_bh_wbc() argument
3062 op_flags |= REQ_META; in submit_bh_wbc()
3064 op_flags |= REQ_PRIO; in submit_bh_wbc()
3065 bio_set_op_attrs(bio, op, op_flags); in submit_bh_wbc()
3079 int submit_bh(int op, int op_flags, struct buffer_head *bh) in submit_bh() argument
3081 return submit_bh_wbc(op, op_flags, bh, 0, NULL); in submit_bh()
3111 void ll_rw_block(int op, int op_flags, int nr, struct buffer_head *bhs[]) in ll_rw_block() argument
3124 submit_bh(op, op_flags, bh); in ll_rw_block()
3131 submit_bh(op, op_flags, bh); in ll_rw_block()
[all …]
Ddirect-io.c120 int op_flags; member
447 bio_set_op_attrs(bio, dio->op, dio->op_flags); in dio_bio_alloc()
1260 dio->op_flags = REQ_SYNC | REQ_IDLE; in do_blockdev_direct_IO()
1262 dio->op_flags |= REQ_NOWAIT; in do_blockdev_direct_IO()
1267 dio->op_flags |= REQ_HIPRI; in do_blockdev_direct_IO()
/fs/nfsd/
Dnfs4proc.c1837 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
1860 return OPDESC(op)->op_flags & OP_CACHEME; in nfsd4_cache_this_op()
1876 if (!(thisd->op_flags & OP_IS_PUTFH_LIKE)) in need_wrongsec_check()
1893 return !(nextd->op_flags & OP_HANDLES_WRONGSEC); in need_wrongsec_check()
1980 if (!(op->opdesc->op_flags & ALLOWED_WITHOUT_FH)) { in nfsd4_proc_compound()
1985 !(op->opdesc->op_flags & ALLOWED_ON_ABSENT_FS)) { in nfsd4_proc_compound()
1993 if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) { in nfsd4_proc_compound()
2025 if (op->opdesc->op_flags & OP_CLEAR_STATEID) in nfsd4_proc_compound()
2352 .op_flags = OP_MODIFIES_SOMETHING,
2360 .op_flags = OP_MODIFIES_SOMETHING,
[all …]
/fs/f2fs/
Dtrace.c29 last_io.fio.op, last_io.fio.op_flags, in __print_last_io()
108 last_io.fio.op_flags == fio->op_flags && in f2fs_trace_ios()
Ddata.c400 bio_set_op_attrs(io->bio, fio->op, fio->op_flags); in __submit_merged_bio()
453 io->fio.op_flags = REQ_META | REQ_PRIO | REQ_SYNC; in __f2fs_submit_merged_write()
455 io->fio.op_flags |= REQ_PREFLUSH | REQ_FUA; in __f2fs_submit_merged_write()
537 bio_set_op_attrs(bio, fio->op, fio->op_flags); in f2fs_submit_page_bio()
559 return io->fio.op_flags == fio->op_flags; in io_type_is_mergeable()
727 bio_set_op_attrs(bio, fio->op, fio->op_flags); in f2fs_merge_page_bio()
1001 int op_flags, bool for_write) in f2fs_get_read_data_page() argument
2076 !(fio->op_flags & REQ_SYNC) && in check_inplace_update_policy()
2269 .op_flags = wbc_to_write_flags(wbc), in __write_data_page()
Dcheckpoint.c65 .op_flags = REQ_META | REQ_PRIO, in __get_meta_page()
74 fio.op_flags &= ~REQ_META; in __get_meta_page()
220 .op_flags = sync ? (REQ_META | REQ_PRIO) : REQ_RAHEAD, in f2fs_ra_meta_pages()
228 fio.op_flags &= ~REQ_META; in f2fs_ra_meta_pages()
Dgc.c671 .op_flags = 0, in ra_data_block()
754 .op_flags = 0, in move_data_block()
875 fio.op_flags = REQ_SYNC; in move_data_block()
949 .op_flags = REQ_SYNC, in move_data_page()
Dnode.c1274 static int read_node_page(struct page *page, int op_flags) in read_node_page() argument
1282 .op_flags = op_flags, in read_node_page()
1510 .op_flags = wbc_to_write_flags(wbc), in __write_node_page()
1563 fio.op_flags |= REQ_PREFLUSH | REQ_FUA; in __write_node_page()
/fs/xfs/libxfs/
Dxfs_attr.c162 args.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_get()
164 args.op_flags |= XFS_DA_OP_ALLOCVAL; in xfs_attr_get()
362 args.op_flags = XFS_DA_OP_ADDNAME | XFS_DA_OP_OKNOENT; in xfs_attr_set()
465 args.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_remove()
613 args->op_flags |= XFS_DA_OP_RENAME; /* an atomic rename */ in xfs_attr_leaf_addname()
689 if (args->op_flags & XFS_DA_OP_RENAME) { in xfs_attr_leaf_addname()
884 args->op_flags |= XFS_DA_OP_RENAME; /* atomic rename op */ in xfs_attr_node_addname()
981 if (args->op_flags & XFS_DA_OP_RENAME) { in xfs_attr_node_addname()
Dxfs_dir2.c271 args->op_flags = XFS_DA_OP_ADDNAME | XFS_DA_OP_OKNOENT; in xfs_dir_createname()
273 args->op_flags |= XFS_DA_OP_JUSTCHECK; in xfs_dir_createname()
314 !(args->op_flags & XFS_DA_OP_CILOOKUP)) in xfs_dir_cilookup_result()
365 args->op_flags = XFS_DA_OP_OKNOENT; in xfs_dir_lookup()
367 args->op_flags |= XFS_DA_OP_CILOOKUP; in xfs_dir_lookup()
Dxfs_dir2_sf.c319 if ((args->op_flags & XFS_DA_OP_JUSTCHECK) || args->total == 0) in xfs_dir2_sf_addname()
332 if (args->op_flags & XFS_DA_OP_JUSTCHECK) in xfs_dir2_sf_addname()
848 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_sf_lookup()
1034 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_sf_replace()
Dxfs_da_btree.h72 int op_flags; /* operation flags */ member
Dxfs_dir2_node.c468 if (args->op_flags & XFS_DA_OP_JUSTCHECK) in xfs_dir2_leafn_add()
684 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_leafn_lookup_for_addname()
838 ASSERT(index == leafhdr.count || (args->op_flags & XFS_DA_OP_OKNOENT)); in xfs_dir2_leafn_lookup_for_entry()
873 if (args->op_flags & XFS_DA_OP_ADDNAME) in xfs_dir2_leafn_lookup_int()
1882 if (args->op_flags & XFS_DA_OP_JUSTCHECK) { in xfs_dir2_node_addname_int()
2007 if (!(args->op_flags & XFS_DA_OP_JUSTCHECK)) in xfs_dir2_node_addname()
Dxfs_dir2_block.c377 if (args->op_flags & XFS_DA_OP_JUSTCHECK) { in xfs_dir2_block_addname()
693 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_block_lookup_int()
732 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_block_lookup_int()
Dxfs_attr_leaf.c418 if (args->op_flags & XFS_DA_OP_ALLOCVAL) { in xfs_attr_copy_value()
716 !(args->op_flags & XFS_DA_OP_ADDNAME)) { in xfs_attr_shortform_remove()
723 (args->op_flags & XFS_DA_OP_ADDNAME) || in xfs_attr_shortform_remove()
847 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf()
1049 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr3_leaf_to_shortform()
1392 if (args->op_flags & XFS_DA_OP_RENAME) { in xfs_attr3_leaf_add_work()
Dxfs_dir2_leaf.c682 if ((args->op_flags & XFS_DA_OP_JUSTCHECK) || in xfs_dir2_leaf_addname()
707 if (args->op_flags & XFS_DA_OP_JUSTCHECK) { in xfs_dir2_leaf_addname()
1262 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_leaf_lookup_int()
/fs/hfsplus/
Dwrapper.c49 void *buf, void **data, int op, int op_flags) in hfsplus_submit_bio() argument
70 bio_set_op_attrs(bio, op, op_flags); in hfsplus_submit_bio()
/fs/btrfs/
Dcheck-integrity.h10 int btrfsic_submit_bh(int op, int op_flags, struct buffer_head *bh);
Dcheck-integrity.c2735 int btrfsic_submit_bh(int op, int op_flags, struct buffer_head *bh) in btrfsic_submit_bh() argument
2740 return submit_bh(op, op_flags, bh); in btrfsic_submit_bh()
2756 op, op_flags, (unsigned long long)bh->b_blocknr, in btrfsic_submit_bh()
2760 NULL, bh, op_flags); in btrfsic_submit_bh()
2761 } else if (NULL != dev_state && (op_flags & REQ_PREFLUSH)) { in btrfsic_submit_bh()
2765 op, op_flags, bh->b_bdev); in btrfsic_submit_bh()
2780 block->submit_bio_bh_rw = op_flags; in btrfsic_submit_bh()
2789 return submit_bh(op, op_flags, bh); in btrfsic_submit_bh()
/fs/gfs2/
Dlog.c689 int op_flags) in gfs2_write_log_header() argument
750 gfs2_log_submit_bio(&sdp->sd_log_bio, REQ_OP_WRITE | op_flags); in gfs2_write_log_header()
765 int op_flags = REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC; in log_write_header() local
774 op_flags = REQ_SYNC | REQ_META | REQ_PRIO; in log_write_header()
778 sdp->sd_log_flush_head, flags, op_flags); in log_write_header()
Dlog.h71 int op_flags);
Dmeta_io.c212 static void gfs2_submit_bhs(int op, int op_flags, struct buffer_head *bhs[], in gfs2_submit_bhs() argument
232 bio_set_op_attrs(bio, op, op_flags); in gfs2_submit_bhs()
/fs/xfs/
Dxfs_buf.c1265 int op_flags) in xfs_buf_ioapply_map() argument
1300 bio_set_op_attrs(bio, op, op_flags); in xfs_buf_ioapply_map()
1345 int op_flags = 0; in _xfs_buf_ioapply() local
1389 op_flags = REQ_RAHEAD; in _xfs_buf_ioapply()
1395 op_flags |= REQ_META; in _xfs_buf_ioapply()
1407 xfs_buf_ioapply_map(bp, i, &offset, &size, op, op_flags); in _xfs_buf_ioapply()
Dxfs_trace.h1676 __field(int, op_flags)
1686 __entry->op_flags = args->op_flags;
1697 __print_flags(__entry->op_flags, "|", XFS_DA_OP_FLAGS))
1741 __field(int, op_flags)
1752 __entry->op_flags = args->op_flags;
1764 __print_flags(__entry->op_flags, "|", XFS_DA_OP_FLAGS))
1845 __field(int, op_flags)
1851 __entry->op_flags = args->op_flags;
1857 __print_flags(__entry->op_flags, "|", XFS_DA_OP_FLAGS),
1876 __field(int, op_flags)
[all …]

12