Searched refs:sleepable (Results 1 - 11 of 11) sorted by path

/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_pool.c120 bool sleepable)
135 * call is not sleepable use GFP_ATOMIC.
137 gfp_flags = sleepable ? GFP_KERNEL : GFP_ATOMIC;
139 if (sleepable)
177 int __rxe_cleanup(struct rxe_pool_elem *elem, bool sleepable) argument
185 if (sleepable)
204 if (sleepable) {
222 * when the destroy_ah call is not sleepable
119 __rxe_add_to_pool(struct rxe_pool *pool, struct rxe_pool_elem *elem, bool sleepable) argument
H A Drxe_pool.h59 bool sleepable);
61 #define rxe_add_to_pool_ah(pool, obj, sleepable) __rxe_add_to_pool(pool, \
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)
/linux-master/include/linux/
H A Dbpf.h1554 sleepable:1; /* BPF program is sleepable */ member in struct:bpf_prog
1603 * if underlying BPF program is sleepable we go through tasks trace
2111 /* Notes on RCU design for bpf_prog_arrays containing sleepable programs:
2117 * When a non-sleepable program is inside the array, we take the rcu read
2145 if (!prog->sleepable)
2152 if (!prog->sleepable)
/linux-master/kernel/bpf/
H A Dbpf_iter.c550 /* Only allow sleepable program for resched-able iterator */
551 if (prog->sleepable && !bpf_iter_target_support_resched(tinfo))
700 if (prog->sleepable) {
H A Dcore.c2726 bool sleepable; local
2729 sleepable = aux->prog->sleepable;
2734 if (sleepable)
H A Dsyscall.c145 /* Wait for any running non-sleepable BPF programs to complete so that
146 * userspace, when we return to it, knows that all non-sleepable
147 * programs that could be running use the new map value. For sleepable
151 * so don't handle sleepable BPF programs now.
1702 /* These maps require sleepable context */
2264 if (prog->sleepable)
2829 prog->sleepable = !!(attr->prog_flags & BPF_F_SLEEPABLE);
3059 bool sleepable = false; local
3063 sleepable = link->prog->sleepable;
[all...]
H A Dtrampoline.c307 * rcu_read_lock_trace to protect sleepable bpf progs
345 * Use call_rcu_tasks_trace() to wait for sleepable progs to finish.
1020 bool sleepable = prog->sleepable; local
1023 return sleepable ? __bpf_prog_enter_sleepable_recur :
1030 return sleepable ? __bpf_prog_enter_sleepable : __bpf_prog_enter;
1035 bool sleepable = prog->sleepable; local
1038 return sleepable ? __bpf_prog_exit_sleepable_recur :
1045 return sleepable
[all...]
H A Dverifier.c5291 return env->prog->sleepable ||
5295 /* The non-sleepable programs and sleepable programs with explicit bpf_rcu_read_lock()
6555 * happened in a sleepable program outside of bpf_rcu_read_lock()
6556 * section. In a non-sleepable program it's trusted while in RCU CS (aka MEM_RCU).
10277 verbose(env, "helper call might sleep in a non-sleepable prog\n");
10301 verbose(env, "sleepable helper %s#%d in rcu_read_lock region\n",
10312 verbose(env, "sleepable helper %s#%d in non-preemptible region\n",
11697 * LSM hooks and iters (both sleepable and non-sleepable) ar
12247 bool sleepable, rcu_lock, rcu_unlock, preempt_disable, preempt_enable; local
[all...]
/linux-master/kernel/events/
H A Dcore.c10573 if (prog->type == BPF_PROG_TYPE_KPROBE && prog->sleepable && !is_uprobe)
10574 /* only uprobe programs are allowed to be sleepable */
/linux-master/kernel/trace/
H A Dbpf_trace.c3294 bool sleepable = prog->sleepable; local
3301 if (sleepable)
3314 if (sleepable)
/linux-master/net/bpf/
H A Dbpf_dummy_struct_ops.c228 if (prog->sleepable)

Completed in 332 milliseconds