• Home
  • Raw
  • Download

Lines Matching defs:c

148 	struct dm_bufio_client *c;  member
159 static inline int dm_bufio_cache_index(struct dm_bufio_client *c) in dm_bufio_cache_index()
168 #define DM_BUFIO_CACHE(c) (dm_bufio_caches[dm_bufio_cache_index(c)]) argument
169 #define DM_BUFIO_CACHE_NAME(c) (dm_bufio_cache_names[dm_bufio_cache_index(c)]) argument
173 static void dm_bufio_lock(struct dm_bufio_client *c) in dm_bufio_lock()
178 static int dm_bufio_trylock(struct dm_bufio_client *c) in dm_bufio_trylock()
183 static void dm_bufio_unlock(struct dm_bufio_client *c) in dm_bufio_unlock()
259 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block) in __find()
276 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert()
298 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove()
369 static void *alloc_buffer_data(struct dm_bufio_client *c, gfp_t gfp_mask, in alloc_buffer_data()
413 static void free_buffer_data(struct dm_bufio_client *c, in free_buffer_data()
439 static struct dm_buffer *alloc_buffer(struct dm_bufio_client *c, gfp_t gfp_mask) in alloc_buffer()
465 struct dm_bufio_client *c = b->c; in free_buffer() local
478 struct dm_bufio_client *c = b->c; in __link_buffer() local
493 struct dm_bufio_client *c = b->c; in __unlink_buffer() local
507 struct dm_bufio_client *c = b->c; in __relink_lru() local
675 struct dm_bufio_client *c = b->c; in write_endio() local
748 static struct dm_buffer *__get_unclaimed_buffer(struct dm_bufio_client *c) in __get_unclaimed_buffer()
785 static void __wait_for_free_buffer(struct dm_bufio_client *c) in __wait_for_free_buffer()
813 static struct dm_buffer *__alloc_buffer_wait_no_callback(struct dm_bufio_client *c, enum new_flag n… in __alloc_buffer_wait_no_callback()
867 static struct dm_buffer *__alloc_buffer_wait(struct dm_bufio_client *c, enum new_flag nf) in __alloc_buffer_wait()
885 struct dm_bufio_client *c = b->c; in __free_buffer_wake() local
897 static void __write_dirty_buffers_async(struct dm_bufio_client *c, int no_wait, in __write_dirty_buffers_async()
922 static void __get_memory_limit(struct dm_bufio_client *c, in __get_memory_limit()
951 static void __check_watermark(struct dm_bufio_client *c, in __check_watermark()
978 static struct dm_buffer *__bufio_new(struct dm_bufio_client *c, sector_t block, in __bufio_new()
1069 static void *new_read(struct dm_bufio_client *c, sector_t block, in new_read()
1104 void *dm_bufio_get(struct dm_bufio_client *c, sector_t block, in dm_bufio_get()
1111 void *dm_bufio_read(struct dm_bufio_client *c, sector_t block, in dm_bufio_read()
1120 void *dm_bufio_new(struct dm_bufio_client *c, sector_t block, in dm_bufio_new()
1129 void dm_bufio_prefetch(struct dm_bufio_client *c, in dm_bufio_prefetch()
1177 struct dm_bufio_client *c = b->c; in dm_bufio_release() local
1207 struct dm_bufio_client *c = b->c; in dm_bufio_mark_buffer_dirty() local
1220 void dm_bufio_write_dirty_buffers_async(struct dm_bufio_client *c) in dm_bufio_write_dirty_buffers_async()
1240 int dm_bufio_write_dirty_buffers(struct dm_bufio_client *c) in dm_bufio_write_dirty_buffers()
1315 int dm_bufio_issue_flush(struct dm_bufio_client *c) in dm_bufio_issue_flush()
1349 struct dm_bufio_client *c = b->c; in dm_bufio_release_move() local
1415 void dm_bufio_forget(struct dm_bufio_client *c, sector_t block) in dm_bufio_forget()
1431 void dm_bufio_set_minimum_buffers(struct dm_bufio_client *c, unsigned n) in dm_bufio_set_minimum_buffers()
1437 unsigned dm_bufio_get_block_size(struct dm_bufio_client *c) in dm_bufio_get_block_size()
1443 sector_t dm_bufio_get_device_size(struct dm_bufio_client *c) in dm_bufio_get_device_size()
1474 static void drop_buffers(struct dm_bufio_client *c) in drop_buffers()
1529 static unsigned long get_retain_buffers(struct dm_bufio_client *c) in get_retain_buffers()
1535 static unsigned long __scan(struct dm_bufio_client *c, unsigned long nr_to_scan, in __scan()
1560 struct dm_bufio_client *c; in dm_bufio_shrink_scan() local
1577 struct dm_bufio_client *c = container_of(shrink, struct dm_bufio_client, shrinker); in dm_bufio_shrink_count() local
1594 struct dm_bufio_client *c; in dm_bufio_client_create() local
1707 void dm_bufio_client_destroy(struct dm_bufio_client *c) in dm_bufio_client_destroy()
1760 static void __evict_old_buffers(struct dm_bufio_client *c, unsigned long age_hz) in __evict_old_buffers()
1796 struct dm_bufio_client *c; in cleanup_old_buffers() local