Lines Matching defs:b
474 static void lh_next(struct lock_history *lh, sector_t b) in lh_next()
558 struct dm_buffer *b; in __cache_get() local
572 static void __cache_inc_buffer(struct dm_buffer *b) in __cache_inc_buffer()
580 struct dm_buffer *b; in cache_get() local
599 static bool cache_put(struct dm_buffer_cache *bc, struct dm_buffer *b) in cache_put()
633 struct dm_buffer *b = le_to_buffer(le); in __evict_pred() local
649 struct dm_buffer *b; in __cache_evict() local
665 struct dm_buffer *b; in cache_evict() local
680 static void cache_mark(struct dm_buffer_cache *bc, struct dm_buffer *b, int list_mode) in cache_mark()
701 struct dm_buffer *b; in __cache_mark_many() local
792 static bool __cache_insert(struct rb_root *root, struct dm_buffer *b) in __cache_insert()
814 static bool cache_insert(struct dm_buffer_cache *bc, struct dm_buffer *b) in cache_insert()
839 static bool cache_remove(struct dm_buffer_cache *bc, struct dm_buffer *b) in cache_remove()
865 struct dm_buffer *b; in __find_next() local
890 struct dm_buffer *b; in __remove_range() local
1059 static void buffer_record_stack(struct dm_buffer *b) in buffer_record_stack()
1067 static void adjust_total_allocated(struct dm_buffer *b, bool unlink) in adjust_total_allocated()
1195 struct dm_buffer *b = kmem_cache_alloc(c->slab_buffer, gfp_mask); in alloc_buffer() local
1218 static void free_buffer(struct dm_buffer *b) in free_buffer()
1253 struct dm_buffer *b = context; in dmio_complete() local
1258 static void use_dmio(struct dm_buffer *b, enum req_op op, sector_t sector, in use_dmio()
1289 struct dm_buffer *b = bio->bi_private; in bio_complete() local
1297 static void use_bio(struct dm_buffer *b, enum req_op op, sector_t sector, in use_bio()
1335 static void submit_io(struct dm_buffer *b, enum req_op op, in submit_io()
1382 static void write_endio(struct dm_buffer *b, blk_status_t status) in write_endio()
1410 static void __write_dirty_buffer(struct dm_buffer *b, in __write_dirty_buffer()
1434 struct dm_buffer *b = in __flush_write_list() local
1448 static void __make_buffer_clean(struct dm_buffer *b) in __make_buffer_clean()
1461 static enum evict_result is_clean(struct dm_buffer *b, void *context) in is_clean()
1480 static enum evict_result is_dirty(struct dm_buffer *b, void *context) in is_dirty()
1497 struct dm_buffer *b; in __get_unclaimed_buffer() local
1560 struct dm_buffer *b; in __alloc_buffer_wait_no_callback() local
1613 struct dm_buffer *b = __alloc_buffer_wait_no_callback(c, nf); in __alloc_buffer_wait() local
1627 static void __free_buffer_wake(struct dm_buffer *b) in __free_buffer_wake()
1647 static enum evict_result cleaned(struct dm_buffer *b, void *context) in cleaned()
1668 static enum it_action write_one(struct dm_buffer *b, void *context) in write_one()
1707 static void cache_put_and_wake(struct dm_bufio_client *c, struct dm_buffer *b) in cache_put_and_wake()
1726 struct dm_buffer *b, *new_b = NULL; in __bufio_new() local
1799 static void read_endio(struct dm_buffer *b, blk_status_t status) in read_endio()
1822 struct dm_buffer *b; in new_read() local
1930 struct dm_buffer *b; in dm_bufio_prefetch() local
1970 void dm_bufio_release(struct dm_buffer *b) in dm_bufio_release()
1999 void dm_bufio_mark_partial_buffer_dirty(struct dm_buffer *b, in dm_bufio_mark_partial_buffer_dirty()
2026 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b) in dm_bufio_mark_buffer_dirty()
2055 struct dm_buffer *b = le_to_buffer(e); in is_writing() local
2078 struct dm_buffer *b = le_to_buffer(e); in dm_bufio_write_dirty_buffers() local
2163 struct dm_buffer *b; in forget_buffer() local
2194 static enum evict_result idle(struct dm_buffer *b, void *context) in idle()
2241 sector_t dm_bufio_get_block_number(struct dm_buffer *b) in dm_bufio_get_block_number()
2247 void *dm_bufio_get_block_data(struct dm_buffer *b) in dm_bufio_get_block_data()
2253 void *dm_bufio_get_aux_data(struct dm_buffer *b) in dm_bufio_get_aux_data()
2259 struct dm_bufio_client *dm_bufio_get_client(struct dm_buffer *b) in dm_bufio_get_client()
2265 static enum it_action warn_leak(struct dm_buffer *b, void *context) in warn_leak()
2284 struct dm_buffer *b; in drop_buffers() local
2331 struct dm_buffer *b; in __scan() local
2481 struct dm_buffer *b = alloc_buffer(c, GFP_KERNEL); in dm_bufio_client_create() local
2512 struct dm_buffer *b = list_to_buffer(c->reserved_buffers.next); in dm_bufio_client_create() local
2554 struct dm_buffer *b = list_to_buffer(c->reserved_buffers.next); in dm_bufio_client_destroy() local
2603 static bool older_than(struct dm_buffer *b, unsigned long age_hz) in older_than()
2628 static enum evict_result select_for_evict(struct dm_buffer *b, void *context) in select_for_evict()
2649 struct dm_buffer *b; in __evict_many() local