Home
last modified time | relevance | path

Searched refs:um_quotas (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/ufs/ffs/
H A Dffs_quota2.c80 ump->um_quotas[USRQUOTA] == NULLVP) { in ffs_quota2_mount()
88 ump->um_quotas[USRQUOTA] = vp; in ffs_quota2_mount()
96 ump->um_quotas[GRPQUOTA] == NULLVP) { in ffs_quota2_mount()
100 vn_close(ump->um_quotas[USRQUOTA], in ffs_quota2_mount()
106 ump->um_quotas[GRPQUOTA] = vp; in ffs_quota2_mount()
H A Dffs_vfsops.c1566 ump->um_quotas[i] = NULLVP; in ffs_mountfs()
/netbsd-src/sys/ufs/lfs/
H A Dulfs_quota2.c152 error = bread(ump->um_quotas[type], 0, ump->umq2_bsize, flags, &bp); in getq2h()
178 error = bread(ump->um_quotas[type], lblkno, ump->umq2_bsize, flags, &bp); in getq2e()
218 ret = bread(ump->um_quotas[type], lblkno, in quota2_walk_list()
278 if (ump->um_quotas[i] != NULLVP) { in lfsquota2_umount()
279 error = vn_close(ump->um_quotas[i], FREAD|FWRITE, in lfsquota2_umount()
283 ump->um_quotas[i], error); in lfsquota2_umount()
287 ump->um_quotas[i] = NULLVP; in lfsquota2_umount()
311 struct vnode *vp = ump->um_quotas[type]; in quota2_q2ealloc()
398 if (__predict_false(ump->um_quotas[i] == NULL)) { in getinoquota2()
593 if (ump->um_quotas[key->qk_idtype] == NULLVP) in lfsquota2_handle_cmd_put()
[all …]
H A Dulfs_quota1.c290 if (ump->um_quotas[i] != NULLVP) { in lfsquota1_umount()
322 vpp = &ump->um_quotas[type]; in lfsquota1_handle_cmd_quotaon()
423 if ((qvp = ump->um_quotas[type]) == NULLVP) { in lfsquota1_handle_cmd_quotaoff()
458 ump->um_quotas[type] = NULLVP; in lfsquota1_handle_cmd_quotaoff()
462 if (ump->um_quotas[i] != NULLVP) in lfsquota1_handle_cmd_quotaoff()
486 if (ump->um_quotas[idtype] == NULLVP) in lfsquota1_handle_cmd_get()
557 if (ump->um_quotas[key->qk_idtype] == NULLVP) in lfsquota1_handle_cmd_put()
751 if (ump->um_quotas[i] != NULLVP) in lfs_q1sync()
850 if ((dqvp = dq->dq_ump->um_quotas[dq->dq_type]) == NULLVP) in lfs_dq1sync()
H A Dulfs_quota.c730 dqvp = dq->dq_ump->um_quotas[dq->dq_type]; in lfs_dqreinit()
775 if (vp == ump->um_quotas[i]) in lfs_getinoquota()
822 dqvp = ump->um_quotas[type]; in lfs_dqget()
848 dq->dq_ump->um_quotas[dq->dq_type] != dqvp) in lfs_dqget()
874 dq->dq_ump->um_quotas[dq->dq_type] != dqvp) in lfs_dqget()
1002 KASSERT(dq->dq_ump->um_quotas[dq->dq_type] != vp); in lfs_dqflush()
H A Dulfsmount.h73 struct vnode *um_quotas[ULFS_MAXQUOTAS]; /* quota files */ member
H A Dlfs_vfsops.c1141 ump->um_quotas[i] = NULLVP; in lfs_mountfs()
/netbsd-src/sys/ufs/ufs/
H A Dufs_quota2.c146 error = bread(ump->um_quotas[type], 0, ump->umq2_bsize, in getq2h()
173 error = bread(ump->um_quotas[type], lblkno, ump->umq2_bsize, in getq2e()
214 ret = bread(ump->um_quotas[type], lblkno, in quota2_walk_list()
273 if (ump->um_quotas[i] != NULLVP) { in quota2_umount()
274 error = vn_close(ump->um_quotas[i], FREAD|FWRITE, in quota2_umount()
278 ump->um_quotas[i], error); in quota2_umount()
282 ump->um_quotas[i] = NULLVP; in quota2_umount()
305 struct vnode *vp = ump->um_quotas[type]; in quota2_q2ealloc()
395 if (__predict_false(ump->um_quotas[i] == NULL)) { in getinoquota2()
588 if (ump->um_quotas[key->qk_idtype] == NULLVP) in quota2_handle_cmd_put()
[all …]
H A Dufs_quota1.c289 if (ump->um_quotas[i] != NULLVP) { in quota1_umount()
329 vpp = &ump->um_quotas[type]; in quota1_handle_cmd_quotaon()
432 if ((qvp = ump->um_quotas[type]) == NULLVP) { in quota1_handle_cmd_quotaoff()
466 ump->um_quotas[type] = NULLVP; in quota1_handle_cmd_quotaoff()
470 if (ump->um_quotas[i] != NULLVP) in quota1_handle_cmd_quotaoff()
496 if (ump->um_quotas[idtype] == NULLVP) in quota1_handle_cmd_get()
567 if (ump->um_quotas[key->qk_idtype] == NULLVP) in quota1_handle_cmd_put()
761 if (ump->um_quotas[i] != NULLVP) in q1sync()
860 if ((dqvp = dq->dq_ump->um_quotas[dq->dq_type]) == NULLVP) in dq1sync()
H A Dufs_quota.c714 dqvp = dq->dq_ump->um_quotas[dq->dq_type]; in dqreinit()
758 if (vp == ump->um_quotas[i]) in getinoquota()
804 dqvp = ump->um_quotas[type]; in dqget()
830 dq->dq_ump->um_quotas[dq->dq_type] != dqvp) in dqget()
856 dq->dq_ump->um_quotas[dq->dq_type] != dqvp) in dqget()
978 KASSERT(dq->dq_ump->um_quotas[dq->dq_type] != vp); in dqflush()
H A Dufsmount.h96 struct vnode *um_quotas[MAXQUOTAS]; /* pointer to quota files */ member