Lines Matching refs:domain
74 struct async_domain *domain; member
87 static async_cookie_t lowest_in_progress(struct async_domain *domain) in lowest_in_progress() argument
95 if (domain) { in lowest_in_progress()
96 if (!list_empty(&domain->pending)) in lowest_in_progress()
97 first = list_first_entry(&domain->pending, in lowest_in_progress()
150 struct async_domain *domain, in __async_schedule_node_domain() argument
161 entry->domain = domain; in __async_schedule_node_domain()
168 list_add_tail(&entry->domain_list, &domain->pending); in __async_schedule_node_domain()
169 if (domain->registered) in __async_schedule_node_domain()
199 int node, struct async_domain *domain) in async_schedule_node_domain() argument
223 return __async_schedule_node_domain(func, data, node, domain, entry); in async_schedule_node_domain()
293 void async_synchronize_full_domain(struct async_domain *domain) in async_synchronize_full_domain() argument
295 async_synchronize_cookie_domain(ASYNC_COOKIE_MAX, domain); in async_synchronize_full_domain()
308 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain) in async_synchronize_cookie_domain() argument
315 wait_event(async_done, lowest_in_progress(domain) >= cookie); in async_synchronize_cookie_domain()