Home
last modified time | relevance | path

Searched refs:ip1 (Results 1 – 11 of 11) sorted by relevance

/fs/xfs/
A Dxfs_exchrange.c31 struct xfs_inode *ip1, in xfs_exchrange_ilock() argument
34 if (ip1 != ip2) in xfs_exchrange_ilock()
40 xfs_trans_ijoin(tp, ip1, 0); in xfs_exchrange_ilock()
41 if (ip2 != ip1) in xfs_exchrange_ilock()
50 struct xfs_inode *ip1, in xfs_exchrange_iunlock() argument
53 if (ip2 != ip1) in xfs_exchrange_iunlock()
194 struct xfs_inode *ip1, in xfs_exchrange_mappings() argument
199 .ip1 = ip1, in xfs_exchrange_mappings()
524 struct xfs_inode *ip1, in xfs_exchrange_check_rtalign() argument
563 if (ip1 == ip2 && in xfs_exchrange_check_rtalign()
[all …]
A Dxfs_exchmaps_item.c366 struct xfs_inode *ip1, *ip2; in xfs_xmi_item_recover_intent() local
378 &ip1); in xfs_xmi_item_recover_intent()
393 req->ip1 = ip1; in xfs_xmi_item_recover_intent()
402 xfs_exchrange_iunlock(ip1, ip2); in xfs_xmi_item_recover_intent()
406 *ipp1 = ip1; in xfs_xmi_item_recover_intent()
415 xfs_irele(ip1); in xfs_xmi_item_recover_intent()
416 req->ip2 = req->ip1 = NULL; in xfs_xmi_item_recover_intent()
433 struct xfs_inode *ip1, *ip2; in xfs_exchmaps_recover_work() local
444 &ip1, &ip2); in xfs_exchmaps_recover_work()
477 xfs_exchrange_iunlock(ip1, ip2); in xfs_exchmaps_recover_work()
[all …]
A Dxfs_inode.c486 struct xfs_inode *ip1, in xfs_lock_two_inodes() argument
501 swap(ip0, ip1); in xfs_lock_two_inodes()
2020 i_tab[i++] = ip1; in xfs_sort_for_rename()
2733 struct xfs_inode *ip1, in xfs_mmaplock_two_inodes_and_break_dax_layout() argument
2739 swap(ip1, ip2); in xfs_mmaplock_two_inodes_and_break_dax_layout()
2750 if (ip1 == ip2) in xfs_mmaplock_two_inodes_and_break_dax_layout()
2789 if (ip1 != ip2) in xfs_ilock2_io_mmap()
2808 if (ip1 != ip2) in xfs_iunlock2_io_mmap()
2815 if (ip1 != ip2) in xfs_iunlock2_io_mmap()
2827 if (ip1 != ip2) in xfs_iunlock2_remapping()
[all …]
A Dxfs_exchrange.h46 void xfs_exchrange_ilock(struct xfs_trans *tp, struct xfs_inode *ip1,
48 void xfs_exchrange_iunlock(struct xfs_inode *ip1, struct xfs_inode *ip2);
A Dxfs_inode.h592 struct xfs_inode *ip1, uint ip1_mode);
655 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
656 void xfs_iunlock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2);
657 void xfs_iunlock2_remapping(struct xfs_inode *ip1, struct xfs_inode *ip2);
A Dxfs_trace.h5308 TP_PROTO(const struct xfs_exchrange *fxr, struct xfs_inode *ip1,
5310 TP_ARGS(fxr, ip1, ip2),
5326 __entry->dev = VFS_I(ip1)->i_sb->s_dev;
5327 __entry->ip1_ino = ip1->i_ino;
5328 __entry->ip1_isize = VFS_I(ip1)->i_size;
5329 __entry->ip1_disize = ip1->i_disk_size;
5359 TP_ARGS(fxr, ip1, ip2))
5457 __entry->dev = req->ip1->i_mount->m_super->s_dev;
5458 __entry->ino1 = req->ip1->i_ino;
5605 __entry->dev = req->ip1->i_mount->m_super->s_dev;
[all …]
/fs/xfs/libxfs/
A Dxfs_exchmaps.c145 ifp1 = xfs_ifork_ptr(req->ip1, whichfork); in xfs_exchmaps_check_forks()
664 if (XFS_IS_REALTIME_INODE(req->ip1)) in xfs_exchmaps_rmapbt_blocks()
679 struct xfs_mount *mp = req->ip1->i_mount; in xfs_exchmaps_estimate_overhead()
960 struct xfs_mount *mp = req->ip1->i_mount; in xmi_can_exchange_reflink_flags()
985 xmi->xmi_ip1 = req->ip1; in xfs_exchmaps_init_intent()
1001 xmi->xmi_isize2 = req->ip1->i_disk_size; in xfs_exchmaps_init_intent()
1005 if (xfs_is_reflink_inode(req->ip1)) in xfs_exchmaps_init_intent()
1109 if (XFS_IS_REALTIME_INODE(req->ip1) && in xfs_exchmaps_estimate()
1123 if (req->ip1 == req->ip2) { in xfs_exchmaps_estimate()
1124 error = xmi_ensure_delta_nextents(req, req->ip1, in xfs_exchmaps_estimate()
[all …]
A Dxfs_dir2.c1053 struct xfs_inode *ip1 = du1->ip; in xfs_dir_exchange_children() local
1068 error = xfs_dir_replace(tp, dp2, name2, ip1->i_ino, spaceres); in xfs_dir_exchange_children()
1087 if (!S_ISDIR(VFS_I(ip1)->i_mode)) { in xfs_dir_exchange_children()
1104 if (S_ISDIR(VFS_I(ip1)->i_mode)) { in xfs_dir_exchange_children()
1105 error = xfs_dir_replace(tp, ip1, &xfs_name_dotdot, in xfs_dir_exchange_children()
1130 xfs_trans_ichgtime(tp, ip1, ip1_flags); in xfs_dir_exchange_children()
1131 xfs_trans_log_inode(tp, ip1, XFS_ILOG_CORE); in xfs_dir_exchange_children()
1147 dp2, name2, ip1); in xfs_dir_exchange_children()
1167 xfs_dir_update_hook(dp1, ip1, -1, name1); in xfs_dir_exchange_children()
1170 xfs_dir_update_hook(dp2, ip1, 1, name2); in xfs_dir_exchange_children()
A Dxfs_rtgroup.c291 const struct xfs_inode *ip1 = in xfs_rtginode_ilock_cmp_fn() local
296 if (ip1->i_projid < ip2->i_projid) in xfs_rtginode_ilock_cmp_fn()
298 if (ip1->i_projid > ip2->i_projid) in xfs_rtginode_ilock_cmp_fn()
A Dxfs_exchmaps.h51 struct xfs_inode *ip1; member
/fs/xfs/scrub/
A Dtempfile.c632 req->ip1 = sc->tempip; in xrep_tempexch_prep_request()
754 if (!XFS_IS_QUOTA_ON(tp->t_mountp) || req->ip1 == req->ip2 || in xrep_tempexch_reserve_quota()
755 xfs_is_metadir_inode(req->ip1) || in xrep_tempexch_reserve_quota()
756 (req->ip1->i_udquot == req->ip2->i_udquot && in xrep_tempexch_reserve_quota()
757 req->ip1->i_gdquot == req->ip2->i_gdquot && in xrep_tempexch_reserve_quota()
758 req->ip1->i_pdquot == req->ip2->i_pdquot)) in xrep_tempexch_reserve_quota()
772 error = xfs_trans_reserve_quota_nblks(tp, req->ip1, in xrep_tempexch_reserve_quota()

Completed in 35 milliseconds