/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 179 LASSERT(lock->l_resource != LP_POISON); in ldlm_lock_put() 187 res = lock->l_resource; in ldlm_lock_put() 196 lock->l_resource = NULL; in ldlm_lock_put() 221 LASSERT(lock->l_resource->lr_type != LDLM_FLOCK); in ldlm_lock_remove_from_lru_nolock() 253 LASSERT(lock->l_resource->lr_type != LDLM_FLOCK); in ldlm_lock_add_to_lru_nolock() 423 lock->l_resource = resource; in ldlm_lock_new() 467 struct ldlm_resource *oldres = lock->l_resource; in ldlm_lock_change_resource() 472 if (memcmp(new_resid, &lock->l_resource->lr_name, in ldlm_lock_change_resource() 473 sizeof(lock->l_resource->lr_name)) == 0) { in ldlm_lock_change_resource() 499 oldres = lock->l_resource; in ldlm_lock_change_resource() [all …]
|
D | l_lock.c | 55 lock_res(lock->l_resource); in lock_res_and_lock() 58 return lock->l_resource; in lock_res_and_lock() 70 unlock_res(lock->l_resource); in unlock_res_and_lock()
|
D | ldlm_extent.c | 68 struct ldlm_resource *res = lock->l_resource; in ldlm_extent_shift_kms() 104 LASSERT(l->l_resource->lr_type == LDLM_EXTENT); in ldlm_interval_attach() 114 LASSERT(lock->l_resource->lr_type == LDLM_EXTENT); in ldlm_interval_alloc() 202 struct ldlm_resource *res = lock->l_resource; in ldlm_extent_unlink_lock()
|
D | ldlm_request.c | 320 if (lock->l_resource->lr_type == LDLM_FLOCK) { in failed_lock_cleanup() 439 if (!ldlm_res_eq(&reply->lock_desc.l_resource.lr_name, in ldlm_cli_enqueue_fini() 440 &lock->l_resource->lr_name)) { in ldlm_cli_enqueue_fini() 443 PLDLMRES(&reply->lock_desc.l_resource), in ldlm_cli_enqueue_fini() 444 PLDLMRES(lock->l_resource)); in ldlm_cli_enqueue_fini() 447 &reply->lock_desc.l_resource.lr_name); in ldlm_cli_enqueue_fini() 448 if (rc || lock->l_resource == NULL) { in ldlm_cli_enqueue_fini() 459 lock->l_resource->lr_type, in ldlm_cli_enqueue_fini() 1120 switch (lock->l_resource->lr_type) { in ldlm_cancel_no_wait_policy() 1499 if (policy && (lock->l_resource->lr_type == LDLM_IBITS) && in ldlm_cancel_resource_local()
|
D | ldlm_lockd.c | 233 if (lock->l_resource->lr_type != LDLM_PLAIN) { in ldlm_handle_cp_callback() 235 dlm_req->lock_desc.l_resource.lr_type, in ldlm_handle_cp_callback() 242 if (memcmp(&dlm_req->lock_desc.l_resource.lr_name, in ldlm_handle_cp_callback() 243 &lock->l_resource->lr_name, in ldlm_handle_cp_callback() 244 sizeof(lock->l_resource->lr_name)) != 0) { in ldlm_handle_cp_callback() 247 &dlm_req->lock_desc.l_resource.lr_name); in ldlm_handle_cp_callback()
|
D | ldlm_pool.c | 732 if (lock->l_resource->lr_type == LDLM_FLOCK) in ldlm_pool_add() 755 if (lock->l_resource->lr_type == LDLM_FLOCK) in ldlm_pool_del()
|
D | ldlm_flock.c | 139 struct ldlm_resource *res = req->l_resource; in ldlm_process_flock_lock()
|
D | ldlm_resource.c | 1281 int type = lock->l_resource->lr_type; in ldlm_resource_unlink_lock() 1283 check_res_locked(lock->l_resource); in ldlm_resource_unlink_lock()
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 610 struct ldlm_resource *l_resource; member 888 return lock->l_resource->lr_type == LDLM_IBITS && in ldlm_has_layout() 907 return ldlm_res_to_ns(lock->l_resource); in ldlm_lock_to_ns() 919 return &lock->l_resource->lr_ns_bucket->nsb_at_estimate; in ldlm_lock_to_ns_at()
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_locks.c | 134 if (lock->l_resource->lr_lvb_inode && in mdc_set_lock_data() 135 lock->l_resource->lr_lvb_inode != data) { in mdc_set_lock_data() 136 struct inode *old_inode = lock->l_resource->lr_lvb_inode; in mdc_set_lock_data() 144 lock->l_resource->lr_lvb_inode = new_inode; in mdc_set_lock_data() 1012 &lock->l_resource->lr_name), in mdc_finish_intent_lock() 1014 PLDLMRES(lock->l_resource), PFID(&mdt_body->fid1)); in mdc_finish_intent_lock()
|
D | mdc_request.c | 2249 if (lock->l_resource->lr_type != LDLM_IBITS) in mdc_cancel_for_recovery()
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 1010 if (lock->l_resource->lr_lvb_inode) { in ll_inode_from_resource_lock() 1013 lli = ll_i2info(lock->l_resource->lr_lvb_inode); in ll_inode_from_resource_lock() 1015 inode = igrab(lock->l_resource->lr_lvb_inode); in ll_inode_from_resource_lock() 1017 inode = lock->l_resource->lr_lvb_inode; in ll_inode_from_resource_lock() 1020 lock->l_resource->lr_lvb_inode, in ll_inode_from_resource_lock()
|
D | namei.c | 195 &lock->l_resource->lr_name)) { in ll_md_blocking_ast()
|
/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 778 PLDLMRES(lock->l_resource), in mgc_blocking_ast() 779 (char *)&lock->l_resource->lr_name.name[0]); in mgc_blocking_ast()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 2030 LASSERT(lock->l_resource->lr_type == einfo->ei_type); in osc_set_lock_data_with_check() 3076 check_res_locked(lock->l_resource); in osc_cancel_for_recovery() 3084 if (lock->l_resource->lr_type == LDLM_EXTENT && in osc_cancel_for_recovery()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | wiretest.c | 2996 LASSERTF((int)offsetof(struct ldlm_lock_desc, l_resource) == 0, "found %lld\n", in lustre_assert_wire_constants() 2997 (long long)(int)offsetof(struct ldlm_lock_desc, l_resource)); in lustre_assert_wire_constants() 2998 LASSERTF((int)sizeof(((struct ldlm_lock_desc *)0)->l_resource) == 40, "found %lld\n", in lustre_assert_wire_constants() 2999 (long long)(int)sizeof(((struct ldlm_lock_desc *)0)->l_resource)); in lustre_assert_wire_constants()
|
D | pack_generic.c | 2012 lustre_swab_ldlm_resource_desc(&l->l_resource); in lustre_swab_ldlm_lock_desc()
|
/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 2777 struct ldlm_resource_desc l_resource; member
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 1969 struct ldlm_res_id *res_id = &data->lock->l_resource->lr_name; in lov_get_info()
|