Searched refs:might_sleep_if (Results 1 – 25 of 27) sorted by relevance
12
339 might_sleep_if(gfpflags_allow_blocking(gfp)); in __i915_sw_fence_await_sw_fence()475 might_sleep_if(gfpflags_allow_blocking(gfp)); in i915_sw_fence_await_dma_fence()574 might_sleep_if(gfpflags_allow_blocking(gfp)); in i915_sw_fence_await_reservation()
2044 might_sleep_if(slow_timeout_ms); in __intel_wait_for_register_fw()2093 might_sleep_if(slow_timeout_ms); in __intel_wait_for_register()
792 might_sleep_if(gfpflags_allow_blocking(gfp)); in __i915_request_create()
129 might_sleep_if(sleep_us); in lima_poll_timeout()
310 might_sleep_if(!(pool->flags & RXE_POOL_ATOMIC)); in rxe_alloc()349 might_sleep_if(!(pool->flags & RXE_POOL_ATOMIC)); in rxe_add_to_pool()
42 might_sleep_if((__sleep_us) != 0); \
259 #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) macro
1641 might_sleep_if(gfpflags_allow_blocking(pri)); in skb_unclone()1670 might_sleep_if(gfpflags_allow_blocking(pri)); in skb_header_unclone()1716 might_sleep_if(gfpflags_allow_blocking(pri)); in skb_share_check()1752 might_sleep_if(gfpflags_allow_blocking(pri)); in skb_unshare()
2131 might_sleep_if(gc->can_sleep); in gpiod_free_commit()3426 might_sleep_if(extra_checks); in gpiod_get_raw_value_cansleep()3445 might_sleep_if(extra_checks); in gpiod_get_value_cansleep()3476 might_sleep_if(extra_checks); in gpiod_get_raw_array_value_cansleep()3502 might_sleep_if(extra_checks); in gpiod_get_array_value_cansleep()3523 might_sleep_if(extra_checks); in gpiod_set_raw_value_cansleep()3541 might_sleep_if(extra_checks); in gpiod_set_value_cansleep()3564 might_sleep_if(extra_checks); in gpiod_set_raw_array_value_cansleep()3606 might_sleep_if(extra_checks); in gpiod_set_array_value_cansleep()
308 might_sleep_if(gfpflags_allow_blocking(gfp_flags)); in get_task_io_context()
1534 might_sleep_if(hctx->flags & BLK_MQ_F_BLOCKING); in __blk_mq_run_hw_queue()2060 might_sleep_if(hctx->flags & BLK_MQ_F_BLOCKING); in blk_mq_try_issue_directly()
1344 might_sleep_if(sleep_us); \1381 might_sleep_if(sleep_us); \1412 might_sleep_if(sleep_us); \
1071 might_sleep_if(!(rpmflags & RPM_ASYNC) && !dev->power.irq_safe); in __pm_runtime_idle()1105 might_sleep_if(!(rpmflags & RPM_ASYNC) && !dev->power.irq_safe); in __pm_runtime_suspend()1131 might_sleep_if(!(rpmflags & RPM_ASYNC) && !dev->power.irq_safe && in __pm_runtime_resume()
322 might_sleep_if(gfpflags_allow_blocking(mem_flags)); in dma_pool_alloc()
381 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in mempool_alloc()
513 might_sleep_if(gfpflags_allow_blocking(flags)); in slab_pre_alloc_hook()
583 might_sleep_if(gfpflags_allow_blocking(gfp)); in wb_get_create()
2344 might_sleep_if(!in_interrupt()); in vfree()
2985 might_sleep_if(gfpflags_allow_blocking(flags)); in cache_alloc_debugcheck_before()
4984 might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM); in prepare_alloc_pages()
511 might_sleep_if((__sleep_us) != 0); \
696 might_sleep_if(pdev->id.coreid != SSB_DEV_PCI); in ssb_pcicore_dev_irqvecs_enable()
481 might_sleep_if(req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP); in skcipher_walk_virt()
517 might_sleep_if(flags & RDMA_CREATE_AH_SLEEPABLE); in _rdma_create_ah()974 might_sleep_if(flags & RDMA_DESTROY_AH_SLEEPABLE); in rdma_destroy_ah_user()
1480 might_sleep_if(hctx->flags & BLK_MQ_F_BLOCKING); in null_queue_rq()