Searched refs:l_type (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-11-stable/lib/libc/gen/
H A Dlockf.c54 fl.l_type = F_UNLCK;
58 fl.l_type = F_WRLCK;
62 fl.l_type = F_WRLCK;
65 fl.l_type = F_WRLCK;
70 if (fl.l_type == F_UNLCK || (fl.l_sysid == 0 &&
/freebsd-11-stable/contrib/sendmail/libsmutil/
H A Dlockfile.c49 lfd.l_type = F_UNLCK;
51 lfd.l_type = F_WRLCK;
53 lfd.l_type = F_RDLCK;
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_fcntl.h106 short l_type; member in struct:svr4_flock_svr3
116 short l_type; member in struct:svr4_flock
126 short l_type; member in struct:svr4_flock64
H A Dsvr4_fcntl.c148 switch (iflp->l_type) {
150 oflp->l_type = SVR4_F_RDLCK;
153 oflp->l_type = SVR4_F_WRLCK;
156 oflp->l_type = SVR4_F_UNLCK;
159 oflp->l_type = -1;
176 switch (iflp->l_type) {
178 oflp->l_type = F_RDLCK;
181 oflp->l_type = F_WRLCK;
184 oflp->l_type = F_UNLCK;
187 oflp->l_type
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dflock.c61 arg.l_type = F_UNLCK;
65 arg.l_type = F_RDLCK;
69 arg.l_type = F_WRLCK;
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dflock.c39 l.l_type = F_RDLCK;
41 l.l_type = F_WRLCK;
96 l.l_type = F_UNLCK;
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_fcntl.h62 short l_type; member in struct:ibcs2_flock
H A Dibcs2_fcntl.c83 switch (flp->l_type) {
85 iflp->l_type = IBCS2_F_RDLCK;
88 iflp->l_type = IBCS2_F_WRLCK;
91 iflp->l_type = IBCS2_F_UNLCK;
107 flp->l_type, flp->l_whence);
119 switch (iflp->l_type) {
121 flp->l_type = F_RDLCK;
124 flp->l_type = F_WRLCK;
127 flp->l_type = F_UNLCK;
/freebsd-11-stable/tests/sys/file/
H A Dflock_helper.c154 fl1.l_type = F_WRLCK;
165 FAIL(fl1.l_type != F_UNLCK);
198 fl.l_type = F_WRLCK;
269 fl.l_type = F_WRLCK;
338 fl.l_type = F_WRLCK;
376 FAIL(fl.l_type != F_WRLCK);
424 fl.l_type = F_WRLCK;
471 fl.l_type = F_UNLCK;
510 fl.l_type = F_WRLCK;
574 fl.l_type
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DLockFilePosix.cpp25 fl.l_type = lock_type;
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dkern.c188 switch (msg.lm_fl.l_type) {
202 "unknown lock type: %d", msg.lm_fl.l_type);
266 msg->lm_fl.l_type == F_WRLCK ? "write" : "read",
274 arg4.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
298 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
337 msg->lm_fl.l_type == F_WRLCK ? "write" : "read",
344 arg4.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
369 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
600 mp->lm_fl.l_type, mp->lm_fl.l_whence);
/freebsd-11-stable/sys/sys/
H A Dfcntl.h277 short l_type; /* lock type: read/write, etc. */ member in struct:flock
291 short l_type; /* lock type: read/write, etc. */ member in struct:__oflock
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_lockf.c91 fl.l_type = F_RDLCK;
94 fl.l_type = F_WRLCK;
97 fl.l_type = F_UNLCK;
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_file.c1196 l_short l_type; member in struct:l_flock
1210 switch (linux_flock->l_type) {
1212 bsd_flock->l_type = F_RDLCK;
1215 bsd_flock->l_type = F_WRLCK;
1218 bsd_flock->l_type = F_UNLCK;
1221 bsd_flock->l_type = -1;
1234 switch (bsd_flock->l_type) {
1236 linux_flock->l_type = LINUX_F_RDLCK;
1239 linux_flock->l_type = LINUX_F_WRLCK;
1242 linux_flock->l_type
1253 l_short l_type; member in struct:l_flock64
[all...]
/freebsd-11-stable/contrib/sendmail/libsmdb/
H A Dsmdb.c92 lfd.l_type = F_UNLCK;
94 lfd.l_type = F_WRLCK;
96 lfd.l_type = F_RDLCK;
/freebsd-11-stable/sys/nlm/
H A Dnlm_advlock.c294 && fl->l_type == F_WRLCK) {
310 fl->l_type = F_UNLCK;
314 fl->l_type = F_WRLCK;
459 newfl.l_type = F_UNLCK;
712 newfl.l_type = fl->l_type;
777 exclusive = (fl->l_type == F_WRLCK);
1051 exclusive = (fl->l_type == F_WRLCK);
1101 fl->l_type = F_WRLCK;
1103 fl->l_type
[all...]
H A Dnlm_prot_impl.c1902 fl.l_type = F_WRLCK;
1904 fl.l_type = F_RDLCK;
1911 if (fl.l_type == F_UNLCK) {
1916 (fl.l_type == F_WRLCK);
2009 fl.l_type = F_WRLCK;
2011 fl.l_type = F_RDLCK;
2037 && af->af_fl.l_type == fl.l_type) {
2188 fl.l_type = F_WRLCK;
2190 fl.l_type
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c133 s_flock.l_type = F_WRLCK;
158 s_flock.l_type = F_UNLCK;
/freebsd-11-stable/sys/nfs/
H A Dnfs_lock.c305 if (fl->l_type == F_UNLCK)
341 fl->l_type = F_UNLCK;
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c761 l.l_type = F_RDLCK | F_WRLCK;
778 l.l_type = F_UNLCK;
783 l.l_type = F_RDLCK | F_WRLCK;
823 if (l.l_type == F_UNLCK)
939 ATF_CHECK_EQ(result[j].l_type, expect[j].l_type );
/freebsd-11-stable/sys/kern/
H A Dkern_descrip.c432 fl.l_type = ofl.l_type;
469 ofl.l_type = fl.l_type;
637 switch (flp->l_type) {
680 if (error != 0 || flp->l_type == F_UNLCK ||
681 flp->l_type == F_UNLCKSYS) {
711 flp->l_type = F_UNLCK;
730 if (flp->l_type != F_RDLCK && flp->l_type !
[all...]
H A Dkern_lockf.c483 fl->l_type = F_UNLCK;
574 lock->lf_type = fl->l_type;
1588 fl->l_type = block->lf_type;
1598 fl->l_type = F_UNLCK;
1909 ldesc->fl.l_type = F_UNLCK;
1975 ldesc->fl.l_type = F_UNLCK;
/freebsd-11-stable/bin/cat/
H A Dcat.c139 stdout_lock.l_type = F_WRLCK;
/freebsd-11-stable/usr.bin/at/
H A Dat.c250 lock.l_type = F_WRLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
309 lock.l_type = F_UNLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_vnops.c1076 switch (fl->l_type) {
1096 int oldtype = fl->l_type;
1097 fl->l_type = F_UNLCK;
1100 fl->l_type = oldtype;

Completed in 211 milliseconds

12