Searched refs:file_lock (Results 1 - 25 of 61) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Dlocks.h29 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl);
30 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
H A Dlocks.c40 int cmd, struct file_lock *fl)
71 &(struct file_lock){.fl_type = F_UNLCK});
93 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl)
109 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl)
129 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl)
H A Dstackglue.h33 struct file_lock;
214 struct file_lock *fl);
283 struct file *file, int cmd, struct file_lock *fl);
H A Docfs1_fs_compat.h79 __u8 file_lock; member in struct:ocfs1_disk_lock
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dlocks.c35 static struct file_lock *locks_alloc_lock(void)
40 void locks_release_private(struct file_lock *fl)
57 static void locks_free_lock(struct file_lock *fl)
67 void locks_init_lock(struct file_lock *fl)
93 struct file_lock *lock = (struct file_lock *) foo;
98 static void locks_copy_private(struct file_lock *new, struct file_lock *fl)
113 * Initialize a new lock from an existing file_lock structure.
115 void __locks_copy_lock(struct file_lock *ne
1533 struct file_lock file_lock; local
1637 struct file_lock *file_lock = locks_alloc_lock(); local
1718 struct file_lock file_lock; local
1755 struct file_lock *file_lock = locks_alloc_lock(); local
[all...]
H A Dfile.c196 * The files->file_lock should be held on entry, and will be held on exit.
199 __releases(files->file_lock)
200 __acquires(files->file_lock)
204 spin_unlock(&files->file_lock);
206 spin_lock(&files->file_lock);
241 * The files->file_lock should be held on entry, and will be held on exit.
301 spin_lock_init(&newf->file_lock);
310 spin_lock(&oldf->file_lock);
318 spin_unlock(&oldf->file_lock);
341 spin_lock(&oldf->file_lock);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Ddlm_plock.h44 int cmd, struct file_lock *fl);
46 struct file_lock *fl);
48 struct file_lock *fl);
H A Dfdtable.h54 spinlock_t file_lock ____cacheline_aligned_in_smp;
64 lockdep_is_held(&(files)->file_lock) || \
H A Dfs.h744 struct file_lock *i_flock;
1022 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
1023 void (*fl_release_private)(struct file_lock *);
1027 int (*fl_compare_owner)(struct file_lock *, struct file_lock *);
1028 void (*fl_notify)(struct file_lock *); /* unblock callback */
1029 int (*fl_grant)(struct file_lock *, struct file_lock *, int);
1030 void (*fl_copy_lock)(struct file_lock *, struc
1048 struct file_lock { struct
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/lockd/
H A Dbind.h55 struct file_lock *fl);
H A Dlockd.h179 struct file_lock * b_fl; /* set for GETLK */
207 struct nlm_wait * nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl);
213 int nlmclnt_reclaim(struct nlm_host *, struct file_lock *);
345 static inline int nlm_compare_locks(const struct file_lock *fl1,
346 const struct file_lock *fl2)
H A Dxdr.h43 struct file_lock fl;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/afs/
H A Dflock.c18 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl);
19 static void afs_fl_release_private(struct file_lock *fl);
84 static void afs_grant_locks(struct afs_vnode *vnode, struct file_lock *fl)
86 struct file_lock *p, *_p;
111 struct file_lock *fl;
146 struct file_lock, fl_u.afs.link);
180 struct file_lock, fl_u.afs.link);
204 struct file_lock, fl_u.afs.link) == fl) {
254 static int afs_do_setlk(struct file *file, struct file_lock *f
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/
H A Dlocks.c55 int ceph_lock(struct file *file, int cmd, struct file_lock *fl)
108 int ceph_flock(struct file *file, int cmd, struct file_lock *fl)
165 struct file_lock *lock;
190 struct file_lock *lock;
232 int lock_to_ceph_filelock(struct file_lock *lock,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/lockd/
H A Dclntlock.c39 struct file_lock * b_lock; /* local file lock */
90 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl)
148 const struct file_lock *fl = &lock->fl;
158 struct file_lock *fl_blocked = block->b_lock;
213 struct file_lock *fl, *next;
H A Dclntproc.c27 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 *);
125 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl)
155 int nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl)
420 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl)
449 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *f
[all...]
H A Dsvcsubs.c159 struct file_lock *fl;
173 struct file_lock lock = *fl;
215 struct file_lock *fl;
H A Dsvclock.c109 struct file_lock *fl;
490 struct file_lock *conf = kzalloc(sizeof(*conf), GFP_KERNEL);
634 nlmsvc_update_deferred_block(struct nlm_block *block, struct file_lock *conf,
648 static int nlmsvc_grant_deferred(struct file_lock *fl, struct file_lock *conf,
688 nlmsvc_notify_blocked(struct file_lock *fl)
704 static int nlmsvc_same_owner(struct file_lock *fl1, struct file_lock *fl2)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/dlm/
H A Dplock.c36 struct file_lock flc;
75 int cmd, struct file_lock *fl)
151 struct file_lock *fl;
152 struct file_lock *flc;
204 struct file_lock *fl)
259 struct file_lock *fl)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfsd/
H A Dnfs4state.c262 /* Remove the associated file_lock first, then remove the delegation.
263 * lease_modify() is called to remove the FS_LEASE file_lock from
2087 * by the lease (file_lock)
2094 void nfsd_break_deleg_cb(struct file_lock *fl)
2128 * The file_lock is being reapd.
2133 void nfsd_release_deleg_cb(struct file_lock *fl)
2145 * Set the delegation file_lock back pointer.
2150 void nfsd_copy_lock_deleg_cb(struct file_lock *new, struct file_lock *fl)
2164 int nfsd_same_client_deleg_cb(struct file_lock *onlis
3517 struct file_lock file_lock; local
3698 struct file_lock file_lock; local
3772 struct file_lock file_lock; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Ddelegation.h54 int nfs4_lock_delegation_recall(struct nfs4_state *state, struct file_lock *fl);
H A Dfile.c59 static int nfs_lock(struct file *filp, int cmd, struct file_lock *fl);
60 static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl);
61 static int nfs_setlease(struct file *file, long arg, struct file_lock **fl);
686 static int do_getlk(struct file *filp, int cmd, struct file_lock *fl)
714 static int do_vfs_lock(struct file *file, struct file_lock *fl)
730 static int do_unlk(struct file *filp, int cmd, struct file_lock *fl)
753 static int do_setlk(struct file *filp, int cmd, struct file_lock *fl)
787 static int nfs_lock(struct file *filp, int cmd, struct file_lock *fl)
823 static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl)
847 static int nfs_setlease(struct file *file, long arg, struct file_lock **f
[all...]
H A Dnfs4_fs.h215 int (*recover_lock)(struct nfs4_state *, struct file_lock *);
323 extern int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Dfile.c626 static int gfs2_setlease(struct file *file, long arg, struct file_lock **fl)
640 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl)
666 static int do_flock(struct file *file, int cmd, struct file_lock *fl)
686 &(struct file_lock){.fl_type = F_UNLCK});
712 static void do_unflock(struct file *file, struct file_lock *fl)
733 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/
H A Dcifsfs.h86 extern int cifs_lock(struct file *, int, struct file_lock *);

Completed in 389 milliseconds

123