Lines Matching defs:set

146  * except for the lock type which is set to F_UNLCK.
177 * If a shared or exclusive lock cannot be set, fcntl returns
207 * We are the child. We set a write lock and then
220 * Wait until the child has set its lock and then perform the
227 * fcntl should return -1 with errno set to either EACCES or
278 * We are the child. We set a write lock and then
291 * Wait until the child has set its lock and then perform the
299 * errno set to EINTR.
347 * We are the child. We set a write lock and then
360 * Wait until the child has set its lock and then perform the
448 * Wait until the child has set its lock and then perform the
454 * fcntl should immediately return -1 with errno set to
486 * This test involves three process, P, C1 and C2. We set things up so
551 * Wait until the children have set their locks and then
557 * fcntl should immediately return -1 with errno set to
592 * If a shared or exclusive lock cannot be set, fcntl returns
622 * We are the child. We set a write lock and then
635 * Wait until the child has set its lock and then perform the
643 * errno set to EINTR.
663 * When a shared lock is set on a segment of a file, other processes
664 * shall be able to set shared locks on that segment or a portion of
694 * We are the child. We set a write lock and then
707 * Wait until the child has set its lock and then perform the
715 * errno set to EINTR.
741 * If a shared or exclusive lock cannot be set, fcntl returns
771 * We are the child. We set a write lock and then
784 * Wait until the child has set its lock and then perform the
792 * errno set to EINTR.
810 * Test 10 - trying to set bogus pid or sysid values
846 * We are the child. We set a write lock and then
859 * Wait until the child has set its lock and then perform the
865 printf("10 - trying to set bogus pid or sysid values: ");
996 * We are the child. We set a write lock and then
1010 * Wait until the child has set its lock and then perform the
1018 * errno set to EINTR.
1079 * We are the child. We set a write lock and then
1093 * Wait until the child has set its lock and then perform the
1104 * errno set to EINTR.
1136 * We create a set of child processes and let each one run
1180 int set, wrlock;
1187 set = random() & 1;
1194 if (set)
1211 set ? (wrlock ? "write lock"
1236 set ? (wrlock ? "write lock" : "read lock")
1241 if (set) {
1339 * set the child's shared lock.
1356 * We are the child. We set a shared lock and then
1373 * Wait until the child has set its lock and then perform the
1385 * errno set to EINTR.
1468 * We are the child. We set a write lock and then
1481 * Wait until the child has set its lock and then perform the
1489 * errno set to EINTR.