Lines Matching refs:dlm_lock_resource

51 				struct dlm_lock_resource *res,
78 struct dlm_lock_resource *res,
87 static int dlm_do_master_request(struct dlm_lock_resource *res,
92 struct dlm_lock_resource *res,
96 struct dlm_lock_resource *res,
100 struct dlm_lock_resource *res,
107 struct dlm_lock_resource *res);
109 struct dlm_lock_resource *res);
111 struct dlm_lock_resource *res,
114 struct dlm_lock_resource *res);
253 struct dlm_lock_resource *res, in dlm_init_mle()
440 sizeof(struct dlm_lock_resource), in dlm_init_master_caches()
468 struct dlm_lock_resource *res; in dlm_lockres_release()
471 res = container_of(kref, struct dlm_lock_resource, refs); in dlm_lockres_release()
520 void dlm_lockres_put(struct dlm_lock_resource *res) in dlm_lockres_put()
526 struct dlm_lock_resource *res, in dlm_init_lockres()
580 struct dlm_lock_resource *dlm_new_lockres(struct dlm_ctxt *dlm, in dlm_new_lockres()
584 struct dlm_lock_resource *res = NULL; in dlm_new_lockres()
604 struct dlm_lock_resource *res, int bit) in dlm_lockres_set_refmap_bit()
615 struct dlm_lock_resource *res, int bit) in dlm_lockres_clear_refmap_bit()
626 struct dlm_lock_resource *res) in __dlm_lockres_grab_inflight_ref()
636 struct dlm_lock_resource *res) in dlm_lockres_grab_inflight_ref()
643 struct dlm_lock_resource *res) in dlm_lockres_drop_inflight_ref()
659 struct dlm_lock_resource *res) in __dlm_lockres_grab_inflight_worker()
669 struct dlm_lock_resource *res) in __dlm_lockres_drop_inflight_worker()
680 struct dlm_lock_resource *res) in dlm_lockres_drop_inflight_worker()
703 struct dlm_lock_resource * dlm_get_lock_resource(struct dlm_ctxt *dlm, in dlm_get_lock_resource()
708 struct dlm_lock_resource *tmpres=NULL, *res=NULL; in dlm_get_lock_resource()
1004 struct dlm_lock_resource *res, in dlm_wait_for_lock_mastery()
1209 struct dlm_lock_resource *res, in dlm_restart_lock_mastery()
1308 static int dlm_do_master_request(struct dlm_lock_resource *res, in dlm_do_master_request()
1407 struct dlm_lock_resource *res = NULL; in dlm_master_request_handler()
1653 struct dlm_lock_resource *res, in dlm_do_assert_master()
1767 struct dlm_lock_resource *res = NULL; in dlm_assert_master_handler()
2039 struct dlm_lock_resource *res = (struct dlm_lock_resource *)ret_data; in dlm_assert_master_post_handler()
2052 struct dlm_lock_resource *res, in dlm_dispatch_assert_master()
2085 struct dlm_lock_resource *res; in dlm_assert_master_worker()
2168 struct dlm_lock_resource *res) in dlm_pre_master_reco_lockres()
2217 int dlm_drop_lockres_ref(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_drop_lockres_ref()
2256 struct dlm_lock_resource *res = NULL; in dlm_deref_lockres_handler()
2351 struct dlm_lock_resource *res = NULL; in dlm_deref_lockres_done_handler()
2411 struct dlm_lock_resource *res, u8 node) in dlm_drop_lockres_ref_done()
2444 struct dlm_lock_resource *res; in dlm_deref_lockres_worker()
2485 struct dlm_lock_resource *res) in dlm_is_lockres_migratable()
2543 struct dlm_lock_resource *res, u8 target) in dlm_migrate_lockres()
2762 int dlm_empty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_empty_lockres()
2804 struct dlm_lock_resource *res, in dlm_migration_can_proceed()
2822 struct dlm_lock_resource *res) in dlm_lockres_is_dirty()
2833 struct dlm_lock_resource *res, in dlm_mark_lockres_migrating()
2925 struct dlm_lock_resource *res) in dlm_remove_nonlocal_locks()
2979 struct dlm_lock_resource *res) in dlm_pick_migration_target()
3025 struct dlm_lock_resource *res, in dlm_do_migrate_request()
3105 struct dlm_lock_resource *res = NULL; in dlm_migrate_request_handler()
3182 struct dlm_lock_resource *res, in dlm_add_migration_mle()
3257 static struct dlm_lock_resource *dlm_reset_mleres_owner(struct dlm_ctxt *dlm, in dlm_reset_mleres_owner()
3260 struct dlm_lock_resource *res; in dlm_reset_mleres_owner()
3332 struct dlm_lock_resource *res; in dlm_clean_master_list()
3413 int dlm_finish_migration(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_finish_migration()
3487 void __dlm_lockres_reserve_ast(struct dlm_lock_resource *res) in __dlm_lockres_reserve_ast()
3512 struct dlm_lock_resource *res) in dlm_lockres_release_ast()