Home
last modified time | relevance | path

Searched refs:iv_index_t (Results 1 – 2 of 2) sorted by relevance

/xnu-8792.61.2/osfmk/ipc/
H A Dipc_voucher.h52 typedef natural_t iv_index_t; typedef
53 #define IV_UNUSED_VALINDEX ((iv_index_t) 0)
54 #define IV_UNUSED_KEYINDEX ((iv_index_t) ~0)
56 typedef iv_index_t *iv_entry_t;
74 iv_index_t iv_hash; /* checksum hash */
75 iv_index_t iv_sum; /* checksum of values */
77 iv_index_t iv_table[MACH_VOUCHER_ATTR_KEY_NUM];
126 iv_index_t ivaceu_layer; /* next effective layer (layered) */
128 iv_index_t ivace_next; /* hash or freelist */
129 iv_index_t ivace_index; /* hash head (independent) */
[all …]
H A Dipc_voucher.c114 #define IV_FREELIST_END ((iv_index_t) 0)
123 static inline iv_index_t
125 iv_index_t key_index, in iv_hash_value()
146 static inline iv_index_t
153 return (iv_index_t)key - 1; in iv_key_to_index()
157 iv_index_to_key(iv_index_t key_index) in iv_index_to_key()
165 static void ivace_release(iv_index_t key_index, iv_index_t value_index);
166 static void ivace_lookup_values(iv_index_t key_index, iv_index_t value_index,
170 iv_index_t index);
172 static iv_index_t iv_lookup(ipc_voucher_t, iv_index_t);
[all …]