Searched refs:qip (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | quotacalls.c | 200 struct inode *qip; in opendq() local 250 qip = ufsvfsp->vfs_qinod; in opendq() 255 qip = ufsvfsp->vfs_qinod; in opendq() 262 qlen = qip->i_fs->fs_bsize * NDADDR; in opendq() 267 rw_enter(&qip->i_contents, RW_WRITER); in opendq() 268 if (qip->i_size < qlen) { in opendq() 269 if (ufs_itrunc(qip, (u_offset_t)qlen, (int)0, cr) != 0) in opendq() 272 rw_exit(&qip->i_contents); in opendq() 273 (void) VOP_PUTPAGE(vp, (offset_t)0, (size_t)qip->i_size, in opendq() 276 rw_exit(&qip->i_contents); in opendq() [all …]
|
H A D | quota.c | 166 struct inode *qip; in getdiskquota() local 182 qip = ufsvfsp->vfs_qinod; in getdiskquota() 183 if (!qip) in getdiskquota() 235 dqp->dq_cnt, dqp->dq_flags, qip->i_fs->fs_fsmnt); in getdiskquota() 260 rw_enter(&qip->i_contents, RW_READER); in getdiskquota() 261 if (uid <= MAXUID && dqoff(uid) >= 0 && dqoff(uid) < qip->i_size) { in getdiskquota() 265 error = ufs_rdwri(UIO_READ, FREAD, qip, (caddr_t)&dqp->dq_dqb, in getdiskquota() 272 err = bmap_read(qip, dqoff(uid), &bn, &contig); in getdiskquota() 273 rw_exit(&qip->i_contents); in getdiskquota() 315 rw_exit(&qip->i_contents); /* done with i_size */ in getdiskquota() [all …]
|
H A D | ufs_trans.c | 582 struct inode *qip = dqp->dq_ufsvfsp->vfs_qinod; in ufs_trans_quota() local 584 ASSERT(qip); in ufs_trans_quota() 609 TRANS_DELTA(qip->i_ufsvfs, dqp->dq_mof, sizeof (struct dqblk), in ufs_trans_quota()
|
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 848 mdb_qinfo_t *qip; in qi_lookup() local 850 for (qip = qi_head; qip != NULL; qip = qip->qi_next) { in qi_lookup() 851 if (qip->qi_addr == qinit_addr) in qi_lookup() 852 return (qip); in qi_lookup() 861 mdb_qinfo_t *qip = qi_lookup(qinit_addr); in mdb_qops_install() local 863 if (qip != NULL) { in mdb_qops_install() 864 qip->qi_ops = qops; in mdb_qops_install() 868 qip = mdb_alloc(sizeof (mdb_qinfo_t), UM_SLEEP); in mdb_qops_install() 870 qip->qi_ops = qops; in mdb_qops_install() 871 qip->qi_addr = qinit_addr; in mdb_qops_install() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | strsubr.c | 687 queinfo_t *qip = buf; in queue_constructor() local 688 queue_t *qp = &qip->qu_rqueue; in queue_constructor() 689 queue_t *wqp = &qip->qu_wqueue; in queue_constructor() 690 syncq_t *sq = &qip->qu_syncq; in queue_constructor() 748 queinfo_t *qip = buf; in queue_destructor() local 749 queue_t *qp = &qip->qu_rqueue; in queue_destructor() 750 queue_t *wqp = &qip->qu_wqueue; in queue_destructor() 751 syncq_t *sq = &qip->qu_syncq; in queue_destructor() 3351 queinfo_t *qip; in allocq() local 3355 qip = kmem_cache_alloc(queue_cache, KM_SLEEP); in allocq() [all …]
|