Home
last modified time | relevance | path

Searched refs:I_INO (Results 1 – 25 of 38) sorted by relevance

12

/linux/fs/xfs/scrub/
H A Dfindparent.c68 * entry pointing to I_INO(sc->ip).
109 if (ino != I_INO(fpi->sc->ip)) in xrep_findparent_dirent()
126 !(fpi->parent_tentative && fpi->found_parent == I_INO(fpi->dp))) { in xrep_findparent_dirent()
132 trace_xrep_findparent_dirent(fpi->sc->ip, I_INO(fpi->dp)); in xrep_findparent_dirent()
133 fpi->found_parent = I_INO(fpi->dp); in xrep_findparent_dirent()
137 xrep_findparent_scan_found(fpi->parent_scan, I_INO(fpi->dp)); in xrep_findparent_dirent()
252 if (I_INO(p->ip) == I_INO(sc->ip) && in xrep_findparent_live_update()
253 xchk_iscan_want_live_update(&pscan->iscan, I_INO(p->dp))) { in xrep_findparent_live_update()
255 xrep_findparent_scan_found(pscan, I_INO( in xrep_findparent_live_update()
[all...]
H A Ddir_repair.c307 if (ino == I_INO(rd->sc->ip)) in xrep_dir_want_salvage()
653 if (xfs_dir3_block_header_check(bp, I_INO(rd->sc->ip)) != NULL) in xrep_dir_recover_dirblock()
660 if (xfs_dir3_data_header_check(bp, I_INO(rd->sc->ip)) != NULL) in xrep_dir_recover_dirblock()
685 rd->args.owner = I_INO(rd->sc->ip); in xrep_dir_init_args()
1134 if (parent_ino != I_INO(sc->ip) || in xrep_dir_scan_pptr()
1139 error = xrep_dir_stash_createname(rd, &xname, I_INO(ip)); in xrep_dir_scan_pptr()
1160 if (ino != I_INO(rd->sc->ip)) in xrep_dir_scan_dirent()
1177 I_INO(dp)); in xrep_dir_scan_dirent()
1179 xrep_findparent_scan_found(&rd->pscan, I_INO(dp)); in xrep_dir_scan_dirent()
1290 xrep_findparent_scan_found(&rd->pscan, I_INO(sc->ip)); in xrep_dir_scan_dirtree()
[all …]
H A Dmetapath.c339 if (ino != I_INO(sc->ip)) { in xchk_metapath()
377 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, I_INO(ip))); in xrep_metadir_add_child()
384 error = xfs_dir_createname(tp, dp, name, I_INO(ip), resblks); in xrep_metadir_add_child()
397 if (old_dotdot != I_INO(dp)) { in xrep_metadir_add_child()
399 I_INO(dp), resblks); in xrep_metadir_add_child()
434 trace_xrep_metapath_link(sc, mpath->path, mpath->dp, I_INO(sc->ip)); in xrep_metapath_link()
546 if (ino == I_INO(sc->ip)) { in xrep_metapath_try_link()
614 ASSERT(*alleged_child != I_INO(sc->ip)); in xrep_metapath_try_unlink()
661 if (ino == I_INO(sc->ip)) { in xrep_metapath_try_unlink()
H A Dnlinks.c178 trace_xchk_nlinks_live_update(xnc->sc->mp, p->dp, action, I_INO(p->ip), in xchk_nlinks_live_update()
186 if (xchk_iscan_want_live_update(&xnc->collect_iscan, I_INO(p->dp))) { in xchk_nlinks_live_update()
188 error = xchk_nlinks_update_incore(xnc, I_INO(p->ip), p->delta, in xchk_nlinks_live_update()
191 error = xchk_nlinks_update_incore(xnc, I_INO(p->dp), 0, in xchk_nlinks_live_update()
203 xchk_iscan_want_live_update(&xnc->collect_iscan, I_INO(p->ip))) { in xchk_nlinks_live_update()
205 error = xchk_nlinks_update_incore(xnc, I_INO(p->dp), 0, in xchk_nlinks_live_update()
246 if (dot && ino != I_INO(dp)) { in xchk_nlinks_collect_dirent()
307 error = xchk_nlinks_update_incore(xnc, I_INO(dp), 0, 0, 1); in xchk_nlinks_collect_dirent()
696 error = xchk_nlinks_comparison_read(xnc, I_INO(ip), &obs); in xchk_nlinks_compare_inode()
725 xchk_ino_set_warning(sc, I_INO(ip)); in xchk_nlinks_compare_inode()
H A Dparent.c75 if (I_INO(sc->ip) == ino) in xchk_parent_actor()
122 xfs_ino_t ino = I_INO(sc->ip); in xchk_parent_validate()
317 if (I_INO(sc->ip) != pp->parent_ino) in xchk_parent_pptr_and_dotdot()
400 if (child_ino != I_INO(sc->ip)) { in xchk_parent_dirent()
492 if (parent_ino == I_INO(sc->ip)) { in xchk_parent_scan_attr()
514 trace_xchk_parent_defer(sc->ip, &xname, I_INO(dp)); in xchk_parent_scan_attr()
601 trace_xchk_parent_slowpath(sc->ip, xname, I_INO(dp)); in xchk_parent_slow_pptr()
612 trace_xchk_parent_ultraslowpath(sc->ip, xname, I_INO(dp)); in xchk_parent_slow_pptr()
858 if (!xfs_verify_dir_ino(mp, I_INO(sc->ip))) { in xchk_parent()
H A Ddirtree.c178 error = xino_bitmap_set(&path->seen_inodes, I_INO(ip)); in xchk_dirpath_append()
432 if (parent_ino == I_INO(sc->ip)) { in xchk_dirpath_step_up()
563 if (be64_to_cpu(dl->pptr_rec.p_ino) == I_INO(sc->ip)) { in xchk_dirpath_walk_upwards()
640 if (I_INO(p->ip) != child_ino || I_INO(p->dp) != *cursor) in xchk_dirpath_step_is_stale()
662 if (I_INO(p->ip) == dl->scan_ino && in xchk_dirpath_step_is_stale()
668 if (I_INO(p->ip) == dl->scan_ino && in xchk_dirpath_step_is_stale()
699 if (!xino_bitmap_test(&path->seen_inodes, I_INO(p->ip))) in xchk_dirpath_is_stale()
958 dl->scan_ino = I_INO(sc->ip); in xchk_dirtree()
H A Dsymlink_repair.c147 hdr_ok = xfs_symlink_hdr_ok(I_INO(ip), offset, byte_cnt, bp); in xrep_symlink_salvage_remote()
262 dsl->sl_owner = cpu_to_be64(I_INO(sc->ip)); in xrep_symlink_local_to_remote()
378 return xfs_symlink_write_target(sc->tp, sc->tempip, I_INO(sc->tempip), in xrep_symlink_reset_fork()
437 error = xfs_symlink_write_target(sc->tp, sc->tempip, I_INO(sc->ip), in xrep_symlink_rebuild()
H A Dtrace.h165 __entry->ino = I_INO(ip);
239 __entry->ino = I_INO(ip);
343 __entry->ino = I_INO(sc->ip);
441 __entry->ino = I_INO(sc->ip);
484 __entry->ino = I_INO(cursor->quota_ip);
616 __entry->ino = I_INO(cur->bc_ino.ip);
696 __entry->ino = I_INO(sc->ip);
842 __entry->ino = I_INO(ip);
1440 __entry->dir = I_INO(dp);
1467 __entry->dir = I_INO(d
[all...]
H A Dattr_repair.c332 .owner = I_INO(rx->sc->ip), in xrep_xattr_salvage_remote_attr()
593 xfs_attr3_leaf_header_check(bp, I_INO(rx->sc->ip)) == NULL) in xrep_xattr_recover_block()
620 .owner = I_INO(rx->sc->ip), in xrep_xattr_insert_rec()
985 I_INO(ip), ifp->if_nextents, ifp->if_format); in xrep_xattr_fork_remove()
1119 error = xfs_parent_set(sc->tempip, I_INO(sc->ip), xname, in xrep_xattr_replay_pptr_update()
1128 error = xfs_parent_unset(sc->tempip, I_INO(sc->ip), xname, in xrep_xattr_replay_pptr_update()
1259 if (I_INO(p->ip) != I_INO(sc->ip)) in xrep_xattr_live_dirent_update()
1298 .owner = I_INO(sc->ip), in xrep_xattr_swap_prep()
H A Dnlinks_repair.c155 error = xfarray_load_sparse(xnc->nlinks, I_INO(ip), &obs); in xrep_nlinks_repair_inode()
209 error = xfarray_load_sparse(xnc->nlinks, I_INO(ip), &obs); in xrep_nlinks_repair_inode()
H A Drtsummary_repair.c94 hdr->rt_owner = cpu_to_be64(I_INO(sc->ip)); in xrep_rtsummary_prep_buf()
H A Dbmap.c208 uint64_t owner = I_INO(info->sc->ip); in xchk_bmap_xref_rmap()
546 if (owner != I_INO(ip)) in xchk_bmapbt_rec()
631 if (rec->rm_owner != I_INO(sc->ip)) in xchk_bmap_check_rmap()
1006 xchk_ino_set_preen(info->sc, I_INO(info->sc->ip)); in xchk_bmap_iext_iter()
H A Ddirtree_repair.c474 error = xfs_dir_removename(sc->tp, dp, &dl->xname, I_INO(sc->ip), in xrep_dirtree_unlink()
601 error = xino_bitmap_set(&path->seen_inodes, I_INO(sc->orphanage)); in xrep_dirtree_create_adoption_path()
H A Dcommon.h36 xchk_ino_set_corrupt((_sc), I_INO(_ip))
/linux/fs/xfs/libxfs/
H A Dxfs_parent.c204 I_INO(child), parent_name); in xfs_parent_addname()
230 I_INO(child), parent_name); in xfs_parent_removename()
254 I_INO(child), old_name); in xfs_parent_replacename()
322 xfs_parent_da_args_init(scratch, tp, pptr, ip, I_INO(ip), parent_name); in xfs_parent_lookup()
H A Dxfs_exchmaps.c432 .owner = I_INO(xmi->xmi_ip2), in xfs_exchmaps_attr_to_sf()
441 error = xfs_attr3_leaf_read(tp, xmi->xmi_ip2, I_INO(xmi->xmi_ip2), 0, in xfs_exchmaps_attr_to_sf()
464 .owner = I_INO(xmi->xmi_ip2), in xfs_exchmaps_dir_to_sf()
474 error = xfs_dir3_block_read(tp, xmi->xmi_ip2, I_INO(xmi->xmi_ip2), &bp); in xfs_exchmaps_dir_to_sf()
H A Dxfs_rtrefcount_btree.c608 I_INO(ip)); in xfs_rtrefcountbt_from_disk()
757 I_INO(ip)); in xfs_rtrefcountbt_create()
/linux/fs/xfs/
H A Dxfs_inode.c498 ASSERT(I_INO(ip0) != I_INO(ip1)); in xfs_lock_two_inodes()
500 if (I_INO(ip0) > I_INO(ip1)) { in xfs_lock_two_inodes()
1529 if (WARN_ON_ONCE(!I_INO(ip))) { in xfs_iunlink_lookup()
1630 if (I_INO(ip) != inum || __xfs_iflags_test(ip, XFS_ISTALE)) in xfs_ifree_mark_inode_stale()
2071 if (I_INO(i_tab[j]) < I_INO(i_tab[j-1])) in xfs_sort_inodes()
2402 __func__, I_INO(ip), be16_to_cpu(dip->di_magic), dip); in xfs_iflush()
2411 I_INO(i in xfs_iflush()
[all...]
H A Dxfs_inode.h186 static inline xfs_ino_t I_INO(const struct xfs_inode *ip) in I_INO() function
306 return I_INO(ip) == mp->m_sb.sb_rbmino || in xfs_is_internal_inode()
307 I_INO(ip) == mp->m_sb.sb_rsumino || in xfs_is_internal_inode()
308 xfs_is_quota_inode(&mp->m_sb, I_INO(ip)); in xfs_is_internal_inode()
H A Dxfs_trace.h135 __entry->ino = I_INO(ctx->dp);
637 __entry->ino = I_INO(ctx->dp);
691 __entry->ino = I_INO(ip);
1024 __entry->ino = I_INO(ip);
1055 __entry->ino = I_INO(ip);
1131 __entry->ino = I_INO(ip);
1160 __entry->ino = I_INO(ip);
1188 __entry->ino = I_INO(ip);
1275 __entry->dp_ino = I_INO(dp);
1311 __entry->src_dp_ino = I_INO(src_dp);
[all …]
H A Dxfs_icache.c426 I_INO(ip), VFS_I(ip)->i_mode); in xfs_iget_check_free_state()
435 I_INO(ip)); in xfs_iget_check_free_state()
515 if (I_INO(ip) != ino) in xfs_iget_cache_hit()
645 error = xfs_imap(pag, tp, I_INO(ip), &ip->i_imap, flags); in xfs_iget_cache_miss()
964 xfs_ino_t ino = I_INO(ip); /* for radix_tree_delete */ in xfs_reclaim_inode()
1512 if (!I_INO(ip)) in xfs_blockgc_igrab()
1806 first_index = XFS_INO_TO_AGINO(mp, I_INO(ip) + 1); in xfs_icwalk_ag()
1894 I_INO(ip), in xfs_check_delalloc()
H A Dxfs_exchmaps_item.c230 xlf->xmi_inode1 = I_INO(xmi->xmi_ip1); in xfs_exchmaps_create_intent()
232 xlf->xmi_inode2 = I_INO(xmi->xmi_ip2); in xfs_exchmaps_create_intent()
H A Dxfs_reflink.c1227 if (I_INO(src) == I_INO(dest)) in xfs_reflink_set_inode_flag()
1241 if (I_INO(src) == I_INO(dest)) in xfs_reflink_set_inode_flag()
H A Dxfs_healthmon.c537 .ino = I_INO(ip), in xfs_healthmon_report_inode()
650 .fino = I_INO(ip), in xfs_healthmon_report_file_ioerror()
1196 if (I_INO(ip) != mp->m_sb.sb_rootino) in xfs_ioc_health_monitor()
H A Dxfs_qm.c299 if (xfs_is_quota_inode(&mp->m_sb, I_INO(ip))) in xfs_qm_need_dqattach()
392 ASSERT(!xfs_is_quota_inode(&ip->i_mount->m_sb, I_INO(ip))); in xfs_qm_dqdetach()
988 mp->m_sb.sb_uquotino = I_INO(*ipp); in xfs_qm_qino_alloc()
990 mp->m_sb.sb_gquotino = I_INO(*ipp); in xfs_qm_qino_alloc()
992 mp->m_sb.sb_pquotino = I_INO(*ipp); in xfs_qm_qino_alloc()

12