Lines Matching defs:cookie
25 a "sequence cookie" (which, although it has an abstracted type, can be
28 The async core will assign each scheduled event such a sequence cookie and
33 async_synchronize_cookie() function and pass in its own cookie. The
36 cookie have completed.
61 #define ASYNC_COOKIE_MAX ULLONG_MAX /* infinity cookie */
71 async_cookie_t cookie;
106 ret = first->cookie;
123 pr_debug("calling %lli_%pS @ %i\n", (long long)entry->cookie,
127 entry->func(entry->data, entry->cookie);
130 (long long)entry->cookie, entry->func,
165 /* allocate cookie and queue */
166 newcookie = entry->cookie = next_cookie++;
300 * async_synchronize_cookie_domain - synchronize asynchronous function calls within a certain domain with cookie checkpointing
301 * @cookie: async_cookie_t to use as checkpoint
305 * synchronization domain specified by @domain submitted prior to @cookie
308 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain)
315 wait_event(async_done, lowest_in_progress(domain) >= cookie);
323 * async_synchronize_cookie - synchronize asynchronous function calls with cookie checkpointing
324 * @cookie: async_cookie_t to use as checkpoint
326 * This function waits until all asynchronous function calls prior to @cookie
329 void async_synchronize_cookie(async_cookie_t cookie)
331 async_synchronize_cookie_domain(cookie, &async_dfl_domain);