Lines Matching defs: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);
313 write_lock(&entry->rw_lock);
322 write_unlock(&entry->rw_lock);
350 read_lock(&entry->rw_lock);
353 read_unlock(&entry->rw_lock);
410 write_lock(&entry->rw_lock);
418 write_unlock(&entry->rw_lock);
551 read_lock(&pathentry->rw_lock);
554 read_unlock(&pathentry->rw_lock);
604 read_lock(&pathentry->rw_lock);
607 read_unlock(&pathentry->rw_lock);
785 read_lock(&pathentry->rw_lock);
787 read_unlock(&pathentry->rw_lock);
804 write_lock(&pathentry->rw_lock);
811 write_unlock(&pathentry->rw_lock);
995 /* Initialize the entries rw_lock before anything else */
997 rwlock_init(&entry->rw_lock);
1000 write_lock(&entry->rw_lock);
1002 write_unlock(&entry->rw_lock);
1016 write_lock(&entry->rw_lock);
1018 write_unlock(&entry->rw_lock);
1042 read_lock(&entry->rw_lock);
1045 read_unlock(&entry->rw_lock);