Searched refs:set_capacity (Results 1 – 6 of 6) sorted by relevance
47 self.cache.set_capacity(capacity) in set_prepared_statement_cache_capacity()113 fn set_capacity(&self, capacity: usize) { in set_capacity() method114 self.0.borrow_mut().set_capacity(capacity) in set_capacity()
219 pub fn set_capacity(&mut self, capacity: usize) { in set_capacity() method496 cache.set_capacity(1); in test_change_capacity()514 cache.set_capacity(2); in test_debug()
87 create_battery_func!(set_capacity, capacity, BATTERY_STATUS_CHANGED);222 bat_state.set_capacity(v) in command_monitor()260 inject_irq |= bat_state.set_capacity(battery_data.percent); in command_monitor()
60 cache.set_capacity(1); in test_change_capacity()
219 pub fn set_capacity(&mut self, capacity: usize) { in set_capacity() function
548 set_capacity(tbio_dev.gd, nsectors); in tbio_init()