Home
last modified time | relevance | path

Searched refs:lock_desc (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c252 if (dlm_req->lock_desc.l_granted_mode != lock->l_req_mode) { in ldlm_handle_cp_callback()
253 lock->l_req_mode = dlm_req->lock_desc.l_granted_mode; in ldlm_handle_cp_callback()
259 dlm_req->lock_desc.l_resource.lr_type, in ldlm_handle_cp_callback()
260 &dlm_req->lock_desc.l_policy_data, in ldlm_handle_cp_callback()
266 if (memcmp(&dlm_req->lock_desc.l_resource.lr_name, in ldlm_handle_cp_callback()
271 &dlm_req->lock_desc.l_resource.lr_name); in ldlm_handle_cp_callback()
702 if (ldlm_bl_to_thread_lock(ns, &dlm_req->lock_desc, lock)) in ldlm_callback_handler()
703 ldlm_handle_bl_callback(ns, &dlm_req->lock_desc, lock); in ldlm_callback_handler()
Dldlm_request.c610 int newmode = reply->lock_desc.l_req_mode; in ldlm_cli_enqueue_fini()
618 if (!ldlm_res_eq(&reply->lock_desc.l_resource.lr_name, in ldlm_cli_enqueue_fini()
622 PLDLMRES(&reply->lock_desc.l_resource), in ldlm_cli_enqueue_fini()
626 &reply->lock_desc.l_resource.lr_name); in ldlm_cli_enqueue_fini()
639 &reply->lock_desc.l_policy_data, in ldlm_cli_enqueue_fini()
931 ldlm_lock2desc(lock, &body->lock_desc); in ldlm_cli_enqueue()
1043 body->lock_desc.l_req_mode = new_mode; in ldlm_cli_convert()
2204 ldlm_lock2desc(lock, &body->lock_desc); in replay_one_lock()
/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c3026 LASSERTF((int)offsetof(struct ldlm_request, lock_desc) == 8, "found %lld\n", in lustre_assert_wire_constants()
3027 (long long)(int)offsetof(struct ldlm_request, lock_desc)); in lustre_assert_wire_constants()
3028 LASSERTF((int)sizeof(((struct ldlm_request *)0)->lock_desc) == 80, "found %lld\n", in lustre_assert_wire_constants()
3029 (long long)(int)sizeof(((struct ldlm_request *)0)->lock_desc)); in lustre_assert_wire_constants()
3046 LASSERTF((int)offsetof(struct ldlm_reply, lock_desc) == 8, "found %lld\n", in lustre_assert_wire_constants()
3047 (long long)(int)offsetof(struct ldlm_reply, lock_desc)); in lustre_assert_wire_constants()
3048 LASSERTF((int)sizeof(((struct ldlm_reply *)0)->lock_desc) == 80, "found %lld\n", in lustre_assert_wire_constants()
3049 (long long)(int)sizeof(((struct ldlm_reply *)0)->lock_desc)); in lustre_assert_wire_constants()
Dpack_generic.c2256 lustre_swab_ldlm_lock_desc(&rq->lock_desc); in lustre_swab_ldlm_request()
2266 lustre_swab_ldlm_lock_desc(&r->lock_desc); in lustre_swab_ldlm_reply()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2808 struct ldlm_lock_desc lock_desc; member
2828 struct ldlm_lock_desc lock_desc; member