| /linux-6.15/drivers/infiniband/sw/rxe/ |
| H A D | rxe_pool.h | 59 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 D | rxe_pool.c | 120 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()
|
| /linux-6.15/kernel/bpf/ |
| H A D | trampoline.c | 1060 bool sleepable = prog->sleepable; in bpf_trampoline_enter() local 1063 return sleepable ? __bpf_prog_enter_sleepable_recur : in bpf_trampoline_enter() 1070 return sleepable ? __bpf_prog_enter_sleepable : __bpf_prog_enter; in bpf_trampoline_enter() 1075 bool sleepable = prog->sleepable; in bpf_trampoline_exit() local 1078 return sleepable ? __bpf_prog_exit_sleepable_recur : in bpf_trampoline_exit() 1085 return sleepable ? __bpf_prog_exit_sleepable : __bpf_prog_exit; in bpf_trampoline_exit()
|
| H A D | bpf_iter.c | 549 if (prog->sleepable && !bpf_iter_target_support_resched(tinfo)) in bpf_iter_link_attach() 698 if (prog->sleepable) { in bpf_iter_run_prog()
|
| H A D | syscall.c | 2340 if (prog->sleepable) in __bpf_prog_put_noref() 2892 prog->sleepable = !!(attr->prog_flags & BPF_F_SLEEPABLE); in bpf_prog_load() 3071 bool sleepable) in bpf_link_init_sleepable() argument 3076 link->sleepable = sleepable; in bpf_link_init_sleepable() 3166 if (link->sleepable || (link->prog && link->prog->sleepable)) in bpf_link_free() 5760 if (prog->sleepable) in bpf_prog_bind_map()
|
| H A D | core.c | 2810 bool sleepable; in __bpf_free_used_maps() local 2813 sleepable = aux->prog->sleepable; in __bpf_free_used_maps() 2818 if (sleepable) in __bpf_free_used_maps()
|
| H A D | verifier.c | 5799 return env->prog->sleepable || in in_sleepable() 13486 sleepable = is_kfunc_sleepable(&meta); in check_kfunc_call() 13487 if (sleepable && !in_sleepable(env)) { in check_kfunc_call() 13549 } else if (sleepable) { in check_kfunc_call() 13565 } else if (sleepable) { in check_kfunc_call() 13576 if (env->cur_state->active_irq_id && sleepable) { in check_kfunc_call() 19962 if (prog->sleepable) in check_map_prog_compatibility() 20040 if (env->prog->sleepable) in __add_used_map() 21102 func[i]->sleepable = prog->sleepable; in jit_subprogs() 23316 if (prog->sleepable) { in bpf_check_attach_target() [all …]
|
| /linux-6.15/drivers/infiniband/hw/erdma/ |
| H A D | erdma_cmdq.c | 399 u64 *resp0, u64 *resp1, bool sleepable) in erdma_post_cmd_wait() argument 407 if (!sleepable) { in erdma_post_cmd_wait() 426 if (sleepable) in erdma_post_cmd_wait()
|
| H A D | erdma.h | 268 u64 *resp0, u64 *resp1, bool sleepable);
|
| /linux-6.15/Documentation/mm/ |
| H A D | balance.rst | 19 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.15/drivers/hid/bpf/ |
| H A D | hid_bpf_struct_ops.c | 51 if (prog->sleepable) in hid_bpf_ops_check_member()
|
| /linux-6.15/Documentation/driver-api/gpio/ |
| H A D | driver.rst | 84 sleepable APIs (like PM runtime) in its gpio_chip implementation (.get/.set 299 spinlock_t or any sleepable APIs (like PM runtime) as part of its irqchip 303 - If sleepable APIs have to be used, these can be done from the .irq_bus_lock() 331 threaded on -RT. As a result, spinlock_t or any sleepable APIs (like PM 739 - ensure that sleepable APIs are not used as part irq_chip implementation 740 If sleepable APIs have to be used, these can be done from the .irq_bus_lock() 742 - Chained GPIO irqchips: ensure spinlock_t or any sleepable APIs are not used
|
| /linux-6.15/net/bpf/ |
| H A D | bpf_dummy_struct_ops.c | 228 if (prog->sleepable) in bpf_dummy_ops_check_member()
|
| /linux-6.15/include/linux/ |
| H A D | bpf.h | 1647 sleepable:1; /* BPF program is sleepable */ member 1684 bool sleepable; member 2256 if (!prog->sleepable) in bpf_prog_run_array_uprobe() 2263 if (!prog->sleepable) in bpf_prog_run_array_uprobe() 2473 bool sleepable); 2831 bool sleepable) in bpf_link_init_sleepable() argument
|
| /linux-6.15/kernel/trace/ |
| H A D | bpf_trace.c | 1518 return prog->sleepable ? &bpf_get_task_stack_sleepable_proto in bpf_tracing_func_proto() 1601 return prog->sleepable ? &bpf_get_stack_sleepable_proto : &bpf_get_stack_proto; in kprobe_prog_func_proto() 3280 bool sleepable = prog->sleepable; in uprobe_prog_run() local 3287 if (sleepable) in uprobe_prog_run() 3300 if (sleepable) in uprobe_prog_run()
|
| /linux-6.15/Documentation/locking/ |
| H A D | hwspinlock.rst | 147 or sleepable operations under the hardware lock. 229 or sleepable operations under the hardware lock.
|
| H A D | mutex-design.rst | 69 While formally kernel mutexes are sleepable locks, it is path (ii) that
|
| /linux-6.15/Documentation/hid/ |
| H A D | hid-bpf.rst | 176 Note that ``hid_rdesc_fixup`` can be declared as sleepable (``SEC("struct_ops.s/hid_rdesc_fixup")``… 201 Available API that can be used in syscall HID-BPF programs or in sleepable HID-BPF struct_ops progr…
|
| /linux-6.15/tools/sched_ext/ |
| H A D | README.md | 178 useful BPF features, such as sleepable per-task storage allocation in the
|
| /linux-6.15/tools/memory-model/Documentation/ |
| H A D | ordering.txt | 118 sleepable contexts. Therefore, RCU's grace-period primitives are
|
| /linux-6.15/Documentation/RCU/ |
| H A D | checklist.rst | 407 and srcu_read_unlock()), hence the "SRCU": "sleepable RCU".
|
| /linux-6.15/Documentation/bpf/ |
| H A D | kfuncs.rst | 299 be called by sleepable BPF programs (BPF_F_SLEEPABLE).
|
| /linux-6.15/Documentation/networking/ |
| H A D | timestamping.rst | 750 necessary when retrieving the timestamp needs a sleepable context. In
|
| /linux-6.15/Documentation/RCU/Design/Requirements/ |
| H A D | Requirements.rst | 1099 | read-side critical sections, and also within Linux-kernel sleepable | 2469 introduction of `sleepable RCU <https://lwn.net/Articles/202847/>`__, or
|
| /linux-6.15/kernel/sched/ |
| H A D | ext.c | 5709 if (prog->sleepable) in bpf_scx_check_member()
|