Home
last modified time | relevance | path

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

1234

/fs/ocfs2/dlm/
Ddlmast.c47 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()
Ddlmlock.c74 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 …]
Ddlmunlock.c83 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
Ddlmconvert.c61 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
Ddlmrecovery.c1039 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
Ddlmdebug.c57 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
Ddlmthread.c343 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local
572 struct dlm_lock *lock; in dlm_flush_asts() local
/fs/btrfs/
Dlocking.c302 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()
Dsubpage.h20 spinlock_t lock; member
Dblock-rsv.h27 spinlock_t lock; member
Dreada.c59 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/
Dsvclock.c146 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
Dclnt4xdr.c65 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
Dclntxdr.c61 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
Dxdr4.c74 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
Dxdr.c72 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
Dsvcsubs.c74 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/
Dalloc.c131 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
Dalloc.h86 spinlock_t lock; member
/fs/ceph/
Dlocks.c354 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/
Dinternal.h19 #define LOCK_REQUIRED(lock) WARN_ON_ONCE(!mutex_is_locked(&lock)) argument
/fs/ntfs/
Drunlist.h42 struct rw_semaphore lock; member
/fs/squashfs/
Ddecompressor_multi_percpu.c25 local_lock_t lock; member
/fs/nfs/
Ddelegation.h26 spinlock_t lock; member
/fs/erofs/
Dpcpubuf.c13 raw_spinlock_t lock; member

1234