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

12

/freebsd-10.1-release/lib/libc/gen/
H A Dlockf.c53 fl.l_type = F_UNLCK;
57 fl.l_type = F_WRLCK;
61 fl.l_type = F_WRLCK;
64 fl.l_type = F_WRLCK;
67 if (fl.l_type == F_UNLCK || (fl.l_sysid == 0 && fl.l_pid == getpid()))
/freebsd-10.1-release/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-10.1-release/lib/libc/sys/
H A Dfcntl.c64 ofl.l_type = flp->l_type;
74 flp->l_type = ofl.l_type;
/freebsd-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/tools/regression/file/flock/
H A Dflock.c149 fl1.l_type = F_WRLCK;
160 FAIL(fl1.l_type != F_UNLCK);
193 fl.l_type = F_WRLCK;
264 fl.l_type = F_WRLCK;
333 fl.l_type = F_WRLCK;
371 FAIL(fl.l_type != F_WRLCK);
419 fl.l_type = F_WRLCK;
466 fl.l_type = F_UNLCK;
505 fl.l_type = F_WRLCK;
569 fl.l_type
[all...]
/freebsd-10.1-release/lib/libkse/sys/
H A Dlock.c65 lck->l_type = ltype;
177 if ((lck->l_type & LCK_PRIORITY) != 0) {
197 ((lck->l_type & LCK_ADAPTIVE) == 0)) {
259 if ((lck->l_type & LCK_PRIORITY) != 0) {
H A Dlock.h47 enum lock_type l_type; member in struct:lock
/freebsd-10.1-release/usr.sbin/rpc.lockd/
H A Dkern.c187 switch (msg.lm_fl.l_type) {
201 "unknown lock type: %d", msg.lm_fl.l_type);
267 msg->lm_fl.l_type == F_WRLCK ? "write" : "read",
275 arg4.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
299 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
338 msg->lm_fl.l_type == F_WRLCK ? "write" : "read",
345 arg4.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
370 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0;
601 mp->lm_fl.l_type, mp->lm_fl.l_whence);
/freebsd-10.1-release/sys/sys/
H A Dfcntl.h266 short l_type; /* lock type: read/write, etc. */ member in struct:flock
280 short l_type; /* lock type: read/write, etc. */ member in struct:__oflock
/freebsd-10.1-release/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-10.1-release/sys/compat/linux/
H A Dlinux_file.c1175 l_short l_type; member in struct:l_flock
1189 switch (linux_flock->l_type) {
1191 bsd_flock->l_type = F_RDLCK;
1194 bsd_flock->l_type = F_WRLCK;
1197 bsd_flock->l_type = F_UNLCK;
1200 bsd_flock->l_type = -1;
1213 switch (bsd_flock->l_type) {
1215 linux_flock->l_type = LINUX_F_RDLCK;
1218 linux_flock->l_type = LINUX_F_WRLCK;
1221 linux_flock->l_type
1232 l_short l_type; member in struct:l_flock64
[all...]
/freebsd-10.1-release/sys/nlm/
H A Dnlm_advlock.c292 && fl->l_type == F_WRLCK) {
308 fl->l_type = F_UNLCK;
312 fl->l_type = F_WRLCK;
455 newfl.l_type = F_UNLCK;
707 newfl.l_type = fl->l_type;
737 exclusive = (fl->l_type == F_WRLCK);
1011 exclusive = (fl->l_type == F_WRLCK);
1061 fl->l_type = F_WRLCK;
1063 fl->l_type
[all...]
H A Dnlm_prot_impl.c1894 fl.l_type = F_WRLCK;
1896 fl.l_type = F_RDLCK;
1903 if (fl.l_type == F_UNLCK) {
1908 (fl.l_type == F_WRLCK);
2001 fl.l_type = F_WRLCK;
2003 fl.l_type = F_RDLCK;
2029 && af->af_fl.l_type == fl.l_type) {
2180 fl.l_type = F_WRLCK;
2182 fl.l_type
[all...]
/freebsd-10.1-release/sys/nfs/
H A Dnfs_lock.c303 if (fl->l_type == F_UNLCK)
339 fl->l_type = F_UNLCK;
/freebsd-10.1-release/sys/kern/
H A Dkern_descrip.c435 fl.l_type = ofl.l_type;
472 ofl.l_type = fl.l_type;
645 switch (flp->l_type) {
688 if (error != 0 || flp->l_type == F_UNLCK ||
689 flp->l_type == F_UNLCKSYS) {
719 flp->l_type = F_UNLCK;
738 if (flp->l_type != F_RDLCK && flp->l_type !
[all...]
H A Dkern_lockf.c481 fl->l_type = F_UNLCK;
572 lock->lf_type = fl->l_type;
1583 fl->l_type = block->lf_type;
1593 fl->l_type = F_UNLCK;
1904 ldesc->fl.l_type = F_UNLCK;
1970 ldesc->fl.l_type = F_UNLCK;
/freebsd-10.1-release/bin/cat/
H A Dcat.c137 stdout_lock.l_type = F_WRLCK;
/freebsd-10.1-release/contrib/apr/locks/unix/
H A Dproc_mutex.c519 proc_mutex_lock_it.l_type = F_WRLCK; /* set exclusive/write lock */
524 proc_mutex_unlock_it.l_type = F_UNLCK; /* set exclusive/write lock */
/freebsd-10.1-release/usr.bin/at/
H A Dat.c247 lock.l_type = F_WRLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
306 lock.l_type = F_UNLCK; lock.l_whence = SEEK_SET; lock.l_start = 0;
/freebsd-10.1-release/sys/fs/smbfs/
H A Dsmbfs_vnops.c1068 switch (fl->l_type) {
1088 int oldtype = fl->l_type;
1089 fl->l_type = F_UNLCK;
1092 fl->l_type = oldtype;

Completed in 308 milliseconds

12