Lines Matching defs:q2e
81 struct quota2_entry *q2e;
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;
159 q2e = (void *)((caddr_t)(bp->b_un.b_buf) +
161 ret = (*func)(offp, q2e, off, a);
177 offp = &(q2e->q2e_next);
189 quota2_list_check(uint64_t *offp, struct quota2_entry *q2e, uint64_t off,
208 if ((uint32_t)*hash == (iswap32(q2e->q2e_uid) & q2h_hash_mask))
212 iswap32(q2e->q2e_uid), *hash);
227 *offp = q2e->q2e_next;
228 q2e->q2e_next = 0;
241 struct quota2_entry *q2e;
359 ((i == 0) ? quota2_full_header_size : 0)) / sizeof(*q2e);
379 ((i == 0) ? quota2_full_header_size : 0)) / sizeof(*q2e);
402 q2e = (void *)((caddr_t)(bp->b_un.b_buf) + off);
403 q2e->q2e_next = q2h->q2h_free;
425 quota2_list_qcheck(uint64_t *offp, struct quota2_entry *q2e, uint64_t off,
428 uid_t uid = iswap32(q2e->q2e_uid);
442 if (iswap64(q2e->q2e_val[QL_BLOCK].q2v_cur) == uq->uq_b &&
443 iswap64(q2e->q2e_val[QL_FILE].q2v_cur) == uq->uq_i)
447 iswap64(q2e->q2e_val[QL_BLOCK].q2v_cur),
448 iswap64(q2e->q2e_val[QL_FILE].q2v_cur), uq->uq_b, uq->uq_i);
455 q2e->q2e_val[QL_BLOCK].q2v_cur = iswap64(uq->uq_b);
456 q2e->q2e_val[QL_FILE].q2v_cur = iswap64(uq->uq_i);