Searched refs:sleepable (Results 1 - 11 of 11) sorted by relevance
/linux-master/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, \ 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)
|
H A D | rxe_pool.c | 120 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
|
/linux-master/kernel/bpf/ |
H A D | trampoline.c | 307 * rcu_read_lock_trace to protect sleepable bpf progs 345 * Use call_rcu_tasks_trace() to wait for sleepable progs to finish. 1017 bool sleepable = prog->sleepable; local 1020 return sleepable ? __bpf_prog_enter_sleepable_recur : 1027 return sleepable ? __bpf_prog_enter_sleepable : __bpf_prog_enter; 1032 bool sleepable = prog->sleepable; local 1035 return sleepable ? __bpf_prog_exit_sleepable_recur : 1042 return sleepable [all...] |
H A D | bpf_iter.c | 550 /* Only allow sleepable program for resched-able iterator */ 551 if (prog->sleepable && !bpf_iter_target_support_resched(tinfo)) 700 if (prog->sleepable) {
|
H A D | core.c | 2706 bool sleepable; local 2709 sleepable = aux->prog->sleepable; 2714 if (sleepable)
|
H A D | syscall.c | 145 /* 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. 1689 /* These maps require sleepable context */ 2251 if (prog->sleepable) 2816 prog->sleepable = !!(attr->prog_flags & BPF_F_SLEEPABLE); 3046 bool sleepable = false; local 3050 sleepable = link->prog->sleepable; [all...] |
H A D | verifier.c | 5277 return env->prog->sleepable; 5280 /* The non-sleepable programs and sleepable programs with explicit bpf_rcu_read_lock() 6530 * happened in a sleepable program outside of bpf_rcu_read_lock() 6531 * section. In a non-sleepable program it's trusted while in RCU CS (aka MEM_RCU). 10221 verbose(env, "helper call might sleep in a non-sleepable prog\n"); 10245 verbose(env, "sleepable helper %s#%d in rcu_read_lock region\n", 11584 * LSM hooks and iters (both sleepable and non-sleepable) are safe. 11585 * Any sleepable prog 12100 bool sleepable, rcu_lock, rcu_unlock; local [all...] |
/linux-master/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 177 if (prog->sleepable)
|
/linux-master/include/linux/ |
H A D | bpf.h | 1544 sleepable:1; /* BPF program is sleepable */ member in struct:bpf_prog 1593 * if underlying BPF program is sleepable we go through tasks trace 2095 /* Notes on RCU design for bpf_prog_arrays containing sleepable programs: 2101 * When a non-sleepable program is inside the array, we take the rcu read 2129 if (!prog->sleepable) 2136 if (!prog->sleepable)
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 3259 bool sleepable = prog->sleepable; local 3266 if (sleepable) 3279 if (sleepable)
|
/linux-master/kernel/events/ |
H A D | core.c | 10556 if (prog->type == BPF_PROG_TYPE_KPROBE && prog->sleepable && !is_uprobe) 10557 /* only uprobe programs are allowed to be sleepable */
|
Completed in 311 milliseconds