/fs/xfs/ |
D | xfs_icache.c | 36 struct xfs_inode *ip; in xfs_inode_alloc() local 85 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() local 112 struct xfs_inode *ip) in __xfs_inode_free() 123 struct xfs_inode *ip) in xfs_inode_free() 227 struct xfs_inode *ip) in xfs_inode_set_reclaim_tag() 259 struct xfs_inode *ip) in xfs_inew_wait() 319 struct xfs_inode *ip, in xfs_iget_check_free_state() 353 struct xfs_inode *ip, in xfs_iget_cache_hit() 504 struct xfs_inode *ip; in xfs_iget_cache_miss() local 627 xfs_inode_t *ip; in xfs_iget() local [all …]
|
D | xfs_inode_item.c | 37 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size() local 78 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size() local 124 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_size() local 142 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_data_fork() local 227 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_attr_fork() local 300 struct xfs_inode *ip, in xfs_inode_to_log_dinode() 365 struct xfs_inode *ip, in xfs_inode_item_format_core() 394 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format() local 439 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_pin() local 459 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_unpin() local [all …]
|
D | xfs_inode.h | 82 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() 92 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() 104 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof() 117 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set() 123 xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_set() 131 xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_clear() 139 __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_test() 145 xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test() 155 xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_clear() 168 xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_set() [all …]
|
D | xfs_inode.c | 56 struct xfs_inode *ip) in xfs_get_extsz_hint() 73 struct xfs_inode *ip) in xfs_get_cowextsz_hint() 105 struct xfs_inode *ip) in xfs_ilock_data_map_shared() 118 struct xfs_inode *ip) in xfs_ilock_attr_map_shared() 161 xfs_inode_t *ip, in xfs_ilock() 212 xfs_inode_t *ip, in xfs_ilock_nowait() 283 xfs_inode_t *ip, in xfs_iunlock() 324 xfs_inode_t *ip, in xfs_ilock_demote() 344 xfs_inode_t *ip, in xfs_isilocked() 597 struct xfs_inode *ip) in __xfs_iflock() [all …]
|
D | xfs_bmap_util.c | 40 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() 56 struct xfs_inode *ip, in xfs_zero_extent() 188 struct xfs_inode *ip, in xfs_bmap_eof() 338 struct xfs_inode *ip, in xfs_bmap_count_blocks() 397 struct xfs_inode *ip, in xfs_getbmap_report_one() 448 struct xfs_inode *ip, in xfs_getbmap_report_hole() 503 struct xfs_inode *ip, in xfs_getbmap() 690 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range() 739 xfs_can_free_eofblocks(struct xfs_inode *ip, bool force) in xfs_can_free_eofblocks() 776 struct xfs_inode *ip) in xfs_free_eofblocks() [all …]
|
D | xfs_file.c | 37 struct xfs_inode *ip, in xfs_update_prealloc_flags() 82 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() local 96 struct xfs_inode *ip = XFS_I(inode); in xfs_file_fsync() local 169 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_aio_read() local 197 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read() local 225 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_aio_read() local 283 struct xfs_inode *ip = XFS_I(inode); in xfs_file_aio_write_checks() local 372 struct xfs_inode *ip = XFS_I(inode); in xfs_dio_write_end_io() local 478 struct xfs_inode *ip = XFS_I(inode); in xfs_file_dio_aio_write() local 571 struct xfs_inode *ip = XFS_I(inode); in xfs_file_dax_write() local [all …]
|
D | xfs_quota.h | 26 #define XFS_NOT_DQATTACHED(mp, ip) \ argument 112 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, in xfs_qm_vop_dqalloc() 123 #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) argument 127 struct xfs_inode *ip, int64_t nblks, long ninos, uint flags) in xfs_trans_reserve_quota_nblks() 138 #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p) argument 140 #define xfs_qm_vop_chown(tp, ip, old, new) (NULL) argument 141 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument 142 #define xfs_qm_dqattach(ip) (0) argument 143 #define xfs_qm_dqattach_locked(ip, fl) (0) argument 144 #define xfs_qm_dqdetach(ip) argument [all …]
|
D | xfs_iomap.c | 37 xfs_inode_t *ip, in xfs_alert_fsblock_zero() 54 struct xfs_inode *ip, in xfs_bmbt_to_iomap() 93 struct xfs_inode *ip, in xfs_hole_to_iomap() 108 struct xfs_inode *ip, in xfs_eof_alignment() 148 struct xfs_inode *ip, in xfs_iomap_eof_align_last_fsb() 169 xfs_inode_t *ip, in xfs_iomap_write_direct() 316 struct xfs_inode *ip, in xfs_quota_need_throttle() 338 struct xfs_inode *ip, in xfs_quota_calc_throttle() 394 struct xfs_inode *ip, in xfs_iomap_prealloc_size() 533 struct xfs_inode *ip = XFS_I(inode); in xfs_file_iomap_begin_delay() local [all …]
|
D | xfs_iops.c | 49 struct xfs_inode *ip = XFS_I(inode); in xfs_initxattrs() local 131 struct xfs_inode *ip = NULL; in xfs_generic_create() local 276 struct xfs_inode *ip; in xfs_vn_ci_lookup() local 474 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_get_link_inline() local 499 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_getattr() local 569 struct xfs_inode *ip, in xfs_setattr_mode() 583 struct xfs_inode *ip, in xfs_setattr_time() 622 struct xfs_inode *ip, in xfs_setattr_nonsize() 808 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_nonsize() local 827 struct xfs_inode *ip, in xfs_setattr_size() [all …]
|
D | xfs_ioctl.c | 62 struct xfs_inode *ip; in xfs_find_handle() local 295 xfs_inode_t *ip, in xfs_set_dmattrs() 597 struct xfs_inode *ip = XFS_I(inode); in xfs_ioc_space() local 1139 struct xfs_inode *ip, in xfs_fill_fsxattr() 1167 xfs_inode_t *ip, in xfs_ioc_fsgetxattr() 1184 struct xfs_inode *ip, in xfs_flags2diflags() 1226 struct xfs_inode *ip, in xfs_flags2diflags2() 1242 struct xfs_inode *ip) in xfs_diflags_to_linux() 1274 struct xfs_inode *ip, in xfs_ioctl_setattr_xflags() 1325 struct xfs_inode *ip, in xfs_ioctl_setattr_dax_invalidate() [all …]
|
D | xfs_reflink.c | 172 struct xfs_inode *ip, in xfs_reflink_trim_around_shared() 228 struct xfs_inode *ip, in xfs_inode_need_cow() 245 struct xfs_inode *ip, in xfs_reflink_convert_cow_locked() 284 struct xfs_inode *ip, in xfs_reflink_convert_cow() 309 struct xfs_inode *ip, in xfs_find_trim_cow_extent() 349 struct xfs_inode *ip, in xfs_reflink_allocate_cow() 460 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks() 541 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range() 600 struct xfs_inode *ip, in xfs_reflink_end_cow_extent() 708 struct xfs_inode *ip, in xfs_reflink_end_cow() [all …]
|
D | xfs_aops.c | 36 struct xfs_inode *ip = XFS_I(inode); in xfs_find_bdev_for_inode() local 49 struct xfs_inode *ip = XFS_I(inode); in xfs_find_daxdev_for_inode() local 160 struct xfs_inode *ip, in __xfs_setfilesize() 186 struct xfs_inode *ip, in xfs_setfilesize() 206 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_setfilesize_ioend() local 234 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_ioend() local 374 struct xfs_inode *ip; in xfs_end_io() local 401 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_bio() local 425 struct xfs_inode *ip, in xfs_imap_valid() 465 struct xfs_inode *ip, in xfs_convert_blocks() [all …]
|
/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 44 struct xfs_inode *ip, in xfs_iformat_fork() 135 struct xfs_inode *ip, in xfs_init_local_fork() 174 xfs_inode_t *ip, in xfs_iformat_local() 205 struct xfs_inode *ip, in xfs_iformat_extents() 270 xfs_inode_t *ip, in xfs_iformat_btree() 348 xfs_inode_t *ip, in xfs_iroot_realloc() 475 struct xfs_inode *ip, in xfs_idata_realloc() 507 xfs_inode_t *ip, in xfs_idestroy_fork() 553 struct xfs_inode *ip, in xfs_iextents_copy() 593 xfs_inode_t *ip, in xfs_iflush_fork() [all …]
|
D | xfs_inode_fork.h | 39 #define XFS_IFORK_Q(ip) ((ip)->i_d.di_forkoff != 0) argument 40 #define XFS_IFORK_BOFF(ip) ((int)((ip)->i_d.di_forkoff << 3)) argument 42 #define XFS_IFORK_PTR(ip,w) \ argument 48 #define XFS_IFORK_DSIZE(ip) \ argument 50 #define XFS_IFORK_ASIZE(ip) \ argument 52 #define XFS_IFORK_SIZE(ip,w) \ argument 58 #define XFS_IFORK_FORMAT(ip,w) \ argument 64 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument 70 #define XFS_IFORK_NEXTENTS(ip,w) \ argument 76 #define XFS_IFORK_NEXT_SET(ip,w,n) \ argument [all …]
|
D | xfs_trans_inode.c | 27 struct xfs_inode *ip, in xfs_trans_ijoin() 55 struct xfs_inode *ip, in xfs_trans_ichgtime() 88 xfs_inode_t *ip, in xfs_trans_log_inode() 149 struct xfs_inode *ip) in xfs_trans_roll_inode()
|
D | xfs_bmap.c | 120 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree() 131 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents() 160 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_worst_indlen() 190 struct xfs_inode *ip) in xfs_default_attroffset() 211 xfs_inode_t *ip, in xfs_bmap_forkoff_reset() 314 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_check_leaf_extents() 515 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument 582 struct xfs_inode *ip, /* incore inode pointer */ in xfs_bmap_btree_to_extents() 644 struct xfs_inode *ip, /* incore inode pointer */ in xfs_bmap_extents_to_btree() 795 struct xfs_inode *ip, in xfs_bmap_local_to_extents_empty() [all …]
|
/fs/gfs2/ |
D | xattr.c | 77 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_foreach_i() 114 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data) in ea_foreach() 164 static int ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_find_i() 188 static int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, in gfs2_ea_find() 223 static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_dealloc_unstuffed() 317 static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_remove_unstuffed() 343 static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_list_i() 400 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); in gfs2_listxattr() local 439 static int gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, in gfs2_iter_unstuffed() 504 static int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, in gfs2_ea_get_copy() [all …]
|
D | file.c | 58 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() local 159 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_get_flags() local 182 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_inode_flags() local 220 struct gfs2_inode *ip = GFS2_I(inode); in do_gfs2_set_flags() local 399 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_size_hint() local 449 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() local 574 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() local 645 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() local 676 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() local 715 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fsync() local [all …]
|
D | glops.c | 230 struct gfs2_inode *ip; in gfs2_glock2inode() local 251 static void gfs2_clear_glop_pending(struct gfs2_inode *ip) in gfs2_clear_glop_pending() 268 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_sync() local 319 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_inval() local 363 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in() 434 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh() 462 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() local 502 struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() local 559 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() local 602 struct gfs2_inode *ip = gl->gl_object; in iopen_go_callback() local
|
D | inode.h | 20 static inline int gfs2_is_stuffed(const struct gfs2_inode *ip) in gfs2_is_stuffed() 25 static inline int gfs2_is_jdata(const struct gfs2_inode *ip) in gfs2_is_jdata() 40 static inline int gfs2_is_dir(const struct gfs2_inode *ip) in gfs2_is_dir() 64 static inline int gfs2_check_inum(const struct gfs2_inode *ip, u64 no_addr, in gfs2_check_inum() 70 static inline void gfs2_inum_out(const struct gfs2_inode *ip, in gfs2_inum_out()
|
D | inode.c | 125 struct gfs2_inode *ip; in gfs2_inode_lookup() local 372 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() 430 static void gfs2_init_xattr(struct gfs2_inode *ip) in gfs2_init_xattr() 458 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode() 514 struct gfs2_inode *ip, struct gfs2_diradd *da) in link_dinode() 586 struct gfs2_inode *dip = GFS2_I(dir), *ip; in gfs2_create_inode() local 900 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_link() local 1029 const struct gfs2_inode *ip) in gfs2_unlink_ok() 1067 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink_inode() local 1103 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink() local [all …]
|
D | bmap.c | 55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() 116 int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page) in gfs2_unstuff_dinode() 321 static int __fillup_metapath(struct gfs2_inode *ip, struct metapath *mp, in __fillup_metapath() 356 static int lookup_metapath(struct gfs2_inode *ip, struct metapath *mp) in lookup_metapath() 372 static int fillup_metapath(struct gfs2_inode *ip, struct metapath *mp, int h) in fillup_metapath() 470 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_walk_metadata() local 663 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_alloc() local 796 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_alloc_size() local 843 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_get() local 989 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_write_lock() local [all …]
|
D | aops.c | 40 void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page, in gfs2_page_add_databufs() 92 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_writepage() local 158 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_jdata_writepage() local 183 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_jdata_writepage() local 416 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() local 436 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage() 482 struct gfs2_inode *ip = GFS2_I(page->mapping->host); in __gfs2_readpage() local 516 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_readpage() local 548 int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read() 600 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readpages() local [all …]
|
D | quota.c | 368 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in bh_get() local 543 int gfs2_qa_alloc(struct gfs2_inode *ip) in gfs2_qa_alloc() 561 void gfs2_qa_delete(struct gfs2_inode *ip, atomic_t *wcount) in gfs2_qa_delete() 571 int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) in gfs2_quota_hold() 628 void gfs2_quota_unhold(struct gfs2_inode *ip) in gfs2_quota_unhold() 659 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in do_qc() local 698 static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index, in gfs2_write_buf_to_page() 777 static int gfs2_write_disk_quota(struct gfs2_inode *ip, struct gfs2_quota *qp, in gfs2_write_disk_quota() 821 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() 879 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in do_sync() local [all …]
|
/fs/jfs/ |
D | jfs_extent.c | 73 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() 202 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc() 351 int extHint(struct inode *ip, s64 offset, xad_t * xp) in extHint() 411 int extRecord(struct inode *ip, xad_t * xp) in extRecord() 443 int extFill(struct inode *ip, xad_t * xp) in extFill() 496 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() 594 extBrealloc(struct inode *ip, in extBrealloc()
|