Lines Matching refs:qip
163 struct inode *qip; in getdiskquota() local
179 qip = ufsvfsp->vfs_qinod; in getdiskquota()
180 if (!qip) in getdiskquota()
232 dqp->dq_cnt, dqp->dq_flags, qip->i_fs->fs_fsmnt); in getdiskquota()
257 rw_enter(&qip->i_contents, RW_READER); in getdiskquota()
258 if (uid <= MAXUID && dqoff(uid) >= 0 && dqoff(uid) < qip->i_size) { in getdiskquota()
262 error = ufs_rdwri(UIO_READ, FREAD, qip, (caddr_t)&dqp->dq_dqb, in getdiskquota()
269 err = bmap_read(qip, dqoff(uid), &bn, &contig); in getdiskquota()
270 rw_exit(&qip->i_contents); in getdiskquota()
312 rw_exit(&qip->i_contents); /* done with i_size */ in getdiskquota()
364 register struct inode *qip; local
388 qip = dqp->dq_ufsvfsp->vfs_qinod;
389 if (!qip) {
393 ufsvfsp = qip->i_ufsvfs;
426 rw_enter(&qip->i_contents, RW_WRITER);
431 (void) ufs_rdwri(UIO_WRITE, FWRITE, qip,
437 rw_exit(&qip->i_contents);