Lines Matching refs:write_point

1010 				 bool ec, struct write_point *wp)  in bch2_writepoint_stop()
1077 unsigned long write_point) in writepoint_hash() argument
1080 hash_long(write_point, ilog2(ARRAY_SIZE(c->write_points_hash))); in writepoint_hash()
1085 static struct write_point *__writepoint_find(struct hlist_head *head, in __writepoint_find()
1086 unsigned long write_point) in __writepoint_find() argument
1088 struct write_point *wp; in __writepoint_find()
1092 if (wp->write_point == write_point) in __writepoint_find()
1107 struct write_point *wp; in try_increase_writepoints()
1114 hlist_add_head_rcu(&wp->node, writepoint_hash(c, wp->write_point)); in try_increase_writepoints()
1121 struct write_point *wp; in try_decrease_writepoints()
1150 static struct write_point *writepoint_find(struct btree_trans *trans, in writepoint_find()
1151 unsigned long write_point) in writepoint_find() argument
1154 struct write_point *wp, *oldest; in writepoint_find()
1157 if (!(write_point & 1UL)) { in writepoint_find()
1158 wp = (struct write_point *) write_point; in writepoint_find()
1163 head = writepoint_hash(c, write_point); in writepoint_find()
1165 wp = __writepoint_find(head, write_point); in writepoint_find()
1169 if (wp->write_point == write_point) in writepoint_find()
1190 wp = __writepoint_find(head, write_point); in writepoint_find()
1199 wp->write_point = write_point; in writepoint_find()
1237 struct write_point_specifier write_point, in bch2_alloc_sectors_start_trans() argument
1244 struct write_point **wp_ret) in bch2_alloc_sectors_start_trans()
1273 *wp_ret = req->wp = writepoint_find(trans, write_point.v); in bch2_alloc_sectors_start_trans()
1389 void bch2_alloc_sectors_append_ptrs(struct bch_fs *c, struct write_point *wp, in bch2_alloc_sectors_append_ptrs()
1400 void bch2_alloc_sectors_done(struct bch_fs *c, struct write_point *wp) in bch2_alloc_sectors_done()
1405 static inline void writepoint_init(struct write_point *wp, in writepoint_init()
1419 struct write_point *wp; in bch2_fs_allocator_foreground_init()
1445 wp->write_point = (unsigned long) wp; in bch2_fs_allocator_foreground_init()
1447 writepoint_hash(c, wp->write_point)); in bch2_fs_allocator_foreground_init()
1513 struct write_point *wp) in bch2_write_point_to_text()
1520 prt_printf(out, "%lu: ", wp->write_point); in bch2_write_point_to_text()
1543 struct write_point *wp; in bch2_write_points_to_text()