flock              38 fs/afs/file.c  	.flock		= afs_flock,
flock             183 fs/bad_inode.c 	.flock		= bad_file_flock,
flock             398 fs/compat.c    	struct flock f;
flock             284 fs/fcntl.c     		err = fcntl_getlk(filp, (struct flock __user *) arg);
flock             288 fs/fcntl.c     		err = fcntl_setlk(fd, filp, cmd, (struct flock __user *) arg);
flock            1301 fs/fuse/file.c 	if (flock)
flock            1357 fs/fuse/file.c 	fuse_lk_fill(req, file, fl, opcode, pid, flock);
flock            1480 fs/fuse/file.c 	.flock		= fuse_file_flock,
flock            1493 fs/fuse/file.c 	.flock		= fuse_file_flock,
flock             749 fs/gfs2/ops_file.c 	.flock		= gfs2_flock,
flock             762 fs/gfs2/ops_file.c 	.flock		= gfs2_flock,
flock            1180 fs/locks.c     	struct file_lock *new_fl, *flock;
flock            1191 fs/locks.c     	flock = inode->i_flock;
flock            1192 fs/locks.c     	if ((flock == NULL) || !IS_LEASE(flock))
flock            1195 fs/locks.c     	for (fl = flock; fl && IS_LEASE(fl); fl = fl->fl_next)
flock            1202 fs/locks.c     	} else if (flock->fl_type & F_INPROGRESS) {
flock            1204 fs/locks.c     		future = flock->fl_type;
flock            1205 fs/locks.c     	} else if (flock->fl_type & F_WRLCK) {
flock            1226 fs/locks.c     	for (fl = flock; fl && IS_LEASE(fl); fl = fl->fl_next) {
flock            1241 fs/locks.c     	break_time = flock->fl_break_time;
flock            1247 fs/locks.c     	locks_insert_block(flock, new_fl);
flock            1255 fs/locks.c     		for (flock = inode->i_flock; flock && IS_LEASE(flock);
flock            1256 fs/locks.c     				flock = flock->fl_next) {
flock            1257 fs/locks.c     			if (flock->fl_type & F_INPROGRESS)
flock            1283 fs/locks.c     	struct file_lock *flock = inode->i_flock;
flock            1284 fs/locks.c     	if (flock && IS_LEASE(flock) && (flock->fl_type & F_WRLCK))
flock            1596 fs/locks.c     	if (filp->f_op && filp->f_op->flock)
flock            1597 fs/locks.c     		error = filp->f_op->flock(filp,
flock            1631 fs/locks.c     	flock->l_pid = fl->fl_pid;
flock            1642 fs/locks.c     	flock->l_start = fl->fl_start;
flock            1643 fs/locks.c     	flock->l_len = fl->fl_end == OFFSET_MAX ? 0 :
flock            1645 fs/locks.c     	flock->l_whence = 0;
flock            1646 fs/locks.c     	flock->l_type = fl->fl_type;
flock            1653 fs/locks.c     	flock->l_pid = fl->fl_pid;
flock            1654 fs/locks.c     	flock->l_start = fl->fl_start;
flock            1655 fs/locks.c     	flock->l_len = fl->fl_end == OFFSET_MAX ? 0 :
flock            1657 fs/locks.c     	flock->l_whence = 0;
flock            1658 fs/locks.c     	flock->l_type = fl->fl_type;
flock            1668 fs/locks.c     	struct flock flock;
flock            1672 fs/locks.c     	if (copy_from_user(&flock, l, sizeof(flock)))
flock            1675 fs/locks.c     	if ((flock.l_type != F_RDLCK) && (flock.l_type != F_WRLCK))
flock            1678 fs/locks.c     	error = flock_to_posix_lock(filp, &file_lock, &flock);
flock            1686 fs/locks.c     	flock.l_type = file_lock.fl_type;
flock            1688 fs/locks.c     		error = posix_lock_to_flock(&flock, &file_lock);
flock            1693 fs/locks.c     	if (!copy_to_user(l, &flock, sizeof(flock)))
flock            1772 fs/locks.c     	struct flock flock;
flock            1784 fs/locks.c     	if (copy_from_user(&flock, l, sizeof(flock)))
flock            1798 fs/locks.c     	error = flock_to_posix_lock(filp, file_lock, &flock);
flock            1806 fs/locks.c     	switch (flock.l_type) {
flock            1836 fs/locks.c     	if (!error && f != filp && flock.l_type != F_UNLCK) {
flock            1837 fs/locks.c     		flock.l_type = F_UNLCK;
flock            1853 fs/locks.c     	struct flock64 flock;
flock            1857 fs/locks.c     	if (copy_from_user(&flock, l, sizeof(flock)))
flock            1860 fs/locks.c     	if ((flock.l_type != F_RDLCK) && (flock.l_type != F_WRLCK))
flock            1863 fs/locks.c     	error = flock64_to_posix_lock(filp, &file_lock, &flock);
flock            1871 fs/locks.c     	flock.l_type = file_lock.fl_type;
flock            1873 fs/locks.c     		posix_lock_to_flock64(&flock, &file_lock);
flock            1876 fs/locks.c     	if (!copy_to_user(l, &flock, sizeof(flock)))
flock            1890 fs/locks.c     	struct flock64 flock;
flock            1902 fs/locks.c     	if (copy_from_user(&flock, l, sizeof(flock)))
flock            1916 fs/locks.c     	error = flock64_to_posix_lock(filp, file_lock, &flock);
flock            1924 fs/locks.c     	switch (flock.l_type) {
flock            1949 fs/locks.c     	if (!error && f != filp && flock.l_type != F_UNLCK) {
flock            1950 fs/locks.c     		flock.l_type = F_UNLCK;
flock            2007 fs/locks.c     	if (filp->f_op && filp->f_op->flock) {
flock            2015 fs/locks.c     		filp->f_op->flock(filp, F_SETLKW, &fl);
flock              77 fs/nfs/file.c  	.flock		= nfs_flock,
flock            2111 fs/ocfs2/file.c 	.flock		= ocfs2_flock,
flock            2128 fs/ocfs2/file.c 	.flock		= ocfs2_flock,
flock            2157 fs/ocfs2/file.c 	.flock		= ocfs2_flock,
flock            2173 fs/ocfs2/file.c 	.flock		= ocfs2_flock,
flock            1319 include/linux/fs.h 	int (*flock) (struct file *, int, struct file_lock *);