Searched refs:lr_type (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 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() 484 type = oldres->lr_type; in ldlm_lock_change_resource() 596 ldlm_convert_policy_to_wire(lock->l_resource->lr_type, in ldlm_lock2desc() 906 if (lock->l_resource->lr_type == LDLM_PLAIN) { in search_granted_lock() 914 if (lock->l_resource->lr_type == LDLM_IBITS) { in search_granted_lock() 1030 if (res->lr_type == LDLM_PLAIN || res->lr_type == LDLM_IBITS) in ldlm_grant_lock() 1032 else if (res->lr_type == LDLM_EXTENT) in ldlm_grant_lock() 1091 if (lock->l_resource->lr_type == LDLM_EXTENT && in search_queue() 1098 lock->l_resource->lr_type == LDLM_EXTENT && in search_queue() [all …]
|
D | ldlm_extent.c | 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()
|
D | ldlm_resource.c | 1113 res->lr_type = type; in ldlm_resource_get() 1281 int type = lock->l_resource->lr_type; in ldlm_resource_unlink_lock() 1294 desc->lr_type = res->lr_type; in ldlm_res2desc()
|
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_request.c | 320 if (lock->l_resource->lr_type == LDLM_FLOCK) { in failed_lock_cleanup() 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()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_dlm.h | 857 ldlm_type_t lr_type; /* LDLM_{PLAIN,EXTENT,FLOCK,IBITS} */ member 888 return lock->l_resource->lr_type == LDLM_IBITS && in ldlm_has_layout()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | wiretest.c | 2980 LASSERTF((int)offsetof(struct ldlm_resource_desc, lr_type) == 0, "found %lld\n", in lustre_assert_wire_constants() 2981 (long long)(int)offsetof(struct ldlm_resource_desc, lr_type)); in lustre_assert_wire_constants() 2982 LASSERTF((int)sizeof(((struct ldlm_resource_desc *)0)->lr_type) == 4, "found %lld\n", in lustre_assert_wire_constants() 2983 (long long)(int)sizeof(((struct ldlm_resource_desc *)0)->lr_type)); in lustre_assert_wire_constants()
|
D | pack_generic.c | 2005 __swab32s(&r->lr_type); in lustre_swab_ldlm_resource_desc()
|
/linux-4.4.14/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() 3084 if (lock->l_resource->lr_type == LDLM_EXTENT && in osc_cancel_for_recovery()
|
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
D | mdc_request.c | 2249 if (lock->l_resource->lr_type != LDLM_IBITS) in mdc_cancel_for_recovery()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 2771 ldlm_type_t lr_type; member
|