Lines Matching defs:slot_count
58 static inline size_t slots_size(size_t slot_count)
60 return sizeof(struct open_chapter_zone_slot) * slot_count;
69 size_t slot_count = (1 << bits_per(capacity * LOAD_RATIO));
71 result = vdo_allocate_extended(struct open_chapter_zone, slot_count,
77 open_chapter->slot_count = slot_count;
96 memset(open_chapter->slots, 0, slots_size(open_chapter->slot_count));
103 unsigned int slot_count = open_chapter->slot_count;
104 unsigned int slot = uds_name_to_hash_slot(name, slot_count);
131 slot = (slot + attempts++) % slot_count;