Home
last modified time | relevance | path

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

1234

/fs/ocfs2/dlm/
Ddlmast.c64 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
91 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
146 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
157 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
183 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast()
194 struct dlm_lock *lock) in dlm_update_lvb()
224 struct dlm_lock *lock) in dlm_do_local_ast()
244 struct dlm_lock *lock) in dlm_do_remote_ast()
268 struct dlm_lock *lock, int blocked_type) in dlm_do_local_bast()
292 struct dlm_lock *lock = NULL; in dlm_proxy_ast_handler() local
[all …]
Ddlmlock.c92 struct dlm_lock *lock) in dlm_can_grant_new_lock()
121 struct dlm_lock *lock, int flags) in dlmlock_master()
200 struct dlm_lock *lock) in dlm_revert_pending_lock()
217 struct dlm_lock *lock, int flags) in dlmlock_remote()
303 struct dlm_lock *lock, int flags) in dlm_send_remote_lock_request()
342 void dlm_lock_get(struct dlm_lock *lock) in dlm_lock_get()
347 void dlm_lock_put(struct dlm_lock *lock) in dlm_lock_put()
354 struct dlm_lock *lock; in dlm_lock_release() local
374 void dlm_lock_attach_lockres(struct dlm_lock *lock, in dlm_lock_attach_lockres()
382 static void dlm_lock_detach_lockres(struct dlm_lock *lock) in dlm_lock_detach_lockres()
[all …]
Ddlmunlock.c100 struct dlm_lock *lock, in dlmunlock_common()
268 struct dlm_lock *lock) in dlm_commit_pending_unlock()
276 struct dlm_lock *lock) in dlm_commit_pending_cancel()
285 struct dlm_lock *lock, in dlmunlock_master()
295 struct dlm_lock *lock, in dlmunlock_remote()
311 struct dlm_lock *lock, in dlm_send_remote_unlock_request()
397 struct dlm_lock *lock = NULL; in dlm_unlock_lock_handler() local
530 struct dlm_lock *lock, in dlm_get_cancel_actions()
562 struct dlm_lock *lock, in dlm_get_unlock_actions()
592 struct dlm_lock *lock = NULL; in dlmunlock() local
Ddlmconvert.c78 struct dlm_lock *lock, int flags, int type) in dlmconvert_master()
121 struct dlm_lock *lock, int flags, in __dlmconvert_master()
251 struct dlm_lock *lock) in dlm_revert_pending_convert()
268 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote()
372 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request()
452 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler() local
Ddlmthread.c57 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) argument
362 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local
591 struct dlm_lock *lock; in dlm_flush_asts() local
Ddlmrecovery.c1056 struct dlm_lock *lock; in dlm_move_reco_locks_to_list() local
1190 static void dlm_prepare_lvb_for_migration(struct dlm_lock *lock, in dlm_prepare_lvb_for_migration()
1226 static int dlm_add_lock_to_array(struct dlm_lock *lock, in dlm_add_lock_to_array()
1286 struct dlm_lock *lock; in dlm_send_one_lockres() local
1808 struct dlm_lock *lock; in dlm_process_recovery_data() local
2063 struct dlm_lock *lock, *next; in dlm_move_lockres_to_recovery_list() local
2212 static inline int dlm_lvb_needs_invalidation(struct dlm_lock *lock, int local) in dlm_lvb_needs_invalidation()
2227 struct dlm_lock *lock; in dlm_revalidate_lvb() local
2269 struct dlm_lock *lock, *next; in dlm_free_dead_locks() local
2347 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()
99 struct dlm_lock *lock; in __dlm_print_one_lock_resource() local
479 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock()
505 struct dlm_lock *lock; in dump_lockres() local
/fs/lockd/
Dsvclock.c144 nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_lookup_block()
216 struct nlm_file *file, struct nlm_lock *lock, in nlmsvc_create_block()
338 static int nlmsvc_setgrantargs(struct nlm_rqst *call, struct nlm_lock *lock) in nlmsvc_setgrantargs()
399 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock()
506 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
563 nlmsvc_unlock(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_unlock()
591 nlmsvc_cancel_blocked(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_cancel_blocked()
732 struct nlm_lock *lock = &block->b_call->a_args.lock; in nlmsvc_grant_blocked() local
Dclnt4xdr.c64 static void nlm4_compute_offsets(const struct nlm_lock *lock, in nlm4_compute_offsets()
264 const struct nlm_lock *lock = &result->lock; in encode_nlm4_holder() local
280 struct nlm_lock *lock = &result->lock; in decode_nlm4_holder() local
349 const struct nlm_lock *lock) in encode_nlm4_lock()
386 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_testargs() local
407 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_lockargs() local
429 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_cancargs() local
447 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_unlockargs() local
Dclntxdr.c60 static void nlm_compute_offsets(const struct nlm_lock *lock, in nlm_compute_offsets()
259 const struct nlm_lock *lock = &result->lock; in encode_nlm_holder() local
275 struct nlm_lock *lock = &result->lock; in decode_nlm_holder() local
343 const struct nlm_lock *lock) in encode_nlm_lock()
379 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_testargs() local
400 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_lockargs() local
422 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_cancargs() local
440 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_unlockargs() local
Dxdr4.c106 nlm4_decode_lock(__be32 *p, struct nlm_lock *lock) in nlm4_decode_lock()
255 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs() local
295 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify() local
Dxdr.c114 nlm_decode_lock(__be32 *p, struct nlm_lock *lock) in nlm_decode_lock()
258 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_shareargs() local
298 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_notify() local
Dclntlock.c162 __be32 nlmclnt_grant(const struct sockaddr *addr, const struct nlm_lock *lock) in nlmclnt_grant()
/fs/nilfs2/
Dalloc.c140 spinlock_t *lock) in nilfs_palloc_group_desc_nfrees()
158 spinlock_t *lock, u32 n) in nilfs_palloc_group_desc_add_entries()
212 spinlock_t *lock) in nilfs_palloc_get_block()
250 spinlock_t *lock) in nilfs_palloc_delete_block()
392 spinlock_t *lock) in nilfs_palloc_find_available_slot()
518 spinlock_t *lock; in nilfs_palloc_prepare_alloc_entry() local
614 spinlock_t *lock; in nilfs_palloc_commit_free_entry() local
655 spinlock_t *lock; in nilfs_palloc_abort_alloc_entry() local
744 spinlock_t *lock; in nilfs_palloc_freev() local
Dalloc.h95 spinlock_t lock; member
/fs/ceph/
Dlocks.c248 struct file_lock *lock; in ceph_count_locks() local
276 struct file_lock *lock; in ceph_encode_locks_to_buffer() local
355 int lock_to_ceph_filelock(struct file_lock *lock, in lock_to_ceph_filelock()
/fs/nfs/
Dnfs42proc.c20 struct nfs_lock_context *lock, loff_t offset, loff_t len) in _nfs42_proc_fallocate()
61 struct nfs_lock_context *lock; in nfs42_proc_fallocate() local
257 struct nfs_lock_context *lock, loff_t offset, int whence) in _nfs42_proc_llseek()
302 struct nfs_lock_context *lock; in nfs42_proc_llseek() local
Ddelegation.h24 spinlock_t lock; member
/fs/ntfs/
Drunlist.h56 struct rw_semaphore lock; member
/fs/btrfs/
Dreada.c72 spinlock_t lock; member
83 spinlock_t lock; member
587 static void reada_peer_zones_set_lock(struct reada_zone *zone, int lock) in reada_peer_zones_set_lock()
Ddelayed-ref.h100 spinlock_t lock; member
165 spinlock_t lock; member
Dextent_map.h52 rwlock_t lock; member
Ddelayed-inode.h37 spinlock_t lock; member
/fs/nfs/objlayout/
Dobjlayout.h63 spinlock_t lock; member
/fs/cifs/
Dfile.c869 struct cifsLockInfo *lock = in cifs_lock_init() local
883 cifs_del_lock_waiters(struct cifsLockInfo *lock) in cifs_del_lock_waiters()
986 cifs_lock_add(struct cifsFileInfo *cfile, struct cifsLockInfo *lock) in cifs_lock_add()
1001 cifs_lock_add_if(struct cifsFileInfo *cfile, struct cifsLockInfo *lock, in cifs_lock_add_if()
1305 cifs_read_flock(struct file_lock *flock, __u32 *type, int *lock, int *unlock, in cifs_read_flock()
1548 bool wait_flag, bool posix_lck, int lock, int unlock, in cifs_setlk()
1581 struct cifsLockInfo *lock; in cifs_setlk() local
1630 int lock = 0, unlock = 0; in cifs_lock() local

1234