Lines Matching refs:b_sem
67 down_read(&bmap->b_sem);
79 up_read(&bmap->b_sem);
88 down_read(&bmap->b_sem);
90 up_read(&bmap->b_sem);
144 down_write(&bmap->b_sem);
146 up_write(&bmap->b_sem);
181 down_read(&bmap->b_sem);
185 up_read(&bmap->b_sem);
210 down_write(&bmap->b_sem);
212 up_write(&bmap->b_sem);
261 down_write(&bmap->b_sem);
263 up_write(&bmap->b_sem);
275 down_write(&bmap->b_sem);
278 up_write(&bmap->b_sem);
300 down_write(&bmap->b_sem);
302 up_write(&bmap->b_sem);
344 down_write(&bmap->b_sem);
346 up_write(&bmap->b_sem);
373 down_write(&bmap->b_sem);
375 up_write(&bmap->b_sem);
392 down_write(&bmap->b_sem);
395 up_write(&bmap->b_sem);
475 init_rwsem(&bmap->b_sem);
483 lockdep_set_class(&bmap->b_sem, &nilfs_bmap_dat_lock_key);
490 lockdep_set_class(&bmap->b_sem, &nilfs_bmap_mdt_lock_key);
493 lockdep_set_class(&bmap->b_sem, &nilfs_bmap_mdt_lock_key);
515 down_write(&bmap->b_sem);
521 up_write(&bmap->b_sem);
527 init_rwsem(&bmap->b_sem);
539 init_rwsem(&gcbmap->b_sem);
540 lockdep_set_class(&bmap->b_sem, &nilfs_bmap_dat_lock_key);
547 init_rwsem(&bmap->b_sem);
548 lockdep_set_class(&bmap->b_sem, &nilfs_bmap_dat_lock_key);