Lines Matching refs:F_WRLCK
470 return F_WRLCK; in flock_translate_cmd()
508 case F_WRLCK: in assign_type()
908 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()
910 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
1519 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1635 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime()
1720 else if (arg != F_WRLCK) in check_conflicting_open()
1770 if (is_deleg && arg == F_WRLCK) { in generic_add_lease()
1804 if (arg == F_WRLCK) in generic_add_lease()
1918 case F_WRLCK: in generic_setlease()
2266 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk()
2371 case F_WRLCK: in check_fmode_for_setlk()
2472 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk64()
2776 seq_printf(f, "%s ", (type == F_WRLCK) ? "WRITE" : in lock_get_status()