Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 59) sorted by relevance

123

/fs/ocfs2/dlm/
Ddlmast.c66 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
93 static void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
138 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
151 static void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
171 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast()
184 struct dlm_lock *lock) in dlm_update_lvb()
215 struct dlm_lock *lock) in dlm_do_local_ast()
232 struct dlm_lock *lock) in dlm_do_remote_ast()
253 struct dlm_lock *lock, int blocked_type) in dlm_do_local_bast()
272 struct dlm_lock *lock = NULL; in dlm_proxy_ast_handler() local
[all …]
Ddlmlock.c93 struct dlm_lock *lock) in dlm_can_grant_new_lock()
124 struct dlm_lock *lock, int flags) in dlmlock_master()
206 struct dlm_lock *lock) in dlm_revert_pending_lock()
223 struct dlm_lock *lock, int flags) in dlmlock_remote()
303 struct dlm_lock *lock, int flags) in dlm_send_remote_lock_request()
346 void dlm_lock_get(struct dlm_lock *lock) in dlm_lock_get()
351 void dlm_lock_put(struct dlm_lock *lock) in dlm_lock_put()
358 struct dlm_lock *lock; in dlm_lock_release() local
378 void dlm_lock_attach_lockres(struct dlm_lock *lock, in dlm_lock_attach_lockres()
386 static void dlm_lock_detach_lockres(struct dlm_lock *lock) in dlm_lock_detach_lockres()
[all …]
Ddlmunlock.c102 struct dlm_lock *lock, in dlmunlock_common()
267 struct dlm_lock *lock) in dlm_commit_pending_unlock()
275 struct dlm_lock *lock) in dlm_commit_pending_cancel()
284 struct dlm_lock *lock, in dlmunlock_master()
294 struct dlm_lock *lock, in dlmunlock_remote()
310 struct dlm_lock *lock, in dlm_send_remote_unlock_request()
393 struct dlm_lock *lock = NULL; in dlm_unlock_lock_handler() local
527 struct dlm_lock *lock, in dlm_get_cancel_actions()
559 struct dlm_lock *lock, in dlm_get_unlock_actions()
589 struct dlm_lock *lock = NULL; in dlmunlock() local
Ddlmconvert.c80 struct dlm_lock *lock, int flags, int type) in dlmconvert_master()
123 struct dlm_lock *lock, int flags, in __dlmconvert_master()
250 struct dlm_lock *lock) in dlm_revert_pending_convert()
267 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote()
349 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request()
428 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler() local
Ddlmthread.c59 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) argument
280 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local
513 struct dlm_lock *lock; in dlm_flush_asts() local
Ddlmrecovery.c1041 struct dlm_lock *lock; in dlm_move_reco_locks_to_list() local
1171 static int dlm_add_lock_to_array(struct dlm_lock *lock, in dlm_add_lock_to_array()
1244 struct dlm_lock *lock; in dlm_send_one_lockres() local
1731 struct dlm_lock *lock = NULL; in dlm_process_recovery_data() local
1943 struct dlm_lock *lock, *next; in dlm_move_lockres_to_recovery_list() local
2094 static inline int dlm_lvb_needs_invalidation(struct dlm_lock *lock, int local) in dlm_lvb_needs_invalidation()
2109 struct dlm_lock *lock; in dlm_revalidate_lvb() local
2151 struct dlm_lock *lock, *next; in dlm_free_dead_locks() local
2223 struct dlm_lock *lock; in dlm_do_local_recovery_cleanup() local
Ddlmdebug.c74 static void __dlm_print_lock(struct dlm_lock *lock) in __dlm_print_lock()
100 struct dlm_lock *lock; in __dlm_print_one_lock_resource() local
552 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock()
578 struct dlm_lock *lock; in dump_lockres() local
Ddlmmaster.c2380 struct dlm_lock *lock; in dlm_is_lockres_migrateable() local
2740 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_lock_basts_flushed()
2869 struct dlm_lock *lock, *next; in dlm_remove_nonlocal_locks() local
2921 struct dlm_lock *lock; in dlm_pick_migration_target() local
/fs/lockd/
Dsvclock.c105 nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_lookup_block()
177 struct nlm_file *file, struct nlm_lock *lock, in nlmsvc_create_block()
303 static int nlmsvc_setgrantargs(struct nlm_rqst *call, struct nlm_lock *lock) in nlmsvc_setgrantargs()
362 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock()
466 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
562 nlmsvc_unlock(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_unlock()
590 nlmsvc_cancel_blocked(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_cancel_blocked()
724 struct nlm_lock *lock = &block->b_call->a_args.lock; in nlmsvc_grant_blocked() local
Dxdr4.c122 nlm4_decode_lock(__be32 *p, struct nlm_lock *lock) in nlm4_decode_lock()
157 nlm4_encode_lock(__be32 *p, struct nlm_lock *lock) in nlm4_encode_lock()
303 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs() local
343 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify() local
398 struct nlm_lock *lock = &argp->lock; in nlm4clt_encode_testargs() local
448 struct nlm_lock *lock = &argp->lock; in nlm4clt_encode_lockargs() local
465 struct nlm_lock *lock = &argp->lock; in nlm4clt_encode_cancargs() local
480 struct nlm_lock *lock = &argp->lock; in nlm4clt_encode_unlockargs() local
Dxdr.c121 nlm_decode_lock(__be32 *p, struct nlm_lock *lock) in nlm_decode_lock()
156 nlm_encode_lock(__be32 *p, struct nlm_lock *lock) in nlm_encode_lock()
296 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_shareargs() local
336 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_notify() local
391 struct nlm_lock *lock = &argp->lock; in nlmclt_encode_testargs() local
440 struct nlm_lock *lock = &argp->lock; in nlmclt_encode_lockargs() local
457 struct nlm_lock *lock = &argp->lock; in nlmclt_encode_cancargs() local
472 struct nlm_lock *lock = &argp->lock; in nlmclt_encode_unlockargs() local
Dclntlock.c194 __be32 nlmclnt_grant(const struct sockaddr *addr, const struct nlm_lock *lock) in nlmclnt_grant()
/fs/gfs2/locking/dlm/
Dlock.c416 void gdlm_put_lock(void *lock) in gdlm_put_lock()
499 unsigned int gdlm_lock(void *lock, unsigned int cur_state, in gdlm_lock()
521 unsigned int gdlm_unlock(void *lock, unsigned int cur_state) in gdlm_unlock()
531 void gdlm_cancel(void *lock) in gdlm_cancel()
670 int gdlm_hold_lvb(void *lock, char **lvbp) in gdlm_hold_lvb()
688 void gdlm_unhold_lvb(void *lock, char *lvb) in gdlm_unhold_lvb()
/fs/xfs/linux-2.6/
Dsv.h35 static inline void _sv_wait(sv_t *sv, spinlock_t *lock) in _sv_wait()
52 #define sv_wait(sv, pri, lock, s) \ argument
/fs/9p/
Dfid.h41 spinlock_t lock; /* protect fidlist */ member
/fs/hpfs/
Dalloc.c158 secno hpfs_alloc_sector(struct super_block *s, secno near, unsigned n, int forward, int lock) in hpfs_alloc_sector()
228 static secno alloc_in_dirband(struct super_block *s, secno near, int lock) in alloc_in_dirband()
398 int lock) in hpfs_alloc_dnode()
/fs/ntfs/
Drunlist.h56 struct rw_semaphore lock; member
/fs/xfs/
Dxfs_mru_cache.h30 spinlock_t lock; /* Lock to protect this struct. */ member
/fs/nfs/
Ddelegation.h24 spinlock_t lock; member
/fs/btrfs/
Dasync-thread.h90 spinlock_t lock; member
Dextent_io.h74 spinlock_t lock; member
108 spinlock_t lock; member
Dextent_map.h34 spinlock_t lock; member
Dasync-thread.c53 spinlock_t lock; member
/fs/
Dlocks.c206 struct file_lock *lock = (struct file_lock *) foo; in init_once() local
271 static int flock_make_lock(struct file *filp, struct file_lock **lock, in flock_make_lock()
1570 struct file_lock *lock; in SYSCALL_DEFINE2() local
1968 struct file_lock lock; in locks_remove_posix() local
Dfile.c24 spinlock_t lock; member

123