Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 4 of 4) sorted by relevance

/kernel/power/
Dsnapshot.c1696 unsigned long saveable, size, max_size, count, highmem, pages = 0; in hibernate_preallocate_memory() local
1742 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()
Dpower.h27 extern int arch_hibernation_header_save(void *addr, unsigned int max_size);
/kernel/events/
Dring_buffer.c306 long max_size = perf_data_size(rb); in ring_buffer_init() local
309 rb->watermark = min(max_size, watermark); in ring_buffer_init()
312 rb->watermark = max_size / 2; in ring_buffer_init()
/kernel/trace/
Dring_buffer.c5096 int max_size; member
5175 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()