| /linux/fs/xfs/scrub/ |
| H A D | bmap.c | 147 struct xfs_bmbt_irec *irec, in xchk_bmap_get_rmap() argument 166 if (irec->br_state == XFS_EXT_UNWRITTEN) in xchk_bmap_get_rmap() 176 offset = irec->br_startoff; in xchk_bmap_get_rmap() 195 irec->br_startoff); in xchk_bmap_get_rmap() 203 struct xfs_bmbt_irec *irec, in xchk_bmap_xref_rmap() argument 214 if (!xchk_bmap_get_rmap(info, irec, bno, owner, &rmap)) in xchk_bmap_xref_rmap() 223 irec->br_startoff); in xchk_bmap_xref_rmap() 226 if (rmap_end != bno + irec->br_blockcount) in xchk_bmap_xref_rmap() 228 irec->br_startoff); in xchk_bmap_xref_rmap() 231 if (rmap.rm_offset != irec->br_startoff) in xchk_bmap_xref_rmap() [all …]
|
| H A D | rtrmap.c | 84 const struct xfs_rmap_irec *irec) in xchk_rtrmapbt_is_shareable() argument 88 if (irec->rm_flags & XFS_RMAP_UNWRITTEN) in xchk_rtrmapbt_is_shareable() 98 const struct xfs_rmap_irec *irec) in xchk_rtrmapbt_check_overlapping() argument 111 if (pnext <= irec->rm_startblock) in xchk_rtrmapbt_check_overlapping() 116 !xchk_rtrmapbt_is_shareable(bs->sc, irec)) in xchk_rtrmapbt_check_overlapping() 120 inext = irec->rm_startblock + irec->rm_blockcount; in xchk_rtrmapbt_check_overlapping() 125 memcpy(&cr->overlap_rec, irec, sizeof(struct xfs_rmap_irec)); in xchk_rtrmapbt_check_overlapping() 157 const struct xfs_rmap_irec *irec) in xchk_rtrmapbt_check_mergeable() argument 162 if (xchk_rtrmap_mergeable(cr, irec)) in xchk_rtrmapbt_check_mergeable() 165 memcpy(&cr->prev_rec, irec, sizeof(struct xfs_rmap_irec)); in xchk_rtrmapbt_check_mergeable() [all …]
|
| H A D | ialloc.c | 67 struct xfs_inobt_rec_incore *irec, in xchk_inobt_xref_finobt() argument 108 if (irec->ir_free == 0) in xchk_inobt_xref_finobt() 112 if (irec->ir_free == XFS_INOBT_ALL_FREE) in xchk_inobt_xref_finobt() 134 struct xfs_inobt_rec_incore *irec, in xchk_inobt_chunk_xref_finobt() argument 147 for (i = agino, rec_idx = agino - irec->ir_startino; in xchk_inobt_chunk_xref_finobt() 153 free = irec->ir_free & (1ULL << rec_idx); in xchk_inobt_chunk_xref_finobt() 155 hole = irec->ir_holemask & (1U << hole_idx); in xchk_inobt_chunk_xref_finobt() 157 error = xchk_inobt_xref_finobt(sc, irec, i, free, hole); in xchk_inobt_chunk_xref_finobt() 175 struct xfs_inobt_rec_incore irec; in xchk_finobt_xref_inobt() local 190 error = xfs_inobt_get_rec(cur, &irec, &has_record); in xchk_finobt_xref_inobt() [all …]
|
| H A D | refcount.c | 287 const struct xfs_refcount_irec *irec) in xchk_refcountbt_xref_rmap() argument 291 .bno = irec->rc_startblock, in xchk_refcountbt_xref_rmap() 292 .len = irec->rc_blockcount, in xchk_refcountbt_xref_rmap() 293 .refcount = irec->rc_refcount, in xchk_refcountbt_xref_rmap() 307 low.rm_startblock = irec->rc_startblock; in xchk_refcountbt_xref_rmap() 309 high.rm_startblock = irec->rc_startblock + irec->rc_blockcount - 1; in xchk_refcountbt_xref_rmap() 318 if (irec->rc_refcount != refchk.seen) { in xchk_refcountbt_xref_rmap() 319 trace_xchk_refcount_incorrect(sc->sa.pag, irec, refchk.seen); in xchk_refcountbt_xref_rmap() 334 const struct xfs_refcount_irec *irec) in xchk_refcountbt_xref() argument 339 xchk_xref_is_used_space(sc, irec->rc_startblock, irec->rc_blockcount); in xchk_refcountbt_xref() [all …]
|
| H A D | rtrefcount.c | 301 const struct xfs_refcount_irec *irec) in xchk_rtrefcountbt_xref_rmap() argument 305 .bno = irec->rc_startblock, in xchk_rtrefcountbt_xref_rmap() 306 .len = irec->rc_blockcount, in xchk_rtrefcountbt_xref_rmap() 307 .refcount = irec->rc_refcount, in xchk_rtrefcountbt_xref_rmap() 321 low.rm_startblock = irec->rc_startblock; in xchk_rtrefcountbt_xref_rmap() 323 high.rm_startblock = irec->rc_startblock + irec->rc_blockcount - 1; in xchk_rtrefcountbt_xref_rmap() 332 if (irec->rc_refcount != refchk.seen) in xchk_rtrefcountbt_xref_rmap() 346 const struct xfs_refcount_irec *irec) in xchk_rtrefcountbt_xref() argument 352 xfs_rgbno_to_rtb(sc->sr.rtg, irec->rc_startblock), in xchk_rtrefcountbt_xref() 353 irec->rc_blockcount); in xchk_rtrefcountbt_xref() [all …]
|
| H A D | cow_repair.c | 74 struct xfs_bmbt_irec irec; member 101 startoff = xc->irec.br_startoff + in xrep_cow_mark_file_range() 102 (startblock - xc->irec.br_startblock); in xrep_cow_mark_file_range() 131 xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_trim_refcount() 133 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_trim_refcount() 223 if (rec_bno + rec_len > xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_mark_missing_staging_rmap() 225 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_mark_missing_staging_rmap() 250 agno = XFS_FSB_TO_AGNO(sc->mp, xc->irec.br_startblock); in xrep_cow_find_bad() 251 xc->irec_startbno = XFS_FSB_TO_AGBNO(sc->mp, xc->irec.br_startblock); in xrep_cow_find_bad() 263 rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1; in xrep_cow_find_bad() [all …]
|
| H A D | bmap_repair.c | 137 struct xfs_bmbt_irec irec = { in xrep_bmap_from_rmap() local 160 irec.br_blockcount = min_t(xfs_filblks_t, blockcount, in xrep_bmap_from_rmap() 163 fa = xfs_bmap_validate_extent(sc->ip, rb->whichfork, &irec); in xrep_bmap_from_rmap() 167 xfs_bmbt_disk_set_all(&rbe, &irec); in xrep_bmap_from_rmap() 169 trace_xrep_bmap_found(sc->ip, rb->whichfork, &irec); in xrep_bmap_from_rmap() 180 irec.br_startblock += irec.br_blockcount; in xrep_bmap_from_rmap() 181 irec.br_startoff += irec.br_blockcount; in xrep_bmap_from_rmap() 182 blockcount -= irec.br_blockcount; in xrep_bmap_from_rmap() 322 struct xfs_bmbt_irec irec; in xrep_bmap_sort_records() local 342 xfs_bmbt_disk_get_all(&rec, &irec); in xrep_bmap_sort_records() [all …]
|
| H A D | refcount_repair.c | 175 struct xfs_refcount_irec irec = { in xrep_refc_stash() local 186 irec.rc_refcount = min_t(uint64_t, XFS_REFC_REFCOUNT_MAX, refcount); in xrep_refc_stash() 188 error = xrep_refc_check_ext(rr->sc, &irec); in xrep_refc_stash() 192 trace_xrep_refc_found(pag_group(sc->sa.pag), &irec); in xrep_refc_stash() 194 return xfarray_append(rr->refcount_records, &irec); in xrep_refc_stash() 292 const struct xfs_refcount_irec *irec) in xrep_refc_encode_startblock() argument 296 start = irec->rc_startblock & ~XFS_REFC_COWFLAG; in xrep_refc_encode_startblock() 297 if (irec->rc_domain == XFS_REFC_DOMAIN_COW) in xrep_refc_encode_startblock() 331 struct xfs_refcount_irec irec; in xrep_refc_sort_records() local 346 error = xfarray_load(rr->refcount_records, cur, &irec); in xrep_refc_sort_records() [all …]
|
| H A D | rtrefcount_repair.c | 172 struct xfs_refcount_irec irec = { in xrep_rtrefc_stash() local 183 irec.rc_refcount = min_t(uint64_t, XFS_REFC_REFCOUNT_MAX, refcount); in xrep_rtrefc_stash() 185 error = xrep_rtrefc_check_ext(rr->sc, &irec); in xrep_rtrefc_stash() 189 trace_xrep_refc_found(rtg_group(rr->sc->sr.rtg), &irec); in xrep_rtrefc_stash() 191 return xfarray_append(rr->refcount_records, &irec); in xrep_rtrefc_stash() 277 const struct xfs_refcount_irec *irec) in xrep_rtrefc_encode_startblock() argument 281 start = irec->rc_startblock & ~XFS_REFC_COWFLAG; in xrep_rtrefc_encode_startblock() 282 if (irec->rc_domain == XFS_REFC_DOMAIN_COW) in xrep_rtrefc_encode_startblock() 319 struct xfs_refcount_irec irec; in xrep_rtrefc_sort_records() local 334 error = xfarray_load(rr->refcount_records, cur, &irec); in xrep_rtrefc_sort_records() [all …]
|
| H A D | ialloc_repair.c | 526 struct xfs_inobt_rec_incore *irec = &cur->bc_rec.i; in xrep_fibt_get_records() local 535 ri->array_cur++, irec); in xrep_fibt_get_records() 536 } while (error == 0 && xfs_inobt_rec_freecount(irec) == 0); in xrep_fibt_get_records() 556 struct xfs_inobt_rec_incore *irec = &cur->bc_rec.i; in xrep_ibt_get_records() local 563 error = xfarray_load(ri->inode_records, ri->array_cur++, irec); in xrep_ibt_get_records() 603 struct xfs_inobt_rec_incore irec; in xrep_ibt_check_overlap() local 612 error = xfarray_load(ri->inode_records, cur, &irec); in xrep_ibt_check_overlap() 616 if (irec.ir_startino < next_agino) in xrep_ibt_check_overlap() 619 next_agino = irec.ir_startino + XFS_INODES_PER_CHUNK; in xrep_ibt_check_overlap()
|
| H A D | rmap_repair.c | 678 struct xfs_inobt_rec_incore irec; in xrep_rmap_walk_inobt() local 693 xfs_inobt_btrec_to_irec(mp, rec, &irec); in xrep_rmap_walk_inobt() 694 if (xfs_inobt_check_irec(to_perag(cur->bc_group), &irec) != NULL) in xrep_rmap_walk_inobt() 697 agino = irec.ir_startino; in xrep_rmap_walk_inobt() 700 if (!xfs_inobt_issparse(irec.ir_holemask)) { in xrep_rmap_walk_inobt() 712 for (i = 0, agino = irec.ir_startino; in xrep_rmap_walk_inobt() 716 if (irec.ir_holemask & (1 << i)) in xrep_rmap_walk_inobt() 790 const struct xfs_refcount_irec *irec, in xrep_rmap_walk_cowblocks() argument 795 if (!xfs_refcount_check_domain(irec) || in xrep_rmap_walk_cowblocks() 796 irec->rc_domain != XFS_REFC_DOMAIN_COW) in xrep_rmap_walk_cowblocks() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_refcount.h | 24 struct xfs_refcount_irec *irec, int *stat); 70 const struct xfs_refcount_irec *irec) in xfs_refcount_check_domain() argument 72 if (irec->rc_domain == XFS_REFC_DOMAIN_COW && irec->rc_refcount != 1) in xfs_refcount_check_domain() 74 if (irec->rc_domain == XFS_REFC_DOMAIN_SHARED && irec->rc_refcount < 2) in xfs_refcount_check_domain() 80 struct xfs_bmbt_irec *irec); 82 struct xfs_bmbt_irec *irec); 123 struct xfs_refcount_irec *irec); 125 const struct xfs_refcount_irec *irec); 127 const struct xfs_refcount_irec *irec); 129 struct xfs_refcount_irec *irec, int *stat);
|
| H A D | xfs_rmap.h | 52 const struct xfs_rmap_irec *irec) in xfs_rmap_irec_offset_pack() argument 56 x = XFS_RMAP_OFF(irec->rm_offset); in xfs_rmap_irec_offset_pack() 57 if (irec->rm_flags & XFS_RMAP_ATTR_FORK) in xfs_rmap_irec_offset_pack() 59 if (irec->rm_flags & XFS_RMAP_BMBT_BLOCK) in xfs_rmap_irec_offset_pack() 61 if (irec->rm_flags & XFS_RMAP_UNWRITTEN) in xfs_rmap_irec_offset_pack() 69 struct xfs_rmap_irec *irec) in xfs_rmap_irec_offset_unpack() argument 74 irec->rm_offset = XFS_RMAP_OFF(offset); in xfs_rmap_irec_offset_unpack() 75 irec->rm_flags = 0; in xfs_rmap_irec_offset_unpack() 77 irec->rm_flags |= XFS_RMAP_ATTR_FORK; in xfs_rmap_irec_offset_unpack() 79 irec->rm_flags |= XFS_RMAP_BMBT_BLOCK; in xfs_rmap_irec_offset_unpack() [all …]
|
| H A D | xfs_rmap.c | 44 struct xfs_rmap_irec *irec, in xfs_rmap_lookup_le() argument 57 if (error || !(*stat) || !irec) in xfs_rmap_lookup_le() 60 error = xfs_rmap_get_rec(cur, irec, &get_stat); in xfs_rmap_lookup_le() 101 struct xfs_rmap_irec *irec) in xfs_rmap_update() argument 106 trace_xfs_rmap_update(cur, irec->rm_startblock, irec->rm_blockcount, in xfs_rmap_update() 107 irec->rm_owner, irec->rm_offset, irec->rm_flags); in xfs_rmap_update() 109 rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); in xfs_rmap_update() 110 rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); in xfs_rmap_update() 111 rec.rmap.rm_owner = cpu_to_be64(irec->rm_owner); in xfs_rmap_update() 113 xfs_rmap_irec_offset_pack(irec)); in xfs_rmap_update() [all …]
|
| H A D | xfs_refcount.c | 111 struct xfs_refcount_irec *irec) in xfs_refcount_btrec_to_irec() argument 118 irec->rc_domain = XFS_REFC_DOMAIN_COW; in xfs_refcount_btrec_to_irec() 120 irec->rc_domain = XFS_REFC_DOMAIN_SHARED; in xfs_refcount_btrec_to_irec() 123 irec->rc_startblock = start; in xfs_refcount_btrec_to_irec() 124 irec->rc_blockcount = be32_to_cpu(rec->refc.rc_blockcount); in xfs_refcount_btrec_to_irec() 125 irec->rc_refcount = be32_to_cpu(rec->refc.rc_refcount); in xfs_refcount_btrec_to_irec() 132 const struct xfs_refcount_irec *irec) in xfs_refcount_check_irec() argument 134 if (irec->rc_blockcount == 0 || irec->rc_blockcount > XFS_REFC_LEN_MAX) in xfs_refcount_check_irec() 137 if (!xfs_refcount_check_domain(irec)) in xfs_refcount_check_irec() 141 if (!xfs_verify_agbext(pag, irec->rc_startblock, irec->rc_blockcount)) in xfs_refcount_check_irec() [all …]
|
| H A D | xfs_iext_tree.c | 55 struct xfs_bmbt_irec *irec) in xfs_iext_set() argument 57 ASSERT((irec->br_startoff & ~XFS_IEXT_STARTOFF_MASK) == 0); in xfs_iext_set() 58 ASSERT((irec->br_blockcount & ~XFS_IEXT_LENGTH_MASK) == 0); in xfs_iext_set() 59 ASSERT((irec->br_startblock & ~XFS_IEXT_STARTBLOCK_MASK) == 0); in xfs_iext_set() 61 rec->lo = irec->br_startoff & XFS_IEXT_STARTOFF_MASK; in xfs_iext_set() 62 rec->hi = irec->br_blockcount & XFS_IEXT_LENGTH_MASK; in xfs_iext_set() 64 rec->lo |= (irec->br_startblock << 54); in xfs_iext_set() 65 rec->hi |= ((irec->br_startblock & ~xfs_mask64lo(10)) << (22 - 10)); in xfs_iext_set() 67 if (irec->br_state == XFS_EXT_UNWRITTEN) in xfs_iext_set() 73 struct xfs_bmbt_irec *irec, in xfs_iext_get() argument [all …]
|
| H A D | xfs_exchmaps.c | 112 const struct xfs_bmbt_irec *irec) in xmi_advance() argument 114 xmi->xmi_startoff1 += irec->br_blockcount; in xmi_advance() 115 xmi->xmi_startoff2 += irec->br_blockcount; in xmi_advance() 116 xmi->xmi_blockcount -= irec->br_blockcount; in xmi_advance() 194 struct xfs_bmbt_irec *irec) in xfs_exchmaps_can_skip_mapping() argument 203 if (xfs_bmap_is_written_extent(irec)) in xfs_exchmaps_can_skip_mapping() 226 if (!xfs_bmap_is_real_extent(irec)) in xfs_exchmaps_can_skip_mapping() 237 if (!isaligned_64(irec->br_startoff, mp->m_sb.sb_rextsize)) { in xfs_exchmaps_can_skip_mapping() 240 new_end = roundup_64(irec->br_startoff, mp->m_sb.sb_rextsize); in xfs_exchmaps_can_skip_mapping() 241 irec->br_blockcount = min(irec->br_blockcount, in xfs_exchmaps_can_skip_mapping() [all …]
|
| H A D | xfs_ialloc.c | 57 xfs_inobt_rec_incore_t *irec) /* btree record */ in xfs_inobt_update() argument 61 rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino); in xfs_inobt_update() 63 rec.inobt.ir_u.sp.ir_holemask = cpu_to_be16(irec->ir_holemask); in xfs_inobt_update() 64 rec.inobt.ir_u.sp.ir_count = irec->ir_count; in xfs_inobt_update() 65 rec.inobt.ir_u.sp.ir_freecount = irec->ir_freecount; in xfs_inobt_update() 68 rec.inobt.ir_u.f.ir_freecount = cpu_to_be32(irec->ir_freecount); in xfs_inobt_update() 70 rec.inobt.ir_free = cpu_to_be64(irec->ir_free); in xfs_inobt_update() 79 struct xfs_inobt_rec_incore *irec) in xfs_inobt_btrec_to_irec() argument 81 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_btrec_to_irec() 83 irec->ir_holemask = be16_to_cpu(rec->inobt.ir_u.sp.ir_holemask); in xfs_inobt_btrec_to_irec() [all …]
|
| H A D | xfs_ialloc.h | 85 uint8_t xfs_inobt_rec_freecount(const struct xfs_inobt_rec_incore *irec); 99 struct xfs_inobt_rec_incore *irec); 101 const struct xfs_inobt_rec_incore *irec);
|
| H A D | xfs_refcount_btree.c | 155 const struct xfs_refcount_irec *irec = &cur->bc_rec.rc; in xfs_refcountbt_init_rec_from_cur() local 158 start = xfs_refcount_encode_startblock(irec->rc_startblock, in xfs_refcountbt_init_rec_from_cur() 159 irec->rc_domain); in xfs_refcountbt_init_rec_from_cur() 183 const struct xfs_refcount_irec *irec = &cur->bc_rec.rc; in xfs_refcountbt_cmp_key_with_cur() local 186 start = xfs_refcount_encode_startblock(irec->rc_startblock, in xfs_refcountbt_cmp_key_with_cur() 187 irec->rc_domain); in xfs_refcountbt_cmp_key_with_cur()
|
| /linux/fs/xfs/ |
| H A D | xfs_iwalk.c | 100 struct xfs_inobt_rec_incore *irec) in xfs_iwalk_ichunk_ra() argument 107 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_iwalk_ichunk_ra() 114 if (imask & ~irec->ir_free) { in xfs_iwalk_ichunk_ra() 133 struct xfs_inobt_rec_incore *irec) /* btree record */ in xfs_iwalk_adjust_start() argument 137 idx = agino - irec->ir_startino; in xfs_iwalk_adjust_start() 139 irec->ir_free |= xfs_inobt_maskn(0, idx); in xfs_iwalk_adjust_start() 140 irec->ir_freecount = hweight64(irec->ir_free); in xfs_iwalk_adjust_start() 183 struct xfs_inobt_rec_incore *irec = &iwag->recs[i]; in xfs_iwalk_ag_recs() local 185 trace_xfs_iwalk_ag_rec(pag, irec); in xfs_iwalk_ag_recs() 191 error = iwag->inobt_walk_fn(mp, tp, pag_agno(pag), irec, in xfs_iwalk_ag_recs() [all …]
|
| H A D | xfs_zone_gc.c | 276 const struct xfs_rmap_irec *irec, in xfs_zone_gc_query_cb() argument 281 ASSERT(!XFS_RMAP_NON_INODE_OWNER(irec->rm_owner)); in xfs_zone_gc_query_cb() 282 ASSERT(!xfs_is_sb_inum(cur->bc_mp, irec->rm_owner)); in xfs_zone_gc_query_cb() 283 ASSERT(!(irec->rm_flags & (XFS_RMAP_ATTR_FORK | XFS_RMAP_BMBT_BLOCK))); in xfs_zone_gc_query_cb() 285 iter->recs[iter->rec_count] = *irec; in xfs_zone_gc_query_cb() 288 irec->rm_startblock + irec->rm_blockcount; in xfs_zone_gc_query_cb() 379 struct xfs_rmap_irec *irec; in xfs_zone_gc_iter_next() local 394 irec = &iter->recs[iter->rec_idx]; in xfs_zone_gc_iter_next() 395 error = xfs_iget(mp, NULL, irec->rm_owner, in xfs_zone_gc_iter_next() 414 *chunk_rec = *irec; in xfs_zone_gc_iter_next() [all …]
|
| H A D | xfs_reflink.c | 139 const struct xfs_bmbt_irec *irec, in xfs_reflink_find_shared() argument 150 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, irec->br_startblock)); in xfs_reflink_find_shared() 151 orig_bno = XFS_FSB_TO_AGBNO(mp, irec->br_startblock); in xfs_reflink_find_shared() 158 error = xfs_refcount_find_shared(cur, orig_bno, irec->br_blockcount, in xfs_reflink_find_shared() 183 const struct xfs_bmbt_irec *irec, in xfs_reflink_find_rtshared() argument 201 orig_bno = xfs_rtb_to_rgbno(mp, irec->br_startblock); in xfs_reflink_find_rtshared() 202 rtg = xfs_rtgroup_get(mp, xfs_rtb_to_rgno(mp, irec->br_startblock)); in xfs_reflink_find_rtshared() 206 error = xfs_refcount_find_shared(cur, orig_bno, irec->br_blockcount, in xfs_reflink_find_rtshared() 230 struct xfs_bmbt_irec *irec, in xfs_reflink_trim_around_shared() argument 238 if (!xfs_is_reflink_inode(ip) || !xfs_bmap_is_written_extent(irec)) { in xfs_reflink_trim_around_shared() [all …]
|
| H A D | xfs_itable.c | 412 const struct xfs_inobt_rec_incore *irec, in xfs_inumbers_walk() argument 416 .xi_startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino), in xfs_inumbers_walk() 417 .xi_alloccount = irec->ir_count - irec->ir_freecount, in xfs_inumbers_walk() 418 .xi_allocmask = ~irec->ir_free, in xfs_inumbers_walk() 428 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + in xfs_inumbers_walk()
|
| /linux/fs/ext4/ |
| H A D | fsmap.c | 247 struct ext4_fsmap irec; in ext4_getfsmap_datadev_helper() local 292 irec.fmr_device = 0; in ext4_getfsmap_datadev_helper() 293 irec.fmr_physical = fsb; in ext4_getfsmap_datadev_helper() 294 irec.fmr_length = fslen; in ext4_getfsmap_datadev_helper() 295 irec.fmr_owner = EXT4_FMR_OWN_FREE; in ext4_getfsmap_datadev_helper() 296 irec.fmr_flags = 0; in ext4_getfsmap_datadev_helper() 299 if (ext4_fsmap_next_pblk(&irec) == in ext4_getfsmap_datadev_helper() 301 info->gfi_lastfree = irec; in ext4_getfsmap_datadev_helper() 306 return ext4_getfsmap_helper(sb, info, &irec); in ext4_getfsmap_datadev_helper() 314 struct ext4_fsmap irec; in ext4_getfsmap_logdev() local [all …]
|