Home
last modified time | relevance | path

Searched refs:fl64 (Results 1 – 2 of 2) sorted by relevance

/glibc-2.36/io/
Dlockf64.c27 struct flock64 fl64 = { in __lockf64() local
41 fl64.l_type = F_RDLCK; in __lockf64()
42 if (__fcntl (fd, F_GETLK64, &fl64) < 0) in __lockf64()
44 if (fl64.l_type == F_UNLCK || fl64.l_pid == __getpid ()) in __lockf64()
49 fl64.l_type = F_UNLCK; in __lockf64()
50 return __fcntl64 (fd, F_SETLK64, &fl64); in __lockf64()
52 return __fcntl64 (fd, F_SETLKW64, &fl64); in __lockf64()
54 return __fcntl64 (fd, F_SETLK64, &fl64); in __lockf64()
/glibc-2.36/sysdeps/mach/hurd/
Dfcntl.c155 struct flock64 fl64 = { in __libc_fcntl() local
168 &fl64, MACH_PORT_NULL, in __libc_fcntl()
174 err = HURD_FD_PORT_USE (d, __file_record_lock (port, cmd, &fl64, in __libc_fcntl()
200 fl->l_type = fl64.l_type; in __libc_fcntl()
201 fl->l_whence = fl64.l_whence; in __libc_fcntl()
202 fl->l_start = fl64.l_start; in __libc_fcntl()
203 fl->l_len = fl64.l_len; in __libc_fcntl()
204 fl->l_pid = fl64.l_pid; in __libc_fcntl()
206 if ((sizeof fl->l_start != sizeof fl64.l_start in __libc_fcntl()
207 && fl->l_start != fl64.l_start) in __libc_fcntl()
[all …]