Home
last modified time | relevance | path

Searched refs:lck (Results 1 – 25 of 84) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dposix_fallocate.c57 struct flock lck; in posix_fallocate() local
63 lck.l_whence = 0; in posix_fallocate()
64 lck.l_start = offset; in posix_fallocate()
65 lck.l_len = len; in posix_fallocate()
66 lck.l_type = F_WRLCK; in posix_fallocate()
68 if (fcntl(fd, F_ALLOCSP, &lck) == -1) { in posix_fallocate()
83 struct flock64 lck; in posix_fallocate64() local
89 lck.l_whence = 0; in posix_fallocate64()
90 lck.l_start = offset; in posix_fallocate64()
91 lck.l_len = len; in posix_fallocate64()
[all …]
H A Dtruncate.c57 struct flock lck; in ftruncate() local
59 lck.l_whence = 0; /* offset l_start from beginning of file */ in ftruncate()
60 lck.l_start = len; in ftruncate()
61 lck.l_type = F_WRLCK; /* setting a write lock */ in ftruncate()
62 lck.l_len = (off_t)0; /* until the end of the file address space */ in ftruncate()
64 if (fcntl(fildes, F_FREESP, &lck) == -1) { in ftruncate()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtbuf.c35 static int lck = -1; variable
45 while (++lck) in fmtbuf()
46 lck--; in fmtbuf()
56 lck--; in fmtbuf()
60 lck--; in fmtbuf()
67 lck--; in fmtbuf()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c173 struct flock lck; in open_direct() local
239 lck.l_type = F_WRLCK; in open_direct()
240 lck.l_whence = 0; in open_direct()
241 lck.l_start = 0L; in open_direct()
242 lck.l_len = 0L; in open_direct()
244 if (strcmp(device, "/dev/null") && Fcntl(fd, F_SETLKW, &lck) < 0) { in open_direct()
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.pp249 2: 6462 lck
50 3: 6462 lck
H A Dt.set0a73 lck
74 1 lck
75 lck
H A Dt.set0b73 lck
74 lck
75 lck
H A Dt.printf25 %: lck ... 6462 6462 lck
H A Dt.set225 lck lck
H A Dt.in1105 24 lck 6462
H A Dt.nameval24 lck 6462
H A Dt.413 6462 lck
H A Dt.8.y25 lck lck
H A Dt.printf225 %: lck ... 6462 6462 lck 0 0 0 > l
H A Dt.vf325 lck lck
H A Dt.cat97 lck 6462
98 6462 is lck
99 lck is 6462
H A Dt.NF123 6462|lck
125 6462|lck|||five
H A Dt.not68 6462 lck
69 6462 lck
70 6462 lck
H A Dt.makef25 6462 lck 12924
H A Dt.mod13 6462 lck
H A Dt.split225 lck 6462
H A Dt.vf49 lck
H A Dt.array49 6462 lck
50 lck 6462
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c2117 lock_descriptor_t *lck; in flk_wakeup() local
2129 lck = ep->from_vertex; in flk_wakeup()
2133 if (NOT_BLOCKED(lck)) { in flk_wakeup()
2134 GRANT_WAKEUP(lck); in flk_wakeup()
2299 lock_descriptor_t *vertex, *lck; in flk_update_barriers() local
2311 lck = ep->from_vertex; in flk_update_barriers()
2312 if (COLORED(lck)) { in flk_update_barriers()
2313 if (IS_BARRIER(lck)) { in flk_update_barriers()
2314 ASSERT(lck->l_index > 0); in flk_update_barriers()
2315 lck->l_index--; in flk_update_barriers()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_mindex2.cc1648 int lstat, lck = 1; in storeLDAP() local
1661 lck = 0; in storeLDAP()
1668 myself, lck?"L":"Unl", lstat, in storeLDAP()
1670 lck ? in storeLDAP()

1234