Searched refs:bucket_offset (Results 1 – 7 of 7) sorted by relevance
/linux/fs/bcachefs/ |
H A D | backpointers.h | 47 u32 *bucket_offset) in bp_pos_to_bucket_and_offset() argument 51 return POS(bp_pos.inode, sector_to_bucket_and_offset(ca, bucket_sector, bucket_offset)); in bp_pos_to_bucket_and_offset() 66 u64 bucket_offset) in bucket_pos_to_bp_noerror() argument 70 MAX_EXTENT_COMPRESS_RATIO_SHIFT) + bucket_offset); in bucket_pos_to_bp_noerror() 78 u64 bucket_offset) in bucket_pos_to_bp() argument 80 struct bpos ret = bucket_pos_to_bp_noerror(ca, bucket, bucket_offset); in bucket_pos_to_bp()
|
H A D | btree_node_scan.c | 244 for (unsigned bucket_offset = 0; in read_btree_nodes_worker() local 245 bucket_offset + btree_sectors(c) <= ca->mi.bucket_size; in read_btree_nodes_worker() 246 bucket_offset += btree_sectors(c)) { in read_btree_nodes_worker() 248 u64 cur_sector = bucket * ca->mi.bucket_size + bucket_offset; in read_btree_nodes_worker() 256 u64 sector = bucket * ca->mi.bucket_size + bucket_offset; in read_btree_nodes_worker()
|
H A D | journal_io.h | 14 u32 bucket_offset; member
|
H A D | buckets.h | 133 u32 *bucket_offset) in PTR_BUCKET_POS_OFFSET() argument 135 return POS(ptr->dev, sector_to_bucket_and_offset(ca, ptr->offset, bucket_offset)); in PTR_BUCKET_POS_OFFSET()
|
H A D | extents.c | 1254 u32 bucket_offset; in extent_ptr_validate() local 1255 u64 bucket = sector_to_bucket_and_offset(ca, ptr->offset, &bucket_offset); in extent_ptr_validate() 1267 bkey_fsck_err_on(bucket_offset + size_ondisk > bucket_size, in extent_ptr_validate() 1270 bucket_offset, size_ondisk, bucket_size); in extent_ptr_validate()
|
H A D | backpointers.c | 42 u32 bucket_offset; in bch2_backpointer_to_text() local 43 struct bpos bucket = bp_pos_to_bucket_and_offset(ca, bp.k->p, &bucket_offset); in bch2_backpointer_to_text() 45 prt_printf(out, "bucket=%llu:%llu:%u ", bucket.inode, bucket.offset, bucket_offset); in bch2_backpointer_to_text()
|
H A D | journal_io.c | 58 i->dev, i->bucket, i->bucket_offset, i->sector); in bch2_journal_ptrs_to_text() 1131 .bucket_offset = offset - in journal_read_bucket()
|