Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lock.c231 LASSERT(lock->l_resource->lr_type != LDLM_FLOCK); in ldlm_lock_remove_from_lru_nolock()
268 LASSERT(lock->l_resource->lr_type != LDLM_FLOCK); in ldlm_lock_add_to_lru_nolock()
506 type = oldres->lr_type; in ldlm_lock_change_resource()
618 ldlm_convert_policy_to_wire(lock->l_resource->lr_type, in ldlm_lock2desc()
929 if (lock->l_resource->lr_type == LDLM_PLAIN) { in search_granted_lock()
935 } else if (lock->l_resource->lr_type == LDLM_IBITS) { in search_granted_lock()
1052 if (res->lr_type == LDLM_PLAIN || res->lr_type == LDLM_IBITS) in ldlm_grant_lock()
1054 else if (res->lr_type == LDLM_EXTENT) in ldlm_grant_lock()
1113 if (lock->l_resource->lr_type == LDLM_EXTENT && in search_queue()
1120 lock->l_resource->lr_type == LDLM_EXTENT && in search_queue()
[all …]
Dldlm_extent.c104 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()
Dldlm_resource.c1096 res->lr_type = type; in ldlm_resource_get()
1307 int type = lock->l_resource->lr_type; in ldlm_resource_unlink_lock()
1320 desc->lr_type = res->lr_type; in ldlm_res2desc()
Dldlm_request.c493 if (lock->l_resource->lr_type == LDLM_FLOCK) { in failed_lock_cleanup()
632 lock->l_resource->lr_type, in ldlm_cli_enqueue_fini()
1420 switch (lock->l_resource->lr_type) { in ldlm_cancel_no_wait_policy()
1799 if (policy && (lock->l_resource->lr_type == LDLM_IBITS) && in ldlm_cancel_resource_local()
Dldlm_lockd.c256 if (lock->l_resource->lr_type != LDLM_PLAIN) { in ldlm_handle_cp_callback()
258 dlm_req->lock_desc.l_resource.lr_type, in ldlm_handle_cp_callback()
Dldlm_pool.c918 if (lock->l_resource->lr_type == LDLM_FLOCK) in ldlm_pool_add()
943 if (lock->l_resource->lr_type == LDLM_FLOCK) in ldlm_pool_del()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h930 ldlm_type_t lr_type; /* LDLM_{PLAIN,EXTENT,FLOCK,IBITS} */ member
961 return lock->l_resource->lr_type == LDLM_IBITS && in ldlm_has_layout()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c2982 LASSERTF((int)offsetof(struct ldlm_resource_desc, lr_type) == 0, "found %lld\n", in lustre_assert_wire_constants()
2983 (long long)(int)offsetof(struct ldlm_resource_desc, lr_type)); in lustre_assert_wire_constants()
2984 LASSERTF((int)sizeof(((struct ldlm_resource_desc *)0)->lr_type) == 4, "found %lld\n", in lustre_assert_wire_constants()
2985 (long long)(int)sizeof(((struct ldlm_resource_desc *)0)->lr_type)); in lustre_assert_wire_constants()
Dpack_generic.c2210 __swab32s(&r->lr_type); in lustre_swab_ldlm_resource_desc()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_request.c2090 LASSERT(lock->l_resource->lr_type == einfo->ei_type); in osc_set_lock_data_with_check()
3140 if (lock->l_resource->lr_type == LDLM_EXTENT && in osc_cancel_for_recovery()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2791 ldlm_type_t lr_type; member
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c2376 if (lock->l_resource->lr_type != LDLM_IBITS) in mdc_cancel_for_recovery()