Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/fs/
Dmpage.c61 static struct bio *mpage_bio_submit(int op, int op_flags, struct bio *bio) in mpage_bio_submit() argument
64 bio_set_op_attrs(bio, op, op_flags); in mpage_bio_submit()
173 int op_flags; in do_mpage_readpage() local
179 op_flags = REQ_RAHEAD; in do_mpage_readpage()
182 op_flags = 0; in do_mpage_readpage()
297 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
316 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
324 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
332 args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); in do_mpage_readpage()
503 int op_flags = wbc_to_write_flags(wbc); in __mpage_writepage() local
[all …]
Dbuffer.c55 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh,
3009 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh, in submit_bh_wbc() argument
3041 op_flags |= REQ_META; in submit_bh_wbc()
3043 op_flags |= REQ_PRIO; in submit_bh_wbc()
3044 bio_set_op_attrs(bio, op, op_flags); in submit_bh_wbc()
3058 int submit_bh(int op, int op_flags, struct buffer_head *bh) in submit_bh() argument
3060 return submit_bh_wbc(op, op_flags, bh, 0, NULL); in submit_bh()
3090 void ll_rw_block(int op, int op_flags, int nr, struct buffer_head *bhs[]) in ll_rw_block() argument
3103 submit_bh(op, op_flags, bh); in ll_rw_block()
3110 submit_bh(op, op_flags, bh); in ll_rw_block()
[all …]
Ddirect-io.c121 int op_flags; member
404 bio_set_op_attrs(bio, dio->op, dio->op_flags); in dio_bio_alloc()
1209 dio->op_flags = REQ_SYNC | REQ_IDLE; in do_blockdev_direct_IO()
1211 dio->op_flags |= REQ_NOWAIT; in do_blockdev_direct_IO()
1216 dio->op_flags |= REQ_HIPRI; in do_blockdev_direct_IO()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dhtc_drv_gpio.c40 clear_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); in ath_detect_bt_priority()
41 clear_bit(OP_BT_SCAN, &priv->op_flags); in ath_detect_bt_priority()
46 set_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); in ath_detect_bt_priority()
47 set_bit(OP_BT_SCAN, &priv->op_flags); in ath_detect_bt_priority()
51 set_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); in ath_detect_bt_priority()
76 test_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags)); in ath_btcoex_period_work()
82 ath9k_hw_btcoex_bt_stomp(priv->ah, test_bit(OP_BT_SCAN, &priv->op_flags) ? in ath_btcoex_period_work()
86 timer_period = test_bit(OP_BT_SCAN, &priv->op_flags) ? in ath_btcoex_period_work()
109 test_bit(OP_BT_SCAN, &priv->op_flags)) in ath_btcoex_duty_cycle_work()
143 clear_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); in ath_htc_resume_btcoex_work()
[all …]
Dgpio.c152 clear_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
153 clear_bit(BT_OP_SCAN, &btcoex->op_flags); in ath_detect_bt_priority()
158 set_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
159 set_bit(BT_OP_SCAN, &btcoex->op_flags); in ath_detect_bt_priority()
163 set_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath_detect_bt_priority()
226 if (test_bit(BT_OP_SCAN, &btcoex->op_flags)) { in ath_btcoex_period_timer()
266 test_bit(BT_OP_SCAN, &btcoex->op_flags))) in ath_btcoex_no_stomp_timer()
312 clear_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath9k_btcoex_timer_resume()
313 clear_bit(BT_OP_SCAN, &btcoex->op_flags); in ath9k_btcoex_timer_resume()
351 else if (test_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags)) in ath9k_btcoex_aggr_limit()
Dwow.c180 if (test_bit(ATH_OP_INVALID, &common->op_flags)) { in ath9k_suspend()
199 if (test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags)) { in ath9k_suspend()
207 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) { in ath9k_suspend()
274 set_bit(ATH_OP_WOW_ENABLED, &common->op_flags); in ath9k_suspend()
306 clear_bit(ATH_OP_WOW_ENABLED, &common->op_flags); in ath9k_resume()
Dlink.c129 if (!test_bit(ATH_OP_BEACONS, &common->op_flags)) in ath_hw_pll_work()
428 !test_bit(ATH_OP_ANI_RUN, &common->op_flags) || in ath_start_ani()
468 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) in ath_check_ani()
472 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) in ath_check_ani()
476 if (!test_bit(ATH_OP_ANI_RUN, &common->op_flags)) { in ath_check_ani()
477 set_bit(ATH_OP_ANI_RUN, &common->op_flags); in ath_check_ani()
484 clear_bit(ATH_OP_ANI_RUN, &common->op_flags); in ath_check_ani()
Dbeacon.c398 if (test_bit(ATH_OP_HW_RESET, &common->op_flags)) { in ath9k_beacon_tasklet()
583 set_bit(ATH_OP_BEACONS, &common->op_flags); in ath9k_beacon_config_adhoc()
637 clear_bit(ATH_OP_BEACONS, &common->op_flags); in ath9k_beacon_config()
655 set_bit(ATH_OP_BEACONS, &common->op_flags); in ath9k_beacon_config()
685 set_bit(ATH_OP_BEACONS, &common->op_flags); in ath9k_beacon_config()
688 clear_bit(ATH_OP_BEACONS, &common->op_flags); in ath9k_beacon_config()
692 clear_bit(ATH_OP_BEACONS, &common->op_flags); in ath9k_beacon_config()
Dmain.c246 clear_bit(ATH_OP_HW_RESET, &common->op_flags); in ath_complete_reset()
259 if (!test_bit(ATH_OP_BEACONS, &common->op_flags)) in ath_complete_reset()
263 test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) { in ath_complete_reset()
519 if (!ah || test_bit(ATH_OP_INVALID, &common->op_flags)) in ath_isr()
536 if (test_bit(ATH_OP_HW_RESET, &common->op_flags)) { in ath_isr()
616 set_bit(ATH_OP_HW_RESET, &common->op_flags); in ath_reset()
637 set_bit(ATH_OP_HW_RESET, &common->op_flags); in ath9k_queue_reset()
722 clear_bit(ATH_OP_INVALID, &common->op_flags); in ath9k_start()
914 if (test_bit(ATH_OP_INVALID, &common->op_flags)) { in ath9k_stop()
964 set_bit(ATH_OP_INVALID, &common->op_flags); in ath9k_stop()
[all …]
Dhtc_drv_main.c255 if (test_bit(ATH_OP_INVALID, &common->op_flags)) in ath9k_htc_set_channel()
307 if (!test_bit(ATH_OP_SCANNING, &common->op_flags) && in ath9k_htc_set_channel()
315 if (test_bit(ATH_OP_SCANNING, &common->op_flags) && in ath9k_htc_set_channel()
755 set_bit(ATH_OP_ANI_RUN, &common->op_flags); in ath9k_htc_start_ani()
765 clear_bit(ATH_OP_ANI_RUN, &common->op_flags); in ath9k_htc_stop_ani()
957 clear_bit(ATH_OP_INVALID, &common->op_flags); in ath9k_htc_start()
986 if (test_bit(ATH_OP_INVALID, &common->op_flags)) { in ath9k_htc_stop()
1028 set_bit(ATH_OP_INVALID, &common->op_flags); in ath9k_htc_stop()
1102 !test_bit(ATH_OP_ANI_RUN, &common->op_flags)) { in ath9k_htc_add_interface()
1270 if (test_bit(ATH_OP_INVALID, &common->op_flags)) { in ath9k_htc_configure_filter()
[all …]
Dchannel.c36 if (test_bit(ATH_OP_INVALID, &common->op_flags)) in ath_set_channel()
95 if (test_bit(ATH_OP_SCANNING, &common->op_flags) && in ath_set_channel()
306 clear_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags); in ath_chanctx_check_active()
313 if (test_and_set_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags)) { in ath_chanctx_check_active()
459 if (test_bit(ATH_OP_SCANNING, &common->op_flags) || in ath_chanctx_set_periodic_noa()
675 if (!test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags) || in ath_chanctx_event()
711 if (!test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags) || in ath_chanctx_event()
808 if (test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags) && in ath_chanctx_switch()
980 clear_bit(ATH_OP_SCANNING, &common->op_flags); in ath_scan_complete()
982 if (test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags)) in ath_scan_complete()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4proc.c2203 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
2226 return OPDESC(op)->op_flags & OP_CACHEME; in nfsd4_cache_this_op()
2242 if (!(thisd->op_flags & OP_IS_PUTFH_LIKE)) in need_wrongsec_check()
2259 return !(nextd->op_flags & OP_HANDLES_WRONGSEC); in need_wrongsec_check()
2388 if (!(op->opdesc->op_flags & ALLOWED_WITHOUT_FH)) { in nfsd4_proc_compound()
2394 !(op->opdesc->op_flags & ALLOWED_ON_ABSENT_FS)) { in nfsd4_proc_compound()
2402 if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) { in nfsd4_proc_compound()
2434 if (op->opdesc->op_flags & OP_CLEAR_STATEID) in nfsd4_proc_compound()
2826 .op_flags = OP_MODIFIES_SOMETHING,
2834 .op_flags = OP_MODIFIES_SOMETHING,
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-io.c296 static void do_region(int op, int op_flags, unsigned region, in do_region() argument
352 bio_set_op_attrs(bio, op, op_flags); in do_region()
390 static void dispatch_io(int op, int op_flags, unsigned int num_regions, in dispatch_io() argument
400 op_flags |= REQ_SYNC; in dispatch_io()
408 if (where[i].count || (op_flags & REQ_PREFLUSH)) in dispatch_io()
409 do_region(op, op_flags, i, where + i, dp, io); in dispatch_io()
433 struct dm_io_region *where, int op, int op_flags, in sync_io() argument
456 dispatch_io(op, op_flags, num_regions, where, dp, io, 1); in sync_io()
467 struct dm_io_region *where, int op, int op_flags, in async_io() argument
488 dispatch_io(op, op_flags, num_regions, where, dp, io, 0); in async_io()
Ddm-snap-persistent.c230 int op_flags, int metadata) in chunk_io() argument
239 .bi_op_flags = op_flags, in chunk_io()
285 static int area_io(struct pstore *ps, int op, int op_flags) in area_io() argument
289 return chunk_io(ps, ps->area, chunk, op, op_flags, 0); in area_io()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_attr.c130 args->op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_get()
197 if (!error && !(args->op_flags & XFS_DA_OP_NOTIME)) in xfs_attr_try_sf_addname()
417 args->op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_set()
422 args->op_flags |= XFS_DA_OP_ADDNAME; in xfs_attr_set()
504 if (!(args->op_flags & XFS_DA_OP_NOTIME)) in xfs_attr_set()
639 args->op_flags |= XFS_DA_OP_RENAME; /* an atomic rename */ in xfs_attr_leaf_try_add()
703 if (!(args->op_flags & XFS_DA_OP_RENAME)) { in xfs_attr_leaf_addname()
947 args->op_flags |= XFS_DA_OP_RENAME; /* atomic rename op */ in xfs_attr_node_addname()
1034 if (!(args->op_flags & XFS_DA_OP_RENAME)) { in xfs_attr_node_addname()
Dxfs_dir2.c277 args->op_flags = XFS_DA_OP_ADDNAME | XFS_DA_OP_OKNOENT; in xfs_dir_createname()
279 args->op_flags |= XFS_DA_OP_JUSTCHECK; in xfs_dir_createname()
320 !(args->op_flags & XFS_DA_OP_CILOOKUP)) in xfs_dir_cilookup_result()
371 args->op_flags = XFS_DA_OP_OKNOENT; in xfs_dir_lookup()
373 args->op_flags |= XFS_DA_OP_CILOOKUP; in xfs_dir_lookup()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_iblock.c308 int op_flags) in iblock_get_bio() argument
330 bio_set_op_attrs(bio, op, op_flags); in iblock_get_bio()
691 int i, rc, op, op_flags = 0; in iblock_execute_rw() local
704 op_flags = REQ_FUA; in iblock_execute_rw()
706 op_flags = REQ_FUA; in iblock_execute_rw()
723 bio = iblock_get_bio(cmd, block_lba, sgl_nents, op, op_flags); in iblock_execute_rw()
758 op_flags); in iblock_execute_rw()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dpassthru.c191 int op_flags = 0; in nvmet_passthru_map_sg() local
199 op_flags = REQ_FUA; in nvmet_passthru_map_sg()
201 op_flags = REQ_SYNC | REQ_IDLE; in nvmet_passthru_map_sg()
205 bio->bi_opf = req_op(rq) | op_flags; in nvmet_passthru_map_sg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dblk_types.h454 unsigned op_flags) in bio_set_op_attrs() argument
456 bio->bi_opf = op | op_flags; in bio_set_op_attrs()
/kernel/linux/linux-5.10/fs/gfs2/
Dlog.h71 int op_flags);
/kernel/linux/linux-5.10/net/netlink/
Dgenetlink.c848 u32 op_flags; in ctrl_fill_info() local
851 op_flags = op.flags; in ctrl_fill_info()
853 op_flags |= GENL_CMD_CAP_DUMP; in ctrl_fill_info()
855 op_flags |= GENL_CMD_CAP_DO; in ctrl_fill_info()
857 op_flags |= GENL_CMD_CAP_HASPOL; in ctrl_fill_info()
864 nla_put_u32(skb, CTRL_ATTR_OP_FLAGS, op_flags)) in ctrl_fill_info()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dctrl.c36 u32 *jump_cmd, op_flags; in build_instantiation_desc() local
40 op_flags = OP_TYPE_CLASS1_ALG | OP_ALG_ALGSEL_RNG | in build_instantiation_desc()
45 append_operation(desc, op_flags); in build_instantiation_desc()
/kernel/linux/linux-5.10/include/trace/events/
Df2fs.h79 #define show_bio_type(op,op_flags) show_bio_op(op), \ argument
80 show_bio_op_flags(op_flags)
1030 __field(int, op_flags)
1042 __entry->op_flags = fio->op_flags;
1053 show_bio_type(__entry->op, __entry->op_flags),
1086 __field(int, op_flags)
1096 __entry->op_flags = bio->bi_opf;
1105 show_bio_type(__entry->op, __entry->op_flags),

1234