Searched refs:rwtype (Results 1 – 5 of 5) sorted by relevance
74 krw_t rwtype = RW_READER; in ufs_rdwr_data() local106 rw_enter(&ip->i_contents, rwtype); in ufs_rdwr_data()126 if (iswrite && (rwtype == RW_READER)) { in ufs_rdwr_data()127 rwtype = RW_WRITER; in ufs_rdwr_data()130 rw_enter(&ip->i_contents, rwtype); in ufs_rdwr_data()
1354 krw_t rwtype; in rdip() local1402 rwtype = (rw_write_held(&ip->i_contents)?RW_WRITER:RW_READER); in rdip()1455 if (rwtype == RW_READER) in rdip()1509 if (rwtype == RW_READER) in rdip()1510 rw_enter(&ip->i_contents, rwtype); in rdip()4528 krw_t rwtype; in ufs_getpage() local4585 rwtype = RW_READER; /* start as a reader */ in ufs_getpage()4600 if (do_qlock && rwtype == RW_WRITER) in ufs_getpage()4602 rw_enter(&ip->i_contents, rwtype); in ufs_getpage()4622 if (do_qlock && rwtype == RW_WRITER) in ufs_getpage()[all …]
683 int rwtype = RW_READER; in logmap_list_get() local695 rw_enter(&mtm->mtm_rwlock, rwtype); in logmap_list_get()726 rwtype = RW_WRITER; in logmap_list_get()
1458 krw_t rwtype; in context_set() local1473 rwtype = RW_READER; in context_set()1488 if (rwtype == RW_READER && in context_set()1492 rwtype = RW_WRITER; in context_set()1495 rwtype = RW_WRITER; in context_set()2250 krw_t rwtype; in PDE_set_all() local2264 rwtype = RW_READER; in PDE_set_all()2288 if (rwtype == RW_READER && in PDE_set_all()2292 rwtype = RW_WRITER; in PDE_set_all()2295 rwtype = RW_WRITER; in PDE_set_all()[all …]
1660 krw_t rwtype; in udf_getpage() local1674 rwtype = RW_READER; in udf_getpage()1678 rw_enter(&ip->i_contents, rwtype); in udf_getpage()1681 rw_enter(&ip->i_contents, rwtype); in udf_getpage()1723 if (dolock && rwtype == RW_READER) { in udf_getpage()1724 rwtype = RW_WRITER; in udf_getpage()1767 if (rwtype == RW_WRITER) { in udf_getpage()1771 if (dolock && rwtype == RW_WRITER) { in udf_getpage()2983 krw_t rwtype; in ud_rdip() local3015 rwtype = (rw_write_held(&ip->i_contents)?RW_WRITER:RW_READER); in ud_rdip()[all …]