Lines Matching refs:fl_type

89 	return fl->fl_type;
210 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);
241 " fl_owner=%p fl_flags=0x%x fl_type=0x%x fl_pid=%u\n",
244 fl->fl_owner, fl->fl_flags, fl->fl_type, fl->fl_pid);
367 new->fl_type = fl->fl_type;
448 fl->fl_type = type;
460 fl->fl_type = type;
858 if (sys_fl->fl_type == F_WRLCK)
860 if (caller_fl->fl_type == F_WRLCK)
910 fl->fl_type = F_UNLCK;
932 fl->fl_type = F_UNLCK;
1029 ctx = locks_get_lock_context(inode, request->fl_type);
1031 if (request->fl_type != F_UNLCK)
1036 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) {
1050 if (request->fl_type == fl->fl_type)
1057 if (request->fl_type == F_UNLCK) {
1107 ctx = locks_get_lock_context(inode, request->fl_type);
1109 return (request->fl_type == F_UNLCK) ? 0 : -ENOMEM;
1118 (request->fl_type != F_UNLCK ||
1132 if (request->fl_type != F_UNLCK) {
1190 if (request->fl_type == fl->fl_type) {
1230 if (request->fl_type == F_UNLCK)
1281 if (request->fl_type == F_UNLCK) {
1610 if (fl && (fl->fl_type == F_WRLCK))
2139 error = security_file_lock(f.file, lock->fl_type);
2165 * setting conf->fl_type to something other than F_UNLCK.
2224 flock->l_type = fl->fl_type;
2236 flock->l_type = fl->fl_type;
2272 flock->l_type = fl->fl_type;
2273 if (fl->fl_type != F_UNLCK) {
2330 error = security_file_lock(filp, fl->fl_type);
2352 switch (fl->fl_type) {
2420 if (!error && file_lock->fl_type != F_UNLCK &&
2432 file_lock->fl_type = F_UNLCK;
2479 flock->l_type = fl->fl_type;
2480 if (fl->fl_type != F_UNLCK)
2543 if (!error && file_lock->fl_type != F_UNLCK &&
2555 file_lock->fl_type = F_UNLCK;
2589 lock.fl_type = F_UNLCK;
2751 type = IS_LEASE(fl) ? target_leasetype(fl) : fl->fl_type;