Lines Matching refs:qip
166 struct inode *qip;
182 qip = ufsvfsp->vfs_qinod;
183 if (!qip)
184 return (ufs_fault(ufsvfsp->vfs_root, "getdiskquota: NULL qip"));
235 dqp->dq_cnt, dqp->dq_flags, qip->i_fs->fs_fsmnt);
260 rw_enter(&qip->i_contents, RW_READER);
261 if (uid <= MAXUID && dqoff(uid) >= 0 && dqoff(uid) < qip->i_size) {
265 error = ufs_rdwri(UIO_READ, FREAD, qip, (caddr_t)&dqp->dq_dqb,
272 err = bmap_read(qip, dqoff(uid), &bn, &contig);
273 rw_exit(&qip->i_contents);
315 rw_exit(&qip->i_contents); /* done with i_size */
367 register struct inode *qip;
391 qip = dqp->dq_ufsvfsp->vfs_qinod;
392 if (!qip) {
396 ufsvfsp = qip->i_ufsvfs;
426 * It thinks that qip and ip (the inode that caused the
429 rw_enter(&qip->i_contents, RW_WRITER);
434 (void) ufs_rdwri(UIO_WRITE, FWRITE, qip,
440 rw_exit(&qip->i_contents);