Searched refs:zm_alloc_size (Results 1 – 2 of 2) sorted by relevance
236 uint16_t zm_alloc_size; /* first page only */ member895 if (os_add_overflow(m->zm_alloc_size, (uint16_t)esize, &m->zm_alloc_size)) { in zone_meta_alloc_size_add()898 return m->zm_alloc_size; in zone_meta_alloc_size_add()905 if (os_sub_overflow(m->zm_alloc_size, esize, &m->zm_alloc_size)) { in zone_meta_alloc_size_sub()908 return m->zm_alloc_size; in zone_meta_alloc_size_sub()4018 .zm_alloc_size = lock, in zcram_and_lock()4072 if (zone->z_permanent || meta->zm_alloc_size) { in zcram_and_lock()5781 vm_offset_t old_size = meta->zm_alloc_size; in zfree_drop()6227 vm_offset_t old_size = meta->zm_alloc_size; in zalloc_import()7088 page_meta->zm_alloc_size += size; in _zalloc_permanent()[all …]
398 return self.meta.zm_alloc_size // self.zone.z_elem_size