Searched refs:iflock (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c299 static rwlock_t iflock = DEFAULTRWLOCK; variable
300 static time_t last_updated = 0; /* protected by iflock */
312 static if_info_t *if_info = NULL; /* if cache, protected by iflock */
317 * Builds the interface cache. Write lock on iflock is needed
426 (void) rw_wrlock(&iflock);
433 (void) rw_unlock(&iflock);
438 (void) rw_unlock(&iflock);
462 (void) rw_rdlock(&iflock);
465 (void) rw_unlock(&iflock);
469 (void) rw_unlock(&iflock);
[all...]

Completed in 56 milliseconds