Searched refs:max_size (Results 1 – 4 of 4) sorted by relevance
1696 unsigned long saveable, size, max_size, count, highmem, pages = 0; in hibernate_preallocate_memory() local1742 max_size = (count - (size + PAGES_FOR_IO)) / 2 in hibernate_preallocate_memory()1746 if (size > max_size) in hibernate_preallocate_memory()1747 size = max_size; in hibernate_preallocate_memory()1771 size = min_t(unsigned long, pages, max_size); in hibernate_preallocate_memory()1789 alloc = count - max_size; in hibernate_preallocate_memory()1814 alloc = max_size - size; in hibernate_preallocate_memory()
27 extern int arch_hibernation_header_save(void *addr, unsigned int max_size);
306 long max_size = perf_data_size(rb); in ring_buffer_init() local309 rb->watermark = min(max_size, watermark); in ring_buffer_init()312 rb->watermark = max_size / 2; in ring_buffer_init()
5096 int max_size; member5175 data->max_size = len; in rb_write_something()5176 if (len > data->max_size) in rb_write_something()5177 data->max_size = len; in rb_write_something()5324 big_event_size = data->max_size + data->max_size_nested; in test_ringbuffer()