lock.h (6d40c4a708e0e996fd9c60d4093aebba5fe1f749) lock.h (4875647a08e35f77274838d97ca8fa44158d50e2)
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
5**
6** This copyrighted material is made available to anyone wishing to use,
7** modify, copy, or redistribute it subject to the terms and conditions
8** of the GNU General Public License v.2.

--- 18 unchanged lines hidden (view full) ---

27void dlm_unlock_recovery(struct dlm_ls *ls);
28void dlm_scan_waiters(struct dlm_ls *ls);
29void dlm_scan_timeout(struct dlm_ls *ls);
30void dlm_adjust_timeouts(struct dlm_ls *ls);
31
32int dlm_search_rsb_tree(struct rb_root *tree, char *name, int len,
33 unsigned int flags, struct dlm_rsb **r_ret);
34
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
5**
6** This copyrighted material is made available to anyone wishing to use,
7** modify, copy, or redistribute it subject to the terms and conditions
8** of the GNU General Public License v.2.

--- 18 unchanged lines hidden (view full) ---

27void dlm_unlock_recovery(struct dlm_ls *ls);
28void dlm_scan_waiters(struct dlm_ls *ls);
29void dlm_scan_timeout(struct dlm_ls *ls);
30void dlm_adjust_timeouts(struct dlm_ls *ls);
31
32int dlm_search_rsb_tree(struct rb_root *tree, char *name, int len,
33 unsigned int flags, struct dlm_rsb **r_ret);
34
35int dlm_purge_locks(struct dlm_ls *ls);
35void dlm_recover_purge(struct dlm_ls *ls);
36void dlm_purge_mstcpy_locks(struct dlm_rsb *r);
36void dlm_purge_mstcpy_locks(struct dlm_rsb *r);
37void dlm_grant_after_purge(struct dlm_ls *ls);
37void dlm_recover_grant(struct dlm_ls *ls);
38int dlm_recover_waiters_post(struct dlm_ls *ls);
39void dlm_recover_waiters_pre(struct dlm_ls *ls);
40int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc);
41int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc);
42
43int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, int mode,
44 uint32_t flags, void *name, unsigned int namelen,
45 unsigned long timeout_cs);

--- 29 unchanged lines hidden ---
38int dlm_recover_waiters_post(struct dlm_ls *ls);
39void dlm_recover_waiters_pre(struct dlm_ls *ls);
40int dlm_recover_master_copy(struct dlm_ls *ls, struct dlm_rcom *rc);
41int dlm_recover_process_copy(struct dlm_ls *ls, struct dlm_rcom *rc);
42
43int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, int mode,
44 uint32_t flags, void *name, unsigned int namelen,
45 unsigned long timeout_cs);

--- 29 unchanged lines hidden ---