/fs/ocfs2/dlm/ |
D | dlmast.c | 47 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast() 74 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast() 129 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast() 140 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast() 167 struct dlm_lock *lock) in dlm_update_lvb() 197 struct dlm_lock *lock) in dlm_do_local_ast() 215 struct dlm_lock *lock) in dlm_do_remote_ast() 239 struct dlm_lock *lock, int blocked_type) in dlm_do_local_bast() 263 struct dlm_lock *lock = NULL; in dlm_proxy_ast_handler() local 422 struct dlm_lock *lock, int msg_type, in dlm_send_proxy_ast_msg()
|
D | dlmlock.c | 74 struct dlm_lock *lock) in dlm_can_grant_new_lock() 103 struct dlm_lock *lock, int flags) in dlmlock_master() 182 struct dlm_lock *lock) in dlm_revert_pending_lock() 199 struct dlm_lock *lock, int flags) in dlmlock_remote() 285 struct dlm_lock *lock, int flags) in dlm_send_remote_lock_request() 324 void dlm_lock_get(struct dlm_lock *lock) in dlm_lock_get() 329 void dlm_lock_put(struct dlm_lock *lock) in dlm_lock_put() 336 struct dlm_lock *lock; in dlm_lock_release() local 356 void dlm_lock_attach_lockres(struct dlm_lock *lock, in dlm_lock_attach_lockres() 364 static void dlm_lock_detach_lockres(struct dlm_lock *lock) in dlm_lock_detach_lockres() [all …]
|
D | dlmunlock.c | 83 struct dlm_lock *lock, in dlmunlock_common() 266 struct dlm_lock *lock) in dlm_commit_pending_unlock() 274 struct dlm_lock *lock) in dlm_commit_pending_cancel() 283 struct dlm_lock *lock, in dlmunlock_master() 293 struct dlm_lock *lock, in dlmunlock_remote() 309 struct dlm_lock *lock, in dlm_send_remote_unlock_request() 395 struct dlm_lock *lock = NULL; in dlm_unlock_lock_handler() local 528 struct dlm_lock *lock, in dlm_get_cancel_actions() 560 struct dlm_lock *lock, in dlm_get_unlock_actions() 590 struct dlm_lock *lock = NULL; in dlmunlock() local
|
D | dlmconvert.c | 61 struct dlm_lock *lock, int flags, int type) in dlmconvert_master() 104 struct dlm_lock *lock, int flags, in __dlmconvert_master() 234 struct dlm_lock *lock) in dlm_revert_pending_convert() 251 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote() 355 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request() 435 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler() local
|
D | dlmrecovery.c | 1039 struct dlm_lock *lock; in dlm_move_reco_locks_to_list() local 1171 static void dlm_prepare_lvb_for_migration(struct dlm_lock *lock, in dlm_prepare_lvb_for_migration() 1207 static int dlm_add_lock_to_array(struct dlm_lock *lock, in dlm_add_lock_to_array() 1267 struct dlm_lock *lock; in dlm_send_one_lockres() local 1798 struct dlm_lock *lock; in dlm_process_recovery_data() local 2049 struct dlm_lock *lock, *next; in dlm_move_lockres_to_recovery_list() local 2198 static inline int dlm_lvb_needs_invalidation(struct dlm_lock *lock, int local) in dlm_lvb_needs_invalidation() 2213 struct dlm_lock *lock; in dlm_revalidate_lvb() local 2255 struct dlm_lock *lock, *next; in dlm_free_dead_locks() local 2326 struct dlm_lock *lock; in dlm_do_local_recovery_cleanup() local
|
D | dlmdebug.c | 57 static void __dlm_print_lock(struct dlm_lock *lock) in __dlm_print_lock() 82 struct dlm_lock *lock; in __dlm_print_one_lock_resource() local 462 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock() 488 struct dlm_lock *lock; in dump_lockres() local
|
D | dlmthread.c | 343 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local 572 struct dlm_lock *lock; in dlm_flush_asts() local
|
/fs/btrfs/ |
D | locking.c | 302 int btrfs_drew_lock_init(struct btrfs_drew_lock *lock) in btrfs_drew_lock_init() 317 void btrfs_drew_lock_destroy(struct btrfs_drew_lock *lock) in btrfs_drew_lock_destroy() 323 bool btrfs_drew_try_write_lock(struct btrfs_drew_lock *lock) in btrfs_drew_try_write_lock() 340 void btrfs_drew_write_lock(struct btrfs_drew_lock *lock) in btrfs_drew_write_lock() 349 void btrfs_drew_write_unlock(struct btrfs_drew_lock *lock) in btrfs_drew_write_unlock() 355 void btrfs_drew_read_lock(struct btrfs_drew_lock *lock) in btrfs_drew_read_lock() 371 void btrfs_drew_read_unlock(struct btrfs_drew_lock *lock) in btrfs_drew_read_unlock()
|
D | subpage.h | 20 spinlock_t lock; member
|
D | block-rsv.h | 27 spinlock_t lock; member
|
D | reada.c | 59 spinlock_t lock; member 71 spinlock_t lock; member 594 static void reada_peer_zones_set_lock(struct reada_zone *zone, int lock) in reada_peer_zones_set_lock()
|
/fs/lockd/ |
D | svclock.c | 146 nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_lookup_block() 218 struct nlm_file *file, struct nlm_lock *lock, in nlmsvc_create_block() 393 nlmsvc_release_lockowner(struct nlm_lock *lock) in nlmsvc_release_lockowner() 409 static int nlmsvc_setgrantargs(struct nlm_rqst *call, struct nlm_lock *lock) in nlmsvc_setgrantargs() 470 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock() 585 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock() 653 nlmsvc_unlock(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_unlock() 686 nlmsvc_cancel_blocked(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_cancel_blocked() 823 struct nlm_lock *lock = &block->b_call->a_args.lock; in nlmsvc_grant_blocked() local
|
D | clnt4xdr.c | 65 static void nlm4_compute_offsets(const struct nlm_lock *lock, in nlm4_compute_offsets() 242 const struct nlm_lock *lock = &result->lock; in encode_nlm4_holder() local 258 struct nlm_lock *lock = &result->lock; in decode_nlm4_holder() local 319 const struct nlm_lock *lock) in encode_nlm4_lock() 357 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_testargs() local 379 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_lockargs() local 402 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_cancargs() local 421 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_unlockargs() local
|
D | clntxdr.c | 61 static void nlm_compute_offsets(const struct nlm_lock *lock, in nlm_compute_offsets() 237 const struct nlm_lock *lock = &result->lock; in encode_nlm_holder() local 253 struct nlm_lock *lock = &result->lock; in decode_nlm_holder() local 320 const struct nlm_lock *lock) in encode_nlm_lock() 357 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_testargs() local 379 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_lockargs() local 402 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_cancargs() local 421 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_unlockargs() local
|
D | xdr4.c | 74 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock() 99 svcxdr_encode_holder(struct xdr_stream *xdr, const struct nlm_lock *lock) in svcxdr_encode_holder() 274 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs() local 302 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify() local
|
D | xdr.c | 72 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock() 104 svcxdr_encode_holder(struct xdr_stream *xdr, const struct nlm_lock *lock) in svcxdr_encode_holder() 280 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_shareargs() local 308 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_notify() local
|
D | svcsubs.c | 74 int lock_to_openmode(struct file_lock *lock) in lock_to_openmode() 106 struct nlm_lock *lock) in nlm_lookup_file() 181 struct file_lock lock; in nlm_unlock_files() local
|
/fs/nilfs2/ |
D | alloc.c | 131 spinlock_t *lock) in nilfs_palloc_group_desc_nfrees() 149 spinlock_t *lock, u32 n) in nilfs_palloc_group_desc_add_entries() 203 spinlock_t *lock) in nilfs_palloc_get_block() 242 spinlock_t *lock) in nilfs_palloc_delete_block() 384 spinlock_t *lock) in nilfs_palloc_find_available_slot() 510 spinlock_t *lock; in nilfs_palloc_prepare_alloc_entry() local 606 spinlock_t *lock; in nilfs_palloc_commit_free_entry() local 647 spinlock_t *lock; in nilfs_palloc_abort_alloc_entry() local 736 spinlock_t *lock; in nilfs_palloc_freev() local
|
D | alloc.h | 86 spinlock_t lock; member
|
/fs/ceph/ |
D | locks.c | 354 struct file_lock *lock; in ceph_count_locks() local 376 static int lock_to_ceph_filelock(struct file_lock *lock, in lock_to_ceph_filelock() 413 struct file_lock *lock; in ceph_encode_locks_to_buffer() local
|
/fs/incfs/ |
D | internal.h | 19 #define LOCK_REQUIRED(lock) WARN_ON_ONCE(!mutex_is_locked(&lock)) argument
|
/fs/ntfs/ |
D | runlist.h | 42 struct rw_semaphore lock; member
|
/fs/squashfs/ |
D | decompressor_multi_percpu.c | 25 local_lock_t lock; member
|
/fs/nfs/ |
D | delegation.h | 26 spinlock_t lock; member
|
/fs/erofs/ |
D | pcpubuf.c | 13 raw_spinlock_t lock; member
|