Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/ath/ath9k/
H A 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 …]
H A 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()
267 test_bit(BT_OP_SCAN, &btcoex->op_flags))) in ath_btcoex_no_stomp_timer()
313 clear_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags); in ath9k_btcoex_timer_resume()
314 clear_bit(BT_OP_SCAN, &btcoex->op_flags); in ath9k_btcoex_timer_resume()
352 else if (test_bit(BT_OP_PRIORITY_DETECTED, &btcoex->op_flags)) in ath9k_btcoex_aggr_limit()
H A Dlink.c158 if (!test_bit(ATH_OP_BEACONS, &common->op_flags)) in ath_hw_pll_work()
457 !test_bit(ATH_OP_ANI_RUN, &common->op_flags) || in ath_start_ani()
497 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) in ath_check_ani()
501 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) in ath_check_ani()
505 if (!test_bit(ATH_OP_ANI_RUN, &common->op_flags)) { in ath_check_ani()
506 set_bit(ATH_OP_ANI_RUN, &common->op_flags); in ath_check_ani()
513 clear_bit(ATH_OP_ANI_RUN, &common->op_flags); in ath_check_ani()
H A Dmain.c245 clear_bit(ATH_OP_HW_RESET, &common->op_flags); in ath_complete_reset()
257 if (!test_bit(ATH_OP_BEACONS, &common->op_flags)) in ath_complete_reset()
261 test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) { in ath_complete_reset()
518 if (!ah || test_bit(ATH_OP_INVALID, &common->op_flags)) in ath_isr()
535 if (test_bit(ATH_OP_HW_RESET, &common->op_flags)) { in ath_isr()
615 set_bit(ATH_OP_HW_RESET, &common->op_flags); in ath_reset()
636 set_bit(ATH_OP_HW_RESET, &common->op_flags); in ath9k_queue_reset()
721 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 …]
H A 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()
1269 if (test_bit(ATH_OP_INVALID, &common->op_flags)) { in ath9k_htc_configure_filter()
[all …]
H A 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()
301 clear_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags); in ath_chanctx_check_active()
308 if (test_and_set_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags)) { in ath_chanctx_check_active()
454 if (test_bit(ATH_OP_SCANNING, &common->op_flags) || in ath_chanctx_set_periodic_noa()
670 if (!test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags) || in ath_chanctx_event()
706 if (!test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags) || in ath_chanctx_event()
803 if (test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags) && in ath_chanctx_switch()
975 clear_bit(ATH_OP_SCANNING, &common->op_flags); in ath_scan_complete()
977 if (test_bit(ATH_OP_MULTI_CHANNEL, &common->op_flags)) in ath_scan_complete()
H A Dcommon-beacon.c51 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) { in ath9k_cmn_beacon_config_sta()
H A Dtx99.c115 if (test_bit(ATH_OP_INVALID, &common->op_flags)) { in ath9k_tx99_init()
/linux/include/linux/
H A Dbuffer_head.h240 int __sync_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags);
241 void write_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags);
246 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait);
248 blk_opf_t op_flags, bool force_lock);
435 static inline void bh_readahead(struct buffer_head *bh, blk_opf_t op_flags) in bh_readahead() argument
439 __bh_read(bh, op_flags, false); in bh_readahead()
445 static inline void bh_read_nowait(struct buffer_head *bh, blk_opf_t op_flags) in bh_read_nowait() argument
448 __bh_read(bh, op_flags, false); in bh_read_nowait()
452 static inline int bh_read(struct buffer_head *bh, blk_opf_t op_flags) in bh_read() argument
456 return __bh_read(bh, op_flags, true); in bh_read()
[all …]
/linux/fs/nfsd/
H A Dnfs4proc.c2761 if (!(nfsd4_ops[first_op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering()
2784 return OPDESC(op)->op_flags & OP_CACHEME; in nfsd4_cache_this_op()
2800 if (!(thisd->op_flags & OP_IS_PUTFH_LIKE)) in need_wrongsec_check()
2817 return !(nextd->op_flags & OP_HANDLES_WRONGSEC); in need_wrongsec_check()
2938 if (!(op->opdesc->op_flags & ALLOWED_WITHOUT_FH)) { in nfsd4_proc_compound()
2944 !(op->opdesc->op_flags & ALLOWED_ON_ABSENT_FS)) { in nfsd4_proc_compound()
2952 if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) { in nfsd4_proc_compound()
2985 if (op->opdesc->op_flags & OP_CLEAR_STATEID) in nfsd4_proc_compound()
3418 .op_flags = OP_MODIFIES_SOMETHING,
3426 .op_flags = OP_MODIFIES_SOMETHING,
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_attr.c286 args->op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_get()
501 if (!(args->op_flags & XFS_DA_OP_REPLACE)) in xfs_attr_complete_op()
506 args->op_flags &= ~XFS_DA_OP_REPLACE; in xfs_attr_complete_op()
534 if (args->op_flags & XFS_DA_OP_REPLACE) in xfs_attr_leaf_addname()
538 if (!(args->op_flags & XFS_DA_OP_REPLACE)) in xfs_attr_leaf_addname()
843 (args->op_flags & XFS_DA_OP_RECOVERY)) { in xfs_attr_set_iter()
1188 ASSERT(args->op_flags & XFS_DA_OP_REPLACE); in xfs_attr_shortform_addname()
1200 args->op_flags &= ~XFS_DA_OP_REPLACE; in xfs_attr_shortform_addname()
1202 ASSERT(!(args->op_flags & XFS_DA_OP_REPLACE)); in xfs_attr_shortform_addname()
1270 if (args->op_flags & XFS_DA_OP_RECOVERY) in xfs_attr_leaf_removename()
[all …]
H A Dxfs_attr.h597 args->op_flags |= XFS_DA_OP_ADDNAME; in xfs_attr_init_add_state()
625 args->op_flags |= XFS_DA_OP_ADDNAME | XFS_DA_OP_REPLACE; in xfs_attr_init_replace_state()
626 if (args->op_flags & XFS_DA_OP_LOGGED) in xfs_attr_init_replace_state()
H A Dxfs_dir2.c304 args->op_flags |= XFS_DA_OP_JUSTCHECK; in xfs_dir_createname_args()
358 args->op_flags = XFS_DA_OP_ADDNAME | XFS_DA_OP_OKNOENT; in xfs_dir_createname()
379 !(args->op_flags & XFS_DA_OP_CILOOKUP)) in xfs_dir_cilookup_result()
450 args->op_flags = XFS_DA_OP_OKNOENT; in xfs_dir_lookup()
453 args->op_flags |= XFS_DA_OP_CILOOKUP; in xfs_dir_lookup()
H A Dxfs_attr_leaf.c512 if (args->op_flags & XFS_DA_OP_RECOVERY) in xfs_attr_match_mask()
862 if (args->op_flags & XFS_DA_OP_RECOVERY) in xfs_attr_sf_removename()
884 !(args->op_flags & (XFS_DA_OP_ADDNAME | XFS_DA_OP_REPLACE)) && in xfs_attr_sf_removename()
892 (args->op_flags & XFS_DA_OP_ADDNAME) || in xfs_attr_sf_removename()
969 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf()
1151 if (!(args->op_flags & XFS_DA_OP_REPLACE)) { in xfs_attr3_leaf_to_shortform()
1169 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr3_leaf_to_shortform()
1520 if (args->op_flags & XFS_DA_OP_REPLACE) { in xfs_attr3_leaf_add_work()
1521 if (!(args->op_flags & XFS_DA_OP_LOGGED)) in xfs_attr3_leaf_add_work()
H A Dxfs_dir2_sf.c413 if ((args->op_flags & XFS_DA_OP_JUSTCHECK) || args->total == 0) in xfs_dir2_sf_addname()
426 if (args->op_flags & XFS_DA_OP_JUSTCHECK) in xfs_dir2_sf_addname()
902 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_sf_lookup()
1090 ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); in xfs_dir2_sf_replace()
/linux/include/uapi/linux/
H A Dublk_cmd.h421 __u32 op_flags; member
437 return iod->op_flags & 0xff; in ublksrv_get_op()
442 return iod->op_flags >> 8; in ublksrv_get_flags()
/linux/fs/xfs/
H A Dxfs_xattr.c97 args->op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_change()
104 args->op_flags |= XFS_DA_OP_LOGGED; in xfs_attr_change()
/linux/include/trace/events/
H A Dio_uring.h506 __field( u32, op_flags )
527 __entry->op_flags = sqe->poll32_events;
548 __entry->op_flags,
H A Df2fs.h76 #define show_bio_type(op,op_flags) show_bio_op(op), \ argument
77 show_bio_op_flags(op_flags)
1176 __field(blk_opf_t, op_flags)
1188 __entry->op_flags = fio->op_flags;
1199 show_bio_type(__entry->op, __entry->op_flags),
1232 __field(blk_opf_t, op_flags)
1242 __entry->op_flags = bio->bi_opf;
1251 show_bio_type(__entry->op, __entry->op_flags),
/linux/fs/f2fs/
H A Ddata.c421 blk_opf_t op_flags = 0; in f2fs_io_flags() local
442 op_flags |= REQ_META; in f2fs_io_flags()
444 op_flags |= REQ_FUA; in f2fs_io_flags()
448 op_flags |= REQ_PRIO; in f2fs_io_flags()
450 return op_flags; in f2fs_io_flags()
462 fio->op | fio->op_flags | f2fs_io_flags(fio), in __bio_alloc()
740 return (io->fio.op_flags & mask) == (fio->op_flags & mask); in io_type_is_mergeable()
1087 block_t blkaddr, blk_opf_t op_flags, in f2fs_submit_page_read() argument
1093 bio = f2fs_grab_read_bio(inode, blkaddr, 1, op_flags, in f2fs_submit_page_read()
1197 blk_opf_t op_flags, bool for_write, pgoff_t *next_pgofs) in f2fs_get_read_data_folio() argument
[all …]
/linux/fs/
H A Dbuffer.c2833 void write_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in write_dirty_buffer() argument
2842 submit_bh(REQ_OP_WRITE | op_flags, bh); in write_dirty_buffer()
2851 int __sync_dirty_buffer(struct buffer_head *bh, blk_opf_t op_flags) in __sync_dirty_buffer() argument
2867 submit_bh(REQ_OP_WRITE | op_flags, bh); in __sync_dirty_buffer()
3090 int __bh_read(struct buffer_head *bh, blk_opf_t op_flags, bool wait) in __bh_read() argument
3098 submit_bh(REQ_OP_READ | op_flags, bh); in __bh_read()
3119 blk_opf_t op_flags, bool force_lock) in __bh_read_batch() argument
3142 submit_bh(REQ_OP_READ | op_flags, bh); in __bh_read_batch()
/linux/drivers/block/drbd/
H A Ddrbd_actlog.c133 blk_opf_t op_flags = 0; in _drbd_md_sync_page_io() local
139 op_flags |= REQ_FUA | REQ_PREFLUSH; in _drbd_md_sync_page_io()
140 op_flags |= REQ_SYNC; in _drbd_md_sync_page_io()
142 bio = bio_alloc_bioset(bdev->md_bdev, 1, op | op_flags, GFP_NOIO, in _drbd_md_sync_page_io()
/linux/drivers/greybus/
H A Doperation.c522 unsigned long op_flags, gfp_t gfp_flags) in gb_operation_create_common() argument
539 if (!(op_flags & GB_OPERATION_FLAG_INCOMING)) { in gb_operation_create_common()
548 operation->flags = op_flags; in gb_operation_create_common()
/linux/tools/testing/selftests/ublk/
H A Dfile_backed.c102 iod->op_flags, iod->start_sector, iod->nr_sectors << 9); in loop_queue_tgt_io()
/linux/drivers/net/wireless/ath/
H A Dath.h153 unsigned long op_flags; member

123