Lines Matching refs:rw_lock
87 rwlock_t rw_lock; /* to protect path entry access */
136 * This function expects to be called with @entry->rw_lock write-hold.
177 * This function expects to be called with @entry->rw_lock write-hold.
230 read_lock(&entry->rw_lock);
233 read_unlock(&entry->rw_lock);
314 write_lock(&entry->rw_lock);
323 write_unlock(&entry->rw_lock);
351 read_lock(&entry->rw_lock);
354 read_unlock(&entry->rw_lock);
412 write_lock(&entry->rw_lock);
420 write_unlock(&entry->rw_lock);
548 read_lock(&pathentry->rw_lock);
551 read_unlock(&pathentry->rw_lock);
595 read_lock(&pathentry->rw_lock);
598 read_unlock(&pathentry->rw_lock);
765 read_lock(&pathentry->rw_lock);
767 read_unlock(&pathentry->rw_lock);
784 write_lock(&pathentry->rw_lock);
791 write_unlock(&pathentry->rw_lock);
967 /* Initialize the entries rw_lock before anything else */
969 rwlock_init(&entry->rw_lock);
972 write_lock(&entry->rw_lock);
974 write_unlock(&entry->rw_lock);
988 write_lock(&entry->rw_lock);
990 write_unlock(&entry->rw_lock);
1014 read_lock(&entry->rw_lock);
1017 read_unlock(&entry->rw_lock);