/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | lm_interface.h | 20 * GFS is asking to join the filesystem's lockspace, but it doesn't want to 182 void (*lm_others_may_mount) (void *lockspace); 184 void (*lm_unmount) (void *lockspace); 186 void (*lm_withdraw) (void *lockspace); 192 int (*lm_get_lock) (void *lockspace, struct lm_lockname *name, void **lockp); 210 int (*lm_plock_get) (void *lockspace, struct lm_lockname *name, 213 int (*lm_plock) (void *lockspace, struct lm_lockname *name, 216 int (*lm_punlock) (void *lockspace, struct lm_lockname *name, 223 void (*lm_recovery_done) (void *lockspace, unsigned int jid,
|
H A D | dlm.h | 210 * Starts a lockspace with the given name. If the named lockspace exists in 214 int dlm_new_lockspace(char *name, int namelen, dlm_lockspace_t **lockspace, 220 * Stop a lockspace. 223 int dlm_release_lockspace(dlm_lockspace_t *lockspace, int force); 231 * lockspace: context for the request 262 int dlm_lock(dlm_lockspace_t *lockspace, 279 * lockspace: context for the request 293 int dlm_unlock(dlm_lockspace_t *lockspace,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/locking/nolock/ |
H A D | main.c | 58 static void nolock_others_may_mount(void *lockspace) argument 62 static void nolock_unmount(void *lockspace) argument 64 struct nolock_lockspace *nl = lockspace; 68 static void nolock_withdraw(void *lockspace) argument 74 * @lockspace: the lockspace the lock lives in 81 static int nolock_get_lock(void *lockspace, struct lm_lockname *name, argument 84 *lockp = lockspace; 163 static int nolock_plock_get(void *lockspace, struct lm_lockname *name, argument 171 static int nolock_plock(void *lockspace, struc argument 179 nolock_punlock(void *lockspace, struct lm_lockname *name, struct file *file, struct file_lock *fl) argument 187 nolock_recovery_done(void *lockspace, unsigned int jid, unsigned int message) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/dlm/ |
H A D | midcomms.c | 67 uint32_t lockspace; local 79 lockspace = msg->h_lockspace; 113 BUG_ON(lockspace != msg->h_lockspace);
|
H A D | Makefile | 6 lockspace.o \
|
H A D | lockspace.c | 15 #include "lockspace.h" 297 struct dlm_ls *dlm_find_lockspace_local(dlm_lockspace_t *lockspace) argument 303 if (ls->ls_local_handle == lockspace) { 356 /* Thread which process lock requests for all lockspace's */ 369 /* Thread for sending/receiving messages for all lockspace's */ 393 static int new_lockspace(char *name, int namelen, void **lockspace, argument 410 *lockspace = ls; 533 *lockspace = ls; 559 int dlm_new_lockspace(char *name, int namelen, void **lockspace, argument 570 error = new_lockspace(name, namelen, lockspace, flag 725 dlm_release_lockspace(void *lockspace, int force) argument [all...] |
H A D | user.c | 22 #include "lockspace.h" 237 ls = dlm_find_lockspace_local(proc->lockspace); 280 ls = dlm_find_lockspace_local(proc->lockspace); 331 ls = dlm_find_lockspace_local(proc->lockspace); 343 dlm_lockspace_t *lockspace; local 351 &lockspace, 0, DLM_USER_LVB_LEN); 355 ls = dlm_find_lockspace_local(lockspace); 363 dlm_release_lockspace(lockspace, 0); 372 dlm_lockspace_t *lockspace; local 384 * a device that's not attached to a lockspace [all...] |
H A D | dlm_internal.h | 130 * Save and manage recovery state for a lockspace. 186 * reply is needed. Only set when the lkb is on the lockspace waiters 237 struct list_head lkb_idtbl_list; /* lockspace lkbtbl */ 253 struct dlm_ls *res_ls; /* the lockspace */ 425 uint32_t ls_global_id; /* global unique lockspace ID */ 506 struct dlm_user_proc *proc; /* each process that opens the lockspace 527 dlm_lockspace_t *lockspace; member in struct:dlm_user_proc
|
H A D | lock.c | 67 #include "lockspace.h" 195 /* Threads cannot use the lockspace while it's being recovered */ 653 it so we need to provide the lockspace explicitly */ 2246 int dlm_lock(dlm_lockspace_t *lockspace, argument 2262 ls = dlm_find_lockspace_local(lockspace); 2299 int dlm_unlock(dlm_lockspace_t *lockspace, argument 2310 ls = dlm_find_lockspace_local(lockspace); 3378 log_print("drop message %d from %d for unknown lockspace %d",
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/locking/dlm/ |
H A D | mount.c | 175 static void gdlm_unmount(void *lockspace) argument 177 struct gdlm_ls *ls = lockspace; 196 static void gdlm_recovery_done(void *lockspace, unsigned int jid, argument 199 struct gdlm_ls *ls = lockspace; 205 static void gdlm_others_may_mount(void *lockspace) argument 207 struct gdlm_ls *ls = lockspace; 214 userspace leaves the mount group while we leave the lockspace. */ 216 static void gdlm_withdraw(void *lockspace) argument 218 struct gdlm_ls *ls = lockspace;
|
H A D | plock.c | 71 int gdlm_plock(void *lockspace, struct lm_lockname *name, argument 74 struct gdlm_ls *ls = lockspace; 184 int gdlm_punlock(void *lockspace, struct lm_lockname *name, argument 187 struct gdlm_ls *ls = lockspace; 226 int gdlm_plock_get(void *lockspace, struct lm_lockname *name, argument 229 struct gdlm_ls *ls = lockspace;
|
H A D | lock.c | 211 int gdlm_get_lock(void *lockspace, struct lm_lockname *name, argument 217 error = gdlm_create_lp(lockspace, name, &lp);
|