Home
last modified time | relevance | path

Searched refs:hash_mask (Results 1 – 12 of 12) sorted by relevance

/netbsd/src/external/public-domain/xz/dist/src/liblzma/lz/
Dlz_encoder_hash.h53 = (temp ^ ((uint32_t)(cur[2]) << 8)) & mf->hash_mask
61 ^ (hash_table[cur[3]] << 5)) & mf->hash_mask
75 & mf->hash_mask; \
Dlz_encoder.h103 uint32_t hash_mask; member
Dlz_encoder.c326 mf->hash_mask = hs; in lz_encoder_prepare()
/netbsd/src/external/gpl3/gdb/dist/sim/common/
Dgenmloop.sh536 unsigned int hash_mask, int FAST_P)
539 SCACHE *sc = scache + SCACHE_HASH_PC (vpc, hash_mask);
575 unsigned int hash_mask = CPU_SCACHE_HASH_MASK (current_cpu);
601 sc = @prefix@_scache_lookup (current_cpu, vpc, scache, hash_mask, FAST_P);
639 unsigned int hash_mask = CPU_SCACHE_HASH_MASK (current_cpu);
671 sc = @prefix@_scache_lookup (current_cpu, vpc, scache, hash_mask, FAST_P);
710 unsigned int hash_mask, int FAST_P)
713 SCACHE *sc = scache + SCACHE_HASH_PC (vpc, hash_mask);
751 unsigned int hash_mask = CPU_SCACHE_HASH_MASK (current_cpu);
825 unsigned int hash_mask = CPU_SCACHE_HASH_MASK (current_cpu);
/netbsd/src/sys/ufs/ufs/
Dufs_quota2.c295 u_long hash_mask; in quota2_q2ealloc() local
346 hash_mask = ((1 << q2h->q2h_hash_shift) - 1); in quota2_q2ealloc()
353 q2e->q2e_next = q2h->q2h_entries[uid & hash_mask]; in quota2_q2ealloc()
354 q2h->q2h_entries[uid & hash_mask] = ufs_rw64(offset, needswap); in quota2_q2ealloc()
693 u_long hash_mask; in quota2_handle_cmd_del() local
776 hash_mask = ((1 << q2h->q2h_hash_shift) - 1); in quota2_handle_cmd_del()
781 &q2h->q2h_entries[id & hash_mask], B_MODIFY, &c, in quota2_handle_cmd_del()
1534 u_long hash_mask; in dq2get() local
1546 hash_mask = ((1 << q2h->q2h_hash_shift) - 1); in dq2get()
1547 offset = q2h->q2h_entries[id & hash_mask]; in dq2get()
/netbsd/src/sys/ufs/lfs/
Dulfs_quota2.c300 u_long hash_mask; in quota2_q2ealloc() local
352 hash_mask = ((1 << q2h->q2h_hash_shift) - 1); in quota2_q2ealloc()
359 q2e->q2e_next = q2h->q2h_entries[uid & hash_mask]; in quota2_q2ealloc()
360 q2h->q2h_entries[uid & hash_mask] = ulfs_rw64(offset, needswap); in quota2_q2ealloc()
691 u_long hash_mask; in lfsquota2_handle_cmd_del() local
771 hash_mask = ((1 << q2h->q2h_hash_shift) - 1); in lfsquota2_handle_cmd_del()
776 &q2h->q2h_entries[id & hash_mask], B_MODIFY, &c, in lfsquota2_handle_cmd_del()
1533 u_long hash_mask; in lfs_dq2get() local
1545 hash_mask = ((1 << q2h->q2h_hash_shift) - 1); in lfs_dq2get()
1546 offset = q2h->q2h_entries[id & hash_mask]; in lfs_dq2get()
/netbsd/src/external/cddl/osnet/dist/uts/common/zmod/
Ddeflate.h139 uInt hash_mask; /* hash_size-1 */ member
Ddeflate.c175 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask)
290 s->hash_mask = s->hash_size - 1;
/netbsd/src/common/dist/zlib/
Ddeflate.h151 uInt hash_mask; /* hash_size-1 */ member
Ddeflate.c143 #define UPDATE_HASH(s,h,c) (h = (((h) << s->hash_shift) ^ (c)) & s->hash_mask)
448 s->hash_mask = s->hash_size - 1; in deflateInit2_()
/netbsd/src/external/gpl3/gdb/dist/sim/frv/
Dmloop.in483 sc = @cpu@_scache_lookup (current_cpu, vpc, scache, hash_mask, FAST_P);
/netbsd/src/sys/net/
Dzlib.c412 uInt hash_mask; /* hash_size-1 */ member
767 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask)
866 s->hash_mask = s->hash_size - 1; in deflateInit2_()