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

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dlocks.c34 static struct file_lock *locks_alloc_lock(void)
39 static void locks_release_private(struct file_lock *fl)
55 static void locks_free_lock(struct file_lock *fl)
65 void locks_init_lock(struct file_lock *fl)
90 struct file_lock *lock = (struct file_lock *) foo;
95 static void locks_copy_private(struct file_lock *new, struct file_lock *fl)
110 * Initialize a new lock from an existing file_lock structure.
112 static void __locks_copy_lock(struct file_lock *ne
1516 struct file_lock file_lock; local
1596 struct file_lock *file_lock = locks_alloc_lock(); local
1685 struct file_lock file_lock; local
1722 struct file_lock *file_lock = locks_alloc_lock(); local
[all...]
H A Dfile.c186 * The files->file_lock should be held on entry, and will be held on exit.
189 __releases(files->file_lock)
190 __acquires(files->file_lock)
194 spin_unlock(&files->file_lock);
196 spin_lock(&files->file_lock);
225 * The files->file_lock should be held on entry, and will be held on exit.
H A Dfcntl.c30 spin_lock(&files->file_lock);
36 spin_unlock(&files->file_lock);
54 * file_lock held for write.
119 spin_lock(&files->file_lock);
126 spin_unlock(&files->file_lock);
129 spin_unlock(&files->file_lock);
143 spin_lock(&files->file_lock);
175 spin_unlock(&files->file_lock);
183 spin_unlock(&files->file_lock);
187 spin_unlock(&files->file_lock);
[all...]
H A Dopen.c863 spin_lock(&files->file_lock);
902 spin_unlock(&files->file_lock);
919 spin_lock(&files->file_lock);
921 spin_unlock(&files->file_lock);
943 spin_lock(&files->file_lock);
947 spin_unlock(&files->file_lock);
1051 spin_lock(&files->file_lock);
1061 spin_unlock(&files->file_lock);
1074 spin_unlock(&files->file_lock);
H A Dbad_inode.c112 static int bad_file_lock(struct file *file, int cmd, struct file_lock *fl)
146 static int bad_file_flock(struct file *filp, int cmd, struct file_lock *fl)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/lockd/
H A Dbind.h37 extern int nlmclnt_proc(struct inode *, int, struct file_lock *);
H A Dlockd.h137 struct file_lock * b_fl; /* set for GETLK */
164 struct nlm_wait * nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl);
169 int nlmclnt_reclaim(struct nlm_host *, struct file_lock *);
236 nlm_compare_locks(const struct file_lock *fl1, const struct file_lock *fl2)
H A Dxdr.h36 struct file_lock fl;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dlm.h34 struct file *file, struct file_lock *fl);
36 struct file *file, int cmd, struct file_lock *fl);
38 struct file *file, struct file_lock *fl);
H A Dlm.c174 struct file *file, struct file_lock *fl)
184 struct file *file, int cmd, struct file_lock *fl)
194 struct file *file, struct file_lock *fl)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/lockd/
H A Dclntlock.c37 struct file_lock * b_lock; /* local file lock */
47 struct nlm_wait *nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl)
105 const struct file_lock *fl = &lock->fl;
115 struct file_lock *fl_blocked = block->b_lock;
166 struct file_lock *fl, *next;
H A Dclntproc.c26 static int nlmclnt_test(struct nlm_rqst *, struct file_lock *);
27 static int nlmclnt_lock(struct nlm_rqst *, struct file_lock *);
28 static int nlmclnt_unlock(struct nlm_rqst *, struct file_lock *);
30 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host);
31 static int nlmclnt_cancel(struct nlm_host *, int , struct file_lock *);
124 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl)
152 nlmclnt_proc(struct inode *inode, int cmd, struct file_lock *fl)
401 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl)
430 static void nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *f
[all...]
H A Dsvcsubs.c157 struct file_lock *fl;
171 struct file_lock lock = *fl;
207 struct file_lock *fl;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dlm_interface.h211 struct file *file, struct file_lock *fl);
214 struct file *file, int cmd, struct file_lock *fl);
217 struct file *file, struct file_lock *fl);
H A Dfs.h549 struct file_lock *i_flock;
772 void (*fl_insert)(struct file_lock *); /* lock insertion callback */
773 void (*fl_remove)(struct file_lock *); /* lock removal callback */
774 void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
775 void (*fl_release_private)(struct file_lock *);
779 int (*fl_compare_owner)(struct file_lock *, struct file_lock *);
780 void (*fl_notify)(struct file_lock *); /* unblock callback */
781 int (*fl_grant)(struct file_lock *, struc
792 struct file_lock { struct
[all...]
H A Dfile.h51 spinlock_t file_lock ____cacheline_aligned_in_smp;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/locking/dlm/
H A Dlock_dlm.h182 struct file_lock *);
184 struct file_lock *);
186 struct file_lock *);
H A Dplock.c33 struct file_lock flc;
72 struct file *file, int cmd, struct file_lock *fl)
133 struct file_lock *fl;
134 struct file_lock *flc;
185 struct file *file, struct file_lock *fl)
227 struct file *file, struct file_lock *fl)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/locking/nolock/
H A Dmain.c164 struct file *file, struct file_lock *fl)
172 struct file *file, int cmd, struct file_lock *fl)
180 struct file *file, struct file_lock *fl)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Docfs1_fs_compat.h79 __u8 file_lock; member in struct:ocfs1_disk_lock
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/
H A Ddelegation.h43 int nfs4_lock_delegation_recall(struct nfs4_state *state, struct file_lock *fl);
H A Dfile.c52 static int nfs_lock(struct file *filp, int cmd, struct file_lock *fl);
53 static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl);
393 static int do_getlk(struct file *filp, int cmd, struct file_lock *fl)
419 static int do_vfs_lock(struct file *file, struct file_lock *fl)
439 static int do_unlk(struct file *filp, int cmd, struct file_lock *fl)
464 static int do_setlk(struct file *filp, int cmd, struct file_lock *fl)
507 static int nfs_lock(struct file *filp, int cmd, struct file_lock *fl)
532 static int nfs_flock(struct file *filp, int cmd, struct file_lock *fl)
H A Dnfs4_fs.h150 int (*recover_lock)(struct nfs4_state *, struct file_lock *);
203 extern int nfs4_set_lock_state(struct nfs4_state *state, struct file_lock *fl);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dnfs4state.c239 /* Remove the associated file_lock first, then remove the delegation.
240 * lease_modify() is called to remove the FS_LEASE file_lock from
1319 * by the lease (file_lock)
1326 void nfsd_break_deleg_cb(struct file_lock *fl)
1363 * The file_lock is being reapd.
1368 void nfsd_release_deleg_cb(struct file_lock *fl)
1380 * Set the delegation file_lock back pointer.
1385 void nfsd_copy_lock_deleg_cb(struct file_lock *new, struct file_lock *fl)
1399 int nfsd_same_client_deleg_cb(struct file_lock *onlis
2638 struct file_lock file_lock; local
2794 struct file_lock file_lock; local
2880 struct file_lock file_lock; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/cifs/
H A Dcifsfs.h76 extern int cifs_lock(struct file *, int, struct file_lock *);

Completed in 176 milliseconds

123