Lines Matching refs:entries
126 const void **entries;
129 } entries;
139 return (map->entries.no_entries.entries[offset]);
141 return (map->entries.descs[offset].entry);
149 return (&map->entries.no_entries.entries[offset]);
151 return (&map->entries.descs[offset].entry);
159 return ((struct ck_rhs_entry_desc *)(void *)&map->entries.no_entries.descs[offset]);
161 return (&map->entries.descs[offset]);
169 map->entries.no_entries.descs[offset].wanted++;
171 map->entries.descs[offset].wanted++;
179 return (map->entries.no_entries.descs[offset].probes);
181 return (map->entries.descs[offset].probes);
189 map->entries.no_entries.descs[offset].probes = value;
191 map->entries.descs[offset].probes = value;
199 return (map->entries.no_entries.descs[offset].probe_bound);
201 return (map->entries.descs[offset].probe_bound);
209 return (&map->entries.no_entries.descs[offset].probe_bound);
211 return (&map->entries.descs[offset].probe_bound);
220 return (map->entries.no_entries.descs[offset].in_rh);
222 return (map->entries.descs[offset].in_rh);
230 map->entries.no_entries.descs[offset].in_rh = true;
232 map->entries.descs[offset].in_rh = true;
240 map->entries.no_entries.descs[offset].in_rh = false;
242 map->entries.descs[offset].in_rh = false;
337 ck_rhs_map_create(struct ck_rhs *hs, unsigned long entries)
342 n_entries = ck_internal_power_2(entries);
376 map->entries.no_entries.entries = (void *)(((uintptr_t)&map[1] +
378 map->entries.no_entries.descs = (void *)(((uintptr_t)map->entries.no_entries.entries + (sizeof(void *) * n_entries) + CK_MD_CACHELINE - 1) &~ (CK_MD_CACHELINE - 1));
379 memset(map->entries.no_entries.entries, 0,
381 memset(map->entries.no_entries.descs, 0,
387 map->entries.descs = (void *)(((uintptr_t)&map[1] +
389 memset(map->entries.descs, 0, sizeof(struct ck_rhs_entry_desc) * n_entries);
395 /* Commit entries purge with respect to map publication. */
463 desc = &m->entries.descs[offset];
486 r = CK_RHS_LOAD(&m->entries.descs[offset].probe_bound);
632 k = ck_pr_load_ptr(&map->entries.no_entries.entries[offset]);
637 struct ck_rhs_entry_desc *desc = (void *)&map->entries.no_entries.descs[offset];
747 k = ck_pr_load_ptr(&map->entries.descs[offset].entry);
751 struct ck_rhs_entry_desc *desc = &map->entries.descs[offset];