/linux/fs/bcachefs/ |
H A D | alloc_foreground.c | 764 struct write_point *wp, in bucket_alloc_from_stripe() 816 struct write_point *wp, in want_bucket() 841 struct write_point *wp, in bucket_alloc_set_writepoint() 869 struct write_point *wp, in bucket_alloc_set_partial() 922 struct write_point *wp, in __open_bucket_add_buckets() 990 struct write_point *wp, in open_bucket_add_buckets() 1070 bool ec, struct write_point *wp) in bch2_writepoint_stop() 1138 unsigned long write_point) in writepoint_hash() argument 1141 hash_long(write_point, ilog2(ARRAY_SIZE(c->write_points_hash))); in writepoint_hash() 1146 static struct write_point *__writepoint_find(struct hlist_head *head, in __writepoint_find() [all …]
|
H A D | alloc_foreground.h | 89 static inline void bch2_alloc_sectors_done_inlined(struct bch_fs *c, struct write_point *wp) in bch2_alloc_sectors_done_inlined() 105 struct write_point *wp, in bch2_open_bucket_get() 171 struct write_point **); 180 bch2_alloc_sectors_append_ptrs_inlined(struct bch_fs *c, struct write_point *wp, in bch2_alloc_sectors_append_ptrs_inlined() 206 void bch2_alloc_sectors_append_ptrs(struct bch_fs *, struct write_point *, 208 void bch2_alloc_sectors_done(struct bch_fs *, struct write_point *); 217 static inline struct write_point_specifier writepoint_ptr(struct write_point *wp) in writepoint_ptr()
|
H A D | alloc_types.h | 102 struct write_point { struct 107 unsigned long write_point; member
|
H A D | io_write.c | 587 static inline void __wp_update_state(struct write_point *wp, enum write_point_state state) in __wp_update_state() 600 static inline void wp_update_state(struct write_point *wp, bool running) in wp_update_state() 614 struct write_point *wp = op->wp; in CLOSURE_CALLBACK() 631 static inline void bch2_write_queue(struct bch_write_op *op, struct write_point *wp) in bch2_write_queue() 644 struct write_point *wp = in bch2_write_point_do_index_updates() 645 container_of(work, struct write_point, index_update_work); in bch2_write_point_do_index_updates() 713 struct write_point *wp, in init_append_extent() 738 struct write_point *wp, in bch2_write_bio_alloc() 844 } bch2_write_prep_encoded_data(struct bch_write_op *op, struct write_point *wp) in bch2_write_prep_encoded_data() 917 static int bch2_write_extent(struct bch_write_op *op, struct write_point *wp, in bch2_write_extent() [all …]
|
H A D | bcachefs.h | 920 struct write_point btree_write_point; 921 struct write_point rebalance_write_point; 923 struct write_point write_points[WRITE_POINT_MAX]; 989 struct write_point copygc_write_point;
|
H A D | io_misc.c | 29 struct write_point_specifier write_point) in bch2_extent_fallocate() argument 76 struct write_point *wp; in bch2_extent_fallocate() 88 write_point, in bch2_extent_fallocate()
|
H A D | io_write.h | 88 op->write_point = (struct write_point_specifier) { 0 }; in bch2_write_op_init()
|
H A D | journal_types.h | 275 struct write_point wp;
|
H A D | data_update.c | 461 struct write_point *wp; in bch2_update_unwritten_extent() 492 update->op.write_point, in bch2_update_unwritten_extent() 665 m->op.write_point = wp; in bch2_data_update_init()
|
H A D | ec.h | 213 void *bch2_writepoint_ec_buf(struct bch_fs *, struct write_point *);
|
H A D | fs-io-direct.c | 507 dio->op.write_point = writepoint_hashed((unsigned long) current); in bch2_dio_write_loop()
|
H A D | fs-io-buffered.c | 497 op->write_point = writepoint_hashed(inode->ei_last_dirtied); in bch2_writepage_io_alloc()
|
H A D | ec.c | 1622 void *bch2_writepoint_ec_buf(struct bch_fs *c, struct write_point *wp) in bch2_writepoint_ec_buf()
|
H A D | btree_update_interior.c | 293 struct write_point *wp; in __bch2_btree_node_alloc()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | trx.c | 462 u16 read_point, write_point, remind_cnt; in rtl92ee_rx_desc_buff_remained_cnt() local 468 write_point = (u16)(tmp_4byte & 0x7ff); in rtl92ee_rx_desc_buff_remained_cnt() 470 if (write_point != rtlpci->rx_ring[queue_index].next_rx_rp) { in rtl92ee_rx_desc_buff_remained_cnt() 473 write_point, tmp_4byte); in rtl92ee_rx_desc_buff_remained_cnt() 476 write_point = (u16)(tmp_4byte & 0x7ff); in rtl92ee_rx_desc_buff_remained_cnt() 484 remind_cnt = calc_fifo_space(read_point, write_point, in rtl92ee_rx_desc_buff_remained_cnt() 490 rtlpci->rx_ring[queue_index].next_rx_rp = write_point; in rtl92ee_rx_desc_buff_remained_cnt() 998 u16 read_point, write_point; in rtl92ee_is_tx_desc_closed() local 1016 write_point = ring->cur_tx_wp; in rtl92ee_is_tx_desc_closed() 1018 if (write_point > read_point) { in rtl92ee_is_tx_desc_closed() [all …]
|
/linux/drivers/md/bcache/ |
H A D | alloc.c | 583 unsigned int write_point, in pick_data_bucket() argument 594 else if (ret->last_write_point == write_point) in pick_data_bucket() 625 unsigned int write_point, in bch_alloc_sectors() argument 643 while (!(b = pick_data_bucket(c, k, write_point, &alloc.key))) { in bch_alloc_sectors() 684 b->last_write_point = write_point; in bch_alloc_sectors()
|
H A D | request.h | 12 uint16_t write_point; member
|
H A D | bcache.h | 995 unsigned int sectors, unsigned int write_point,
|