Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 10 of 10) sorted by relevance

/kernel/
Dasync.c71 async_cookie_t cookie; member
100 ret = first->cookie; in lowest_in_progress()
119 (long long)entry->cookie, in async_run_entry_fn()
123 entry->func(entry->data, entry->cookie); in async_run_entry_fn()
128 (long long)entry->cookie, in async_run_entry_fn()
166 newcookie = entry->cookie = next_cookie++; in __async_schedule_node_domain()
326 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain) in async_synchronize_cookie_domain() argument
335 wait_event(async_done, lowest_in_progress(domain) >= cookie); in async_synchronize_cookie_domain()
355 void async_synchronize_cookie(async_cookie_t cookie) in async_synchronize_cookie() argument
357 async_synchronize_cookie_domain(cookie, &async_dfl_domain); in async_synchronize_cookie()
Dstacktrace.c81 static bool stack_trace_consume_entry(void *cookie, unsigned long addr) in stack_trace_consume_entry() argument
83 struct stacktrace_cookie *c = cookie; in stack_trace_consume_entry()
96 static bool stack_trace_consume_entry_nosched(void *cookie, unsigned long addr) in stack_trace_consume_entry_nosched() argument
100 return stack_trace_consume_entry(cookie, addr); in stack_trace_consume_entry_nosched()
Daudit_fsnotify.c158 const struct qstr *dname, u32 cookie) in audit_mark_handle_event() argument
Daudit_watch.c469 const struct qstr *dname, u32 cookie) in audit_watch_handle_event() argument
Daudit_tree.c1040 const struct qstr *file_name, u32 cookie) in audit_tree_handle_event() argument
/kernel/rcu/
Dsrcutiny.c160 unsigned short cookie; in srcu_gp_start_if_needed() local
162 cookie = get_state_synchronize_srcu(ssp); in srcu_gp_start_if_needed()
163 if (USHORT_CMP_GE(READ_ONCE(ssp->srcu_idx_max), cookie)) in srcu_gp_start_if_needed()
165 WRITE_ONCE(ssp->srcu_idx_max, cookie); in srcu_gp_start_if_needed()
241 bool poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) in poll_state_synchronize_srcu() argument
243 bool ret = USHORT_CMP_GE(READ_ONCE(ssp->srcu_idx), cookie); in poll_state_synchronize_srcu()
Dsrcutree.c1063 bool poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) in poll_state_synchronize_srcu() argument
1065 if (!rcu_seq_done(&ssp->srcu_gp_seq, cookie)) in poll_state_synchronize_srcu()
/kernel/locking/
Dlockdep.c5322 struct pin_cookie cookie = NIL_COOKIE; in __lock_pin_lock() local
5327 return cookie; in __lock_pin_lock()
5338 cookie.val = 1 + (prandom_u32() >> 16); in __lock_pin_lock()
5339 hlock->pin_count += cookie.val; in __lock_pin_lock()
5340 return cookie; in __lock_pin_lock()
5345 return cookie; in __lock_pin_lock()
5348 static void __lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_repin_lock() argument
5360 hlock->pin_count += cookie.val; in __lock_repin_lock()
5368 static void __lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_unpin_lock() argument
5383 hlock->pin_count -= cookie.val; in __lock_unpin_lock()
[all …]
/kernel/sched/
Dsched.h1248 struct pin_cookie cookie; member
1271 rf->cookie = lockdep_pin_lock(&rq->lock); in rq_pin_lock()
1286 lockdep_unpin_lock(&rq->lock, rf->cookie); in rq_unpin_lock()
1291 lockdep_repin_lock(&rq->lock, rf->cookie); in rq_repin_lock()
Ddeadline.c1099 lockdep_unpin_lock(&rq->lock, rf.cookie); in dl_task_timer()
1101 rf.cookie = lockdep_pin_lock(&rq->lock); in dl_task_timer()