Home
last modified time | relevance | path

Searched refs:nr_steps (Results 1 – 8 of 8) sorted by relevance

/linux/fs/xfs/scrub/
H A Ddirtree.c171 if (path->nr_steps >= XFS_MAXLINK) in xchk_dirpath_append()
186 path->nr_steps++; in xchk_dirpath_append()
247 path->nr_steps = 0; in xchk_dirtree_create_path()
349 trace_xchk_dirpath_set_outcome(dl->sc, path->path_nr, path->nr_steps, in xchk_dirpath_set_outcome()
417 path->nr_steps, &dl->xname, &dl->pptr_rec); in xchk_dirpath_step_up()
425 path->nr_steps, &dl->xname, &dl->pptr_rec); in xchk_dirpath_step_up()
433 path->nr_steps, &dl->xname, &dl->pptr_rec); in xchk_dirpath_step_up()
441 path->nr_steps, &dl->xname, &dl->pptr_rec); in xchk_dirpath_step_up()
487 path->nr_steps, &dl->xname, &dl->pptr_rec); in xchk_dirpath_step_up()
679 for (i = 1, idx = path->second_step; i < path->nr_steps; i++, idx++) { in xchk_dirpath_is_stale()
[all …]
H A Ddirtree_repair.c60 trace_xrep_dirpath_set_outcome(dl->sc, path->path_nr, path->nr_steps, in xrep_dirpath_set_outcome()
576 path->nr_steps = 0; in xrep_dirtree_create_adoption_path()
H A Dtrace.h1795 unsigned int nr_steps, \
1797 TP_ARGS(sc, path_nr, nr_steps, outcome),
1801 __field(unsigned int, nr_steps)
1807 __entry->nr_steps = nr_steps;
1813 __entry->nr_steps,
1819 unsigned int nr_steps, \
1821 TP_ARGS(sc, path_nr, nr_steps, outcome))
/linux/fs/btrfs/
H A Dbio.c189 const u32 nr_steps = repair_bbio->saved_iter.bi_size / step; in btrfs_end_repair_bio() local
199 ASSERT(slot < nr_steps); in btrfs_end_repair_bio()
248 const u32 nr_steps = sectorsize / step; in repair_one_sector() local
279 repair_bio = bio_alloc_bioset(NULL, nr_steps, REQ_OP_READ, GFP_NOFS, in repair_one_sector()
282 for (int i = 0; i < nr_steps; i++) { in repair_one_sector()
308 const u32 nr_steps = sectorsize / step; in btrfs_check_read_bio() local
332 paddrs[(offset / step) % nr_steps] = paddr; in btrfs_check_read_bio()
932 const u32 nr_steps = DIV_ROUND_UP_POW2(length, step); in btrfs_repair_io_failure() local
974 bio = bio_alloc(smap.dev->bdev, nr_steps, REQ_OP_WRITE | REQ_SYNC, GFP_NOFS); in btrfs_repair_io_failure()
976 for (int i = 0; i < nr_steps; i++) { in btrfs_repair_io_failure()
H A Draid56.c1208 static int bio_add_paddrs(struct bio *bio, phys_addr_t *paddrs, unsigned int nr_steps, in bio_add_paddrs() argument
1214 for (int i = 0; i < nr_steps; i++) { in bio_add_paddrs()
1680 const u32 nr_steps = rbio->sector_nsteps; in verify_bio_data_sectors() local
1698 paddrs[(offset / step) % nr_steps] = paddr; in verify_bio_data_sectors()
H A Dfile-item.c784 const u32 nr_steps = blocksize / step; in csum_one_bio() local
790 paddrs[(offset / step) % nr_steps] = paddr; in csum_one_bio()
H A Dinode.c3461 const u32 nr_steps = blocksize / step; in btrfs_calculate_block_csum_folio() local
3467 for (int i = 0; i < nr_steps; i++) { in btrfs_calculate_block_csum_folio()
3493 const u32 nr_steps = blocksize / step; in btrfs_calculate_block_csum_pages() local
3497 for (int i = 0; i < nr_steps; i++) { in btrfs_calculate_block_csum_pages()
3545 const u32 nr_steps = blocksize / step; in btrfs_data_csum_ok() local
3575 for (int i = 0; i < nr_steps; i++) in btrfs_data_csum_ok()
H A Ddisk-io.c177 const u32 nr_steps = eb->len / step; in btrfs_repair_eb_io_failure() local
188 ASSERT(i < nr_steps); in btrfs_repair_eb_io_failure()