Home
last modified time | relevance | path

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

/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
185 if (sleepable) in __rxe_cleanup()
204 if (sleepable) { in __rxe_cleanup()
/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,
/linux/Documentation/driver-api/gpio/
H A Ddriver.rst84 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/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c51 if (prog->sleepable) in hid_bpf_ops_check_member()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c228 if (prog->sleepable) in bpf_dummy_ops_check_member()
/linux/kernel/bpf/
H A Dbpf_iter.c550 if (prog->sleepable && !bpf_iter_target_support_resched(tinfo)) in bpf_iter_link_attach()
699 if (prog->sleepable) { in bpf_iter_run_prog()
H A Dsyscall.c2316 if (prog->sleepable) in __bpf_prog_put_noref()
2868 prog->sleepable = !!(attr->prog_flags & BPF_F_SLEEPABLE); in bpf_prog_load()
3047 bool sleepable) in bpf_link_init_sleepable() argument
3052 link->sleepable = sleepable; in bpf_link_init_sleepable()
3142 if (link->sleepable || (link->prog && link->prog->sleepable)) in bpf_link_free()
5716 if (prog->sleepable) in bpf_prog_bind_map()
H A Dcore.c2744 bool sleepable; in __bpf_free_used_maps() local
2747 sleepable = aux->prog->sleepable; in __bpf_free_used_maps()
2752 if (sleepable) in __bpf_free_used_maps()
H A Dverifier.c5494 return env->prog->sleepable || in in_sleepable()
12658 bool sleepable, rcu_lock, rcu_unlock, preempt_disable, preempt_enable; in check_kfunc_call() local
12689 sleepable = is_kfunc_sleepable(&meta); in check_kfunc_call()
12690 if (sleepable && !in_sleepable(env)) { in check_kfunc_call()
12752 } else if (sleepable) { in check_kfunc_call()
12768 } else if (sleepable) { in check_kfunc_call()
19115 if (prog->sleepable) in check_map_prog_compatibility()
19181 if (env->prog->sleepable) in add_used_map_from_fd()
20249 func[i]->sleepable = prog->sleepable; in jit_subprogs()
22352 if (prog->sleepable) { in bpf_check_attach_target()
[all …]
/linux/include/linux/
H A Dbpf.h1616 sleepable:1; /* BPF program is sleepable */ member
1653 bool sleepable; member
2219 if (!prog->sleepable) in bpf_prog_run_array_uprobe()
2226 if (!prog->sleepable) in bpf_prog_run_array_uprobe()
2419 bool sleepable);
2777 bool sleepable) in bpf_link_init_sleepable() argument
/linux/kernel/trace/
H A Dbpf_trace.c1536 return prog->sleepable ? &bpf_get_task_stack_sleepable_proto in bpf_tracing_func_proto()
1604 return prog->sleepable ? &bpf_get_stack_sleepable_proto : &bpf_get_stack_proto; in kprobe_prog_func_proto()
3258 bool sleepable = prog->sleepable; in uprobe_prog_run() local
3265 if (sleepable) in uprobe_prog_run()
3278 if (sleepable) in uprobe_prog_run()
/linux/Documentation/locking/
H A Dhwspinlock.rst158 or sleepable operations under the hardware lock.
240 or sleepable operations under the hardware lock.
H A Dmutex-design.rst69 While formally kernel mutexes are sleepable locks, it is path (ii) that
/linux/Documentation/hid/
H A Dhid-bpf.rst176 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/tools/sched_ext/
H A DREADME.md178 useful BPF features, such as sleepable per-task storage allocation in the
/linux/tools/memory-model/Documentation/
H A Dordering.txt118 sleepable contexts. Therefore, RCU's grace-period primitives are
/linux/Documentation/bpf/
H A Dkfuncs.rst299 be called by sleepable BPF programs (BPF_F_SLEEPABLE).
/linux/Documentation/RCU/
H A Dchecklist.rst407 and srcu_read_unlock()), hence the "SRCU": "sleepable RCU".
H A DRTFP.txt2078 RCU, realtime RCU, sleepable RCU, performance.
/linux/Documentation/networking/
H A Dtimestamping.rst732 necessary when retrieving the timestamp needs a sleepable context. In
/linux/Documentation/RCU/Design/Requirements/
H A DRequirements.rst1099 | read-side critical sections, and also within Linux-kernel sleepable |
2469 introduction of `sleepable RCU <https://lwn.net/Articles/202847/>`__, or
/linux/kernel/sched/
H A Dext.c5886 if (prog->sleepable) in bpf_scx_check_member()
/linux/kernel/events/
H A Dcore.c10770 if (prog->type == BPF_PROG_TYPE_KPROBE && prog->sleepable && !is_uprobe) in perf_event_set_bpf_prog()