Searched refs:is_exclusive (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | acquire-lock.c | 109 acq_run(int fd, lock_style_t style, boolean_t is_exclusive) argument 113 acq_fcntl(fd, F_SETLKW, is_exclusive ? F_WRLCK : F_RDLCK); 116 acq_fcntl(fd, F_OFD_SETLKW, is_exclusive ? F_WRLCK : F_RDLCK); 119 acq_flock(fd, is_exclusive ? LOCK_EX : LOCK_SH); 132 boolean_t is_exclusive; local 145 is_exclusive = B_FALSE; 147 is_exclusive = B_TRUE; 152 boolean_t rdonly = style == LSTYLE_FLOCK || !is_exclusive; 158 acq_run(fd, style, is_exclusive);
|
H A D | runtests.c | 274 flock_run(lock_style_t style, boolean_t is_exclusive, lockinfo_t *lf, argument 278 char *modestr = is_exclusive ? "exclusive" : "shared";
|
Completed in 695 milliseconds