Home
last modified time | relevance | path

Searched refs:stripe_sectors (Results 1 – 12 of 12) sorted by relevance

/linux/fs/bcachefs/
A Dalloc_background.h44 dst->stripe_sectors = src.stripe_sectors; in alloc_to_bucket()
54 dst->stripe_sectors = src.stripe_sectors; in __bucket_m_to_alloc()
95 return a.stripe_sectors + a.dirty_sectors + a.cached_sectors; in bch2_bucket_sectors_total()
100 return a.stripe_sectors + a.dirty_sectors; in bch2_bucket_sectors_dirty()
120 int d = a.stripe_sectors + a.dirty_sectors; in bch2_gc_bucket_sectors_fragmented()
A Dbuckets_types.h19 u32 stripe_sectors; member
A Dalloc_background_format.h74 __u32 stripe_sectors; member
A Dalloc_background.c271 unsigned stripe_sectors = BCH_ALLOC_V4_BACKPOINTERS_START(&a) * sizeof(u64) > in bch2_alloc_v4_validate() local
272 offsetof(struct bch_alloc_v4, stripe_sectors) in bch2_alloc_v4_validate()
273 ? a.stripe_sectors in bch2_alloc_v4_validate()
280 bkey_fsck_err_on(stripe_sectors || in bch2_alloc_v4_validate()
286 stripe_sectors, in bch2_alloc_v4_validate()
297 !stripe_sectors, in bch2_alloc_v4_validate()
305 stripe_sectors || in bch2_alloc_v4_validate()
335 a->stripe_sectors = swab32(a->stripe_sectors); in bch2_alloc_v4_swab()
361 prt_printf(out, "stripe_sectors %u\n", a->stripe_sectors); in bch2_alloc_to_text()
2061 a->v.stripe_sectors = 0; in invalidate_one_bucket()
A Dbtree_gc.c782 l.stripe_sectors != r.stripe_sectors || in bch2_alloc_v4_cmp()
864 copy_bucket_field(alloc_key_stripe_sectors_wrong, stripe_sectors); in bch2_alloc_write_key()
A Dbuckets.c169 g->stripe_sectors = 0; in bch2_check_fix_ptr()
215 g->stripe_sectors = 0; in bch2_check_fix_ptr()
548 u32 *dst_sectors = p->has_ec ? &a->stripe_sectors : in __mark_pointer()
A Dec.c2251 if (a->stripe_sectors) { in bch2_invalidate_stripe_to_dev()
/linux/fs/btrfs/
A Draid56.c160 kfree(rbio->stripe_sectors); in free_raid_bio_pointers()
263 ASSERT(rbio->stripe_sectors[i].uptodate); in cache_rbio_pages()
267 ASSERT(rbio->stripe_sectors[i].page); in cache_rbio_pages()
268 memcpy_page(rbio->stripe_sectors[i].page, in cache_rbio_pages()
269 rbio->stripe_sectors[i].pgoff, in cache_rbio_pages()
273 rbio->stripe_sectors[i].uptodate = 1; in cache_rbio_pages()
308 if (!rbio->stripe_sectors[i].uptodate) in full_page_sectors_uptodate()
349 dest->stripe_sectors[i].uptodate = true; in steal_rbio_page()
974 return &rbio->stripe_sectors[index]; in sector_in_rbio()
1529 sector = &rbio->stripe_sectors[i]; in get_bio_sector_nr()
[all …]
A Draid56.h125 struct sector_ptr *stripe_sectors; member
/linux/drivers/md/
A Draid5.h588 unsigned long stripe_sectors; member
706 #define RAID5_STRIPE_SECTORS(conf) ((conf)->stripe_sectors)
A Ddm-raid.c1986 __le32 stripe_sectors; member
2154 sb->stripe_sectors = cpu_to_le32(mddev->chunk_sectors); in super_sync()
2265 mddev->chunk_sectors = le32_to_cpu(sb->stripe_sectors); in super_init_validation()
A Draid5.c5724 int stripe_sectors; in make_discard_request() local
5739 stripe_sectors = conf->chunk_sectors * in make_discard_request()
5742 stripe_sectors); in make_discard_request()
5743 sector_div(last_sector, stripe_sectors); in make_discard_request()
7010 conf->stripe_sectors = new >> 9; in raid5_store_stripe_size()
7477 conf->stripe_sectors = DEFAULT_STRIPE_SIZE >> 9; in setup_conf()

Completed in 45 milliseconds