Home
last modified time | relevance | path

Searched refs:sleepable (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_pool.h59 bool sleepable);
61 #define rxe_add_to_pool_ah(pool, obj, sleepable) __rxe_add_to_pool(pool, \ argument
62 &(obj)->elem, sleepable)
73 int __rxe_cleanup(struct rxe_pool_elem *elem, bool sleepable);
75 #define rxe_cleanup_ah(obj, sleepable) __rxe_cleanup(&(obj)->elem, sleepable) argument
Drxe_pool.c120 bool sleepable) in __rxe_add_to_pool() argument
137 gfp_flags = sleepable ? GFP_KERNEL : GFP_ATOMIC; in __rxe_add_to_pool()
139 if (sleepable) in __rxe_add_to_pool()
177 int __rxe_cleanup(struct rxe_pool_elem *elem, bool sleepable) in __rxe_cleanup() argument
185 if (sleepable) in __rxe_cleanup()
204 if (sleepable) { in __rxe_cleanup()
/linux-6.6.21/kernel/bpf/
Dtrampoline.c1006 bool sleepable = prog->aux->sleepable; in bpf_trampoline_enter() local
1009 return sleepable ? __bpf_prog_enter_sleepable_recur : in bpf_trampoline_enter()
1016 return sleepable ? __bpf_prog_enter_sleepable : __bpf_prog_enter; in bpf_trampoline_enter()
1021 bool sleepable = prog->aux->sleepable; in bpf_trampoline_exit() local
1024 return sleepable ? __bpf_prog_exit_sleepable_recur : in bpf_trampoline_exit()
1031 return sleepable ? __bpf_prog_exit_sleepable : __bpf_prog_exit; in bpf_trampoline_exit()
Dbpf_iter.c551 if (prog->aux->sleepable && !bpf_iter_target_support_resched(tinfo)) in bpf_iter_link_attach()
700 if (prog->aux->sleepable) { in bpf_iter_run_prog()
Dverifier.c5311 !env->prog->aux->sleepable; in in_rcu_cs()
9972 if (!env->prog->aux->sleepable && fn->might_sleep) { in check_helper_call()
10002 if (env->prog->aux->sleepable && is_storage_get_function(func_id)) in check_helper_call()
11710 bool sleepable, rcu_lock, rcu_unlock; in check_kfunc_call() local
11737 sleepable = is_kfunc_sleepable(&meta); in check_kfunc_call()
11738 if (sleepable && !env->prog->aux->sleepable) { in check_kfunc_call()
11781 } else if (sleepable) { in check_kfunc_call()
17524 if (prog->aux->sleepable) in check_map_prog_compatibility()
19117 if (!env->prog->aux->sleepable || in do_misc_fixups()
19993 if (prog->aux->sleepable) { in bpf_check_attach_target()
[all …]
Dsyscall.c2156 if (prog->aux->sleepable) in __bpf_prog_put_noref()
2685 prog->aux->sleepable = attr->prog_flags & BPF_F_SLEEPABLE; in bpf_prog_load()
/linux-6.6.21/Documentation/mm/
Dbalance.rst19 In the absence of non sleepable allocation requests, it seems detrimental
65 for non-sleepable allocations. Second, the HIGHMEM zone is also balanced,
/linux-6.6.21/net/bpf/
Dbpf_dummy_struct_ops.c167 if (prog->aux->sleepable) in bpf_dummy_ops_check_member()
/linux-6.6.21/Documentation/driver-api/gpio/
Ddriver.rst85 sleepable APIs (like PM runtime) in its gpio_chip implementation (.get/.set
300 spinlock_t or any sleepable APIs (like PM runtime) as part of its irqchip
304 - If sleepable APIs have to be used, these can be done from the .irq_bus_lock()
332 threaded on -RT. As a result, spinlock_t or any sleepable APIs (like PM
740 - ensure that sleepable APIs are not used as part irq_chip implementation
741 If sleepable APIs have to be used, these can be done from the .irq_bus_lock()
743 - Chained GPIO irqchips: ensure spinlock_t or any sleepable APIs are not used
/linux-6.6.21/Documentation/locking/
Dmutex-design.rst69 While formally kernel mutexes are sleepable locks, it is path (ii) that
Dhwspinlock.rst147 or sleepable operations under the hardware lock.
229 or sleepable operations under the hardware lock.
/linux-6.6.21/kernel/trace/
Dbpf_trace.c3097 bool sleepable = prog->aux->sleepable; in uprobe_prog_run() local
3104 if (sleepable) in uprobe_prog_run()
3117 if (sleepable) in uprobe_prog_run()
/linux-6.6.21/include/linux/
Dbpf.h1416 bool sleepable; member
1986 if (!prog->aux->sleepable) in bpf_prog_run_array_uprobe()
1993 if (!prog->aux->sleepable) in bpf_prog_run_array_uprobe()
/linux-6.6.21/tools/memory-model/Documentation/
Dordering.txt118 sleepable contexts. Therefore, RCU's grace-period primitives are
/linux-6.6.21/Documentation/bpf/
Dkfuncs.rst277 be called by sleepable BPF programs (BPF_F_SLEEPABLE).
/linux-6.6.21/Documentation/RCU/
Dchecklist.rst401 and srcu_read_unlock()), hence the "SRCU": "sleepable RCU".
DRTFP.txt2078 RCU, realtime RCU, sleepable RCU, performance.
/linux-6.6.21/Documentation/networking/
Dtimestamping.rst699 necessary when retrieving the timestamp needs a sleepable context. In
/linux-6.6.21/Documentation/RCU/Design/Requirements/
DRequirements.rst1099 | read-side critical sections, and also within Linux-kernel sleepable |
2468 introduction of `sleepable RCU <https://lwn.net/Articles/202847/>`__, or
/linux-6.6.21/kernel/events/
Dcore.c10540 if (prog->type == BPF_PROG_TYPE_KPROBE && prog->aux->sleepable && !is_uprobe) in perf_event_set_bpf_prog()