Searched refs:ip (Results 251 - 275 of 1998) sorted by last modified time

<<11121314151617181920>>

/linux-master/fs/xfs/
H A Dxfs_iomap.c37 xfs_inode_t *ip,
40 xfs_alert_tag(ip->i_mount, XFS_PTAG_FSBLOCK_ZERO,
44 (unsigned long long)ip->i_ino,
49 xfs_bmap_mark_sick(ip, XFS_DATA_FORK);
55 struct xfs_inode *ip,
61 return READ_ONCE(ip->i_af.if_seq);
62 if ((iomap_flags & IOMAP_F_SHARED) && ip->i_cowfp)
63 cookie = (u64)READ_ONCE(ip->i_cowfp->if_seq) << 32;
64 return cookie | READ_ONCE(ip->i_df.if_seq);
76 struct xfs_inode *ip local
36 xfs_alert_fsblock_zero( xfs_inode_t *ip, xfs_bmbt_irec_t *imap) argument
54 xfs_iomap_inode_sequence( struct xfs_inode *ip, u16 iomap_flags) argument
93 xfs_bmbt_to_iomap( struct xfs_inode *ip, struct iomap *iomap, struct xfs_bmbt_irec *imap, unsigned int mapping_flags, u16 iomap_flags, u64 sequence_cookie) argument
145 xfs_hole_to_iomap( struct xfs_inode *ip, struct iomap *iomap, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb) argument
173 xfs_eof_alignment( struct xfs_inode *ip) argument
205 xfs_iomap_eof_align_last_fsb( struct xfs_inode *ip, xfs_fileoff_t end_fsb) argument
240 xfs_iomap_write_direct( struct xfs_inode *ip, xfs_fileoff_t offset_fsb, xfs_fileoff_t count_fsb, unsigned int flags, struct xfs_bmbt_irec *imap, u64 *seq) argument
348 xfs_quota_need_throttle( struct xfs_inode *ip, xfs_dqtype_t type, xfs_fsblock_t alloc_blocks) argument
370 xfs_quota_calc_throttle( struct xfs_inode *ip, xfs_dqtype_t type, xfs_fsblock_t *qblocks, int *qshift, int64_t *qfreesp) argument
414 xfs_iomap_prealloc_size( struct xfs_inode *ip, int whichfork, loff_t offset, loff_t count, struct xfs_iext_cursor *icur) argument
553 xfs_iomap_write_unwritten( xfs_inode_t *ip, xfs_off_t offset, xfs_off_t count, bool update_isize) argument
694 imap_needs_cow( struct xfs_inode *ip, unsigned int flags, struct xfs_bmbt_irec *imap, int nimaps) argument
715 xfs_ilock_for_iomap( struct xfs_inode *ip, unsigned flags, unsigned *lockmode) argument
790 struct xfs_inode *ip = XFS_I(inode); local
937 struct xfs_inode *ip = XFS_I(inode); local
964 struct xfs_inode *ip = XFS_I(inode); local
1247 struct xfs_inode *ip = XFS_I(inode); local
1292 struct xfs_inode *ip = XFS_I(inode); local
1380 struct xfs_inode *ip = XFS_I(inode); local
1419 xfs_zero_range( struct xfs_inode *ip, loff_t pos, loff_t len, bool *did_zero) argument
1435 xfs_truncate_page( struct xfs_inode *ip, loff_t pos, bool *did_zero) argument
[all...]
H A Dxfs_iops.c53 struct xfs_inode *ip = XFS_I(inode); local
58 .dp = ip,
173 struct xfs_inode *ip = NULL; local
201 &ip);
203 error = xfs_create_tmpfile(idmap, XFS_I(dir), mode, &ip);
208 inode = VFS_I(ip);
225 xfs_setup_iops(ip);
241 xfs_finish_inode_setup(ip);
249 xfs_finish_inode_setup(ip);
252 xfs_irele(ip);
319 struct xfs_inode *ip; local
514 xfs_stat_blksize( struct xfs_inode *ip) argument
558 struct xfs_inode *ip = XFS_I(inode); local
656 xfs_setattr_nonsize( struct mnt_idmap *idmap, struct dentry *dentry, struct xfs_inode *ip, struct iattr *iattr) argument
785 xfs_setattr_size( struct mnt_idmap *idmap, struct dentry *dentry, struct xfs_inode *ip, struct iattr *iattr) argument
987 struct xfs_inode *ip = XFS_I(d_inode(dentry)); local
1005 struct xfs_inode *ip = XFS_I(inode); local
1038 struct xfs_inode *ip = XFS_I(inode); local
1189 xfs_inode_supports_dax( struct xfs_inode *ip) argument
1207 xfs_inode_should_enable_dax( struct xfs_inode *ip) argument
1224 xfs_diflags_to_iflags( struct xfs_inode *ip, bool init) argument
1262 xfs_setup_inode( struct xfs_inode *ip) argument
1318 xfs_setup_iops( struct xfs_inode *ip) argument
[all...]
H A Dxfs_ioctl.c69 struct xfs_inode *ip; local
82 ip = XFS_I(inode);
99 memcpy(&handle.ha_fsid, ip->i_mount->m_fixedfsid, sizeof(xfs_fsid_t));
112 handle.ha_fid.fid_ino = ip->i_ino;
990 struct xfs_inode *ip,
994 struct xfs_mount *mp = ip->i_mount;
995 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork);
997 fileattr_fill_xflags(fa, xfs_ip2xflags(ip));
999 if (ip->i_diflags & XFS_DIFLAG_EXTSIZE) {
1000 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip
989 xfs_fill_fsxattr( struct xfs_inode *ip, int whichfork, struct fileattr *fa) argument
1027 xfs_ioc_fsgetxattra( xfs_inode_t *ip, void __user *arg) argument
1045 struct xfs_inode *ip = XFS_I(d_inode(dentry)); local
1058 xfs_flags2diflags( struct xfs_inode *ip, unsigned int xflags) argument
1100 xfs_flags2diflags2( struct xfs_inode *ip, unsigned int xflags) argument
1118 xfs_ioctl_setattr_xflags( struct xfs_trans *tp, struct xfs_inode *ip, struct fileattr *fa) argument
1168 xfs_ioctl_setattr_prepare_dax( struct xfs_inode *ip, struct fileattr *fa) argument
1195 xfs_ioctl_setattr_get_trans( struct xfs_inode *ip, struct xfs_dquot *pdqp) argument
1228 xfs_ioctl_setattr_check_extsize( struct xfs_inode *ip, struct fileattr *fa) argument
1270 xfs_ioctl_setattr_check_cowextsize( struct xfs_inode *ip, struct fileattr *fa) argument
1295 xfs_ioctl_setattr_check_projid( struct xfs_inode *ip, struct fileattr *fa) argument
1315 struct xfs_inode *ip = XFS_I(d_inode(dentry)); local
1514 xfs_ioc_getfsmap( struct xfs_inode *ip, struct fsmap_head __user *arg) argument
1671 xfs_inode_t *ip, *tip; local
1954 struct xfs_inode *ip = XFS_I(inode); local
[all...]
H A Dxfs_inode_item.c76 struct xfs_inode *ip = iip->ili_inode; local
77 struct inode *inode = VFS_I(ip);
97 xfs_has_bigtime(ip->i_mount) &&
98 !xfs_inode_has_bigtime(ip)) {
99 ip->i_diflags2 |= XFS_DIFLAG2_BIGTIME;
109 if ((ip->i_diflags & XFS_DIFLAG_RTINHERIT) &&
110 (ip->i_diflags & XFS_DIFLAG_EXTSZINHERIT) &&
111 xfs_extlen_to_rtxmod(ip->i_mount, ip->i_extsize) > 0) {
112 ip
200 struct xfs_inode *ip = iip->ili_inode; local
241 struct xfs_inode *ip = iip->ili_inode; local
287 struct xfs_inode *ip = iip->ili_inode; local
305 struct xfs_inode *ip = iip->ili_inode; local
384 struct xfs_inode *ip = iip->ili_inode; local
453 xfs_inode_to_log_dinode_ts( struct xfs_inode *ip, const struct timespec64 tv) argument
479 xfs_copy_dm_fields_to_log_dinode( struct xfs_inode *ip, struct xfs_log_dinode *to) argument
498 xfs_inode_to_log_dinode_iext_counters( struct xfs_inode *ip, struct xfs_log_dinode *to) argument
513 xfs_inode_to_log_dinode( struct xfs_inode *ip, struct xfs_log_dinode *to, xfs_lsn_t lsn) argument
576 xfs_inode_item_format_core( struct xfs_inode *ip, struct xfs_log_vec *lv, struct xfs_log_iovec **vecp) argument
606 struct xfs_inode *ip = iip->ili_inode; local
651 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; local
678 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; local
695 struct xfs_inode *ip = iip->ili_inode; variable in typeref:struct:xfs_inode
755 struct xfs_inode *ip = iip->ili_inode; local
795 struct xfs_inode *ip = iip->ili_inode; local
831 xfs_inode_item_init( struct xfs_inode *ip, struct xfs_mount *mp) argument
851 xfs_inode_item_destroy( struct xfs_inode *ip) argument
1029 xfs_iflush_abort( struct xfs_inode *ip) argument
1076 xfs_iflush_shutdown_abort( struct xfs_inode *ip) argument
[all...]
H A Dxfs_inode_item_recover.c81 struct xfs_inode *ip; local
86 ip = xfs_inode_alloc(mp, in_f->ilf_ino);
87 if (!ip)
93 error = xfs_inode_from_disk(ip, dip);
99 error = xfs_bmbt_change_owner(NULL, ip, XFS_DATA_FORK,
100 ip->i_ino, buffer_list);
107 error = xfs_bmbt_change_owner(NULL, ip, XFS_ATTR_FORK,
108 ip->i_ino, buffer_list);
114 xfs_inode_free(ip);
H A Dxfs_inode.h97 static inline bool xfs_inode_on_unlinked_list(const struct xfs_inode *ip) argument
99 return ip->i_prev_unlinked != 0;
102 static inline bool xfs_inode_has_attr_fork(struct xfs_inode *ip) argument
104 return ip->i_forkoff > 0;
109 struct xfs_inode *ip,
114 return &ip->i_df;
116 if (!xfs_inode_has_attr_fork(ip))
118 return &ip->i_af;
120 return ip->i_cowfp;
127 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip) argument
108 xfs_ifork_ptr( struct xfs_inode *ip, int whichfork) argument
132 xfs_inode_data_fork_size(struct xfs_inode *ip) argument
140 xfs_inode_attr_fork_size(struct xfs_inode *ip) argument
148 xfs_inode_fork_size( struct xfs_inode *ip, int whichfork) argument
169 VFS_I(struct xfs_inode *ip) argument
175 VFS_IC(const struct xfs_inode *ip) argument
185 XFS_ISIZE(struct xfs_inode *ip) argument
197 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) argument
210 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) argument
216 xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) argument
224 xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags) argument
232 __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) argument
238 xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) argument
248 xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags) argument
261 xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags) argument
282 xfs_is_reflink_inode(struct xfs_inode *ip) argument
287 xfs_is_metadata_inode(struct xfs_inode *ip) argument
299 xfs_inode_has_cow_data(struct xfs_inode *ip) argument
304 xfs_inode_has_bigtime(struct xfs_inode *ip) argument
309 xfs_inode_has_large_extent_counts(struct xfs_inode *ip) argument
559 xfs_itruncate_extents( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size) argument
578 xfs_update_stable_writes(struct xfs_inode *ip) argument
593 xfs_finish_inode_setup(struct xfs_inode *ip) argument
600 xfs_setup_existing_inode(struct xfs_inode *ip) argument
623 xfs_inode_unlinked_incomplete( struct xfs_inode *ip) argument
637 const struct xfs_inode *ip; member in struct:xfs_dir_update_params
[all...]
H A Dxfs_filestream.c174 struct xfs_inode *ip)
176 struct inode *inode = VFS_I(ip), *dir = NULL;
231 trace_xfs_filestream_lookup(pag, ap->ip->i_ino);
357 pip = xfs_filestream_get_parent(ap->ip);
382 struct xfs_inode *ip)
384 xfs_mru_cache_delete(ip->i_mount->m_filestream, ip->i_ino);
173 xfs_filestream_get_parent( struct xfs_inode *ip) argument
381 xfs_filestream_deassociate( struct xfs_inode *ip) argument
H A Dxfs_health.c291 struct xfs_inode *ip,
295 trace_xfs_inode_mark_sick(ip, mask);
297 spin_lock(&ip->i_flags_lock);
298 ip->i_sick |= mask;
299 spin_unlock(&ip->i_flags_lock);
306 spin_lock(&VFS_I(ip)->i_lock);
307 VFS_I(ip)->i_state &= ~I_DONTCACHE;
308 spin_unlock(&VFS_I(ip)->i_lock);
314 struct xfs_inode *ip,
318 trace_xfs_inode_mark_corrupt(ip, mas
290 xfs_inode_mark_sick( struct xfs_inode *ip, unsigned int mask) argument
313 xfs_inode_mark_corrupt( struct xfs_inode *ip, unsigned int mask) argument
337 xfs_inode_mark_healthy( struct xfs_inode *ip, unsigned int mask) argument
354 xfs_inode_measure_sickness( struct xfs_inode *ip, unsigned int *sick, unsigned int *checked) argument
478 xfs_bulkstat_health( struct xfs_inode *ip, struct xfs_bulkstat *bs) argument
500 xfs_bmap_mark_sick( struct xfs_inode *ip, int whichfork) argument
555 xfs_dirattr_mark_sick( struct xfs_inode *ip, int whichfork) argument
[all...]
H A Dxfs_file.c43 struct xfs_inode *ip,
47 struct xfs_mount *mp = ip->i_mount;
50 if (XFS_IS_REALTIME_INODE(ip)) {
83 struct xfs_inode *ip = XFS_I(file->f_mapping->host); local
85 trace_xfs_dir_fsync(ip);
86 return xfs_log_force_inode(ip);
91 struct xfs_inode *ip,
94 if (!xfs_ipincount(ip))
96 if (datasync && !(ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP))
98 return ip
42 xfs_is_falloc_aligned( struct xfs_inode *ip, loff_t pos, long long int len) argument
90 xfs_fsync_seq( struct xfs_inode *ip, bool datasync) argument
115 xfs_fsync_flush_log( struct xfs_inode *ip, bool datasync, int *log_flushed) argument
144 struct xfs_inode *ip = XFS_I(file->f_mapping->host); local
205 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
223 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
240 xfs_ilock_for_write_fault( struct xfs_inode *ip) argument
259 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
283 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); local
306 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
355 struct xfs_inode *ip = XFS_I(inode); local
389 struct xfs_inode *ip = XFS_I(inode); local
496 struct xfs_inode *ip = XFS_I(inode); local
583 xfs_file_dio_write_aligned( struct xfs_inode *ip, struct kiocb *iocb, struct iov_iter *from) argument
634 xfs_file_dio_write_unaligned( struct xfs_inode *ip, struct kiocb *iocb, struct iov_iter *from) argument
711 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
729 struct xfs_inode *ip = XFS_I(inode); local
770 struct xfs_inode *ip = XFS_I(inode); local
834 struct xfs_inode *ip = XFS_I(inode); local
868 struct xfs_inode *ip = XFS_I(inode); local
928 struct xfs_inode *ip = XFS_I(file_inode(filp)); local
953 struct xfs_inode *ip = XFS_I(inode); local
1142 struct xfs_inode *ip = XFS_I(file_inode(file)); local
1243 struct xfs_inode *ip = XFS_I(inode); local
1276 xfs_inode_t *ip = XFS_I(inode); local
1366 struct xfs_inode *ip = XFS_I(inode); local
[all...]
H A Dxfs_error.c487 struct xfs_inode *ip,
494 struct xfs_mount *mp = ip->i_mount;
502 fa, ip->i_ino, name);
486 xfs_inode_verifier_error( struct xfs_inode *ip, int error, const char *name, const void *buf, size_t bufsz, xfs_failaddr_t failaddr) argument
H A Dxfs_bmap_util.c41 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) argument
43 if (XFS_IS_REALTIME_INODE(ip))
44 return XFS_FSB_TO_BB(ip->i_mount, fsb);
45 return XFS_FSB_TO_DADDR(ip->i_mount, fsb);
57 struct xfs_inode *ip,
61 struct xfs_mount *mp = ip->i_mount;
62 struct xfs_buftarg *target = xfs_inode_buftarg(ip);
63 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb);
106 struct xfs_inode *ip,
111 struct xfs_mount *mp = ip
56 xfs_zero_extent( struct xfs_inode *ip, xfs_fsblock_t start_fsb, xfs_off_t count_fsb) argument
104 xfs_bmap_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_extnum_t *nextents, xfs_filblks_t *count) argument
152 xfs_getbmap_report_one( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, struct xfs_bmbt_irec *got) argument
201 xfs_getbmap_report_hole( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, xfs_fileoff_t bno, xfs_fileoff_t end) argument
256 xfs_getbmap( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out) argument
444 xfs_bmap_punch_delalloc_range( struct xfs_inode *ip, xfs_off_t start_byte, xfs_off_t end_byte) argument
496 xfs_can_free_eofblocks( struct xfs_inode *ip, bool force) argument
575 xfs_free_eofblocks( struct xfs_inode *ip) argument
629 xfs_alloc_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument
762 xfs_unmap_extent( struct xfs_inode *ip, xfs_fileoff_t startoffset_fsb, xfs_filblks_t len_fsb, int *done) argument
801 xfs_flush_unmap_range( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument
823 xfs_free_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument
892 xfs_prepare_shift( struct xfs_inode *ip, loff_t offset) argument
956 xfs_collapse_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument
1024 xfs_insert_file_space( struct xfs_inode *ip, loff_t offset, loff_t len) argument
1115 xfs_swap_extents_check_format( struct xfs_inode *ip, struct xfs_inode *tip) argument
1197 xfs_swap_extent_flush( struct xfs_inode *ip) argument
1217 xfs_swap_extent_rmap( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tip) argument
1347 xfs_swap_extent_forks( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_inode *tip, int *src_log_flags, int *target_log_flags) argument
1451 xfs_swap_change_owner( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tmpip) argument
1485 xfs_swap_extents( struct xfs_inode *ip, struct xfs_inode *tip, struct xfs_swapext *sxp) argument
[all...]
H A Dxfs_bmap_item.c488 struct xfs_inode *ip = NULL; local
502 work = xfs_bui_recover_work(mp, dfp, &ip, map);
513 xfs_ilock(ip, XFS_ILOCK_EXCL);
514 xfs_trans_ijoin(tp, ip, 0);
517 xfs_ifork_is_realtime(ip, work->bi_whichfork)) {
527 error = xfs_iext_count_may_overflow(ip, work->bi_whichfork, iext_delta);
529 error = xfs_iext_count_upgrade(tp, ip, iext_delta);
548 xfs_iunlock(ip, XFS_ILOCK_EXCL);
549 xfs_irele(ip);
555 xfs_iunlock(ip, XFS_ILOCK_EXC
[all...]
H A Dxfs_attr_item.c579 struct xfs_inode *ip; local
597 attr = xfs_attri_recover_work(mp, dfp, attrp, &ip, nv);
609 xfs_ilock(ip, XFS_ILOCK_EXCL);
610 xfs_trans_ijoin(tp, ip, 0);
624 xfs_iunlock(ip, XFS_ILOCK_EXCL);
625 xfs_irele(ip);
H A Dxfs_acl.c131 struct xfs_inode *ip = XFS_I(inode); local
132 struct xfs_mount *mp = ip->i_mount;
135 .dp = ip,
144 trace_xfs_get_acl(ip);
177 struct xfs_inode *ip = XFS_I(inode); local
179 .dp = ip,
224 struct xfs_inode *ip = XFS_I(inode); local
225 struct xfs_mount *mp = ip->i_mount;
233 xfs_ilock(ip, XFS_ILOCK_EXCL);
234 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXC
[all...]
/linux-master/fs/xfs/scrub/
H A Dtrace.h130 TP_PROTO(struct xfs_inode *ip, struct xfs_scrub_metadata *sm,
132 TP_ARGS(ip, sm, error),
144 __entry->dev = ip->i_mount->m_super->s_dev;
145 __entry->ino = ip->i_ino;
165 TP_PROTO(struct xfs_inode *ip, struct xfs_scrub_metadata *sm, \
167 TP_ARGS(ip, sm, error))
245 __entry->dev = sc->ip->i_mount->m_super->s_dev;
246 __entry->ino = sc->ip->i_ino;
343 __entry->dev = sc->ip->i_mount->m_super->s_dev;
344 __entry->ino = sc->ip
[all...]
H A Dscrub.c188 if (sc->ip) {
191 xchk_irele(sc, sc->ip);
192 sc->ip = NULL;
H A Dscrub.h86 struct xfs_inode *ip; member in struct:xfs_scrub
105 /* Lock flags for @ip. */
H A Dtrace.c42 return XFS_INO_TO_FSB(cur->bc_mp, cur->bc_ino.ip->i_ino);
H A Dsymlink.c40 struct xfs_inode *ip = sc->ip; local
45 if (!S_ISLNK(VFS_I(ip)->i_mode))
53 ifp = xfs_ifork_ptr(ip, XFS_DATA_FORK);
54 len = ip->i_disk_size;
64 if (len > xfs_inode_data_fork_size(ip) ||
65 len > strnlen(ifp->if_data, xfs_inode_data_fork_size(ip)))
71 error = xfs_symlink_remote_read(sc->ip, sc->buf);
H A Drmap_repair.c437 struct xfs_inode *ip,
440 return XFS_IS_REALTIME_INODE(ip) && whichfork == XFS_DATA_FORK;
451 struct xfs_inode *ip,
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) &&
514 struct xfs_inode *ip,
518 .accum = { .rm_owner = ip->i_ino, },
522 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork);
536 error = xrep_rmap_scan_bmbt(&rf, ip,
436 is_rt_data_fork( struct xfs_inode *ip, int whichfork) argument
449 xrep_rmap_scan_bmbt( struct xrep_rmap_ifork *rf, struct xfs_inode *ip, bool *mappings_done) argument
512 xrep_rmap_scan_ifork( struct xrep_rmap *rr, struct xfs_inode *ip, int whichfork) argument
557 xrep_rmap_scan_ilock( struct xfs_inode *ip) argument
577 xrep_rmap_scan_inode( struct xrep_rmap *rr, struct xfs_inode *ip) argument
864 struct xfs_inode *ip; local
[all...]
H A Drtsummary.c230 struct xfs_inode *ip = sc->ip; local
241 endoff = XFS_B_TO_FSB(mp, ip->i_disk_size);
242 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) {
256 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap,
H A Drepair.c190 if (!sc->ip)
192 return xfs_trans_roll_inode(&sc->tp, sc->ip);
762 ASSERT(sc->ip != NULL);
764 error = xfs_qm_dqattach(sc->ip);
771 (unsigned long long)sc->ip->i_ino, error);
772 if (XFS_IS_UQUOTA_ON(sc->mp) && !sc->ip->i_udquot)
774 if (XFS_IS_GQUOTA_ON(sc->mp) && !sc->ip->i_gdquot)
776 if (XFS_IS_PQUOTA_ON(sc->mp) && !sc->ip->i_pdquot)
804 inode_has_nrext64 = xfs_inode_has_large_extent_counts(sc->ip);
817 sc->ip
[all...]
H A Dreap.c477 ASSERT(sc->ip == NULL);
526 ASSERT(sc->ip == NULL);
557 ASSERT(sc->ip != NULL);
601 error = xfs_trans_roll_inode(&sc->tp, sc->ip);
638 ASSERT(sc->ip != NULL);
H A Dquotacheck.c392 struct xfs_inode *ip)
398 bool isreg = S_ISREG(VFS_I(ip)->i_mode);
401 if (xfs_is_quota_inode(&tp->t_mountp->m_sb, ip->i_ino)) {
406 xchk_iscan_mark_visited(&xqc->iscan, ip);
411 xfs_ilock(ip, XFS_IOLOCK_SHARED);
413 xfs_ilock(ip, XFS_MMAPLOCK_SHARED);
414 if (XFS_IS_REALTIME_INODE(ip)) {
420 ilock_flags = xfs_ilock_data_map_shared(ip);
421 error = xfs_iread_extents(tp, ip, XFS_DATA_FORK);
426 xfs_ilock(ip, XFS_ILOCK_SHARE
390 xqcheck_collect_inode( struct xqcheck *xqc, struct xfs_inode *ip) argument
485 struct xfs_inode *ip; local
[all...]
H A Dnlinks.c155 trace_xchk_nlinks_live_update(xnc->sc->mp, p->dp, action, p->ip->i_ino,
160 * to @ip. If @ip is a subdirectory, update the number of child links
165 error = xchk_nlinks_update_incore(xnc, p->ip->i_ino, p->delta,
167 if (!error && S_ISDIR(VFS_IC(p->ip)->i_mode))
176 * If @ip is a subdirectory and we've already scanned it, update the
179 if (S_ISDIR(VFS_IC(p->ip)->i_mode) &&
180 xchk_iscan_want_live_update(&xnc->collect_iscan, p->ip->i_ino)) {
408 struct xfs_inode *ip)
410 xfs_ilock(ip, XFS_IOLOCK_SHARE
406 xchk_nlinks_collect_file( struct xchk_nlink_ctrs *xnc, struct xfs_inode *ip) argument
422 struct xfs_inode *ip; local
530 xchk_nlinks_compare_inode( struct xchk_nlink_ctrs *xnc, struct xfs_inode *ip) argument
661 struct xfs_inode *ip; local
748 struct xfs_inode *ip; local
[all...]

Completed in 401 milliseconds

<<11121314151617181920>>