Home
last modified time | relevance | path

Searched refs:w (Results 1 – 20 of 20) sorted by relevance

/kernel/locking/
Dww_mutex.h11 struct mutex_waiter *w; in __ww_waiter_first() local
13 w = list_first_entry(&lock->wait_list, struct mutex_waiter, list); in __ww_waiter_first()
14 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_first()
17 return w; in __ww_waiter_first()
21 __ww_waiter_next(struct mutex *lock, struct mutex_waiter *w) in __ww_waiter_next() argument
23 w = list_next_entry(w, list); in __ww_waiter_next()
24 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_next()
27 return w; in __ww_waiter_next()
31 __ww_waiter_prev(struct mutex *lock, struct mutex_waiter *w) in __ww_waiter_prev() argument
33 w = list_prev_entry(w, list); in __ww_waiter_prev()
[all …]
Drtmutex_common.h114 struct rt_mutex_waiter *w = NULL; in rt_mutex_top_waiter() local
117 w = rb_entry(leftmost, struct rt_mutex_waiter, tree_entry); in rt_mutex_top_waiter()
118 BUG_ON(w->lock != lock); in rt_mutex_top_waiter()
120 return w; in rt_mutex_top_waiter()
Drtmutex.c515 struct rt_mutex_waiter *w) in rt_mutex_wake_q_add() argument
517 rt_mutex_wake_q_add_task(wqh, w->task, w->wake_state); in rt_mutex_wake_q_add()
1584 struct rt_mutex_waiter *w) in rt_mutex_handle_deadlock() argument
1593 if (build_ww_mutex() && w->ww_ctx) in rt_mutex_handle_deadlock()
/kernel/
Daudit_watch.c227 static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watch *w, char *op) in audit_watch_log_rule_change() argument
238 audit_log_untrustedstring(ab, w->path); in audit_watch_log_rule_change()
324 struct audit_watch *w, *nextw; in audit_remove_parent_watches() local
329 list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { in audit_remove_parent_watches()
330 list_for_each_entry_safe(r, nextr, &w->rules, rlist) { in audit_remove_parent_watches()
332 audit_watch_log_rule_change(r, w, "remove_rule"); in audit_remove_parent_watches()
340 audit_remove_watch(w); in audit_remove_parent_watches()
368 struct audit_watch *w, *watch = krule->watch; in audit_add_to_parent() local
373 list_for_each_entry(w, &parent->watches, wlist) { in audit_add_to_parent()
374 if (strcmp(watch->path, w->path)) in audit_add_to_parent()
[all …]
Daudit.h307 #define audit_put_watch(w) do { } while (0) argument
308 #define audit_get_watch(w) do { } while (0) argument
312 #define audit_watch_path(w) "" argument
313 #define audit_watch_compare(w, i, d) 0 argument
Dscftorture.c229 unsigned long w; in scf_sel_dump() local
233 w = (scfsp->scfs_weight - oldw) * 100000 / scf_sel_totweight; in scf_sel_dump()
234 pr_info("%s: %3lu.%03lu %s(%s)\n", __func__, w / 1000, w % 1000, in scf_sel_dump()
245 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand() local
248 if (scf_sel_array[i].scfs_weight >= w) in scf_sel_rand()
Dwatch_queue.c458 struct watch *w; in add_one_watch() local
460 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
461 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_one_watch()
462 if (wqueue == wq && watch->id == w->id) in add_one_watch()
Dpadata.c433 static void __init padata_mt_helper(struct work_struct *w) in padata_mt_helper() argument
435 struct padata_work *pw = container_of(w, struct padata_work, pw_work); in padata_mt_helper()
Dexit.c290 int rcuwait_wake_up(struct rcuwait *w) in rcuwait_wake_up() argument
310 task = rcu_dereference(w->task); in rcuwait_wake_up()
/kernel/futex/
Dwaitwake.c429 if ((vs[i].w.flags & FUTEX_PRIVATE_FLAG) && retry) in futex_wait_multiple_setup()
432 ret = get_futex_key(u64_to_user_ptr(vs[i].w.uaddr), in futex_wait_multiple_setup()
433 !(vs[i].w.flags & FUTEX_PRIVATE_FLAG), in futex_wait_multiple_setup()
443 u32 __user *uaddr = (u32 __user *)(unsigned long)vs[i].w.uaddr; in futex_wait_multiple_setup()
445 u32 val = (u32)vs[i].w.val; in futex_wait_multiple_setup()
Dsyscalls.c216 futexv[i].w.flags = aux.flags; in futex_parse_waitv()
217 futexv[i].w.val = aux.val; in futex_parse_waitv()
218 futexv[i].w.uaddr = aux.uaddr; in futex_parse_waitv()
Dfutex.h278 struct futex_waitv w; member
/kernel/sched/
Dpsi.c1210 int w; in psi_show() local
1214 for (w = 0; w < 3; w++) in psi_show()
1215 avg[w] = group->avg[res * 2 + full][w]; in psi_show()
Dsched.h147 # define scale_load(w) ((w) << SCHED_FIXEDPOINT_SHIFT) argument
148 # define scale_load_down(w) \ argument
150 unsigned long __w = (w); \
157 # define scale_load(w) (w) argument
158 # define scale_load_down(w) (w) argument
Dfair.c230 static inline void update_load_set(struct load_weight *lw, unsigned long w) in update_load_set() argument
232 lw->weight = w; in update_load_set()
288 unsigned long w; in __update_inv_weight() local
293 w = scale_load_down(lw->weight); in __update_inv_weight()
295 if (BITS_PER_LONG > 32 && unlikely(w >= WMULT_CONST)) in __update_inv_weight()
297 else if (unlikely(!w)) in __update_inv_weight()
300 lw->inv_weight = WMULT_CONST / w; in __update_inv_weight()
/kernel/rcu/
Dupdate.c519 void finish_rcuwait(struct rcuwait *w) in finish_rcuwait() argument
521 rcu_assign_pointer(w->task, NULL); in finish_rcuwait()
/kernel/trace/
Dring_buffer.c3494 unsigned long tail, write, w; in __rb_reserve_next() local
3501 /*A*/ w = local_read(&tail_page->write) & RB_WRITE_MASK; in __rb_reserve_next()
3516 if (!w) { in __rb_reserve_next()
3546 if (likely(tail == w)) { in __rb_reserve_next()
/kernel/bpf/
Dverifier.c11041 static int push_insn(int t, int w, int e, struct bpf_verifier_env *env, in push_insn() argument
11053 if (w < 0 || w >= env->prog->len) { in push_insn()
11055 verbose(env, "jump out of range from insn %d to %d\n", t, w); in push_insn()
11061 init_explored_state(env, w); in push_insn()
11063 if (insn_state[w] == 0) { in push_insn()
11066 insn_state[w] = DISCOVERED; in push_insn()
11069 insn_stack[env->cfg.cur_stack++] = w; in push_insn()
11071 } else if ((insn_state[w] & 0xF0) == DISCOVERED) { in push_insn()
11075 verbose_linfo(env, w, "%d: ", w); in push_insn()
11076 verbose(env, "back-edge from insn %d to %d\n", t, w); in push_insn()
[all …]
/kernel/module/
Dmain.c77 static void do_free_init(struct work_struct *w);
2459 static void do_free_init(struct work_struct *w) in do_free_init() argument
/kernel/events/
Dcore.c509 static void perf_duration_warn(struct irq_work *w) in perf_duration_warn() argument