Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/modload/
H A Ddrvsubr.c68 static int add_rem_lock_fd = -1; variable
895 add_rem_lock_fd = open(add_rem_lock, in enter_lock()
897 if (add_rem_lock_fd < 0) { in enter_lock()
909 if (fcntl(add_rem_lock_fd, F_SETLK, &lock) == -1) { in enter_lock()
948 if (add_rem_lock_fd < 0) in exit_unlock()
956 if (fcntl(add_rem_lock_fd, F_SETLK, &unlock) == -1) { in exit_unlock()
960 (void) close(add_rem_lock_fd); in exit_unlock()
961 add_rem_lock_fd = -1; in exit_unlock()