Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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.c5067 !env->prog->aux->sleepable; in in_rcu_cs()
9569 if (!env->prog->aux->sleepable && fn->might_sleep) { in check_helper_call()
9599 if (env->prog->aux->sleepable && is_storage_get_function(func_id)) in check_helper_call()
11290 bool sleepable, rcu_lock, rcu_unlock; in check_kfunc_call() local
11317 sleepable = is_kfunc_sleepable(&meta); in check_kfunc_call()
11318 if (sleepable && !env->prog->aux->sleepable) { in check_kfunc_call()
11346 } else if (sleepable) { in check_kfunc_call()
16998 if (prog->aux->sleepable) in check_map_prog_compatibility()
18591 if (!env->prog->aux->sleepable || in do_misc_fixups()
19467 if (prog->aux->sleepable) { in bpf_check_attach_target()
[all …]
Dsyscall.c2124 if (prog->aux->sleepable) in __bpf_prog_put_noref()
2653 prog->aux->sleepable = attr->prog_flags & BPF_F_SLEEPABLE; in bpf_prog_load()
/Linux-v6.6/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-v6.6/net/bpf/
Dbpf_dummy_struct_ops.c167 if (prog->aux->sleepable) in bpf_dummy_ops_check_member()
/Linux-v6.6/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-v6.6/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-v6.6/kernel/trace/
Dbpf_trace.c3092 bool sleepable = prog->aux->sleepable; in uprobe_prog_run() local
3099 if (sleepable) in uprobe_prog_run()
3112 if (sleepable) in uprobe_prog_run()
/Linux-v6.6/include/linux/
Dbpf.h1398 bool sleepable; member
1968 if (!prog->aux->sleepable) in bpf_prog_run_array_uprobe()
1975 if (!prog->aux->sleepable) in bpf_prog_run_array_uprobe()
/Linux-v6.6/tools/memory-model/Documentation/
Dordering.txt118 sleepable contexts. Therefore, RCU's grace-period primitives are
/Linux-v6.6/Documentation/bpf/
Dkfuncs.rst277 be called by sleepable BPF programs (BPF_F_SLEEPABLE).
/Linux-v6.6/Documentation/RCU/
Dchecklist.rst401 and srcu_read_unlock()), hence the "SRCU": "sleepable RCU".
DRTFP.txt2078 RCU, realtime RCU, sleepable RCU, performance.
/Linux-v6.6/Documentation/networking/
Dtimestamping.rst699 necessary when retrieving the timestamp needs a sleepable context. In
/Linux-v6.6/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-v6.6/kernel/events/
Dcore.c10505 if (prog->type == BPF_PROG_TYPE_KPROBE && prog->aux->sleepable && !is_uprobe) in perf_event_set_bpf_prog()