Home
last modified time | relevance | path

Searched refs:work_flags (Results 1 – 23 of 23) sorted by relevance

/linux/io_uring/
H A Dio-wq.c155 static inline unsigned int __io_get_work_hash(unsigned int work_flags) in __io_get_work_hash() argument
157 return work_flags >> IO_WQ_HASH_SHIFT; in __io_get_work_hash()
182 unsigned int work_flags) in io_work_get_acct() argument
184 return io_get_acct(wq, !(work_flags & IO_WQ_WORK_UNBOUND)); in io_work_get_acct()
435 unsigned int hash, work_flags; in io_wq_hash_defer() local
440 work_flags = atomic_read(&work->flags); in io_wq_hash_defer()
441 if (!__io_wq_is_hashed(work_flags)) in io_wq_hash_defer()
448 hash = __io_get_work_hash(work_flags); in io_wq_hash_defer()
450 work_flags = atomic_read(&next->flags); in io_wq_hash_defer()
451 if (!__io_wq_is_hashed(work_flags)) in io_wq_hash_defer()
[all …]
/linux/kernel/
H A Dirq_work.c93 int work_flags; in __irq_work_queue_local() local
95 work_flags = atomic_read(&work->node.a_flags); in __irq_work_queue_local()
96 if (work_flags & IRQ_WORK_LAZY) in __irq_work_queue_local()
99 !(work_flags & IRQ_WORK_HARD_IRQ)) in __irq_work_queue_local()
H A Dworkqueue.c2280 unsigned int work_flags; in __queue_work() local
2381 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2393 insert_work(pwq, work, &pool->worklist, work_flags); in __queue_work()
2396 work_flags |= WORK_STRUCT_INACTIVE; in __queue_work()
2397 insert_work(pwq, work, &pwq->inactive_works, work_flags); in __queue_work()
3887 unsigned int work_flags = 0; in insert_wq_barrier() local
3910 work_flags |= WORK_STRUCT_INACTIVE; in insert_wq_barrier()
3924 work_flags |= *bits & WORK_STRUCT_LINKED; in insert_wq_barrier()
3930 work_flags |= work_color_to_flags(work_color); in insert_wq_barrier()
3932 insert_work(pwq, &barr->work, head, work_flags); in insert_wq_barrier()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dmain.c221 if (test_and_set_bit(MWIFIEX_IS_REQUESTING_FW_VEREXT, &adapter->work_flags)) in maybe_quirk_fw_disable_ds()
411 &adapter->work_flags); in mwifiex_main_process()
431 &adapter->work_flags); in mwifiex_main_process()
450 &adapter->work_flags); in mwifiex_main_process()
663 set_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in _mwifiex_fw_dpc()
880 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &priv->adapter->work_flags)) { in mwifiex_hard_start_xmit()
1377 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_host_mlme_work_queue()
1408 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_rx_work_queue()
1424 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_main_work_queue()
1441 set_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags); in mwifiex_uninit_sw()
[all …]
H A Dcmdevt.c365 (test_bit(MWIFIEX_IS_HS_CONFIGURED, &adapter->work_flags) && in mwifiex_dnld_sleep_confirm_cmd()
555 if (test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_send_cmd()
561 if (test_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags) && in mwifiex_send_cmd()
568 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) { in mwifiex_send_cmd()
574 if (test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_send_cmd()
789 &adapter->work_flags); in mwifiex_exec_next_cmd()
832 clear_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags); in mwifiex_process_cmdresp()
941 set_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags); in mwifiex_cmd_timeout_func()
968 &adapter->work_flags)); in mwifiex_cmd_timeout_func()
1144 &adapter->work_flags)) { in mwifiex_hs_activated_event()
[all …]
H A Dsdio.c648 if (!test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_sdio_resume()
654 clear_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_sdio_resume()
727 if (test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_write_data_sync()
928 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_sdio_suspend()
938 set_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_sdio_suspend()
939 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_sdio_suspend()
951 &card->work_flags)) in mwifiex_sdio_coredump()
2688 clear_bit(MWIFIEX_IFACE_WORK_DEVICE_DUMP, &card->work_flags); in mwifiex_sdio_card_reset_work()
2689 clear_bit(MWIFIEX_IFACE_WORK_CARD_RESET, &card->work_flags); in mwifiex_sdio_card_reset_work()
3023 &card->work_flags)) in mwifiex_sdio_work()
[all …]
H A Dsta_tx.c124 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_send_null_packet()
H A Dpcie.h232 unsigned long work_flags; member
H A Dsdio.h265 unsigned long work_flags; member
H A Dsta_ioctl.c474 &adapter->work_flags)) in mwifiex_set_hs_params()
589 set_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_enable_hs()
656 &adapter->work_flags); in mwifiex_get_bss_info()
H A Dutil.c171 &adapter->work_flags); in mwifiex_get_debug_info()
174 &adapter->work_flags); in mwifiex_get_debug_info()
H A Ddebugfs.c807 clear_bit(MWIFIEX_IS_HS_ENABLING, &priv->adapter->work_flags); in mwifiex_hscfg_write()
H A Dsta_event.c216 if (test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags) && in mwifiex_reset_connect_state()
H A Dcfg80211.c2462 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_cfg80211_connect()
2463 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_cfg80211_connect()
4443 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_cfg80211_associate()
4444 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_cfg80211_associate()
H A Dscan.c1495 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags) || in mwifiex_scan_networks()
1496 test_bit(MWIFIEX_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in mwifiex_scan_networks()
H A Dsta_cmdresp.c699 if (test_and_clear_bit(MWIFIEX_IS_REQUESTING_FW_VEREXT, &priv->adapter->work_flags)) { in mwifiex_ret_ver_ext()
H A Dwmm.c599 !test_bit(MWIFIEX_SURPRISE_REMOVED, &priv->adapter->work_flags)) in mwifiex_clean_txrx()
/linux/drivers/leds/trigger/
H A Dledtrig-heartbeat.c48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_heartbeat_function()
144 set_bit(LED_BLINK_SW, &led_cdev->work_flags); in heartbeat_trig_activate()
156 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in heartbeat_trig_deactivate()
H A Dledtrig-activity.c48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function()
202 set_bit(LED_BLINK_SW, &led_cdev->work_flags); in activity_activate()
213 clear_bit(LED_BLINK_SW, &led_cdev->work_flags); in activity_deactivate()
/linux/net/netfilter/ipvs/
H A Dip_vs_ctl.c668 clear_bit(IP_VS_WORK_SVC_RESIZE, &ipvs->work_flags); in svc_resize_work_handler()
670 test_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags)) in svc_resize_work_handler()
703 &ipvs->work_flags)) in svc_resize_work_handler()
771 test_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags)) in svc_resize_work_handler()
775 test_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags)) in svc_resize_work_handler()
801 test_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags)) in svc_resize_work_handler()
1803 clear_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags); in ip_vs_add_service()
1835 !test_and_set_bit(IP_VS_WORK_SVC_RESIZE, &ipvs->work_flags)) in ip_vs_add_service()
2063 set_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags); in ip_vs_del_service()
2080 &ipvs->work_flags)) { in ip_vs_del_service()
[all …]
H A Dip_vs_conn.c287 !test_and_set_bit(IP_VS_WORK_CONN_RESIZE, &ipvs->work_flags)) in ip_vs_conn_hash()
819 clear_bit(IP_VS_WORK_CONN_RESIZE, &ipvs->work_flags); in conn_resize_work_handler()
/linux/include/linux/
H A Dleds.h114 unsigned long work_flags; member
/linux/include/net/
H A Dip_vs.h1266 unsigned long work_flags; /* IP_VS_WORK_* flags */ member