Lines Matching defs:b
239 static void buffer_record_stack(struct dm_buffer *b) in buffer_record_stack()
251 struct dm_buffer *b; in __find() local
265 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert()
287 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove()
294 static void adjust_total_allocated(struct dm_buffer *b, bool unlink) in adjust_total_allocated()
444 struct dm_buffer *b = kmem_cache_alloc(c->slab_buffer, gfp_mask); in alloc_buffer() local
466 static void free_buffer(struct dm_buffer *b) in free_buffer()
477 static void __link_buffer(struct dm_buffer *b, sector_t block, int dirty) in __link_buffer()
494 static void __unlink_buffer(struct dm_buffer *b) in __unlink_buffer()
510 static void __relink_lru(struct dm_buffer *b, int dirty) in __relink_lru()
549 struct dm_buffer *b = context; in dmio_complete() local
554 static void use_dmio(struct dm_buffer *b, int rw, sector_t sector, in use_dmio()
586 struct dm_buffer *b = bio->bi_private; in bio_complete() local
592 static void use_bio(struct dm_buffer *b, int rw, sector_t sector, in use_bio()
634 static void submit_io(struct dm_buffer *b, int rw, void (*end_io)(struct dm_buffer *, blk_status_t)) in submit_io()
682 static void write_endio(struct dm_buffer *b, blk_status_t status) in write_endio()
710 static void __write_dirty_buffer(struct dm_buffer *b, in __write_dirty_buffer()
733 struct dm_buffer *b = in __flush_write_list() local
747 static void __make_buffer_clean(struct dm_buffer *b) in __make_buffer_clean()
765 struct dm_buffer *b; in __get_unclaimed_buffer() local
830 struct dm_buffer *b; in __alloc_buffer_wait_no_callback() local
884 struct dm_buffer *b = __alloc_buffer_wait_no_callback(c, nf); in __alloc_buffer_wait() local
898 static void __free_buffer_wake(struct dm_buffer *b) in __free_buffer_wake()
915 struct dm_buffer *b, *tmp; in __write_dirty_buffers_async() local
954 struct dm_buffer *b, *new_b = NULL; in __bufio_new() local
1020 static void read_endio(struct dm_buffer *b, blk_status_t status) in read_endio()
1043 struct dm_buffer *b; in new_read() local
1117 struct dm_buffer *b; in dm_bufio_prefetch() local
1149 void dm_bufio_release(struct dm_buffer *b) in dm_bufio_release()
1179 void dm_bufio_mark_partial_buffer_dirty(struct dm_buffer *b, in dm_bufio_mark_partial_buffer_dirty()
1206 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b) in dm_bufio_mark_buffer_dirty()
1236 struct dm_buffer *b, *tmp; in dm_bufio_write_dirty_buffers() local
1340 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block) in dm_bufio_release_move()
1412 struct dm_buffer *b; in dm_bufio_forget() local
1449 sector_t dm_bufio_get_block_number(struct dm_buffer *b) in dm_bufio_get_block_number()
1455 void *dm_bufio_get_block_data(struct dm_buffer *b) in dm_bufio_get_block_data()
1461 void *dm_bufio_get_aux_data(struct dm_buffer *b) in dm_bufio_get_aux_data()
1467 struct dm_bufio_client *dm_bufio_get_client(struct dm_buffer *b) in dm_bufio_get_client()
1475 struct dm_buffer *b; in drop_buffers() local
1523 static bool __try_evict_buffer(struct dm_buffer *b, gfp_t gfp) in __try_evict_buffer()
1556 struct dm_buffer *b, *tmp; in __scan() local
1681 struct dm_buffer *b = alloc_buffer(c, GFP_KERNEL); in dm_bufio_client_create() local
1708 struct dm_buffer *b = list_entry(c->reserved_buffers.next, in dm_bufio_client_create() local
1748 struct dm_buffer *b = list_entry(c->reserved_buffers.next, in dm_bufio_client_destroy() local
1785 static bool older_than(struct dm_buffer *b, unsigned long age_hz) in older_than()
1792 struct dm_buffer *b, *tmp; in __evict_old_buffers() local
1827 struct dm_buffer *b; in do_global_cleanup() local