Searched refs:bbpos (Results 1 – 13 of 13) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | bbpos.h | 9 static inline int bbpos_cmp(struct bbpos l, struct bbpos r) in bbpos_cmp() 14 static inline struct bbpos bbpos_successor(struct bbpos pos) in bbpos_successor() 30 static inline void bch2_bbpos_to_text(struct printbuf *out, struct bbpos pos) in bch2_bbpos_to_text()
|
| H A D | bbpos_types.h | 5 struct bbpos { struct 10 static inline struct bbpos BBPOS(enum btree_id btree, struct bpos pos) in BBPOS() argument 12 return (struct bbpos) { btree, pos }; in BBPOS()
|
| H A D | move.h | 126 struct bbpos, 127 struct bbpos, 130 struct bbpos start, 131 struct bbpos end,
|
| H A D | rebalance_types.h | 30 struct bbpos scan_start; 31 struct bbpos scan_end;
|
| H A D | backpointers.c | 725 static inline struct bbpos bp_to_bbpos(struct bch_backpointer bp) in bp_to_bbpos() 727 return (struct bbpos) { in bp_to_bbpos() 750 struct bbpos start, struct bbpos *end) in bch2_get_btree_in_memory_pos() 1168 struct bbpos start, in check_one_backpointer() 1169 struct bbpos end, in check_one_backpointer() 1177 struct bbpos pos = bp_to_bbpos(*bp.v); in check_one_backpointer() 1215 struct bbpos start, in bch2_check_backpointers_to_extents_pass() 1216 struct bbpos end) in bch2_check_backpointers_to_extents_pass() 1239 struct bbpos start = (struct bbpos) { .btree = 0, .pos = POS_MIN, }, end; in bch2_check_backpointers_to_extents()
|
| H A D | move_types.h | 16 struct bbpos pos;
|
| H A D | lru.c | 119 static struct bbpos lru_pos_to_bp(struct bkey_s_c lru_k) in lru_pos_to_bp() 174 struct bbpos bp = lru_pos_to_bp(lru_k); in bch2_check_lru_key()
|
| H A D | move.c | 696 struct bbpos start, in __bch2_move_data() 697 struct bbpos end, in __bch2_move_data() 725 struct bbpos start, in bch2_move_data() 726 struct bbpos end, in bch2_move_data() 960 struct bbpos start, in bch2_move_btree() 961 struct bbpos end, in bch2_move_btree() 1213 struct bbpos start = BBPOS(op.start_btree, op.start_pos); in bch2_data_job() 1214 struct bbpos end = BBPOS(op.end_btree, op.end_pos); in bch2_data_job()
|
| H A D | btree_types.h | 206 struct bbpos pinned_nodes_start; 207 struct bbpos pinned_nodes_end;
|
| H A D | alloc_background.c | 1359 struct bbpos pos; 1362 static int bch2_recheck_discard_freespace_key(struct btree_trans *trans, struct bbpos pos) in bch2_recheck_discard_freespace_key()
|
| H A D | btree_cache.c | 214 struct bbpos pos = BBPOS(b->c.btree_id, b->key.k.p); in __btree_node_pinned()
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-qpic-snand.c | 502 int col, bbpos; in qcom_spi_read_last_cw() local 547 bbpos = mtd->writesize - ecc_cfg->cw_size * (num_cw - 1); in qcom_spi_read_last_cw() 549 if (snandc->data_buffer[bbpos] == 0xff) in qcom_spi_read_last_cw() 550 snandc->data_buffer[bbpos + 1] = 0xff; in qcom_spi_read_last_cw() 551 if (snandc->data_buffer[bbpos] != 0xff) in qcom_spi_read_last_cw() 552 snandc->data_buffer[bbpos + 1] = snandc->data_buffer[bbpos]; in qcom_spi_read_last_cw() 554 memcpy(op->data.buf.in, snandc->data_buffer + bbpos, op->data.nbytes); in qcom_spi_read_last_cw()
|
| /linux-6.15/drivers/mtd/nand/raw/ |
| H A D | qcom_nandc.c | 1167 int page, ret, bbpos, bad = 0; in qcom_nandc_block_bad() local 1189 bbpos = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_block_bad() 1191 bad = nandc->data_buffer[bbpos] != 0xff; in qcom_nandc_block_bad() 1194 bad = bad || (nandc->data_buffer[bbpos + 1] != 0xff); in qcom_nandc_block_bad()
|