Home
last modified time | relevance | path

Searched refs:add_rem_lock_fd (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c80 static int add_rem_lock_fd = -1; variable
907 add_rem_lock_fd = open(add_rem_lock, in enter_lock()
909 if (add_rem_lock_fd < 0) { in enter_lock()
921 if (fcntl(add_rem_lock_fd, F_SETLK, &lock) == -1) { in enter_lock()
960 if (add_rem_lock_fd < 0) in exit_unlock()
968 if (fcntl(add_rem_lock_fd, F_SETLK, &unlock) == -1) { in exit_unlock()
972 (void) close(add_rem_lock_fd); in exit_unlock()
973 add_rem_lock_fd = -1; in exit_unlock()