/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 190 LASSERT(lock->l_resource != LP_POISON); in ldlm_lock_put() 198 res = lock->l_resource; in ldlm_lock_put() 207 lock->l_resource = NULL; in ldlm_lock_put() 232 LASSERT(lock->l_resource->lr_type != LDLM_FLOCK); in ldlm_lock_remove_from_lru_nolock() 269 LASSERT(lock->l_resource->lr_type != LDLM_FLOCK); in ldlm_lock_add_to_lru_nolock() 444 lock->l_resource = resource; in ldlm_lock_new() 488 struct ldlm_resource *oldres = lock->l_resource; in ldlm_lock_change_resource() 495 if (memcmp(new_resid, &lock->l_resource->lr_name, in ldlm_lock_change_resource() 496 sizeof(lock->l_resource->lr_name)) == 0) { in ldlm_lock_change_resource() 522 oldres = lock->l_resource; in ldlm_lock_change_resource() [all …]
|
D | l_lock.c | 57 lock_res(lock->l_resource); in lock_res_and_lock() 60 return lock->l_resource; in lock_res_and_lock() 72 unlock_res(lock->l_resource); in unlock_res_and_lock()
|
D | ldlm_extent.c | 69 struct ldlm_resource *res = lock->l_resource; in ldlm_extent_shift_kms() 104 LASSERT(lock->l_resource->lr_type == LDLM_EXTENT); in ldlm_interval_alloc() 128 LASSERT(l->l_resource->lr_type == LDLM_EXTENT); in ldlm_interval_attach() 200 struct ldlm_resource *res = lock->l_resource; in ldlm_extent_unlink_lock()
|
D | ldlm_request.c | 196 ldlm_reprocess_all(lock->l_resource); in ldlm_completion_ast_async() 499 if (lock->l_resource->lr_type == LDLM_FLOCK) { in failed_lock_cleanup() 618 if (!ldlm_res_eq(&reply->lock_desc.l_resource.lr_name, in ldlm_cli_enqueue_fini() 619 &lock->l_resource->lr_name)) { in ldlm_cli_enqueue_fini() 622 PLDLMRES(&reply->lock_desc.l_resource), in ldlm_cli_enqueue_fini() 623 PLDLMRES(lock->l_resource)); in ldlm_cli_enqueue_fini() 626 &reply->lock_desc.l_resource.lr_name); in ldlm_cli_enqueue_fini() 627 if (rc || lock->l_resource == NULL) { in ldlm_cli_enqueue_fini() 638 lock->l_resource->lr_type, in ldlm_cli_enqueue_fini() 1122 ldlm_reprocess_all(lock->l_resource); in ldlm_cli_cancel_local() [all …]
|
D | ldlm_lockd.c | 257 if (lock->l_resource->lr_type != LDLM_PLAIN) { in ldlm_handle_cp_callback() 259 dlm_req->lock_desc.l_resource.lr_type, in ldlm_handle_cp_callback() 266 if (memcmp(&dlm_req->lock_desc.l_resource.lr_name, in ldlm_handle_cp_callback() 267 &lock->l_resource->lr_name, in ldlm_handle_cp_callback() 268 sizeof(lock->l_resource->lr_name)) != 0) { in ldlm_handle_cp_callback() 271 &dlm_req->lock_desc.l_resource.lr_name); in ldlm_handle_cp_callback()
|
D | ldlm_flock.c | 123 check_res_locked(req->l_resource); in ldlm_flock_blocking_unlink() 249 struct ldlm_resource *res = req->l_resource; in ldlm_process_flock_lock()
|
D | ldlm_resource.c | 1286 struct ldlm_resource *res = original->l_resource; in ldlm_resource_insert_lock_after() 1306 int type = lock->l_resource->lr_type; in ldlm_resource_unlink_lock() 1308 check_res_locked(lock->l_resource); in ldlm_resource_unlink_lock()
|
D | ldlm_pool.c | 899 if (lock->l_resource->lr_type == LDLM_FLOCK) in ldlm_pool_add() 924 if (lock->l_resource->lr_type == LDLM_FLOCK) in ldlm_pool_del()
|
/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() 1046 &lock->l_resource->lr_name), in mdc_finish_intent_lock() 1048 PLDLMRES(lock->l_resource), PFID(&mdt_body->fid1)); in mdc_finish_intent_lock()
|
D | mdc_request.c | 2373 if (lock->l_resource->lr_type != LDLM_IBITS) in mdc_cancel_for_recovery()
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 681 struct ldlm_resource *l_resource; member 961 return lock->l_resource->lr_type == LDLM_IBITS && in ldlm_has_layout() 980 return ldlm_res_to_ns(lock->l_resource); in ldlm_lock_to_ns() 992 return &lock->l_resource->lr_ns_bucket->nsb_at_estimate; in ldlm_lock_to_ns_at()
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 1153 if (lock->l_resource->lr_lvb_inode) { in ll_inode_from_resource_lock() 1155 lli = ll_i2info(lock->l_resource->lr_lvb_inode); in ll_inode_from_resource_lock() 1157 inode = igrab(lock->l_resource->lr_lvb_inode); in ll_inode_from_resource_lock() 1159 inode = lock->l_resource->lr_lvb_inode; in ll_inode_from_resource_lock() 1163 lock->l_resource->lr_lvb_inode, in ll_inode_from_resource_lock()
|
D | namei.c | 217 &lock->l_resource->lr_name)) { in ll_md_blocking_ast()
|
/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 777 PLDLMRES(lock->l_resource), in mgc_blocking_ast() 778 (char *)&lock->l_resource->lr_name.name[0]); in mgc_blocking_ast()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 2092 LASSERT(lock->l_resource->lr_type == einfo->ei_type); in osc_set_lock_data_with_check() 3134 check_res_locked(lock->l_resource); in osc_cancel_for_recovery() 3142 if (lock->l_resource->lr_type == LDLM_EXTENT && in osc_cancel_for_recovery()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | wiretest.c | 2998 LASSERTF((int)offsetof(struct ldlm_lock_desc, l_resource) == 0, "found %lld\n", in lustre_assert_wire_constants() 2999 (long long)(int)offsetof(struct ldlm_lock_desc, l_resource)); in lustre_assert_wire_constants() 3000 LASSERTF((int)sizeof(((struct ldlm_lock_desc *)0)->l_resource) == 40, "found %lld\n", in lustre_assert_wire_constants() 3001 (long long)(int)sizeof(((struct ldlm_lock_desc *)0)->l_resource)); in lustre_assert_wire_constants()
|
D | pack_generic.c | 2246 lustre_swab_ldlm_resource_desc(&l->l_resource); in lustre_swab_ldlm_lock_desc()
|
/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 2794 struct ldlm_resource_desc l_resource; member
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 1975 struct ldlm_res_id *res_id = &data->lock->l_resource->lr_name; in lov_get_info()
|