Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/sw/rxe/
H A 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
H A 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
184 if (sleepable) in __rxe_cleanup()
203 if (sleepable) { in __rxe_cleanup()
/openbmc/linux/kernel/bpf/
H A 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()
H A 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()
H A Dcore.c2697 bool sleepable; in __bpf_free_used_maps() local
2700 sleepable = aux->sleepable; in __bpf_free_used_maps()
2705 if (sleepable) in __bpf_free_used_maps()
H A Dsyscall.c2160 if (prog->aux->sleepable) in __bpf_prog_put_noref()
2689 prog->aux->sleepable = attr->prog_flags & BPF_F_SLEEPABLE; in bpf_prog_load()
2906 bool sleepable = false; in bpf_link_free() local
2910 sleepable = link->prog->aux->sleepable; in bpf_link_free()
2919 if (sleepable) in bpf_link_free()
5406 if (prog->aux->sleepable) in bpf_prog_bind_map()
H A Dverifier.c5324 !env->prog->aux->sleepable; in in_rcu_cs()
9984 if (!env->prog->aux->sleepable && fn->might_sleep) { in check_helper_call()
10014 if (env->prog->aux->sleepable && is_storage_get_function(func_id)) in check_helper_call()
11722 bool sleepable, rcu_lock, rcu_unlock; in check_kfunc_call() local
11749 sleepable = is_kfunc_sleepable(&meta); in check_kfunc_call()
11750 if (sleepable && !env->prog->aux->sleepable) { in check_kfunc_call()
11793 } else if (sleepable) { in check_kfunc_call()
17557 if (prog->aux->sleepable) in check_map_prog_compatibility()
17741 if (env->prog->aux->sleepable) in resolve_pseudo_ldimm64()
19151 if (!env->prog->aux->sleepable || in do_misc_fixups()
[all …]
/openbmc/linux/Documentation/mm/
H A 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,
/openbmc/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c167 if (prog->aux->sleepable) in bpf_dummy_ops_check_member()
/openbmc/linux/Documentation/driver-api/gpio/
H A 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
/openbmc/linux/Documentation/locking/
H A Dmutex-design.rst69 While formally kernel mutexes are sleepable locks, it is path (ii) that
H A Dhwspinlock.rst158 or sleepable operations under the hardware lock.
240 or sleepable operations under the hardware lock.
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c3111 bool sleepable = prog->aux->sleepable; in uprobe_prog_run() local
3117 if (sleepable) in uprobe_prog_run()
3130 if (sleepable) in uprobe_prog_run()
/openbmc/linux/include/linux/
H A Dbpf.h1430 bool sleepable; member
2013 if (!prog->aux->sleepable) in bpf_prog_run_array_uprobe()
2020 if (!prog->aux->sleepable) in bpf_prog_run_array_uprobe()
/openbmc/linux/tools/memory-model/Documentation/
H A Dordering.txt118 sleepable contexts. Therefore, RCU's grace-period primitives are
/openbmc/linux/Documentation/RCU/
H A Dchecklist.rst401 and srcu_read_unlock()), hence the "SRCU": "sleepable RCU".
H A DRTFP.txt2078 RCU, realtime RCU, sleepable RCU, performance.
/openbmc/linux/Documentation/bpf/
H A Dkfuncs.rst277 be called by sleepable BPF programs (BPF_F_SLEEPABLE).
/openbmc/linux/Documentation/networking/
H A Dtimestamping.rst699 necessary when retrieving the timestamp needs a sleepable context. In
/openbmc/linux/Documentation/RCU/Design/Requirements/
H A DRequirements.rst1099 | read-side critical sections, and also within Linux-kernel sleepable |
2468 introduction of `sleepable RCU <https://lwn.net/Articles/202847/>`__, or
/openbmc/linux/kernel/events/
H A Dcore.c10603 if (prog->type == BPF_PROG_TYPE_KPROBE && prog->aux->sleepable && !is_uprobe) in perf_event_set_bpf_prog()
10604 /* only uprobe programs are allowed to be sleepable */ in perf_event_set_bpf_prog()
/openbmc/linux/
H A Dopengrok1.0.log[all...]