Lines Matching refs:F_WRLCK
361 return F_WRLCK; in flock_translate_cmd()
396 case F_WRLCK: in assign_type()
717 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()
719 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
1253 fl.fl_type = (read_write == FLOCK_VERIFY_WRITE) ? F_WRLCK : F_RDLCK; in locks_mandatory_area()
1397 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1505 if (fl->fl_type == F_WRLCK) in lease_get_mtime()
1587 if ((arg == F_WRLCK) && ((d_count(dentry) > 1) || in check_conflicting_open()
1624 if (is_deleg && arg == F_WRLCK) { in generic_add_lease()
1657 if (arg == F_WRLCK) in generic_add_lease()
1769 case F_WRLCK: in generic_setlease()
2007 if ((flock.l_type != F_RDLCK) && (flock.l_type != F_WRLCK)) in fcntl_getlk()
2118 case F_WRLCK: in check_fmode_for_setlk()
2233 if ((flock.l_type != F_RDLCK) && (flock.l_type != F_WRLCK)) in fcntl_getlk64()
2565 : (fl->fl_type == F_WRLCK) ? "WRITE" : "READ "); in lock_get_status()