Searched refs:lr_type (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 231 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 …]
|
D | ldlm_extent.c | 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()
|
D | ldlm_resource.c | 1096 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()
|
D | ldlm_request.c | 493 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()
|
D | ldlm_lockd.c | 256 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()
|
D | ldlm_pool.c | 918 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/ |
D | lustre_dlm.h | 930 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/ |
D | wiretest.c | 2982 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()
|
D | pack_generic.c | 2210 __swab32s(&r->lr_type); in lustre_swab_ldlm_resource_desc()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 2090 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/ |
D | lustre_idl.h | 2791 ldlm_type_t lr_type; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_request.c | 2376 if (lock->l_resource->lr_type != LDLM_IBITS) in mdc_cancel_for_recovery()
|