Lines Matching refs:buffers

22  *	Limit the number of buffers to DM_BUFIO_MEMORY_PERCENT of main memory
24 * Always allocate at least DM_BUFIO_MIN_BUFFERS buffers.
26 * dirty buffers.
40 * Free buffers when they are older than this (seconds)
73 * Linking of buffers:
74 * All buffers are linked to cache_hash with their hash_list field.
76 * Clean buffers that are not being written (B_WRITING not set)
79 * Dirty and clean buffers that are being written are linked to
83 * context), so some clean-not-writing buffers can be held on
304 * Small buffers are allocated with kmem_cache, to use space optimally.
306 * For large buffers, we choose between get_free_pages and vmalloc.
315 * buffers and more I/O will be performed. Don't use __get_free_pages if it
590 * Writing dirty buffers
755 * For debugging, if we set the cache size to 1, no new buffers will
799 * Free a buffer and wake other threads waiting for free buffers.
844 unsigned long buffers;
852 buffers = dm_bufio_cache_size_per_client >>
855 if (buffers < c->minimum_buffers)
856 buffers = c->minimum_buffers;
858 *limit_buffers = buffers;
859 *threshold_buffers = buffers * DM_BUFIO_WRITEBACK_PERCENT / 100;
864 * If we are over threshold_buffers, start freeing buffers.
1167 * For performance, it is essential that the buffers are written asynchronously
1225 * dirtying buffers, so we count the number of buffers walked
1226 * and if it exceeds the total number of buffers, it means that
1415 * An optimization so that the buffers are not written one-by-one.
1645 * It is required that there are no references on any buffers.