Home
last modified time | relevance | path

Searched refs:quota2_hash_size (Results 1 – 5 of 5) sorted by relevance

/netbsd/sbin/fsck_ffs/
H A Dquota2.c193 const int quota2_hash_size = 1 << q2h_hash_shift; in quota2_list_check() local
195 sizeof(uint64_t) * quota2_hash_size; in quota2_list_check()
248 const int quota2_hash_size = 1 << q2h_hash_shift; in quota2_check_inode() local
250 sizeof(q2h->q2h_entries[0]) * quota2_hash_size; in quota2_check_inode()
313 q2h->q2h_hash_size != iswap16(quota2_hash_size)) { in quota2_check_inode()
371 for (i = 0; i < quota2_hash_size; i++) { in quota2_check_inode()
471 const int quota2_hash_size = 1 << q2h_hash_shift; in quota2_check_usage() local
486 for (i = 0; i < quota2_hash_size; i++) { in quota2_check_usage()
493 for (i = 0; i < quota2_hash_size; i++) { in quota2_check_usage()
/netbsd/sys/ufs/lfs/
H A Dulfs_quota2_subr.c68 const int quota2_hash_size = 1 << q2h_hash_shift; in lfsquota2_create_blk0() local
70 sizeof(q2h->q2h_entries[0]) * quota2_hash_size; in lfsquota2_create_blk0()
78 q2h->q2h_hash_size = ulfs_rw16(quota2_hash_size, ns); in lfsquota2_create_blk0()
H A Dulfs_quota2.c1130 int quota2_hash_size; in q2cursor_getkeys() local
1147 quota2_hash_size = ulfs_rw16(q2h->q2h_hash_size, needswap); in q2cursor_getkeys()
1149 cursor->q2c_hashsize = quota2_hash_size; in q2cursor_getkeys()
1150 } else if (cursor->q2c_hashsize != quota2_hash_size) { in q2cursor_getkeys()
1171 if (cursor->q2c_hashpos >= quota2_hash_size) { in q2cursor_getkeys()
1213 *hashsize_ret = quota2_hash_size; in q2cursor_getkeys()
1283 int quota2_hash_size = 0; /* XXXuninit */ in lfsquota2_handle_cmd_cursorget() local
1341 &quota2_hash_size, &default_q2e); in lfsquota2_handle_cmd_cursorget()
1357 if (newcursor.q2c_hashpos >= quota2_hash_size) { in lfsquota2_handle_cmd_cursorget()
/netbsd/sys/ufs/ufs/
H A Dquota2_subr.c65 const int quota2_hash_size = 1 << q2h_hash_shift; in quota2_create_blk0() local
67 sizeof(q2h->q2h_entries[0]) * quota2_hash_size; in quota2_create_blk0()
75 q2h->q2h_hash_size = ufs_rw16(quota2_hash_size, ns); in quota2_create_blk0()
H A Dufs_quota2.c1132 int quota2_hash_size; in q2cursor_getkeys() local
1149 quota2_hash_size = ufs_rw16(q2h->q2h_hash_size, needswap); in q2cursor_getkeys()
1151 cursor->q2c_hashsize = quota2_hash_size; in q2cursor_getkeys()
1152 } else if (cursor->q2c_hashsize != quota2_hash_size) { in q2cursor_getkeys()
1173 if (cursor->q2c_hashpos >= quota2_hash_size) { in q2cursor_getkeys()
1215 *hashsize_ret = quota2_hash_size; in q2cursor_getkeys()
1285 int quota2_hash_size = 0; /* XXX: sh3 gcc 4.8 -Wuninitialized */ in quota2_handle_cmd_cursorget() local
1343 &quota2_hash_size, &default_q2e); in quota2_handle_cmd_cursorget()
1359 if (newcursor.q2c_hashpos >= quota2_hash_size) { in quota2_handle_cmd_cursorget()