Searched refs:q2e (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/sys/ufs/ufs/
H A Dufs_quota2.c79 struct quota2_entry *q2e)
85 q2e->q2e_val[objtype].q2v_hardlimit = val->qv_hardlimit;
86 q2e->q2e_val[objtype].q2v_softlimit = val->qv_softlimit;
87 q2e->q2e_val[objtype].q2v_grace = val->qv_grace;
111 q2e_to_quotaval(struct quota2_entry *q2e, int def, argument
117 *id = q2e->q2e_uid;
121 q2val_to_quotaval(&q2e->q2e_val[objtype], ret);
199 struct quota2_entry *q2e; local
223 q2e = (void *)((char *)(bp->b_data) + blkoff);
224 ret = (*func)(ump, offp, q2e, of
78 quota2_dict_update_q2e_limits(int objtype, const struct quotaval *val, struct quota2_entry *q2e) argument
293 struct quota2_entry *q2e; local
440 struct quota2_entry *q2e[MAXQUOTAS]; local
580 struct quota2_entry q2e, *q2ep; local
660 dq2clear_callback(struct ufsmount *ump, uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument
691 struct quota2_entry q2e, *q2ep; local
838 struct quota2_entry *q2ep, q2e; local
876 struct quota2_entry q2e; local
1229 struct quota2_entry q2e; local
1507 dq2get_callback(struct ufsmount *ump, uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument
[all...]
H A Dquota2_subr.c50 struct quota2_entry *q2e; local
52 q2e = (void *)((char *)bp + blkoff);
53 nq2e = (bsize - blkoff) / sizeof(*q2e);
55 q2e[i].q2e_next = q2h->q2h_free;
56 q2h->q2h_free = ufs_rw64(i * sizeof(*q2e) + baseoff, ns);
/netbsd-current/sbin/fsck_ffs/
H A Dquota2.c81 struct quota2_entry *q2e; local
112 q2e = (void *)((caddr_t)(bp->b_un.b_buf) +
115 q2h->q2h_free = q2e->q2e_next;
117 memcpy(q2e, &q2h->q2h_defentry, sizeof(*q2e));
118 q2e->q2e_uid = iswap32(uid);
119 q2e->q2e_val[QL_BLOCK].q2v_cur = iswap64(u_b);
120 q2e->q2e_val[QL_FILE].q2v_cur = iswap64(u_i);
122 q2e->q2e_next = q2h->q2h_entries[uid & q2h_hash_mask];
146 struct quota2_entry *q2e; local
189 quota2_list_check(uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument
241 struct quota2_entry *q2e; local
425 quota2_list_qcheck(uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument
[all...]
/netbsd-current/sys/ufs/lfs/
H A Dulfs_quota2.c84 struct quota2_entry *q2e)
90 q2e->q2e_val[objtype].q2v_hardlimit = val->qv_hardlimit;
91 q2e->q2e_val[objtype].q2v_softlimit = val->qv_softlimit;
92 q2e->q2e_val[objtype].q2v_grace = val->qv_grace;
116 q2e_to_quotaval(struct quota2_entry *q2e, int def, argument
122 *id = q2e->q2e_uid;
126 q2val_to_quotaval(&q2e->q2e_val[objtype], ret);
203 struct quota2_entry *q2e; local
227 q2e = (void *)((char *)(bp->b_data) + blkoff);
228 ret = (*func)(ump, offp, q2e, of
83 quota2_dict_update_q2e_limits(int objtype, const struct quotaval *val, struct quota2_entry *q2e) argument
298 struct quota2_entry *q2e; local
443 struct quota2_entry *q2e[ULFS_MAXQUOTAS]; local
584 struct quota2_entry q2e, *q2ep; local
658 dq2clear_callback(struct ulfsmount *ump, uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument
689 struct quota2_entry q2e, *q2ep; local
832 struct quota2_entry *q2ep, q2e; local
871 struct quota2_entry q2e; local
1227 struct quota2_entry q2e; local
1505 dq2get_callback(struct ulfsmount *ump, uint64_t *offp, struct quota2_entry *q2e, uint64_t off, void *v) argument
[all...]
H A Dulfs_quota2_subr.c53 struct quota2_entry *q2e; local
55 q2e = (void *)((char *)bp + blkoff);
56 nq2e = (bsize - blkoff) / sizeof(*q2e);
58 q2e[i].q2e_next = q2h->q2h_free;
59 q2h->q2h_free = ulfs_rw64(i * sizeof(*q2e) + baseoff, ns);
/netbsd-current/sbin/newfs/
H A Dmkfs.c1195 struct quota2_entry *q2e; local
1206 q2e = (void *)((char *)&buf + offset);
1207 q2h->q2h_free = q2e->q2e_next;
1208 memcpy(q2e, &q2h->q2h_defentry, sizeof(*q2e));
1209 q2e->q2e_uid = ufs_rw32(uid, needswap);
1210 q2e->q2e_val[QL_BLOCK].q2v_cur = ufs_rw64(qblocks, needswap);
1211 q2e->q2e_val[QL_FILE].q2v_cur = ufs_rw64(qinos, needswap);
1213 q2e->q2e_next = q2h->q2h_entries[uid & q2h_hash_mask];

Completed in 206 milliseconds