Lines Matching refs:F_WRLCK
470 return F_WRLCK; in flock_translate_cmd()
508 case F_WRLCK: in assign_type()
885 if (sys_fl->fl_type == F_WRLCK) in locks_conflict()
887 if (caller_fl->fl_type == F_WRLCK) in locks_conflict()
1587 new_fl = lease_alloc(NULL, want_write ? F_WRLCK : F_RDLCK); in __break_lease()
1702 if (fl && (fl->fl_type == F_WRLCK)) in lease_get_mtime()
1784 else if (arg != F_WRLCK) in check_conflicting_open()
1834 if (is_deleg && arg == F_WRLCK) { in generic_add_lease()
1868 if (arg == F_WRLCK) in generic_add_lease()
1982 case F_WRLCK: in generic_setlease()
2329 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk()
2434 case F_WRLCK: in check_fmode_for_setlk()
2542 if (flock->l_type != F_RDLCK && flock->l_type != F_WRLCK) in fcntl_getlk64()
2851 seq_printf(f, "%s ", (type == F_WRLCK) ? "WRITE" : in lock_get_status()