Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_pool.h62 bool sleepable);
64 #define rxe_add_to_pool_ah(pool, obj, sleepable) __rxe_add_to_pool(pool, \ argument
65 &(obj)->elem, sleepable)
76 int __rxe_cleanup(struct rxe_pool_elem *elem, bool sleepable);
78 #define rxe_cleanup_ah(obj, sleepable) __rxe_cleanup(&(obj)->elem, sleepable) argument
Drxe_pool.c160 bool sleepable) in __rxe_add_to_pool() argument
180 gfp_flags = sleepable ? GFP_KERNEL : GFP_ATOMIC; in __rxe_add_to_pool()
182 if (sleepable) in __rxe_add_to_pool()
220 int __rxe_cleanup(struct rxe_pool_elem *elem, bool sleepable) in __rxe_cleanup() argument
228 if (sleepable) in __rxe_cleanup()
247 if (sleepable) { in __rxe_cleanup()
/linux-6.1.9/kernel/bpf/
Dbpf_lsm.c224 return prog->aux->sleepable ? &bpf_ima_inode_hash_proto : NULL; in bpf_lsm_func_proto()
226 return prog->aux->sleepable ? &bpf_ima_file_hash_proto : NULL; in bpf_lsm_func_proto()
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()
Dbtf.c6241 bool sleepable = false; in btf_check_func_arg_match() local
6279 sleepable = kfunc_meta->flags & KF_SLEEPABLE; in btf_check_func_arg_match()
6562 if (sleepable && !env->prog->aux->sleepable) { in btf_check_func_arg_match()
Dverifier.c12715 if (prog->aux->sleepable) { in check_map_prog_compatibility()
12739 if (prog->aux->sleepable) in check_map_prog_compatibility()
14195 if (env->prog->aux->sleepable) in do_misc_fixups()
15052 if (prog->aux->sleepable) { in bpf_check_attach_target()
15119 if (prog->aux->sleepable) in BTF_SET_START()
15126 if (prog->aux->sleepable && prog->type != BPF_PROG_TYPE_TRACING && in BTF_SET_START()
Dsyscall.c2038 if (prog->aux->sleepable) in __bpf_prog_put_noref()
2563 prog->aux->sleepable = attr->prog_flags & BPF_F_SLEEPABLE; in bpf_prog_load()
/linux-6.1.9/Documentation/mm/
Dbalance.rst21 In the absence of non sleepable allocation requests, it seems detrimental
67 for non-sleepable allocations. Second, the HIGHMEM zone is also balanced,
/linux-6.1.9/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.1.9/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.1.9/Documentation/bpf/
Dkfuncs.rst161 be called by sleepable BPF programs (BPF_F_SLEEPABLE).
/linux-6.1.9/include/linux/
Dbpf.h1153 bool sleepable; member
1654 if (!prog->aux->sleepable) in bpf_prog_run_array_sleepable()
1661 if (!prog->aux->sleepable) in bpf_prog_run_array_sleepable()
/linux-6.1.9/kernel/rcu/
DKconfig59 This option selects the sleepable version of RCU. This version
/linux-6.1.9/kernel/trace/
Dbpf_trace.c1483 return prog->aux->sleepable ? &bpf_copy_from_user_proto : NULL; in bpf_tracing_func_proto()
1485 return prog->aux->sleepable ? &bpf_copy_from_user_task_proto : NULL; in bpf_tracing_func_proto()
/linux-6.1.9/tools/memory-model/Documentation/
Dordering.txt118 sleepable contexts. Therefore, RCU's grace-period primitives are
Dlitmus-tests.txt1031 e. Although sleepable RCU (SRCU) is now modeled, there
/linux-6.1.9/Documentation/RCU/
Dchecklist.rst377 and srcu_read_unlock()), hence the "SRCU": "sleepable RCU".
DRTFP.txt2078 RCU, realtime RCU, sleepable RCU, performance.
/linux-6.1.9/arch/x86/net/
Dbpf_jit_comp.c1838 if (p->aux->sleepable) { in invoke_bpf_prog()
/linux-6.1.9/arch/arm64/net/
Dbpf_jit_comp.c1652 if (p->aux->sleepable) { in invoke_bpf_prog()
/linux-6.1.9/Documentation/networking/
Dtimestamping.rst669 necessary when retrieving the timestamp needs a sleepable context. In
/linux-6.1.9/Documentation/RCU/Design/Requirements/
DRequirements.rst1099 | read-side critical sections, and also within Linux-kernel sleepable |
2502 introduction of `sleepable RCU <https://lwn.net/Articles/202847/>`__, or
/linux-6.1.9/kernel/events/
Dcore.c10269 if (prog->type == BPF_PROG_TYPE_KPROBE && prog->aux->sleepable && !is_uprobe) in perf_event_set_bpf_prog()