Home
last modified time | relevance | path

Searched refs:op_flags (Results 1 – 25 of 38) 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,
3021 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh, in submit_bh_wbc() argument
3057 op_flags |= REQ_META; in submit_bh_wbc()
3059 op_flags |= REQ_PRIO; in submit_bh_wbc()
3060 bio_set_op_attrs(bio, op, op_flags); in submit_bh_wbc()
3074 int submit_bh(int op, int op_flags, struct buffer_head *bh) in submit_bh() argument
3076 return submit_bh_wbc(op, op_flags, bh, 0, NULL); in submit_bh()
3106 void ll_rw_block(int op, int op_flags, int nr, struct buffer_head *bhs[]) in ll_rw_block() argument
3119 submit_bh(op, op_flags, bh); in ll_rw_block()
3126 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()
1269 dio->op_flags = REQ_SYNC | REQ_IDLE; in do_blockdev_direct_IO()
1271 dio->op_flags |= REQ_NOWAIT; in do_blockdev_direct_IO()
1276 dio->op_flags |= REQ_HIPRI; in do_blockdev_direct_IO()
/fs/nfsd/
Dnfs4proc.c1840 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
1863 return OPDESC(op)->op_flags & OP_CACHEME; in nfsd4_cache_this_op()
1879 if (!(thisd->op_flags & OP_IS_PUTFH_LIKE)) in need_wrongsec_check()
1896 return !(nextd->op_flags & OP_HANDLES_WRONGSEC); in need_wrongsec_check()
1983 if (!(op->opdesc->op_flags & ALLOWED_WITHOUT_FH)) { in nfsd4_proc_compound()
1988 !(op->opdesc->op_flags & ALLOWED_ON_ABSENT_FS)) { in nfsd4_proc_compound()
1996 if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) { in nfsd4_proc_compound()
2028 if (op->opdesc->op_flags & OP_CLEAR_STATEID) in nfsd4_proc_compound()
2355 .op_flags = OP_MODIFIES_SOMETHING,
2363 .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.c572 fio->op_flags |= REQ_META; in __attach_io_flag()
574 fio->op_flags |= REQ_FUA; in __attach_io_flag()
585 bio_set_op_attrs(io->bio, fio->op, fio->op_flags); in __submit_merged_bio()
645 io->fio.op_flags = REQ_META | REQ_PRIO | REQ_SYNC; in __f2fs_submit_merged_write()
647 io->fio.op_flags |= REQ_PREFLUSH | REQ_FUA; in __f2fs_submit_merged_write()
730 bio_set_op_attrs(bio, fio->op, fio->op_flags); in f2fs_submit_page_bio()
752 return io->fio.op_flags == fio->op_flags; in io_type_is_mergeable()
923 bio_set_op_attrs(bio, fio->op, fio->op_flags); in f2fs_merge_page_bio()
1209 int op_flags, bool for_write) in f2fs_get_read_data_page() argument
2552 !(fio->op_flags & REQ_SYNC) && in check_inplace_update_policy()
[all …]
Dgc.c699 .op_flags = 0, in ra_data_block()
786 .op_flags = 0, in move_data_block()
911 fio.op_flags = REQ_SYNC; in move_data_block()
985 .op_flags = REQ_SYNC, in move_data_page()
Dcheckpoint.c62 .op_flags = REQ_META | REQ_PRIO, in __get_meta_page()
71 fio.op_flags &= ~REQ_META; in __get_meta_page()
227 .op_flags = sync ? (REQ_META | REQ_PRIO) : REQ_RAHEAD, in f2fs_ra_meta_pages()
236 fio.op_flags &= ~REQ_META; in f2fs_ra_meta_pages()
/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()
1010 args->op_flags |= XFS_DA_OP_INCOMPLETE; 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()
1052 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.c473 if (args->op_flags & XFS_DA_OP_JUSTCHECK) in xfs_dir2_leafn_add()
689 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_leafn_lookup_for_addname()
845 ASSERT(index == leafhdr.count || (args->op_flags & XFS_DA_OP_OKNOENT)); in xfs_dir2_leafn_lookup_for_entry()
880 if (args->op_flags & XFS_DA_OP_ADDNAME) in xfs_dir2_leafn_lookup_int()
1889 if (args->op_flags & XFS_DA_OP_JUSTCHECK) { in xfs_dir2_node_addname_int()
2014 if (!(args->op_flags & XFS_DA_OP_JUSTCHECK)) in xfs_dir2_node_addname()
Dxfs_attr_leaf.c410 if (args->op_flags & XFS_DA_OP_ALLOCVAL) { in xfs_attr_copy_value()
715 !(args->op_flags & XFS_DA_OP_ADDNAME)) { in xfs_attr_shortform_remove()
722 (args->op_flags & XFS_DA_OP_ADDNAME) || in xfs_attr_shortform_remove()
846 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf()
1050 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr3_leaf_to_shortform()
1393 if (args->op_flags & XFS_DA_OP_RENAME) { in xfs_attr3_leaf_add_work()
2345 if (!!(args->op_flags & XFS_DA_OP_INCOMPLETE) != in xfs_attr3_leaf_lookup_int()
Dxfs_dir2_block.c406 if (args->op_flags & XFS_DA_OP_JUSTCHECK) { in xfs_dir2_block_addname()
722 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_block_lookup_int()
761 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_block_lookup_int()
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()
Dhfsplus_fs.h535 void **data, int op, int op_flags);
/fs/btrfs/
Dcheck-integrity.h10 int btrfsic_submit_bh(int op, int op_flags, struct buffer_head *bh);
Dcheck-integrity.c2734 int btrfsic_submit_bh(int op, int op_flags, struct buffer_head *bh) in btrfsic_submit_bh() argument
2739 return submit_bh(op, op_flags, bh); in btrfsic_submit_bh()
2755 op, op_flags, (unsigned long long)bh->b_blocknr, in btrfsic_submit_bh()
2759 NULL, bh, op_flags); in btrfsic_submit_bh()
2760 } else if (NULL != dev_state && (op_flags & REQ_PREFLUSH)) { in btrfsic_submit_bh()
2764 op, op_flags, bh->b_bdev); in btrfsic_submit_bh()
2779 block->submit_bio_bh_rw = op_flags; in btrfsic_submit_bh()
2788 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.c1267 int op_flags) in xfs_buf_ioapply_map() argument
1302 bio_set_op_attrs(bio, op, op_flags); in xfs_buf_ioapply_map()
1347 int op_flags = 0; in _xfs_buf_ioapply() local
1391 op_flags = REQ_RAHEAD; in _xfs_buf_ioapply()
1397 op_flags |= REQ_META; in _xfs_buf_ioapply()
1409 xfs_buf_ioapply_map(bp, i, &offset, &size, op, op_flags); in _xfs_buf_ioapply()
Dxfs_trace.h1677 __field(int, op_flags)
1687 __entry->op_flags = args->op_flags;
1698 __print_flags(__entry->op_flags, "|", XFS_DA_OP_FLAGS))
1742 __field(int, op_flags)
1753 __entry->op_flags = args->op_flags;
1765 __print_flags(__entry->op_flags, "|", XFS_DA_OP_FLAGS))
1846 __field(int, op_flags)
1852 __entry->op_flags = args->op_flags;
1858 __print_flags(__entry->op_flags, "|", XFS_DA_OP_FLAGS),
1877 __field(int, op_flags)
[all …]

12