Lines Matching refs:dm_bufio_client

82 struct dm_bufio_client {
154 struct dm_bufio_client *c;
168 static void dm_bufio_lock(struct dm_bufio_client *c)
173 static int dm_bufio_trylock(struct dm_bufio_client *c)
178 static void dm_bufio_unlock(struct dm_bufio_client *c)
251 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block)
268 static struct dm_buffer *__find_next(struct dm_bufio_client *c, sector_t block)
291 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b)
313 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b)
401 static void *alloc_buffer_data(struct dm_bufio_client *c, gfp_t gfp_mask,
441 static void free_buffer_data(struct dm_bufio_client *c,
468 static struct dm_buffer *alloc_buffer(struct dm_bufio_client *c, gfp_t gfp_mask)
494 struct dm_bufio_client *c = b->c;
505 struct dm_bufio_client *c = b->c;
522 struct dm_bufio_client *c = b->c;
538 struct dm_bufio_client *c = b->c;
660 static inline sector_t block_to_sector(struct dm_bufio_client *c, sector_t block)
721 struct dm_bufio_client *c = b->c;
798 static struct dm_buffer *__get_unclaimed_buffer(struct dm_bufio_client *c)
835 static void __wait_for_free_buffer(struct dm_bufio_client *c)
863 static struct dm_buffer *__alloc_buffer_wait_no_callback(struct dm_bufio_client *c, enum new_flag nf)
917 static struct dm_buffer *__alloc_buffer_wait(struct dm_bufio_client *c, enum new_flag nf)
935 struct dm_bufio_client *c = b->c;
947 static void __write_dirty_buffers_async(struct dm_bufio_client *c, int no_wait,
974 static void __check_watermark(struct dm_bufio_client *c,
985 static struct dm_buffer *__bufio_new(struct dm_bufio_client *c, sector_t block,
1074 static void *new_read(struct dm_bufio_client *c, sector_t block,
1113 void *dm_bufio_get(struct dm_bufio_client *c, sector_t block,
1120 void *dm_bufio_read(struct dm_bufio_client *c, sector_t block,
1129 void *dm_bufio_new(struct dm_bufio_client *c, sector_t block,
1138 void dm_bufio_prefetch(struct dm_bufio_client *c,
1186 struct dm_bufio_client *c = b->c;
1217 struct dm_bufio_client *c = b->c;
1247 void dm_bufio_write_dirty_buffers_async(struct dm_bufio_client *c)
1267 int dm_bufio_write_dirty_buffers(struct dm_bufio_client *c)
1342 int dm_bufio_issue_flush(struct dm_bufio_client *c)
1366 int dm_bufio_issue_discard(struct dm_bufio_client *c, sector_t block, sector_t count)
1401 struct dm_bufio_client *c = b->c;
1477 void dm_bufio_forget(struct dm_bufio_client *c, sector_t block)
1491 void dm_bufio_forget_buffers(struct dm_bufio_client *c, sector_t block, sector_t n_blocks)
1514 void dm_bufio_set_minimum_buffers(struct dm_bufio_client *c, unsigned n)
1520 unsigned dm_bufio_get_block_size(struct dm_bufio_client *c)
1526 sector_t dm_bufio_get_device_size(struct dm_bufio_client *c)
1541 struct dm_io_client *dm_bufio_get_dm_io_client(struct dm_bufio_client *c)
1565 struct dm_bufio_client *dm_bufio_get_client(struct dm_buffer *b)
1571 static void drop_buffers(struct dm_bufio_client *c)
1640 static unsigned long get_retain_buffers(struct dm_bufio_client *c)
1650 static void __scan(struct dm_bufio_client *c)
1676 struct dm_bufio_client *c = container_of(w, struct dm_bufio_client, shrink_work);
1685 struct dm_bufio_client *c;
1687 c = container_of(shrink, struct dm_bufio_client, shrinker);
1696 struct dm_bufio_client *c = container_of(shrink, struct dm_bufio_client, shrinker);
1718 struct dm_bufio_client *dm_bufio_client_create(struct block_device *bdev, unsigned block_size,
1724 struct dm_bufio_client *c;
1844 void dm_bufio_client_destroy(struct dm_bufio_client *c)
1886 void dm_bufio_set_sector_offset(struct dm_bufio_client *c, sector_t start)
1907 static void __evict_old_buffers(struct dm_bufio_client *c, unsigned long age_hz)
1942 struct dm_bufio_client *locked_client = NULL;
1943 struct dm_bufio_client *current_client;
2011 struct dm_bufio_client *c;