Lines Matching refs: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.
62 #define ASYNC_COOKIE_MAX ULLONG_MAX /* infinity cookie */
73 async_cookie_t cookie;
108 ret = first->cookie;
125 pr_debug("calling %lli_%pS @ %i\n", (long long)entry->cookie,
129 entry->func(entry->data, entry->cookie);
132 (long long)entry->cookie, entry->func,
167 /* allocate cookie and queue */
168 newcookie = entry->cookie = next_cookie++;
302 * async_synchronize_cookie_domain - synchronize asynchronous function calls within a certain domain with cookie checkpointing
303 * @cookie: async_cookie_t to use as checkpoint
307 * synchronization domain specified by @domain submitted prior to @cookie
310 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain)
317 wait_event(async_done, lowest_in_progress(domain) >= cookie);
325 * async_synchronize_cookie - synchronize asynchronous function calls with cookie checkpointing
326 * @cookie: async_cookie_t to use as checkpoint
328 * This function waits until all asynchronous function calls prior to @cookie
331 void async_synchronize_cookie(async_cookie_t cookie)
333 async_synchronize_cookie_domain(cookie, &async_dfl_domain);