Home
last modified time | relevance | path

Searched refs:bbpos (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dbbpos.h9 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 Dbbpos_types.h5 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 Dmove.h126 struct bbpos,
127 struct bbpos,
130 struct bbpos start,
131 struct bbpos end,
H A Drebalance_types.h30 struct bbpos scan_start;
31 struct bbpos scan_end;
H A Dbackpointers.c725 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 Dmove_types.h16 struct bbpos pos;
H A Dlru.c119 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 Dmove.c696 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 Dbtree_types.h206 struct bbpos pinned_nodes_start;
207 struct bbpos pinned_nodes_end;
H A Dalloc_background.c1359 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 Dbtree_cache.c214 struct bbpos pos = BBPOS(b->c.btree_id, b->key.k.p); in __btree_node_pinned()
/linux-6.15/drivers/spi/
H A Dspi-qpic-snand.c502 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 Dqcom_nandc.c1167 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()