/linux-master/fs/xfs/ |
H A D | xfs_inode.c | 1409 int whichfork, 1429 flags |= xfs_bmapi_aflag(whichfork); 1452 if (whichfork == XFS_DATA_FORK) { 3912 int whichfork) 3916 switch (whichfork) { 1406 xfs_itruncate_extents_flags( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size, int flags) argument 3910 xfs_ifork_zapped( const struct xfs_inode *ip, int whichfork) argument
|
H A D | xfs_icache.c | 1779 int whichfork) 1781 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); 1792 whichfork == XFS_DATA_FORK ? "data" : "cow", 1798 #define xfs_check_delalloc(ip, whichfork) do { } while (0) 1777 xfs_check_delalloc( struct xfs_inode *ip, int whichfork) argument
|
H A D | xfs_aops.c | 248 int whichfork, 254 if (whichfork == XFS_COW_FORK) 266 error = xfs_bmapi_convert_delalloc(ip, whichfork, offset, 288 int whichfork; local 325 whichfork = XFS_DATA_FORK; 340 whichfork = XFS_COW_FORK; 387 trace_xfs_map_blocks_found(ip, offset, count, whichfork, &imap); 390 error = xfs_convert_blocks(wpc, ip, whichfork, offset); 399 if (error == -EAGAIN && whichfork == XFS_COW_FORK && !retries++) 410 if (whichfork ! 245 xfs_convert_blocks( struct iomap_writepage_ctx *wpc, struct xfs_inode *ip, int whichfork, loff_t offset) argument [all...] |
H A D | xfs_trace.h | 1452 int whichfork, struct xfs_bmbt_irec *irec), 1453 TP_ARGS(ip, offset, count, whichfork, irec), 1460 __field(int, whichfork) 1471 __entry->whichfork = whichfork; 1483 __print_symbolic(__entry->whichfork, XFS_WHICHFORK_STRINGS), 1492 int whichfork, struct xfs_bmbt_irec *irec), \ 1493 TP_ARGS(ip, offset, count, whichfork, irec)) 2882 int whichfork, 2886 TP_ARGS(mp, agno, op, agbno, ino, whichfork, offse [all...] |
H A D | xfs_rmap_item.c | 234 int whichfork, 240 if (whichfork == XFS_ATTR_FORK) 231 xfs_trans_set_rmap_flags( struct xfs_map_extent *map, enum xfs_rmap_intent_type type, int whichfork, xfs_exntst_t state) argument
|
H A D | xfs_iomap.c | 416 int whichfork, 424 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); 414 xfs_iomap_prealloc_size( struct xfs_inode *ip, int whichfork, loff_t offset, loff_t count, struct xfs_iext_cursor *icur) argument
|
H A D | xfs_ioctl.c | 991 int whichfork, 995 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); 989 xfs_fill_fsxattr( struct xfs_inode *ip, int whichfork, struct fileattr *fa) argument
|
H A D | xfs_inode.h | 110 int whichfork) 112 switch (whichfork) { 150 int whichfork) 152 switch (whichfork) { 562 int whichfork, 565 return xfs_itruncate_extents_flags(tpp, ip, whichfork, new_size, 0); 631 bool xfs_ifork_zapped(const struct xfs_inode *ip, int whichfork); 108 xfs_ifork_ptr( struct xfs_inode *ip, int whichfork) argument 148 xfs_inode_fork_size( struct xfs_inode *ip, int whichfork) argument 559 xfs_itruncate_extents( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size) argument
|
H A D | xfs_health.c | 502 int whichfork) 506 switch (whichfork) { 540 cur->bc_ino.whichfork); 557 int whichfork) 561 switch (whichfork) { 584 xfs_dirattr_mark_sick(args->dp, args->whichfork); 500 xfs_bmap_mark_sick( struct xfs_inode *ip, int whichfork) argument 555 xfs_dirattr_mark_sick( struct xfs_inode *ip, int whichfork) argument
|
H A D | xfs_bmap_util.c | 107 int whichfork, 112 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); 125 error = xfs_iread_extents(tp, ip, whichfork); 129 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); 263 int whichfork, lock, error = 0; local 288 whichfork = XFS_ATTR_FORK; 290 whichfork = XFS_COW_FORK; 292 whichfork = XFS_DATA_FORK; 295 switch (whichfork) { 308 if (!xfs_ifork_ptr(ip, whichfork)) 104 xfs_bmap_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_extnum_t *nextents, xfs_filblks_t *count) argument [all...] |
H A D | xfs_attr_item.c | 536 args->whichfork = XFS_ATTR_FORK;
|
/linux-master/fs/xfs/scrub/ |
H A D | common.c | 135 int whichfork, 155 trace_xchk_file_op_error(sc, whichfork, offset, *error, 166 trace_xchk_file_op_error(sc, whichfork, offset, *error, 176 int whichfork, 180 return __xchk_fblock_process_error(sc, whichfork, offset, error, 187 int whichfork, 191 return __xchk_fblock_process_error(sc, whichfork, offset, error, 301 int whichfork, 305 trace_xchk_fblock_error(sc, whichfork, offset, __return_address); 312 int whichfork, 133 __xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error, __u32 errflag, void *ret_ip) argument 174 xchk_fblock_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) argument 185 xchk_fblock_xref_process_error( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset, int *error) argument 299 xchk_fblock_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) argument 310 xchk_fblock_xref_set_corrupt( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) argument 334 xchk_fblock_set_warning( struct xfs_scrub *sc, int whichfork, xfs_fileoff_t offset) argument [all...] |
H A D | trace.h | 232 TP_PROTO(struct xfs_scrub *sc, int whichfork, 234 TP_ARGS(sc, whichfork, offset, error, ret_ip), 238 __field(int, whichfork) 247 __entry->whichfork = whichfork; 256 __print_symbolic(__entry->whichfork, XFS_WHICHFORK_STRINGS), 331 TP_PROTO(struct xfs_scrub *sc, int whichfork, 333 TP_ARGS(sc, whichfork, offset, ret_ip), 337 __field(int, whichfork) 345 __entry->whichfork [all...] |
H A D | rmap_repair.c | 316 int whichfork; member in struct:xrep_rmap_ifork 351 if (rf->whichfork == XFS_ATTR_FORK) 423 xfs_rmap_ino_bmbt_owner(&oinfo, rf->accum.rm_owner, rf->whichfork); 438 int whichfork) 440 return XFS_IS_REALTIME_INODE(ip) && whichfork == XFS_DATA_FORK; 460 ifp = xfs_ifork_ptr(ip, rf->whichfork); 461 cur = xfs_bmbt_init_cursor(rr->sc->mp, rr->sc->tp, ip, rf->whichfork); 463 if (!xfs_ifork_is_realtime(ip, rf->whichfork) && 515 int whichfork) 520 .whichfork 436 is_rt_data_fork( struct xfs_inode *ip, int whichfork) argument 512 xrep_rmap_scan_ifork( struct xrep_rmap *rr, struct xfs_inode *ip, int whichfork) argument [all...] |
H A D | repair.c | 798 int whichfork, 805 max_extents = xfs_iext_max_nextents(inode_has_nrext64, whichfork); 813 max_extents = xfs_iext_max_nextents(true, whichfork); 796 xrep_ino_ensure_extent_count( struct xfs_scrub *sc, int whichfork, xfs_extnum_t nextents) argument
|
H A D | repair.h | 86 int xrep_ino_ensure_extent_count(struct xfs_scrub *sc, int whichfork, 89 int xrep_bmap(struct xfs_scrub *sc, int whichfork, bool allow_unwritten);
|
H A D | readdir.c | 325 .whichfork = XFS_DATA_FORK,
|
H A D | newbt.h | 65 int whichfork, const struct xfs_owner_info *oinfo);
|
H A D | newbt.c | 106 int whichfork, 119 xnr->ifake.if_fork_size = xfs_inode_fork_size(sc->ip, whichfork); 103 xrep_newbt_init_inode( struct xrep_newbt *xnr, struct xfs_scrub *sc, int whichfork, const struct xfs_owner_info *oinfo) argument
|
H A D | inode_repair.c | 731 int whichfork) 739 nex = xfs_dfork_nextents(dip, whichfork); 743 dp = XFS_DFORK_PTR(dip, whichfork); 750 fa = xfs_bmap_validate_extent_raw(sc->mp, isrt, whichfork, 765 int whichfork) 774 nex = xfs_dfork_nextents(dip, whichfork); 781 dfp = XFS_DFORK_PTR(dip, whichfork); 787 if (level == 0 || level >= XFS_BM_MAXLEVELS(sc->mp, whichfork)) 727 xrep_dinode_bad_extents_fork( struct xfs_scrub *sc, struct xfs_dinode *dip, unsigned int dfork_size, int whichfork) argument 761 xrep_dinode_bad_bmbt_fork( struct xfs_scrub *sc, struct xfs_dinode *dip, unsigned int dfork_size, int whichfork) argument
|
H A D | dir.c | 625 .whichfork = XFS_DATA_FORK,
|
H A D | common.h | 40 bool xchk_fblock_process_error(struct xfs_scrub *sc, int whichfork, 46 int whichfork, xfs_fileoff_t offset, int *error); 56 void xchk_fblock_set_corrupt(struct xfs_scrub *sc, int whichfork, 68 int whichfork, xfs_fileoff_t offset); 71 void xchk_fblock_set_warning(struct xfs_scrub *sc, int whichfork,
|
H A D | btree.c | 478 bs->cur->bc_ino.whichfork == XFS_DATA_FORK &&
|
H A D | bmap_repair.c | 85 int whichfork; member in struct:xrep_bmap 154 fa = xfs_bmap_validate_extent(sc->ip, rb->whichfork, &irec); 160 trace_xrep_bmap_found(sc->ip, rb->whichfork, &irec); 261 if (rb->whichfork == XFS_DATA_FORK && 264 if (rb->whichfork == XFS_ATTR_FORK && 373 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, rb->whichfork); 380 if (rb->whichfork == XFS_ATTR_FORK || ip->i_delayed_blks == 0) 389 trace_xrep_bmap_found(ip, rb->whichfork, &irec); 549 return xrep_ino_ensure_extent_count(rb->sc, rb->whichfork, 633 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork); 712 xrep_bmap_check_inputs( struct xfs_scrub *sc, int whichfork) argument 768 xrep_bmap_init_reflink_scan( struct xfs_scrub *sc, int whichfork) argument 797 xrep_bmap( struct xfs_scrub *sc, int whichfork, bool allow_unwritten) argument [all...] |
H A D | bmap.c | 137 int whichfork; member in struct:xchk_bmap_info 154 if (info->whichfork == XFS_ATTR_FORK) 163 if (info->whichfork == XFS_COW_FORK) 184 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, 212 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, 217 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, 222 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, 227 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, 232 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, 244 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, 522 xchk_bmap_btree( struct xfs_scrub *sc, int whichfork, struct xchk_bmap_info *info) argument 552 int whichfork; member in struct:xchk_bmap_check_rmap_info 632 xchk_bmap_check_ag_rmaps( struct xfs_scrub *sc, int whichfork, struct xfs_perag *pag) argument 760 xchk_bmap_check_rmaps( struct xfs_scrub *sc, int whichfork) argument 911 xchk_bmap( struct xfs_scrub *sc, int whichfork) argument [all...] |