Home
last modified time | relevance | path

Searched refs:hash_index (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.81.4/osfmk/ipc/
H A Dipc_voucher.c672 iv_index_t hash_index; in ivace_reference_by_value() local
682 hash_index = IV_HASH_VAL(ivac->ivac_init_table_size, value); in ivace_reference_by_value()
683 index_p = &ivace_lookup(ivac, hash_index)->ivace_index; in ivace_reference_by_value()
755 iv_index_t hash_index; in ivace_release() local
858 hash_index = iv_hash_value(ivac, value); in ivace_release()
859 ivace_tmp = ivace_lookup(ivac, hash_index); in ivace_release()
863 hash_index = ivace_tmp->ivace_index; in ivace_release()
864 ivace_tmp = ivace_lookup(ivac, hash_index); in ivace_release()
865 assert(IV_HASH_END != hash_index); in ivace_release()
867 hash_index = ivace_tmp->ivace_next; in ivace_release()
[all …]
/xnu-12377.81.4/bsd/vfs/
H A Dvfs_cache.c3462 uint32_t hash_index; in add_name_internal() local
3499 hash_index = hashval & string_table_mask; in add_name_internal()
3500 lock_index = hash_index % NUM_STRCACHE_LOCKS; in add_name_internal()
3502 head = &string_ref_table[hash_index]; in add_name_internal()
3561 uint32_t hash_index; in vfs_removename() local
3578 hash_index = hashval & string_table_mask; in vfs_removename()
3579 lock_index = hash_index % NUM_STRCACHE_LOCKS; in vfs_removename()
3581 head = &string_ref_table[hash_index]; in vfs_removename()
/xnu-12377.81.4/bsd/kern/
H A Dubc_subr.c3904 uint32_t hash_index; in ubc_cs_convert_to_multilevel_hash() local
3905 for (hash_index = 0; hash_index < nCodeSlots; hash_index++) { in ubc_cs_convert_to_multilevel_hash()
3909 const unsigned char *src = src_base + hash_index * source_hash_len; in ubc_cs_convert_to_multilevel_hash()
3910 unsigned char *dst = dst_base + hash_index * new_cd->hashSize; in ubc_cs_convert_to_multilevel_hash()
/xnu-12377.81.4/osfmk/vm/
H A Dvm_compressor.c5146 int hash_index = c_segment_sv_hash_insert(*(uint32_t *) (uintptr_t) src); in c_compress_page() local
5148 if (hash_index != -1) { in c_compress_page()
5149 slot_ptr->s_cindx = hash_index; in c_compress_page()