Home
last modified time | relevance | path

Searched refs:lr_type (Results 1 – 12 of 12) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c221 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 …]
Dldlm_extent.c104 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()
Dldlm_resource.c1113 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()
Dldlm_pool.c732 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()
Dldlm_request.c320 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()
Dldlm_lockd.c233 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/
Dlustre_dlm.h857 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/
Dwiretest.c2980 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()
Dpack_generic.c2005 __swab32s(&r->lr_type); in lustre_swab_ldlm_resource_desc()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c2030 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/
Dmdc_request.c2249 if (lock->l_resource->lr_type != LDLM_IBITS) in mdc_cancel_for_recovery()
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2771 ldlm_type_t lr_type; member