/fs/ |
D | locks.c | 78 static bool lease_breaking(struct file_lock *fl) in lease_breaking() 83 static int target_leasetype(struct file_lock *fl) in target_leasetype() 207 struct file_lock *fl; in locks_dump_ctx_list() 235 struct file_lock *fl; in locks_check_ctx_file_list() 258 static void locks_init_lock_heads(struct file_lock *fl) in locks_init_lock_heads() 268 struct file_lock *locks_alloc_lock(void) in locks_alloc_lock() 270 struct file_lock *fl = kmem_cache_zalloc(filelock_cache, GFP_KERNEL); in locks_alloc_lock() 279 void locks_release_private(struct file_lock *fl) in locks_release_private() 315 struct file_lock *fl; in locks_owner_has_blockers() 332 void locks_free_lock(struct file_lock *fl) in locks_free_lock() [all …]
|
D | file.c | 170 __releases(files->file_lock) in expand_fdtable() 171 __acquires(files->file_lock) in expand_fdtable() 175 spin_unlock(&files->file_lock); in expand_fdtable() 184 spin_lock(&files->file_lock); in expand_fdtable() 215 __releases(files->file_lock) in expand_files() 216 __acquires(files->file_lock) in expand_files() 233 spin_unlock(&files->file_lock); in expand_files() 236 spin_lock(&files->file_lock); in expand_files() 330 spin_lock_init(&newf->file_lock); in dup_fd() 341 spin_lock(&oldf->file_lock); in dup_fd() [all …]
|
/fs/lockd/ |
D | clntproc.c | 27 static int nlmclnt_test(struct nlm_rqst *, struct file_lock *); 28 static int nlmclnt_lock(struct nlm_rqst *, struct file_lock *); 29 static int nlmclnt_unlock(struct nlm_rqst *, struct file_lock *); 31 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host); 32 static int nlmclnt_cancel(struct nlm_host *, int , struct file_lock *); 126 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_setlockargs() 158 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) in nlmclnt_proc() 428 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl) in nlmclnt_test() 457 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *fl) in nlmclnt_locks_copy_lock() 466 static void nlmclnt_locks_release_private(struct file_lock *fl) in nlmclnt_locks_release_private() [all …]
|
D | clntlock.c | 39 struct file_lock * b_lock; /* local file lock */ 100 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() 166 const struct file_lock *fl = &lock->fl; in nlmclnt_grant() 177 struct file_lock *fl_blocked = block->b_lock; in nlmclnt_grant() 234 struct file_lock *fl, *next; in reclaimer()
|
D | svcsubs.c | 74 int lock_to_openmode(struct file_lock *lock) in lock_to_openmode() 179 static int nlm_unlock_files(struct nlm_file *file, const struct file_lock *fl) in nlm_unlock_files() 181 struct file_lock lock; in nlm_unlock_files() 212 struct file_lock *fl; in nlm_traverse_locks() 267 struct file_lock *fl; in nlm_file_inuse()
|
D | xdr4.c | 36 void nlm4svc_set_file_lock_range(struct file_lock *fl, u64 off, u64 len) in nlm4svc_set_file_lock_range() 76 struct file_lock *fl = &lock->fl; in svcxdr_decode_lock() 101 const struct file_lock *fl = &lock->fl; in svcxdr_encode_holder()
|
D | xdr.c | 74 struct file_lock *fl = &lock->fl; in svcxdr_decode_lock() 106 const struct file_lock *fl = &lock->fl; in svcxdr_encode_holder()
|
D | svclock.c | 149 struct file_lock *fl; in nlmsvc_lookup_block() 399 void nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, in nlmsvc_locks_init_private() 728 static int nlmsvc_grant_deferred(struct file_lock *fl, int result) in nlmsvc_grant_deferred() 767 nlmsvc_notify_blocked(struct file_lock *fl) in nlmsvc_notify_blocked()
|
D | clnt4xdr.c | 68 const struct file_lock *fl = &lock->fl; in nlm4_compute_offsets() 259 struct file_lock *fl = &lock->fl; in decode_nlm4_holder()
|
/fs/ocfs2/ |
D | locks.c | 23 int cmd, struct file_lock *fl) in ocfs2_do_flock() 39 struct file_lock request; in ocfs2_do_flock() 81 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock() 97 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock() 115 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
|
D | locks.h | 13 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); 14 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
|
D | stackglue.h | 23 struct file_lock; 210 struct file_lock *fl); 282 struct file *file, int cmd, struct file_lock *fl);
|
D | ocfs1_fs_compat.h | 64 __u8 file_lock; member
|
/fs/ceph/ |
D | locks.c | 33 static void ceph_fl_copy_lock(struct file_lock *dst, struct file_lock *src) in ceph_fl_copy_lock() 39 static void ceph_fl_release_lock(struct file_lock *fl) in ceph_fl_release_lock() 60 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message() 209 static int try_unlock_file(struct file *file, struct file_lock *fl) in try_unlock_file() 228 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock() 294 int ceph_flock(struct file *file, int cmd, struct file_lock *fl) in ceph_flock() 357 struct file_lock *lock; in ceph_count_locks() 379 static int lock_to_ceph_filelock(struct file_lock *lock, in lock_to_ceph_filelock() 416 struct file_lock *lock; in ceph_encode_locks_to_buffer()
|
/fs/afs/ |
D | flock.c | 17 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl); 18 static void afs_fl_release_private(struct file_lock *fl); 92 struct file_lock *p, *_p; in afs_grant_locks() 113 struct file_lock *p, *_p, *next = NULL; in afs_next_locker() 160 struct file_lock *p; in afs_kill_lockers_enoent() 166 struct file_lock, fl_u.afs.link); in afs_kill_lockers_enoent() 452 static int afs_do_setlk(struct file *file, struct file_lock *fl) in afs_do_setlk() 702 static int afs_do_unlk(struct file *file, struct file_lock *fl) in afs_do_unlk() 722 static int afs_do_getlk(struct file *file, struct file_lock *fl) in afs_do_getlk() 764 int afs_lock(struct file *file, int cmd, struct file_lock *fl) in afs_lock() [all …]
|
/fs/dlm/ |
D | plock.c | 25 struct file_lock flc; 26 int (*callback)(struct file_lock *fl, int result); 103 int cmd, struct file_lock *fl) in dlm_posix_lock() 206 struct file_lock *fl; in dlm_plock_callback() 207 struct file_lock *flc; in dlm_plock_callback() 208 int (*notify)(struct file_lock *fl, int result) = NULL; in dlm_plock_callback() 253 struct file_lock *fl) in dlm_posix_unlock() 321 struct file_lock *fl) in dlm_posix_get()
|
/fs/smb/server/ |
D | vfs.h | 140 void ksmbd_vfs_posix_lock_wait(struct file_lock *flock); 141 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout); 142 void ksmbd_vfs_posix_lock_unblock(struct file_lock *flock);
|
/fs/nfsd/ |
D | nfs4state.c | 4888 nfsd_break_deleg_cb(struct file_lock *fl) in nfsd_break_deleg_cb() 4924 static bool nfsd_breaker_owns_lease(struct file_lock *fl) in nfsd_breaker_owns_lease() 4941 nfsd_change_deleg_cb(struct file_lock *onlist, int arg, in nfsd_change_deleg_cb() 5295 static struct file_lock *nfs4_alloc_init_lease(struct nfs4_delegation *dp, in nfs4_alloc_init_lease() 5298 struct file_lock *fl; in nfs4_alloc_init_lease() 5427 struct file_lock *fl; in nfs4_set_delegation() 6966 nfs4_transform_lock_offset(struct file_lock *lock) in nfs4_transform_lock_offset() 6994 nfsd4_lm_lock_expirable(struct file_lock *cfl) in nfsd4_lm_lock_expirable() 7016 nfsd4_lm_notify(struct file_lock *fl) in nfsd4_lm_notify() 7050 nfs4_set_lock_denied(struct file_lock *fl, struct nfsd4_lock_denied *deny) in nfs4_set_lock_denied() [all …]
|
/fs/9p/ |
D | vfs_file.c | 117 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() 131 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock() 236 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock() 301 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl() 332 struct file_lock *fl) in v9fs_file_flock_dotl()
|
/fs/nfs/ |
D | file.c | 690 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk() 719 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk() 755 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk() 799 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock() 837 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
|
D | nfs4_fs.h | 221 int (*recover_lock)(struct nfs4_state *, struct file_lock *); 330 struct file_lock **lease, void **priv); 514 extern int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl);
|
D | delegation.h | 71 int nfs4_lock_delegation_recall(struct file_lock *fl, struct nfs4_state *state, const nfs4_stateid …
|
/fs/smb/client/ |
D | cifsfs.h | 103 extern int cifs_flock(struct file *pfile, int cmd, struct file_lock *plock); 104 extern int cifs_lock(struct file *, int, struct file_lock *);
|
/fs/proc/ |
D | fd.c | 37 spin_lock(&files->file_lock); in seq_show() 49 spin_unlock(&files->file_lock); in seq_show()
|
/fs/gfs2/ |
D | file.c | 1431 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock() 1473 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock() 1492 struct file_lock request; in do_flock() 1533 static void do_unflock(struct file *file, struct file_lock *fl) in do_unflock() 1556 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock()
|