Searched refs:lck (Results 1 – 25 of 84) sorted by relevance
1234
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | posix_fallocate.c | 57 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 D | truncate.c | 57 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 D | fmtbuf.c | 35 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 D | ports.c | 173 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 D | t.pp2 | 49 2: 6462 lck 50 3: 6462 lck
|
H A D | t.set0a | 73 lck 74 1 lck 75 lck
|
H A D | t.set0b | 73 lck 74 lck 75 lck
|
H A D | t.printf | 25 %: lck ... 6462 6462 lck
|
H A D | t.set2 | 25 lck lck
|
H A D | t.in1 | 105 24 lck 6462
|
H A D | t.nameval | 24 lck 6462
|
H A D | t.4 | 13 6462 lck
|
H A D | t.8.y | 25 lck lck
|
H A D | t.printf2 | 25 %: lck ... 6462 6462 lck 0 0 0 > l
|
H A D | t.vf3 | 25 lck lck
|
H A D | t.cat | 97 lck 6462 98 6462 is lck 99 lck is 6462
|
H A D | t.NF | 123 6462|lck 125 6462|lck|||five
|
H A D | t.not | 68 6462 lck 69 6462 lck 70 6462 lck
|
H A D | t.makef | 25 6462 lck 12924
|
H A D | t.mod | 13 6462 lck
|
H A D | t.split2 | 25 lck 6462
|
H A D | t.vf | 49 lck
|
H A D | t.array | 49 6462 lck 50 lck 6462
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | flock.c | 2117 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 D | db_mindex2.cc | 1648 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