Home
last modified time | relevance | path

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

1234

/fs/ocfs2/dlm/
Ddlmast.c49 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
76 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
131 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
142 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
168 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast()
179 struct dlm_lock *lock) in dlm_update_lvb()
209 struct dlm_lock *lock) in dlm_do_local_ast()
227 struct dlm_lock *lock) in dlm_do_remote_ast()
251 struct dlm_lock *lock, int blocked_type) in dlm_do_local_bast()
275 struct dlm_lock *lock = NULL; in dlm_proxy_ast_handler() local
[all …]
Ddlmlock.c76 struct dlm_lock *lock) in dlm_can_grant_new_lock()
105 struct dlm_lock *lock, int flags) in dlmlock_master()
184 struct dlm_lock *lock) in dlm_revert_pending_lock()
201 struct dlm_lock *lock, int flags) in dlmlock_remote()
287 struct dlm_lock *lock, int flags) in dlm_send_remote_lock_request()
326 void dlm_lock_get(struct dlm_lock *lock) in dlm_lock_get()
331 void dlm_lock_put(struct dlm_lock *lock) in dlm_lock_put()
338 struct dlm_lock *lock; in dlm_lock_release() local
358 void dlm_lock_attach_lockres(struct dlm_lock *lock, in dlm_lock_attach_lockres()
366 static void dlm_lock_detach_lockres(struct dlm_lock *lock) in dlm_lock_detach_lockres()
[all …]
Ddlmunlock.c85 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.c63 struct dlm_lock *lock, int flags, int type) in dlmconvert_master()
106 struct dlm_lock *lock, int flags, in __dlmconvert_master()
236 struct dlm_lock *lock) in dlm_revert_pending_convert()
253 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote()
357 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request()
437 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler() local
Ddlmthread.c42 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) argument
347 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local
576 struct dlm_lock *lock; in dlm_flush_asts() local
Ddlmrecovery.c1048 struct dlm_lock *lock; in dlm_move_reco_locks_to_list() local
1180 static void dlm_prepare_lvb_for_migration(struct dlm_lock *lock, in dlm_prepare_lvb_for_migration()
1216 static int dlm_add_lock_to_array(struct dlm_lock *lock, in dlm_add_lock_to_array()
1276 struct dlm_lock *lock; in dlm_send_one_lockres() local
1807 struct dlm_lock *lock; in dlm_process_recovery_data() local
2058 struct dlm_lock *lock, *next; in dlm_move_lockres_to_recovery_list() local
2207 static inline int dlm_lvb_needs_invalidation(struct dlm_lock *lock, int local) in dlm_lvb_needs_invalidation()
2222 struct dlm_lock *lock; in dlm_revalidate_lvb() local
2264 struct dlm_lock *lock, *next; in dlm_free_dead_locks() local
2335 struct dlm_lock *lock; in dlm_do_local_recovery_cleanup() local
Ddlmdebug.c59 static void __dlm_print_lock(struct dlm_lock *lock) in __dlm_print_lock()
84 struct dlm_lock *lock; in __dlm_print_one_lock_resource() local
464 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock()
490 struct dlm_lock *lock; in dump_lockres() local
/fs/lockd/
Dsvclock.c145 nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_lookup_block()
217 struct nlm_file *file, struct nlm_lock *lock, in nlmsvc_create_block()
392 nlmsvc_release_lockowner(struct nlm_lock *lock) in nlmsvc_release_lockowner()
426 static int nlmsvc_setgrantargs(struct nlm_rqst *call, struct nlm_lock *lock) in nlmsvc_setgrantargs()
487 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock()
594 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
660 nlmsvc_unlock(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_unlock()
688 nlmsvc_cancel_blocked(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_cancel_blocked()
811 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
326 const struct nlm_lock *lock) in encode_nlm4_lock()
364 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_testargs() local
386 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_lockargs() local
409 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_cancargs() local
428 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.c107 nlm4_decode_lock(__be32 *p, struct nlm_lock *lock) in nlm4_decode_lock()
262 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs() local
306 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify() local
Dxdr.c115 nlm_decode_lock(__be32 *p, struct nlm_lock *lock) in nlm_decode_lock()
265 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_shareargs() local
309 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_notify() local
Dclntlock.c164 __be32 nlmclnt_grant(const struct sockaddr *addr, const struct nlm_lock *lock) in nlmclnt_grant()
/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()
241 spinlock_t *lock) in nilfs_palloc_delete_block()
383 spinlock_t *lock) in nilfs_palloc_find_available_slot()
509 spinlock_t *lock; in nilfs_palloc_prepare_alloc_entry() local
605 spinlock_t *lock; in nilfs_palloc_commit_free_entry() local
646 spinlock_t *lock; in nilfs_palloc_abort_alloc_entry() local
735 spinlock_t *lock; in nilfs_palloc_freev() local
Dalloc.h86 spinlock_t lock; member
/fs/ceph/
Dlocks.c334 struct file_lock *lock; in ceph_count_locks() local
356 static int lock_to_ceph_filelock(struct file_lock *lock, in lock_to_ceph_filelock()
393 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/nfs/
Dnfs42proc.c23 struct nfs_lock_context *lock, loff_t offset, loff_t len) in _nfs42_proc_fallocate()
64 struct nfs_lock_context *lock; in nfs42_proc_fallocate() local
463 struct nfs_lock_context *lock, loff_t offset, int whence) in _nfs42_proc_llseek()
508 struct nfs_lock_context *lock; in nfs42_proc_llseek() local
Ddelegation.h25 spinlock_t lock; member
/fs/ntfs/
Drunlist.h42 struct rw_semaphore lock; member
/fs/fuse/
Dfuse_i.h139 spinlock_t lock; member
150 spinlock_t lock; member
198 struct mutex lock; member
270 spinlock_t lock; member
405 spinlock_t lock; member
444 spinlock_t lock; member
500 spinlock_t lock; member
/fs/btrfs/
Dreada.c58 spinlock_t lock; member
69 spinlock_t lock; member
577 static void reada_peer_zones_set_lock(struct reada_zone *zone, int lock) in reada_peer_zones_set_lock()
Dblock-rsv.h27 spinlock_t lock; member
Dextent_map.h62 rwlock_t lock; member
Ddelayed-ref.h81 spinlock_t lock; member
146 spinlock_t lock; member

1234