Searched refs:F_WRLCK (Results 1 – 12 of 12) sorted by relevance
27 fileLock.l_type = F_WRLCK; in lockf()31 fileLock.l_type = F_WRLCK; in lockf()35 fileLock.l_type = F_WRLCK; in lockf()
23 return type == F_RDLCK ? "shared" : type == F_WRLCK in type_name()58 return do_lock(fd, F_WRLCK, start, length); in exclusive_lock()125 type = F_WRLCK; in main()
71 F_WRLCK, // exclusive lock in main()101 flock.l_type = F_WRLCK; in main()136 flock.l_type = F_WRLCK; in main()
28 #define F_WRLCK 0x0400 /* write or exclusive lock */ macro
271 case F_WRLCK: return wait ? WRITEW_LT : WRITE_LT; in sGetLockType()286 return F_WRLCK; in sLockTypeToHaiku()
679 case F_WRLCK: in CheckLockType()
119 lock.l_type = F_WRLCK; in pidfile_open()
174 flk.l_type = F_WRLCK; in ntfs_device_unix_io_open()
254 fl.l_type = F_WRLCK; in get_clock()
115 LTYPE(F_WRLCK); in format_ltype()
765 #define F_WRLCK FSSH_F_WRLCK macro
1618 flock->l_type = lock->shared ? F_RDLCK : F_WRLCK; in test_advisory_lock()6364 && flock.l_type == F_WRLCK) in common_fcntl()9283 flock.l_type = (operation & LOCK_SH) != 0 ? F_RDLCK : F_WRLCK; in _user_flock()