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

12345

/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dflock.c41 fl.l_type = 0;
43 fl.l_type |= F_UNLCK;
45 fl.l_type |= F_RDLCK;
47 fl.l_type |= F_WRLCK;
H A Dftruncate.c39 short l_type; member in struct:fl
56 lck.l_type = F_WRLCK; /* setting a write lock */
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dlockfile.c51 lfd.l_type = F_UNLCK;
53 lfd.l_type = F_WRLCK;
55 lfd.l_type = F_RDLCK;
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dflock.c53 fl.l_type = 0;
63 fl.l_type |= F_UNLCK;
66 fl.l_type |= F_RDLCK;
69 fl.l_type |= F_WRLCK;
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dlockf.c60 l.l_type = F_UNLCK;
64 l.l_type = F_WRLCK;
68 l.l_type = F_WRLCK;
72 l.l_type = F_WRLCK;
75 if (l.l_type == F_UNLCK)
/illumos-gate/usr/src/lib/libbc/libc/compat/common/
H A Dlockf.c53 ld.l_type = F_WRLCK; /* lockf() only deals with exclusive locks */
66 if (ld.l_type == F_UNLCK) {
82 ld.l_type = F_UNLCK;
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyplckpwdf.c41 0, /* l_type */
70 flock.l_type = F_WRLCK;
89 flock.l_type = F_UNLCK;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dflock.c44 l.l_type = F_UNLCK;
49 l.l_type = ((operation & ~LOCK_NB) == LOCK_EX) ?
H A Dlckpwdf.c47 0, /* l_type */
80 flock.l_type = F_WRLCK;
114 flock.l_type = F_UNLCK;
H A Dposix_fallocate.c68 lck.l_type = F_WRLCK;
94 lck.l_type = F_WRLCK;
H A Dtruncate.c63 lck.l_type = F_WRLCK; /* setting a write lock */
/illumos-gate/usr/src/cmd/mailx/
H A Dlock.c51 l.l_type = !strcmp(mode, "r") ? F_RDLCK : F_WRLCK;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlock_file.c77 lock_arg.l_type = F_RDLCK;
83 lock_arg.l_type = F_WRLCK;
89 lock_arg.l_type = F_UNLCK;
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h236 short l_type; member in struct:flock
250 int16_t l_type; member in struct:flock32
266 short l_type; member in struct:flock64
284 int16_t l_type; member in struct:flock64_32
300 int16_t l_type; member in struct:flock64_64
316 int16_t l_type; member in struct:o_flock
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c88 di_dli_open(char *path, int oflag, short l_type, int flags) argument
119 lock.l_type = l_type;
155 lock.l_type = F_UNLCK;
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dftruncate.c55 fl.l_type = F_WRLCK;
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h152 short l_type; member in struct:flock
162 short l_type; member in struct:o_flock
175 short l_type; member in struct:flock
186 short l_type; member in struct:flock
/illumos-gate/usr/src/uts/common/syscall/
H A Dfcntl.c308 bf.l_type = obf.l_type;
326 bf.l_type = sbf.l_type;
340 bf.l_type = sbf32.l_type;
362 if (bf.l_type < F_RDLCK || bf.l_type > F_UNLCK) {
414 cmd == F_OFD_GETLK) && bf.l_type == F_UNLCK) {
415 /* l_type alway
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dfcntl.c68 short l_type; member in struct:n_flock
144 nfl.l_type = savarg->l_type;
178 savarg->l_type = nfl.l_type;
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dfcntl.c67 short l_type; member in struct:n_flock
139 nfl.l_type = savarg->l_type;
173 savarg->l_type = nfl.l_type;
/illumos-gate/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c73 lock.l_type = F_WRLCK;
84 return ((lock.l_type == F_UNLCK) ? 0 : 1);
152 lock.l_type = F_WRLCK;
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Druntests.c112 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short);
118 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short);
124 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short);
130 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short);
143 VERIFY3_IMPL(fl.l_type, ==, F_RDLCK, short);
149 VERIFY3_IMPL(fl.l_type, ==, F_RDLCK, short);
155 VERIFY3_IMPL(fl.l_type, ==, F_UNLCK, short);
161 VERIFY3_IMPL(fl.l_type, ==, F_UNLCK, short);
173 VERIFY3_IMPL(fl.l_type, ==, F_UNLCK, short);
179 VERIFY3_IMPL(fl.l_type,
397 flock_test_invalid(lockinfo_t *lf, int cmd, short l_type, short l_whence, off_t l_start, off_t l_len) argument
[all...]
/illumos-gate/usr/src/lib/libunistat/common/
H A Dspcs_log.c76 lk.l_type = F_WRLCK;
93 lk.l_type = F_UNLCK;
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h142 /* fcntl(2) flags (l_type field of flock structure) */
159 short l_type; /* F_RDLCK, F_WRLCK, or F_UNLCK */ member in struct:flock
170 short l_type; /* F_RDLCK, F_WRLCK, or F_UNLCK */ member in struct:eflock
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_lockdlck.c70 lk.l_type = F_WRLCK;
91 lk.l_type = F_UNLCK;

Completed in 88 milliseconds

12345