/drivers/md/bcache/ |
H A D | closure.h | 25 * wait synchronously, use closure_sync() - you will sleep until your closure's 60 * If closure's refcount started at 0, complete_some_read() could run before the 63 * complete_some_read()'s thread owned the closure - and whatever state it was 66 * So, closure_init() initializes a closure's refcount to 1 - and when a 71 * on a closure because you called closure_init() or you were run out of a 72 * closure - _always_ use continue_at(). Doing so consistently will help 79 * closure was already on a wait list or not - a closure can only be on one wait 84 * closure_init() takes two arguments - it takes the closure to initialize, and 87 * If parent is non null, the new closure wil 148 struct closure { struct [all...] |
/drivers/staging/lustre/lustre/lov/ |
H A D | lovsub_lock.c | 248 struct cl_lock_closure *closure) 262 result = cl_lock_closure_build(env, parent, closure); 246 lovsub_lock_closure(const struct lu_env *env, const struct cl_lock_slice *slice, struct cl_lock_closure *closure) argument
|
H A D | lov_lock.c | 184 struct cl_lock_closure *closure, 189 cl_lock_disclosure(env, closure); 195 struct cl_lock_closure *closure, 202 LASSERT(list_empty(&closure->clc_list)); 206 result = cl_lock_closure_build(env, child, closure); 208 struct cl_lock *parent = closure->clc_origin; 225 lov_sublock_unlock(env, sublock, closure, NULL); 233 closure, NULL); 547 struct cl_lock_closure *closure = lov_closure_get(env, lock); local 582 rc = lov_sublock_lock(env, lck, lls, closure, 182 lov_sublock_unlock(const struct lu_env *env, struct lovsub_lock *lsl, struct cl_lock_closure *closure, struct lov_sublock_env *subenv) argument 192 lov_sublock_lock(const struct lu_env *env, struct lov_lock *lck, struct lov_lock_sub *lls, struct cl_lock_closure *closure, struct lov_sublock_env **lsep) argument 637 struct cl_lock_closure *closure = lov_closure_get(env, slice->cls_lock); local 684 struct cl_lock_closure *closure = lov_closure_get(env, slice->cls_lock); local 742 struct cl_lock_closure *closure = lov_closure_get(env, slice->cls_lock); local 790 struct cl_lock_closure *closure = lov_closure_get(env, slice->cls_lock); local 1052 struct cl_lock_closure *closure = lov_closure_get(env, slice->cls_lock); local 1175 struct cl_lock_closure *closure; local [all...] |
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_lock.c | 1864 static int reprocess_one_queue(struct ldlm_resource *res, void *closure) argument
|
H A D | ldlm_request.c | 1967 void *closure) 1980 if (iter(lock, closure) == LDLM_ITER_STOP) { 1989 if (iter(lock, closure) == LDLM_ITER_STOP) { 1998 if (iter(lock, closure) == LDLM_ITER_STOP) { 2011 void *closure; member in struct:iter_helper_data 2014 static int ldlm_iter_helper(struct ldlm_lock *lock, void *closure) argument 2016 struct iter_helper_data *helper = closure; 2017 return helper->iter(lock, helper->closure); 2031 ldlm_iterator_t iter, void *closure) 2036 .closure 1966 ldlm_resource_foreach(struct ldlm_resource *res, ldlm_iterator_t iter, void *closure) argument 2030 ldlm_namespace_foreach(struct ldlm_namespace *ns, ldlm_iterator_t iter, void *closure) argument 2076 ldlm_chain_lock_for_replay(struct ldlm_lock *lock, void *closure) argument [all...] |
/drivers/staging/lustre/lustre/obdclass/ |
H A D | cl_lock.c | 1574 * Initializes lock closure with a given origin. 1579 struct cl_lock_closure *closure, 1585 INIT_LIST_HEAD(&closure->clc_list); 1586 closure->clc_origin = origin; 1587 closure->clc_wait = wait; 1588 closure->clc_nr = 0; 1593 * Builds a closure of \a lock. 1595 * Building of a closure consists of adding initial lock (\a lock) into it, 1598 * locks to the closure, etc. 1603 struct cl_lock_closure *closure) 1578 cl_lock_closure_init(const struct lu_env *env, struct cl_lock_closure *closure, struct cl_lock *origin, int wait) argument 1602 cl_lock_closure_build(const struct lu_env *env, struct cl_lock *lock, struct cl_lock_closure *closure) argument 1635 cl_lock_enclosure(const struct lu_env *env, struct cl_lock *lock, struct cl_lock_closure *closure) argument 1676 cl_lock_disclosure(const struct lu_env *env, struct cl_lock_closure *closure) argument 1696 cl_lock_closure_fini(struct cl_lock_closure *closure) argument [all...] |
/drivers/firewire/ |
H A D | core-cdev.c | 113 __u64 closure; member in struct:address_handler_resource 358 event->closure = client->bus_reset_closure; 609 e->response.closure = request->closure; 731 req->closure = handler->closure; 745 req->closure = handler->closure; 794 r->closure = a->closure; [all...] |
/drivers/isdn/i4l/ |
H A D | isdn_ppp.c | 53 static void isdn_ppp_ccp_timer_callback(unsigned long closure); 2320 static void isdn_ppp_ccp_timer_callback(unsigned long closure) argument 2323 (struct ippp_ccp_reset_state *)closure; 2326 printk(KERN_ERR "ippp_ccp: timer cb with zero closure.\n");
|
/drivers/gpu/drm/ |
H A D | drm_edid.c | 1455 typedef void detailed_cb(struct detailed_timing *timing, void *closure); 1458 cea_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) argument 1466 cb((struct detailed_timing *)(det_base + 18 * i), closure); 1470 vtb_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) argument 1479 cb((struct detailed_timing *)(det_base + 18 * i), closure); 1483 drm_for_each_detailed_block(u8 *raw_edid, detailed_cb *cb, void *closure) argument 1492 cb(&(edid->detailed_timings[i]), closure); 1498 cea_for_each_detailed_block(ext, cb, closure); 1501 vtb_for_each_detailed_block(ext, cb, closure); 2067 struct detailed_mode_closure *closure local 2105 struct detailed_mode_closure closure = { local 2149 struct detailed_mode_closure *closure = c; local 2172 struct detailed_mode_closure closure = { local 2198 struct detailed_mode_closure *closure = c; local 2231 struct detailed_mode_closure closure = { local 2308 struct detailed_mode_closure *closure = c; local 2318 struct detailed_mode_closure closure = { local 2334 struct detailed_mode_closure *closure = c; local 2363 struct detailed_mode_closure closure = { local [all...] |