| /linux/fs/xfs/scrub/ |
| H A D | refcount.c | 93 xfs_agblock_t bno; member 124 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check() 132 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check() 169 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments() local 191 bno = 0; in xchk_refcountbt_process_rmap_fragments() 193 if (frag->rm.rm_startblock < bno) in xchk_refcountbt_process_rmap_fragments() 195 bno = frag->rm.rm_startblock; in xchk_refcountbt_process_rmap_fragments() 204 if (frag->rm.rm_startblock > refchk->bno || nr > target_nr) in xchk_refcountbt_process_rmap_fragments() 206 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments() 207 if (bno < rbno) in xchk_refcountbt_process_rmap_fragments() [all …]
|
| H A D | scrub.h | 319 void xchk_xref_is_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno, 321 void xchk_xref_is_not_shared(struct xfs_scrub *sc, xfs_agblock_t bno, 323 void xchk_xref_is_not_cow_staging(struct xfs_scrub *sc, xfs_agblock_t bno, 344 # define xchk_xref_is_only_rt_owned_by(sc, bno, len, oinfo) do { } while (0) argument 345 # define xchk_xref_is_rt_cow_staging(sc, bno, len) do { } while (0) argument 346 # define xchk_xref_is_not_rt_shared(sc, bno, len) do { } while (0) argument 347 # define xchk_xref_is_not_rt_cow_staging(sc, bno, len) do { } while (0) argument
|
| H A D | rmap.c | 586 xfs_agblock_t bno, in xchk_xref_is_only_owned_by() argument 596 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_only_owned_by() 611 xfs_agblock_t bno, in xchk_xref_is_not_owned_by() argument 621 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_not_owned_by() 634 xfs_agblock_t bno, in xchk_xref_has_no_owner() argument 643 error = xfs_rmap_has_records(sc->sa.rmap_cur, bno, len, &outcome); in xchk_xref_has_no_owner()
|
| H A D | refcount_repair.c | 371 xfs_agblock_t bno, in xrep_refc_push_rmaps_at() argument 379 while (*have && rmap->rm_startblock == bno) { in xrep_refc_push_rmaps_at()
|
| /linux/fs/xfs/ |
| H A D | xfs_extent_busy.h | 23 xfs_agblock_t bno; member 47 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags); 48 void xfs_extent_busy_insert_discard(struct xfs_group *xg, xfs_agblock_t bno, 51 int xfs_extent_busy_search(struct xfs_group *xg, xfs_agblock_t bno, 56 xfs_extlen_t maxlen, xfs_agblock_t *bno, xfs_extlen_t *len,
|
| H A D | xfs_discard.c | 126 trace_xfs_discard_extent(xg, busyp->bno, busyp->length); in xfs_discard_extents() 129 xfs_gbno_to_daddr(xg, busyp->bno), in xfs_discard_extents() 445 xfs_rtblock_t bno; member 481 start = busyp->bno; in xfs_discard_rtdev_extents() 484 trace_xfs_discard_rtextent(mp, busyp->bno, busyp->length); in xfs_discard_rtdev_extents() 487 xfs_rtb_to_daddr(mp, busyp->bno), in xfs_discard_rtdev_extents() 544 busyp->bno = rbno; in xfs_trim_gather_rtextent()
|
| H A D | xfs_rtalloc.h | 77 bool wasdel, bool initial_user_data, xfs_rtblock_t *bno,
|
| H A D | xfs_log.c | 1545 uint64_t bno, in xlog_write_iclog() argument 1548 ASSERT(bno < log->l_logBBsize); in xlog_write_iclog() 1580 iclog->ic_bio.bi_iter.bi_sector = log->l_logBBstart + bno; in xlog_write_iclog() 1617 if (bno + BTOBB(count) > log->l_logBBsize) { in xlog_write_iclog() 1620 split = bio_split(&iclog->ic_bio, log->l_logBBsize - bno, in xlog_write_iclog() 1647 uint64_t bno, in xlog_split_iclog() argument 1650 unsigned int split_offset = BBTOB(log->l_logBBsize - bno); in xlog_split_iclog() 1712 uint64_t bno; in xlog_sync() local 1744 bno = BLOCK_LSN(be64_to_cpu(iclog->ic_header->h_lsn)); in xlog_sync() 1747 if (bno + BTOBB(count) > log->l_logBBsize) in xlog_sync() [all …]
|
| H A D | xfs_log_recover.c | 1119 xfs_daddr_t bno) in xlog_wrap_logbno() argument 1123 div_s64_rem(bno, log->l_logBBsize, &mod); in xlog_wrap_logbno()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_alloc.h | 80 xfs_agblock_t bno, int btreeblk); 82 xfs_agblock_t bno, xfs_extlen_t len, 168 xfs_agblock_t bno, /* starting block of extent */ 175 xfs_agblock_t bno, /* starting block of extent */ 182 xfs_agblock_t *bno, /* output: starting block of extent */ 216 int xfs_alloc_has_records(struct xfs_btree_cur *cur, xfs_agblock_t bno, 219 typedef int (*xfs_agfl_walk_fn)(struct xfs_mount *mp, xfs_agblock_t bno, 233 int xfs_free_extent_later(struct xfs_trans *tp, xfs_fsblock_t bno,
|
| H A D | xfs_refcount.h | 18 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat); 20 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat); 22 enum xfs_refc_domain domain, xfs_agblock_t bno, int *stat); 119 enum xfs_refc_domain domain, xfs_agblock_t bno,
|
| H A D | xfs_da_btree.h | 202 xfs_dablk_t bno, struct xfs_buf **bpp, int whichfork); 214 int xfs_da_grow_inode_int(struct xfs_da_args *args, xfs_fileoff_t *bno, 217 xfs_dablk_t bno, struct xfs_buf **bp, int whichfork); 219 xfs_dablk_t bno, unsigned int flags, struct xfs_buf **bpp, 221 int xfs_da_reada_buf(struct xfs_inode *dp, xfs_dablk_t bno,
|
| H A D | xfs_refcount.c | 55 xfs_agblock_t bno, in xfs_refcount_lookup_le() argument 59 xfs_refcount_encode_startblock(bno, domain), in xfs_refcount_lookup_le() 61 cur->bc_rec.rc.rc_startblock = bno; in xfs_refcount_lookup_le() 75 xfs_agblock_t bno, in xfs_refcount_lookup_ge() argument 79 xfs_refcount_encode_startblock(bno, domain), in xfs_refcount_lookup_ge() 81 cur->bc_rec.rc.rc_startblock = bno; in xfs_refcount_lookup_ge() 95 xfs_agblock_t bno, in xfs_refcount_lookup_eq() argument 99 xfs_refcount_encode_startblock(bno, domain), in xfs_refcount_lookup_eq() 101 cur->bc_rec.rc.rc_startblock = bno; in xfs_refcount_lookup_eq() 1392 xfs_agblock_t bno; in xfs_refcount_finish_one() local [all …]
|
| H A D | xfs_btree_mem.h | 45 static inline bool xfbtree_verify_bno(struct xfbtree *xfbt, xfbno_t bno) in xfbtree_verify_bno() argument 47 return xmbuf_verify_daddr(xfbt->target, xfbno_to_daddr(bno)); in xfbtree_verify_bno()
|
| H A D | xfs_rtgroup.h | 264 xfs_rfsblock_t bno; in xfs_daddr_to_rtb() local 266 bno = XFS_BB_TO_FSBT(mp, daddr) - g->start_fsb; in xfs_daddr_to_rtb() 271 rgno = div_u64_rem(bno, g->blocks, &rgbno); in xfs_daddr_to_rtb() 275 return bno; in xfs_daddr_to_rtb()
|
| H A D | xfs_dir2_priv.h | 81 xfs_ino_t owner, xfs_dablk_t bno, unsigned int flags, 83 int xfs_dir3_data_readahead(struct xfs_inode *dp, xfs_dablk_t bno, 110 extern int xfs_dir3_leaf_get_buf(struct xfs_da_args *args, xfs_dir2_db_t bno,
|
| H A D | xfs_ialloc.h | 103 xfs_agblock_t bno, xfs_extlen_t len,
|
| H A D | xfs_attr_leaf.h | 105 xfs_ino_t owner, xfs_dablk_t bno, struct xfs_buf **bpp);
|
| H A D | xfs_dir2_data.c | 450 xfs_dablk_t bno, in xfs_dir3_data_read() argument 457 err = xfs_da_read_buf(tp, dp, bno, flags, bpp, XFS_DATA_FORK, in xfs_dir3_data_read() 479 xfs_dablk_t bno, in xfs_dir3_data_readahead() argument 482 return xfs_da_reada_buf(dp, bno, flags, XFS_DATA_FORK, in xfs_dir3_data_readahead()
|
| H A D | xfs_inode_fork.h | 195 struct xfs_ifork *ifp, xfs_fileoff_t bno,
|
| /linux/fs/iomap/ |
| H A D | fiemap.c | 94 iomap_bmap(struct address_space *mapping, sector_t bno, in iomap_bmap() argument 99 .pos = (loff_t)bno << mapping->host->i_blkbits, in iomap_bmap() 109 bno = 0; in iomap_bmap() 112 bno = iomap_sector(&iter.iomap, iter.pos) >> blkshift; in iomap_bmap() 118 return bno; in iomap_bmap()
|
| /linux/net/ceph/crush/ |
| H A D | mapper.c | 1008 int bno; in crush_do_rule() local 1016 bno = -1 - w[i]; in crush_do_rule() 1017 if (bno < 0 || bno >= map->max_buckets) { in crush_do_rule() 1034 map->buckets[bno], in crush_do_rule() 1056 map->buckets[bno], in crush_do_rule()
|