Home
last modified time | relevance | path

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

12

/linux/io_uring/
H A Dio-wq.c159 static inline unsigned int __io_get_work_hash(unsigned int work_flags) in __io_get_work_hash()
161 return work_flags >> IO_WQ_HASH_SHIFT; in io_get_work_hash()
186 unsigned int work_flags) in io_work_get_acct()
188 return io_get_acct(wq, !(work_flags & IO_WQ_WORK_UNBOUND)); in io_wq_get_acct()
442 unsigned int hash, work_flags; in io_wq_hash_defer()
447 work_flags = atomic_read(&work->flags); in io_wq_hash_defer()
448 if (!__io_wq_is_hashed(work_flags)) in io_wq_hash_defer()
455 hash = __io_get_work_hash(work_flags); in io_wq_hash_defer()
457 work_flags = atomic_read(&next->flags); in io_wq_hash_defer()
458 if (!__io_wq_is_hashed(work_flags)) in io_wq_hash_defer()
156 __io_get_work_hash(unsigned int work_flags) __io_get_work_hash() argument
183 io_work_get_acct(struct io_wq * wq,unsigned int work_flags) io_work_get_acct() argument
439 unsigned int hash, work_flags; io_wq_hash_defer() local
537 unsigned int work_flags; io_get_next_work() local
646 unsigned int work_flags = atomic_read(&work->flags); io_worker_handle_work() local
1008 io_wq_insert_work(struct io_wq * wq,struct io_wq_acct * acct,struct io_wq_work * work,unsigned int work_flags) io_wq_insert_work() argument
1035 unsigned int work_flags = atomic_read(&work->flags); io_wq_enqueue() local
[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.c2411 unsigned int work_flags; in __queue_work()
2534 work_flags = work_color_to_flags(pwq->work_color); in select_numa_node_cpu()
2546 insert_work(pwq, work, &pool->worklist, work_flags);
2549 work_flags |= WORK_STRUCT_INACTIVE;
2550 insert_work(pwq, work, &pwq->inactive_works, work_flags);
4091 unsigned int work_flags = 0; in flush_workqueue_prep_pwqs()
4114 work_flags |= WORK_STRUCT_INACTIVE; in touch_wq_lockdep_map()
4128 work_flags |= *bits & WORK_STRUCT_LINKED; in touch_work_lockdep_map()
4142 work_flags |= work_color_to_flags(work_color); in __flush_workqueue()
4144 insert_work(pwq, &barr->work, head, work_flags); in __flush_workqueue()
2327 unsigned int work_flags; __queue_work() local
3969 unsigned int work_flags = 0; insert_wq_barrier() local
[all...]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dmain.c155 if (test_and_set_bit(NXPWIFI_IS_REQUESTING_FW_VEREXT, &adapter->work_flags)) in maybe_quirk_fw_disable_ds()
190 &adapter->work_flags); in nxpwifi_drain_tx()
211 &adapter->work_flags); in nxpwifi_drain_tx()
232 &adapter->work_flags); in nxpwifi_drain_tx()
667 set_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags); in _nxpwifi_fw_dpc()
868 if (test_bit(NXPWIFI_SURPRISE_REMOVED, &priv->adapter->work_flags)) { in nxpwifi_hard_start_xmit()
1282 if (test_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags)) in nxpwifi_host_mlme_work()
1317 if (test_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags)) in nxpwifi_main_work()
1328 if (test_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags)) in nxpwifi_uninit_sw()
1346 set_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags); in nxpwifi_uninit_sw()
[all...]
H A Dcmdevt.c287 (test_bit(NXPWIFI_IS_HS_CONFIGURED, &adapter->work_flags) && in nxpwifi_dnld_sleep_confirm_cmd()
440 if (test_bit(NXPWIFI_IS_SUSPENDED, &adapter->work_flags)) { in nxpwifi_send_cmd()
446 if (test_bit(NXPWIFI_IS_HS_ENABLING, &adapter->work_flags) && in nxpwifi_send_cmd()
453 if (test_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags)) { in nxpwifi_send_cmd()
459 if (test_bit(NXPWIFI_IS_CMD_TIMEDOUT, &adapter->work_flags)) { in nxpwifi_send_cmd()
649 &adapter->work_flags); in nxpwifi_exec_next_cmd()
733 clear_bit(NXPWIFI_IS_CMD_TIMEDOUT, &adapter->work_flags); in nxpwifi_process_cmdresp()
847 set_bit(NXPWIFI_IS_CMD_TIMEDOUT, &adapter->work_flags); in nxpwifi_cmd_timeout_func()
874 &adapter->work_flags)); in nxpwifi_cmd_timeout_func()
1023 &priv->adapter->work_flags)) { in nxpwifi_hs_activated_event()
[all …]
H A Dsdio.c208 if (!test_bit(NXPWIFI_IS_SUSPENDED, &adapter->work_flags)) in nxpwifi_write_reg_locked()
211 clear_bit(NXPWIFI_IS_SUSPENDED, &adapter->work_flags); in nxpwifi_write_reg_locked()
273 if (test_bit(NXPWIFI_IS_SUSPENDED, &adapter->work_flags)) { in nxpwifi_write_data_sync()
441 clear_bit(NXPWIFI_IS_HS_ENABLING, &adapter->work_flags); in nxpwifi_sdio_suspend()
453 set_bit(NXPWIFI_IS_SUSPENDED, &adapter->work_flags); in nxpwifi_sdio_coredump()
454 clear_bit(NXPWIFI_IS_HS_ENABLING, &adapter->work_flags); in nxpwifi_sdio_coredump()
466 &card->work_flags))
1824 clear_bit(NXPWIFI_IFACE_WORK_DEVICE_DUMP, &card->work_flags); in nxpwifi_sdio_card_reset_work()
1825 clear_bit(NXPWIFI_IFACE_WORK_CARD_RESET, &card->work_flags); in nxpwifi_sdio_card_reset_work()
2153 &card->work_flags)) in nxpwifi_sdio_card_reset()
[all...]
H A Dutil.c172 &adapter->work_flags); in nxpwifi_get_debug_info()
175 &adapter->work_flags); in nxpwifi_get_debug_info()
1346 if (test_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags) || in nxpwifi_queue_work()
1347 test_bit(NXPWIFI_IS_CMD_TIMEDOUT, &adapter->work_flags) || in nxpwifi_queue_work()
1348 test_bit(NXPWIFI_IS_SUSPENDED, &adapter->work_flags)) { in nxpwifi_queue_work()
H A Dsta_tx.c105 if (test_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags)) in nxpwifi_send_null_packet()
H A Dinit.c188 clear_bit(NXPWIFI_SURPRISE_REMOVED, &adapter->work_flags); in nxpwifi_init_adapter()
225 clear_bit(NXPWIFI_IS_HS_CONFIGURED, &adapter->work_flags); in nxpwifi_init_adapter()
H A Dsta_cfg.c341 &adapter->work_flags)) in nxpwifi_set_hs_params()
444 set_bit(NXPWIFI_IS_HS_ENABLING, &adapter->work_flags); in nxpwifi_enable_hs()
504 &adapter->work_flags); in nxpwifi_get_bss_info()
H A Dsdio.h253 unsigned long work_flags;
252 unsigned long work_flags; global() member
/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()
2687 clear_bit(MWIFIEX_IFACE_WORK_DEVICE_DUMP, &card->work_flags); in mwifiex_sdio_card_reset_work()
2688 clear_bit(MWIFIEX_IFACE_WORK_CARD_RESET, &card->work_flags); in mwifiex_sdio_card_reset_work()
3025 &card->work_flags)) in mwifiex_sdio_work()
[all...]
H A Dpcie.c319 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_pcie_suspend()
327 set_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_pcie_suspend()
328 clear_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_pcie_suspend()
354 if (!test_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags)) { in mwifiex_pcie_resume()
360 clear_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags); in mwifiex_pcie_resume()
478 &card->work_flags)) in mwifiex_pcie_coredump()
527 clear_bit(MWIFIEX_IFACE_WORK_DEVICE_DUMP, &card->work_flags); in mwifiex_pcie_reset_prepare()
528 clear_bit(MWIFIEX_IFACE_WORK_CARD_RESET, &card->work_flags); in mwifiex_pcie_reset_prepare()
2471 if (test_bit(MWIFIEX_SURPRISE_REMOVED, &adapter->work_flags)) in mwifiex_pcie_interrupt()
2834 &card->work_flags)) in mwifiex_pcie_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.c488 &adapter->work_flags)) in mwifiex_set_hs_params()
603 set_bit(MWIFIEX_IS_HS_ENABLING, &adapter->work_flags); in mwifiex_enable_hs()
670 &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()
/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.c694 clear_bit(IP_VS_WORK_SVC_RESIZE, &ipvs->work_flags); in svc_resize_work_handler()
729 &ipvs->work_flags)) in svc_resize_work_handler()
797 if (test_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags)) in svc_resize_work_handler()
823 test_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags)) in svc_resize_work_handler()
1953 clear_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags); in ip_vs_add_service()
1984 if (grow && !test_and_set_bit(IP_VS_WORK_SVC_RESIZE, &ipvs->work_flags)) in ip_vs_edit_service()
2218 set_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags); in ip_vs_flush()
2244 &ipvs->work_flags)) in ip_vs_service_nets_cleanup()
2266 if (!test_and_set_bit(IP_VS_WORK_SVC_NORESIZE, &ipvs->work_flags)) in ip_vs_forget_dev()
2762 &ipvs->work_flags))
[all...]
/linux/include/linux/
H A Dleds.h115 unsigned long work_flags;
114 unsigned long work_flags; global() member
H A Dworkqueue.h76 enum work_flags { enum

12