Lines Matching refs:dlm_lock_resource
49 struct dlm_lock_resource *res,
76 struct dlm_lock_resource *res,
85 static int dlm_do_master_request(struct dlm_lock_resource *res,
90 struct dlm_lock_resource *res,
94 struct dlm_lock_resource *res,
98 struct dlm_lock_resource *res,
105 struct dlm_lock_resource *res);
107 struct dlm_lock_resource *res);
109 struct dlm_lock_resource *res,
112 struct dlm_lock_resource *res);
251 struct dlm_lock_resource *res, in dlm_init_mle()
438 sizeof(struct dlm_lock_resource), in dlm_init_master_caches()
466 struct dlm_lock_resource *res; in dlm_lockres_release()
469 res = container_of(kref, struct dlm_lock_resource, refs); in dlm_lockres_release()
518 void dlm_lockres_put(struct dlm_lock_resource *res) in dlm_lockres_put()
524 struct dlm_lock_resource *res, in dlm_init_lockres()
578 struct dlm_lock_resource *dlm_new_lockres(struct dlm_ctxt *dlm, in dlm_new_lockres()
582 struct dlm_lock_resource *res = NULL; in dlm_new_lockres()
602 struct dlm_lock_resource *res, int bit) in dlm_lockres_set_refmap_bit()
613 struct dlm_lock_resource *res, int bit) in dlm_lockres_clear_refmap_bit()
624 struct dlm_lock_resource *res) in __dlm_lockres_grab_inflight_ref()
634 struct dlm_lock_resource *res) in dlm_lockres_grab_inflight_ref()
641 struct dlm_lock_resource *res) in dlm_lockres_drop_inflight_ref()
657 struct dlm_lock_resource *res) in __dlm_lockres_grab_inflight_worker()
667 struct dlm_lock_resource *res) in __dlm_lockres_drop_inflight_worker()
678 struct dlm_lock_resource *res) in dlm_lockres_drop_inflight_worker()
701 struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm, in dlm_get_lock_resource()
706 struct dlm_lock_resource *tmpres=NULL, *res=NULL; in dlm_get_lock_resource()
1002 struct dlm_lock_resource *res, in dlm_wait_for_lock_mastery()
1207 struct dlm_lock_resource *res, in dlm_restart_lock_mastery()
1306 static int dlm_do_master_request(struct dlm_lock_resource *res, in dlm_do_master_request()
1405 struct dlm_lock_resource *res = NULL; in dlm_master_request_handler()
1651 struct dlm_lock_resource *res, in dlm_do_assert_master()
1765 struct dlm_lock_resource *res = NULL; in dlm_assert_master_handler()
2037 struct dlm_lock_resource *res = (struct dlm_lock_resource *)ret_data; in dlm_assert_master_post_handler()
2050 struct dlm_lock_resource *res, in dlm_dispatch_assert_master()
2083 struct dlm_lock_resource *res; in dlm_assert_master_worker()
2166 struct dlm_lock_resource *res) in dlm_pre_master_reco_lockres()
2215 int dlm_drop_lockres_ref(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_drop_lockres_ref()
2254 struct dlm_lock_resource *res = NULL; in dlm_deref_lockres_handler()
2349 struct dlm_lock_resource *res = NULL; in dlm_deref_lockres_done_handler()
2409 struct dlm_lock_resource *res, u8 node) in dlm_drop_lockres_ref_done()
2442 struct dlm_lock_resource *res; in dlm_deref_lockres_worker()
2483 struct dlm_lock_resource *res) in dlm_is_lockres_migratable()
2541 struct dlm_lock_resource *res, u8 target) in dlm_migrate_lockres()
2760 int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_empty_lockres()
2802 struct dlm_lock_resource *res, in dlm_migration_can_proceed()
2820 struct dlm_lock_resource *res) in dlm_lockres_is_dirty()
2831 struct dlm_lock_resource *res, in dlm_mark_lockres_migrating()
2923 struct dlm_lock_resource *res) in dlm_remove_nonlocal_locks()
2977 struct dlm_lock_resource *res) in dlm_pick_migration_target()
3023 struct dlm_lock_resource *res, in dlm_do_migrate_request()
3103 struct dlm_lock_resource *res = NULL; in dlm_migrate_request_handler()
3180 struct dlm_lock_resource *res, in dlm_add_migration_mle()
3255 static struct dlm_lock_resource *dlm_reset_mleres_owner(struct dlm_ctxt *dlm, in dlm_reset_mleres_owner()
3258 struct dlm_lock_resource *res; in dlm_reset_mleres_owner()
3330 struct dlm_lock_resource *res; in dlm_clean_master_list()
3411 int dlm_finish_migration(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_finish_migration()
3485 void __dlm_lockres_reserve_ast(struct dlm_lock_resource *res) in __dlm_lockres_reserve_ast()
3510 struct dlm_lock_resource *res) in dlm_lockres_release_ast()