Searched refs:r_mapcnt (Results 1 – 12 of 12) sorted by relevance
233 long r_mapcnt; /* count of mmapped pages */ member
1034 ASSERT(np->r_mapcnt == 0); in sn_destroy_node()1099 ((np->r_flags & RDIRTY) || np->r_mapcnt > 0)) { in smbfs_rflush()
616 np->r_mapcnt == 0 && np->r_inmap == 0 && in smbfs_read()810 np->r_mapcnt == 0 && np->r_inmap == 0 && in smbfs_write()1632 np->r_mapcnt > 0)) { in smbfssetattr()4513 if (np->r_mapcnt == 0) in smbfs_addmap()4515 np->r_mapcnt += btopr(len); in smbfs_addmap()4590 np->r_mapcnt -= btopr(len); in smbfs_delmap()4591 ASSERT(np->r_mapcnt >= 0); in smbfs_delmap()4592 if (np->r_mapcnt == 0) in smbfs_delmap()
282 long r_mapcnt; /* count of mmapped pages */ member
259 long r_mapcnt; /* count of mmapped pages */ member
291 else if (rp->r_mapcnt == 0 && vp->v_count == 1) { in nfs_open()455 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs_read()642 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs_write()1218 rp->r_mapcnt > 0)) { in nfssetattr()3577 if (rp->r_mapcnt == 0 && !vn_has_cached_data(vp)) in nfs_rwlock()4426 atomic_add_long((ulong_t *)&rp->r_mapcnt, btopr(len)); in nfs_addmap()4761 atomic_add_long((ulong_t *)&rp->r_mapcnt, -btopr(dmapp->len)); in nfs_delmap_callback()4762 ASSERT(rp->r_mapcnt >= 0); in nfs_delmap_callback()
722 ASSERT(rp->r_mapcnt == 0); in uninit_rnode4()1319 ((rp->r_flags & R4DIRTY) || rp->r_mapcnt > 0)) { in r4flush()1363 ((rp->r_flags & R4DIRTY) || rp->r_mapcnt > 0)) { in r4flush()
331 else if (rp->r_mapcnt == 0 && vp->v_count == 1) { in nfs3_open()579 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs3_read()740 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs3_write()1378 rp->r_mapcnt > 0)) { in nfs3setattr()4485 if (rp->r_mapcnt == 0 && !vn_has_cached_data(vp)) in nfs3_rwlock()5340 atomic_add_long((ulong_t *)&rp->r_mapcnt, btopr(len)); in nfs3_addmap()5679 atomic_add_long((ulong_t *)&rp->r_mapcnt, -btopr(dmapp->len)); in nfs3_delmap_callback()5680 ASSERT(rp->r_mapcnt >= 0); in nfs3_delmap_callback()
2666 rp->r_mapcnt == 0 && rp->r_inmap == 0 && !nfs4_has_pages(vp))) { in nfs4_read()2852 rp->r_mapcnt == 0 && rp->r_inmap == 0 && !nfs4_has_pages(vp))) { in nfs4_write()3827 rp->r_mapcnt > 0)) { in nfs4setattr()6653 rp->r_mapcnt > 0)) { in nfs4_create()9695 if (rp->r_mapcnt == 0 && !nfs4_has_pages(vp)) in nfs4_rwlock()10752 atomic_add_long((ulong_t *)&rp->r_mapcnt, btopr(len)); in nfs4_addmap()10822 atomic_add_long((ulong_t *)&rp->r_mapcnt, -btopr(len)); in nfs4_addmap()10823 ASSERT(rp->r_mapcnt >= 0); in nfs4_addmap()11231 atomic_add_long((ulong_t *)&rp->r_mapcnt, -btopr(dmapp->len)); in nfs4_delmap_callback()11232 ASSERT(rp->r_mapcnt >= 0); in nfs4_delmap_callback()[all …]
322 mapcnt = rp->r_mapcnt; in cb_getattr()2240 mapcnt = rp->r_mapcnt; in nfs4_delegation_accept()
3027 ASSERT(rp->r_mapcnt == 0); in destroy_rnode()3102 ((rp->r_flags & RDIRTY) || rp->r_mapcnt > 0)) { in rflush()3146 ((rp->r_flags & RDIRTY) || rp->r_mapcnt > 0)) { in rflush()
535 if ((rp->r_mapcnt > 0) && (fl->l_start != 0 || fl->l_len != 0)) in nlm_safelock()