fl_type 124 fs/9p/vfs_file.c if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) fl_type 127 fs/9p/vfs_file.c if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { fl_type 141 fs/9p/vfs_file.c unsigned char fl_type; fl_type 157 fs/9p/vfs_file.c switch (fl->fl_type) { fl_type 228 fs/9p/vfs_file.c if (res < 0 && fl->fl_type != F_UNLCK) { fl_type 229 fs/9p/vfs_file.c fl_type = fl->fl_type; fl_type 230 fs/9p/vfs_file.c fl->fl_type = F_UNLCK; fl_type 233 fs/9p/vfs_file.c fl->fl_type = fl_type; fl_type 255 fs/9p/vfs_file.c if (fl->fl_type != F_UNLCK) fl_type 275 fs/9p/vfs_file.c fl->fl_type = F_RDLCK; fl_type 278 fs/9p/vfs_file.c fl->fl_type = F_WRLCK; fl_type 281 fs/9p/vfs_file.c fl->fl_type = F_UNLCK; fl_type 315 fs/9p/vfs_file.c if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) fl_type 318 fs/9p/vfs_file.c if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { fl_type 351 fs/9p/vfs_file.c if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) fl_type 357 fs/9p/vfs_file.c if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->fl_type != F_UNLCK) { fl_type 95 fs/afs/flock.c if (!exclusive && p->fl_type == F_WRLCK) fl_type 114 fs/afs/flock.c unsigned int fl_type = F_RDLCK; fl_type 119 fs/afs/flock.c fl_type = F_WRLCK; fl_type 123 fs/afs/flock.c p->fl_type == fl_type && fl_type 132 fs/afs/flock.c (next->fl_type == F_WRLCK || p->fl_type == F_RDLCK)) fl_type 478 fs/afs/flock.c fl->fl_start, fl->fl_end, fl->fl_type, mode); fl_type 485 fs/afs/flock.c type = (fl->fl_type == F_RDLCK) ? AFS_LOCK_READ : AFS_LOCK_WRITE; fl_type 718 fs/afs/flock.c _enter("{%llx:%llu},%u", vnode->fid.vid, vnode->fid.vnode, fl->fl_type); fl_type 744 fs/afs/flock.c fl->fl_type = F_UNLCK; fl_type 748 fs/afs/flock.c if (fl->fl_type == F_UNLCK) { fl_type 757 fs/afs/flock.c fl->fl_type = F_RDLCK; fl_type 759 fs/afs/flock.c fl->fl_type = F_WRLCK; fl_type 768 fs/afs/flock.c _leave(" = %d [%hd]", ret, fl->fl_type); fl_type 783 fs/afs/flock.c fl->fl_type, fl->fl_flags, fl_type 787 fs/afs/flock.c if (__mandatory_lock(&vnode->vfs_inode) && fl->fl_type != F_UNLCK) fl_type 796 fs/afs/flock.c if (fl->fl_type == F_UNLCK) fl_type 822 fs/afs/flock.c fl->fl_type, fl->fl_flags); fl_type 838 fs/afs/flock.c if (fl->fl_type == F_UNLCK) fl_type 104 fs/ceph/locks.c wait, fl->fl_type); fl_type 121 fs/ceph/locks.c fl->fl_type = F_RDLCK; fl_type 123 fs/ceph/locks.c fl->fl_type = F_WRLCK; fl_type 125 fs/ceph/locks.c fl->fl_type = F_UNLCK; fl_type 140 fs/ceph/locks.c length, wait, fl->fl_type, err); fl_type 229 fs/ceph/locks.c if (__mandatory_lock(file->f_mapping->host) && fl->fl_type != F_UNLCK) fl_type 246 fs/ceph/locks.c if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) fl_type 251 fs/ceph/locks.c if (F_RDLCK == fl->fl_type) fl_type 253 fs/ceph/locks.c else if (F_WRLCK == fl->fl_type) fl_type 288 fs/ceph/locks.c if (fl->fl_type & LOCK_MAND) fl_type 299 fs/ceph/locks.c if (F_UNLCK == fl->fl_type) fl_type 307 fs/ceph/locks.c if (F_RDLCK == fl->fl_type) fl_type 309 fs/ceph/locks.c else if (F_WRLCK == fl->fl_type) fl_type 366 fs/ceph/locks.c switch (lock->fl_type) { fl_type 377 fs/ceph/locks.c dout("Have unknown lock type %d\n", lock->fl_type); fl_type 2680 fs/cifs/cifssmb.c pLockData->fl_type = F_UNLCK; fl_type 2684 fs/cifs/cifssmb.c pLockData->fl_type = F_RDLCK; fl_type 2687 fs/cifs/cifssmb.c pLockData->fl_type = F_WRLCK; fl_type 1053 fs/cifs/file.c flock->fl_type = F_RDLCK; fl_type 1055 fs/cifs/file.c flock->fl_type = F_WRLCK; fl_type 1059 fs/cifs/file.c flock->fl_type = F_UNLCK; fl_type 1134 fs/cifs/file.c unsigned char saved_type = flock->fl_type; fl_type 1142 fs/cifs/file.c if (flock->fl_type == F_UNLCK && !cinode->can_cache_brlcks) { fl_type 1143 fs/cifs/file.c flock->fl_type = saved_type; fl_type 1329 fs/cifs/file.c if (flock->fl_type == F_RDLCK || flock->fl_type == F_SHLCK) fl_type 1414 fs/cifs/file.c if (flock->fl_type == F_WRLCK) { fl_type 1418 fs/cifs/file.c } else if (flock->fl_type == F_UNLCK) { fl_type 1423 fs/cifs/file.c } else if (flock->fl_type == F_RDLCK) { fl_type 1427 fs/cifs/file.c } else if (flock->fl_type == F_EXLCK) { fl_type 1431 fs/cifs/file.c } else if (flock->fl_type == F_SHLCK) { fl_type 1478 fs/cifs/file.c flock->fl_type = F_UNLCK; fl_type 1486 fs/cifs/file.c flock->fl_type = F_WRLCK; fl_type 1498 fs/cifs/file.c flock->fl_type = F_RDLCK; fl_type 1503 fs/cifs/file.c flock->fl_type = F_WRLCK; fl_type 1749 fs/cifs/file.c cmd, flock->fl_flags, flock->fl_type, fl_type 122 fs/dlm/plock.c op->info.ex = (fl->fl_type == F_WRLCK); fl_type 334 fs/dlm/plock.c op->info.ex = (fl->fl_type == F_WRLCK); fl_type 360 fs/dlm/plock.c fl->fl_type = F_UNLCK; fl_type 365 fs/dlm/plock.c fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; fl_type 2350 fs/fuse/file.c fl->fl_type = ffl->type; fl_type 2367 fs/fuse/file.c inarg->lk.type = fl->fl_type; fl_type 2405 fs/fuse/file.c struct pid *pid = fl->fl_type != F_UNLCK ? task_tgid(current) : NULL; fl_type 1192 fs/gfs2/file.c if (__mandatory_lock(&ip->i_inode) && fl->fl_type != F_UNLCK) fl_type 1198 fs/gfs2/file.c fl->fl_type = F_UNLCK; fl_type 1201 fs/gfs2/file.c if (fl->fl_type == F_UNLCK) fl_type 1207 fs/gfs2/file.c else if (fl->fl_type == F_UNLCK) fl_type 1224 fs/gfs2/file.c state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; fl_type 1234 fs/gfs2/file.c request.fl_type = F_UNLCK; fl_type 1296 fs/gfs2/file.c if (fl->fl_type & LOCK_MAND) fl_type 1299 fs/gfs2/file.c if (fl->fl_type == F_UNLCK) { fl_type 246 fs/lockd/clnt4xdr.c encode_bool(xdr, lock->fl.fl_type == F_RDLCK); fl_type 285 fs/lockd/clnt4xdr.c fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; fl_type 367 fs/lockd/clnt4xdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); fl_type 390 fs/lockd/clnt4xdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); fl_type 413 fs/lockd/clnt4xdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); fl_type 142 fs/lockd/clntproc.c lock->fl.fl_type = fl->fl_type; fl_type 182 fs/lockd/clntproc.c if (fl->fl_type != F_UNLCK) { fl_type 438 fs/lockd/clntproc.c fl->fl_type = F_UNLCK; fl_type 446 fs/lockd/clntproc.c fl->fl_type = req->a_res.lock.fl.fl_type; fl_type 520 fs/lockd/clntproc.c unsigned char fl_type; fl_type 605 fs/lockd/clntproc.c fl_type = fl->fl_type; fl_type 606 fs/lockd/clntproc.c fl->fl_type = F_UNLCK; fl_type 610 fs/lockd/clntproc.c fl->fl_type = fl_type; fl_type 241 fs/lockd/clntxdr.c encode_bool(xdr, lock->fl.fl_type == F_RDLCK); fl_type 279 fs/lockd/clntxdr.c fl->fl_type = exclusive != 0 ? F_WRLCK : F_RDLCK; fl_type 360 fs/lockd/clntxdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); fl_type 383 fs/lockd/clntxdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); fl_type 406 fs/lockd/clntxdr.c encode_bool(xdr, lock->fl.fl_type == F_WRLCK); fl_type 153 fs/lockd/svclock.c (long long)lock->fl.fl_end, lock->fl.fl_type); fl_type 159 fs/lockd/svclock.c (long long)fl->fl_end, fl->fl_type, fl_type 497 fs/lockd/svclock.c lock->fl.fl_type, lock->fl.fl_pid, fl_type 604 fs/lockd/svclock.c lock->fl.fl_type, fl_type 626 fs/lockd/svclock.c if (lock->fl.fl_type == F_UNLCK) { fl_type 632 fs/lockd/svclock.c lock->fl.fl_type, (long long)lock->fl.fl_start, fl_type 638 fs/lockd/svclock.c conflock->fl.fl_type = lock->fl.fl_type; fl_type 674 fs/lockd/svclock.c lock->fl.fl_type = F_UNLCK; fl_type 188 fs/lockd/svcsubs.c lock.fl_type = F_UNLCK; fl_type 130 fs/lockd/xdr.c fl->fl_type = F_RDLCK; /* as good as anything else */ fl_type 159 fs/lockd/xdr.c *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; fl_type 196 fs/lockd/xdr.c argp->lock.fl.fl_type = F_WRLCK; fl_type 224 fs/lockd/xdr.c argp->lock.fl.fl_type = F_WRLCK; fl_type 245 fs/lockd/xdr.c argp->lock.fl.fl_type = F_WRLCK; fl_type 257 fs/lockd/xdr.c argp->lock.fl.fl_type = F_UNLCK; fl_type 122 fs/lockd/xdr4.c fl->fl_type = F_RDLCK; /* as good as anything else */ fl_type 152 fs/lockd/xdr4.c *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one; fl_type 168 fs/lockd/xdr4.c resp->status, (int)resp->lock.svid, fl->fl_type, fl_type 193 fs/lockd/xdr4.c argp->lock.fl.fl_type = F_WRLCK; fl_type 221 fs/lockd/xdr4.c argp->lock.fl.fl_type = F_WRLCK; fl_type 242 fs/lockd/xdr4.c argp->lock.fl.fl_type = F_WRLCK; fl_type 254 fs/lockd/xdr4.c argp->lock.fl.fl_type = F_UNLCK; fl_type 194 fs/locks.c return fl->fl_type; fl_type 286 fs/locks.c pr_warn("%s: fl_owner=%p fl_flags=0x%x fl_type=0x%x fl_pid=%u\n", list_type, fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid); fl_type 320 fs/locks.c fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid); fl_type 415 fs/locks.c new->fl_type = fl->fl_type; fl_type 498 fs/locks.c fl->fl_type = type; fl_type 510 fs/locks.c fl->fl_type = type; fl_type 908 fs/locks.c if (sys_fl->fl_type == F_WRLCK) fl_type 910 fs/locks.c if (caller_fl->fl_type == F_WRLCK) fl_type 945 fs/locks.c if ((caller_fl->fl_type & LOCK_MAND) || (sys_fl->fl_type & LOCK_MAND)) fl_type 960 fs/locks.c fl->fl_type = F_UNLCK; fl_type 971 fs/locks.c fl->fl_type = F_UNLCK; fl_type 1068 fs/locks.c ctx = locks_get_lock_context(inode, request->fl_type); fl_type 1070 fs/locks.c if (request->fl_type != F_UNLCK) fl_type 1075 fs/locks.c if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { fl_type 1089 fs/locks.c if (request->fl_type == fl->fl_type) fl_type 1096 fs/locks.c if (request->fl_type == F_UNLCK) { fl_type 1144 fs/locks.c ctx = locks_get_lock_context(inode, request->fl_type); fl_type 1146 fs/locks.c return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM; fl_type 1155 fs/locks.c (request->fl_type != F_UNLCK || fl_type 1168 fs/locks.c if (request->fl_type != F_UNLCK) { fl_type 1215 fs/locks.c if (request->fl_type == fl->fl_type) { fl_type 1255 fs/locks.c if (request->fl_type == F_UNLCK) fl_type 1305 fs/locks.c if (request->fl_type == F_UNLCK) { fl_type 1457 fs/locks.c fl.fl_type = type; fl_type 1728 fs/locks.c if (fl && (fl->fl_type == F_WRLCK)) fl_type 2243 fs/locks.c error = security_file_lock(f.file, lock->fl_type); fl_type 2328 fs/locks.c flock->l_type = fl->fl_type; fl_type 2340 fs/locks.c flock->l_type = fl->fl_type; fl_type 2377 fs/locks.c flock->l_type = fl->fl_type; fl_type 2378 fs/locks.c if (fl->fl_type != F_UNLCK) { fl_type 2435 fs/locks.c error = security_file_lock(filp, fl->fl_type); fl_type 2457 fs/locks.c switch (fl->fl_type) { fl_type 2533 fs/locks.c if (!error && file_lock->fl_type != F_UNLCK && fl_type 2544 fs/locks.c file_lock->fl_type = F_UNLCK; fl_type 2591 fs/locks.c flock->l_type = fl->fl_type; fl_type 2592 fs/locks.c if (fl->fl_type != F_UNLCK) fl_type 2664 fs/locks.c if (!error && file_lock->fl_type != F_UNLCK && fl_type 2675 fs/locks.c file_lock->fl_type = F_UNLCK; fl_type 2709 fs/locks.c lock.fl_type = F_UNLCK; fl_type 2851 fs/locks.c if (fl->fl_type & LOCK_MAND) { fl_type 2871 fs/locks.c if (fl->fl_type & LOCK_MAND) { fl_type 2873 fs/locks.c (fl->fl_type & LOCK_READ) fl_type 2874 fs/locks.c ? (fl->fl_type & LOCK_WRITE) ? "RW " : "READ " fl_type 2875 fs/locks.c : (fl->fl_type & LOCK_WRITE) ? "WRITE" : "NONE "); fl_type 2877 fs/locks.c int type = IS_LEASE(fl) ? target_leasetype(fl) : fl->fl_type; fl_type 661 fs/nfs/file.c unsigned int saved_type = fl->fl_type; fl_type 665 fs/nfs/file.c if (fl->fl_type != F_UNLCK) { fl_type 669 fs/nfs/file.c fl->fl_type = saved_type; fl_type 681 fs/nfs/file.c fl->fl_type = F_UNLCK; fl_type 773 fs/nfs/file.c filp, fl->fl_type, fl->fl_flags, fl_type 779 fs/nfs/file.c if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) fl_type 793 fs/nfs/file.c else if (fl->fl_type == F_UNLCK) fl_type 811 fs/nfs/file.c filp, fl->fl_type, fl->fl_flags); fl_type 822 fs/nfs/file.c if (fl->fl_type & LOCK_MAND) fl_type 829 fs/nfs/file.c if (fl->fl_type == F_UNLCK) fl_type 6415 fs/nfs/nfs4proc.c request->fl_type = F_UNLCK; fl_type 6630 fs/nfs/nfs4proc.c fl->fl_type = F_UNLCK; fl_type 7179 fs/nfs/nfs4proc.c if (request->fl_type == F_UNLCK) { fl_type 7196 fs/nfs/nfs4proc.c switch (request->fl_type) { fl_type 827 fs/nfs/nfs4trace.h __entry->type = request->fl_type; fl_type 899 fs/nfs/nfs4trace.h __entry->type = request->fl_type; fl_type 1299 fs/nfs/nfs4xdr.c if (fl->fl_type == F_RDLCK) fl_type 4924 fs/nfs/nfs4xdr.c fl->fl_type = F_WRLCK; fl_type 4926 fs/nfs/nfs4xdr.c fl->fl_type = F_RDLCK; fl_type 1312 fs/nfs/write.c fl->fl_type == F_WRLCK; fl_type 1350 fs/nfs/write.c if (fl->fl_type == F_WRLCK) fl_type 196 fs/nfsd/nfs4layouts.c fl->fl_type = F_RDLCK; fl_type 202 fs/nfsd/nfs4layouts.c status = vfs_setlease(fl->fl_file, fl->fl_type, &fl, NULL); fl_type 4796 fs/nfsd/nfs4state.c fl->fl_type = flag == NFS4_OPEN_DELEGATE_READ? F_RDLCK: F_WRLCK; fl_type 4855 fs/nfsd/nfs4state.c status = vfs_setlease(fp->fi_deleg_file->nf_file, fl->fl_type, &fl, NULL); fl_type 6166 fs/nfsd/nfs4state.c if (fl->fl_type != F_RDLCK) fl_type 6427 fs/nfsd/nfs4state.c unsigned char fl_type; fl_type 6505 fs/nfsd/nfs4state.c fl_type = F_RDLCK; fl_type 6517 fs/nfsd/nfs4state.c fl_type = F_WRLCK; fl_type 6537 fs/nfsd/nfs4state.c file_lock->fl_type = fl_type; fl_type 6680 fs/nfsd/nfs4state.c file_lock->fl_type = F_RDLCK; fl_type 6684 fs/nfsd/nfs4state.c file_lock->fl_type = F_WRLCK; fl_type 6707 fs/nfsd/nfs4state.c if (file_lock->fl_type != F_UNLCK) { fl_type 6755 fs/nfsd/nfs4state.c file_lock->fl_type = F_UNLCK; fl_type 31 fs/ocfs2/locks.c if (fl->fl_type == F_WRLCK) fl_type 57 fs/ocfs2/locks.c request.fl_type = F_UNLCK; fl_type 113 fs/ocfs2/locks.c if (fl->fl_type == F_UNLCK) fl_type 126 fs/ocfs2/locks.c if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK) fl_type 756 fs/ocfs2/stack_user.c fl->fl_type = F_UNLCK; fl_type 761 fs/ocfs2/stack_user.c else if (fl->fl_type == F_UNLCK) fl_type 1092 include/linux/fs.h unsigned char fl_type; fl_type 371 include/linux/lockd/lockd.h &&(fl1->fl_type == fl2->fl_type || fl2->fl_type == F_UNLCK); fl_type 1150 include/trace/events/afs.h __entry->type = fl->fl_type; fl_type 75 include/trace/events/filelock.h __field(unsigned char, fl_type) fl_type 89 include/trace/events/filelock.h __entry->fl_type = fl ? fl->fl_type : 0; fl_type 99 include/trace/events/filelock.h show_fl_type(__entry->fl_type), fl_type 131 include/trace/events/filelock.h __field(unsigned char, fl_type) fl_type 143 include/trace/events/filelock.h __entry->fl_type = fl ? fl->fl_type : 0; fl_type 152 include/trace/events/filelock.h show_fl_type(__entry->fl_type), fl_type 184 include/trace/events/filelock.h __field(unsigned char, fl_type) fl_type 195 include/trace/events/filelock.h __entry->fl_type = fl->fl_type; fl_type 203 include/trace/events/filelock.h show_fl_type(__entry->fl_type)) fl_type 224 include/trace/events/filelock.h __entry->l_fl_type = lease->fl_type; fl_type 227 include/trace/events/filelock.h __entry->b_fl_type = breaker->fl_type;