Home
last modified time | relevance | path

Searched refs:cancels (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/lustre/lustre/mdc/
Dmdc_reint.c70 struct list_head *cancels, ldlm_mode_t mode, in mdc_resource_get_unused() argument
96 count = ldlm_cancel_resource_local(res, cancels, &policy, in mdc_resource_get_unused()
107 LIST_HEAD(cancels); in mdc_setattr()
123 &cancels, LCK_EX, bits); in mdc_setattr()
127 ldlm_lock_list_put(&cancels, l_bl_ast, count); in mdc_setattr()
137 rc = mdc_prep_elc_req(exp, req, MDS_REINT, &cancels, count); in mdc_setattr()
215 LIST_HEAD(cancels); in mdc_create()
235 &cancels, LCK_EX, in mdc_create()
241 ldlm_lock_list_put(&cancels, l_bl_ast, count); in mdc_create()
249 rc = mdc_prep_elc_req(exp, req, MDS_REINT, &cancels, count); in mdc_create()
[all …]
Dmdc_internal.h95 struct list_head *cancels, ldlm_mode_t mode,
154 struct list_head *cancels, int count) in mdc_prep_elc_req() argument
156 return ldlm_prep_elc_req(exp, req, LUSTRE_MDS_VERSION, opc, 0, cancels, in mdc_prep_elc_req()
Dmdc_locks.c281 LIST_HEAD(cancels); in mdc_intent_open_pack()
305 &cancels, mode, in mdc_intent_open_pack()
315 &cancels, mode, in mdc_intent_open_pack()
321 ldlm_lock_list_put(&cancels, l_bl_ast, count); in mdc_intent_open_pack()
330 rc = ldlm_prep_enqueue_req(exp, req, &cancels, count); in mdc_intent_open_pack()
364 LIST_HEAD(cancels); in mdc_intent_getxattr_pack()
371 rc = ldlm_prep_enqueue_req(exp, req, &cancels, count); in mdc_intent_getxattr_pack()
Dmdc_request.c309 LIST_HEAD(cancels); in mdc_xattr_common()
318 &cancels, LCK_EX, in mdc_xattr_common()
321 rc = mdc_prep_elc_req(exp, req, MDS_REINT, &cancels, count); in mdc_xattr_common()
1682 LIST_HEAD(cancels); in mdc_ioc_swap_layouts()
1695 count = mdc_resource_get_unused(exp, &op_data->op_fid1, &cancels, in mdc_ioc_swap_layouts()
1697 count += mdc_resource_get_unused(exp, &op_data->op_fid2, &cancels, in mdc_ioc_swap_layouts()
1703 ldlm_lock_list_put(&cancels, l_bl_ast, count); in mdc_ioc_swap_layouts()
1707 rc = mdc_prep_elc_req(exp, req, MDS_SWAP_LAYOUTS, &cancels, count); in mdc_ioc_swap_layouts()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c573 struct list_head *cancels, int count) in ldlm_prep_elc_req() argument
582 if (cancels == NULL) in ldlm_prep_elc_req()
583 cancels = &head; in ldlm_prep_elc_req()
598 count += ldlm_cancel_lru_local(ns, cancels, to_free, in ldlm_prep_elc_req()
610 ldlm_lock_list_put(cancels, l_bl_ast, count); in ldlm_prep_elc_req()
625 ldlm_cli_cancel_list(cancels, pack, req, 0); in ldlm_prep_elc_req()
627 ldlm_cli_cancel_list(cancels, count - pack, NULL, 0); in ldlm_prep_elc_req()
629 ldlm_lock_list_put(cancels, l_bl_ast, count); in ldlm_prep_elc_req()
636 struct list_head *cancels, int count) in ldlm_prep_enqueue_req() argument
639 LDLM_ENQUEUE_CANCEL_OFF, cancels, count); in ldlm_prep_enqueue_req()
[all …]
Dldlm_lockd.c384 struct list_head *cancels, int count, in init_blwi() argument
399 list_add(&blwi->blwi_head, cancels); in init_blwi()
400 list_del_init(cancels); in init_blwi()
419 struct list_head *cancels, int count, in ldlm_bl_to_thread() argument
422 if (cancels && count == 0) in ldlm_bl_to_thread()
431 init_blwi(blwi, ns, ld, cancels, count, lock, cancel_flags); in ldlm_bl_to_thread()
441 init_blwi(&blwi, ns, ld, cancels, count, lock, cancel_flags); in ldlm_bl_to_thread()
453 struct list_head *cancels, int count, in ldlm_bl_to_thread_list() argument
456 return ldlm_bl_to_thread(ns, ld, NULL, cancels, count, cancel_flags); in ldlm_bl_to_thread_list()
Dldlm_internal.h105 struct list_head *cancels, int count, int max,
156 struct list_head *cancels, int count,
/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h1241 struct list_head *cancels,
1246 struct list_head *cancels, int count);
1264 struct list_head *cancels,
1268 int ldlm_cli_cancel_list_local(struct list_head *cancels, int count,
/drivers/staging/lustre/lustre/osc/
Dosc_request.c633 struct list_head *cancels, in osc_resource_get_unused() argument
656 count = ldlm_cancel_resource_local(res, cancels, NULL, mode, in osc_resource_get_unused()
733 LIST_HEAD(cancels); in osc_destroy()
741 count = osc_resource_get_unused(exp, oa, &cancels, LCK_PW, in osc_destroy()
746 ldlm_lock_list_put(&cancels, l_bl_ast, count); in osc_destroy()
751 0, &cancels, count); in osc_destroy()
2279 LIST_HEAD(cancels); in osc_enqueue_base()
2286 rc = ldlm_prep_enqueue_req(exp, req, &cancels, 0); in osc_enqueue_base()