/fs/xfs/ |
D | xfs_icache.c | 74 struct xfs_inode *ip; in xfs_inode_alloc() local 121 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() local 151 struct xfs_inode *ip) in __xfs_inode_free() 163 struct xfs_inode *ip) in xfs_inode_free() 294 struct xfs_inode *ip) in xfs_inew_wait() 349 struct xfs_inode *ip) __releases(&ip->i_flags_lock) in xfs_iget_recycle() 422 struct xfs_inode *ip, in xfs_iget_check_free_state() 476 struct xfs_inode *ip, in xfs_iget_cache_hit() 596 struct xfs_inode *ip; in xfs_iget_cache_miss() local 733 struct xfs_inode *ip; in xfs_iget() local [all …]
|
D | xfs_inode_item.c | 51 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size() local 92 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size() local 138 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_size() local 156 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_data_fork() local 241 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_attr_fork() local 318 struct xfs_inode *ip, in xfs_inode_to_log_dinode_ts() 344 struct xfs_inode *ip, in xfs_copy_dm_fields_to_log_dinode() 363 struct xfs_inode *ip, in xfs_inode_to_log_dinode() 423 struct xfs_inode *ip, in xfs_inode_item_format_core() 452 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format() local [all …]
|
D | xfs_file.c | 42 struct xfs_inode *ip, in xfs_is_falloc_aligned() 71 struct xfs_inode *ip, in xfs_update_prealloc_flags() 114 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() local 122 struct xfs_inode *ip, in xfs_fsync_seq() 147 struct xfs_inode *ip, in xfs_fsync_flush_log() 175 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_file_fsync() local 230 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_ilock_iocb() local 247 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_read() local 271 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read() local 294 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_read() local [all …]
|
D | xfs_quota.h | 27 #define XFS_NOT_DQATTACHED(mp, ip) \ argument 112 xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks) in xfs_quota_reserve_blkres() 119 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, in xfs_qm_vop_dqalloc() 130 #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) do { } while (0) argument 134 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() 148 xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks) in xfs_quota_reserve_blkres() 160 #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p) argument 162 #define xfs_qm_vop_chown(tp, ip, old, new) (NULL) argument 163 #define xfs_qm_dqattach(ip) (0) argument 164 #define xfs_qm_dqattach_locked(ip, fl) (0) argument [all …]
|
D | xfs_inode.h | 87 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() 97 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() 109 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof() 122 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set() 128 xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_set() 136 xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_clear() 144 __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_test() 150 xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test() 160 xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_clear() 173 xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_set() [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() 253 struct xfs_inode *ip, in xfs_bmap_count_blocks() 300 struct xfs_inode *ip, in xfs_getbmap_report_one() 351 struct xfs_inode *ip, in xfs_getbmap_report_hole() 406 struct xfs_inode *ip, in xfs_getbmap() 591 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range() 641 struct xfs_inode *ip, in xfs_can_free_eofblocks() 718 struct xfs_inode *ip) in xfs_free_eofblocks() 772 struct xfs_inode *ip, in xfs_alloc_file_space() [all …]
|
D | xfs_inode.c | 56 struct xfs_inode *ip) in xfs_get_extsz_hint() 79 struct xfs_inode *ip) in xfs_get_cowextsz_hint() 111 struct xfs_inode *ip) in xfs_ilock_data_map_shared() 123 struct xfs_inode *ip) in xfs_ilock_attr_map_shared() 165 xfs_inode_t *ip, in xfs_ilock() 219 xfs_inode_t *ip, in xfs_ilock_nowait() 290 xfs_inode_t *ip, in xfs_iunlock() 331 xfs_inode_t *ip, in xfs_ilock_demote() 371 struct xfs_inode *ip, in xfs_isilocked() 612 struct xfs_inode *ip) in xfs_ip2xflags() [all …]
|
D | xfs_aops.c | 47 struct xfs_inode *ip, in xfs_setfilesize() 84 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_ioend() local 144 struct xfs_inode *ip = in xfs_end_io() local 168 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_bio() local 186 struct xfs_inode *ip, in xfs_imap_valid() 226 struct xfs_inode *ip, in xfs_convert_blocks() 260 struct xfs_inode *ip = XFS_I(inode); in xfs_map_blocks() local 445 struct xfs_inode *ip = XFS_I(inode); in xfs_discard_page() local 496 struct xfs_inode *ip = XFS_I(mapping->host); in xfs_dax_writepages() local 508 struct xfs_inode *ip = XFS_I(mapping->host); in xfs_vm_bmap() local
|
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() 121 struct xfs_inode *ip) in xfs_eof_alignment() 153 struct xfs_inode *ip, in xfs_iomap_eof_align_last_fsb() 188 struct xfs_inode *ip, in xfs_iomap_write_direct() 289 struct xfs_inode *ip, in xfs_quota_need_throttle() 311 struct xfs_inode *ip, in xfs_quota_calc_throttle() 355 struct xfs_inode *ip, in xfs_iomap_prealloc_size() 494 xfs_inode_t *ip, in xfs_iomap_write_unwritten() [all …]
|
D | xfs_reflink.c | 170 struct xfs_inode *ip, in xfs_reflink_trim_around_shared() 226 struct xfs_inode *ip, in xfs_bmap_trim_cow() 243 struct xfs_inode *ip, in xfs_reflink_convert_cow_locked() 282 struct xfs_inode *ip, in xfs_reflink_convert_cow() 307 struct xfs_inode *ip, in xfs_find_trim_cow_extent() 345 struct xfs_inode *ip, in xfs_reflink_convert_unwritten() 378 struct xfs_inode *ip, in xfs_reflink_fill_cow_hole() 448 struct xfs_inode *ip, in xfs_reflink_fill_delalloc() 519 struct xfs_inode *ip, in xfs_reflink_allocate_cow() 577 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks() [all …]
|
D | xfs_iops.c | 50 struct xfs_inode *ip = XFS_I(inode); in xfs_initxattrs() local 171 struct xfs_inode *ip = NULL; in xfs_generic_create() local 320 struct xfs_inode *ip; in xfs_vn_ci_lookup() local 516 struct xfs_inode *ip) in xfs_stat_blksize() 559 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_getattr() local 642 struct xfs_inode *ip, in xfs_setattr_nonsize() 788 struct xfs_inode *ip, in xfs_setattr_size() 989 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_size() local 1007 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_setattr() local 1041 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_update_time() local [all …]
|
/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 33 struct xfs_inode *ip, in xfs_init_local_fork() 75 xfs_inode_t *ip, in xfs_iformat_local() 106 struct xfs_inode *ip, in xfs_iformat_extents() 170 xfs_inode_t *ip, in xfs_iformat_btree() 227 struct xfs_inode *ip, in xfs_iformat_data_fork() 300 struct xfs_inode *ip, in xfs_iformat_attr_fork() 360 xfs_inode_t *ip, in xfs_iroot_realloc() 486 struct xfs_inode *ip, in xfs_idata_realloc() 550 struct xfs_inode *ip, in xfs_iextents_copy() 590 xfs_inode_t *ip, in xfs_iflush_fork() [all …]
|
D | xfs_bmap.c | 131 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree() 143 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents() 173 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_worst_indlen() 203 struct xfs_inode *ip) in xfs_default_attroffset() 217 xfs_inode_t *ip, in xfs_bmap_forkoff_reset() 320 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_check_leaf_extents() 520 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument 588 struct xfs_inode *ip, /* incore inode pointer */ in xfs_bmap_btree_to_extents() 648 struct xfs_inode *ip, /* incore inode pointer */ in xfs_bmap_extents_to_btree() 797 struct xfs_inode *ip, in xfs_bmap_local_to_extents_empty() [all …]
|
D | xfs_inode_fork.h | 94 #define XFS_IFORK_Q(ip) ((ip)->i_forkoff != 0) argument 95 #define XFS_IFORK_BOFF(ip) ((int)((ip)->i_forkoff << 3)) argument 97 #define XFS_IFORK_PTR(ip,w) \ argument 103 #define XFS_IFORK_DSIZE(ip) \ argument 105 #define XFS_IFORK_ASIZE(ip) \ argument 107 #define XFS_IFORK_SIZE(ip,w) \ argument 113 #define XFS_IFORK_MAXEXT(ip, w) \ argument
|
D | xfs_trans_inode.c | 29 struct xfs_inode *ip, in xfs_trans_ijoin() 57 struct xfs_inode *ip, in xfs_trans_ichgtime() 94 struct xfs_inode *ip, in xfs_trans_log_inode() 216 struct xfs_inode *ip) in xfs_trans_roll_inode()
|
/fs/gfs2/ |
D | xattr.c | 88 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_foreach_i() 125 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data) in ea_foreach() 175 static int ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_find_i() 199 static int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, in gfs2_ea_find() 229 static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_dealloc_unstuffed() 324 static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_remove_unstuffed() 350 static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_list_i() 414 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); in gfs2_listxattr() local 453 static int gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, in gfs2_iter_unstuffed() 518 static int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, in gfs2_ea_get_copy() [all …]
|
D | file.c | 59 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() local 160 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fileattr_get() local 185 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_inode_flags() local 222 struct gfs2_inode *ip = GFS2_I(inode); in do_gfs2_set_flags() local 376 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_size_hint() local 425 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() local 559 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fault() local 597 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() local 678 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() local 709 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() local [all …]
|
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 | 134 struct gfs2_inode *ip; in gfs2_inode_lookup() local 396 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() 454 static void gfs2_init_xattr(struct gfs2_inode *ip) in gfs2_init_xattr() 481 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode() 537 struct gfs2_inode *ip, struct gfs2_diradd *da) in link_dinode() 610 struct gfs2_inode *dip = GFS2_I(dir), *ip; in gfs2_create_inode() local 928 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_link() local 1059 const struct gfs2_inode *ip) in gfs2_unlink_ok() 1097 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink_inode() local 1133 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink() local [all …]
|
D | super.c | 105 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_jdesc_check() local 131 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in gfs2_make_fs_rw() local 330 struct gfs2_inode *ip; in gfs2_lock_fs_check_clean() local 383 void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) in gfs2_dinode_out() 431 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_write_inode() local 474 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_dirty_inode() local 932 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_drop_inode() local 1082 static void gfs2_final_release_pages(struct gfs2_inode *ip) in gfs2_final_release_pages() 1096 static int gfs2_dinode_dealloc(struct gfs2_inode *ip) in gfs2_dinode_dealloc() 1164 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_upgrade_iopen_glock() local [all …]
|
D | glops.c | 245 struct gfs2_inode *ip; in gfs2_glock2inode() local 266 static void gfs2_clear_glop_pending(struct gfs2_inode *ip) in gfs2_clear_glop_pending() 300 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_sync() local 353 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_inval() local 395 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in() 473 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh() 500 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() local 540 struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() local 611 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() local 652 struct gfs2_inode *ip = gl->gl_object; in iopen_go_callback() local
|
D | bmap.c | 55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() 92 static int __gfs2_unstuff_inode(struct gfs2_inode *ip, struct page *page) in __gfs2_unstuff_inode() 157 int gfs2_unstuff_dinode(struct gfs2_inode *ip) 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 [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 154 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_jdata_writepage() local 179 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_jdata_writepage() local 411 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() local 431 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage() 468 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_readpage() local 508 int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read() 556 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readahead() local 630 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_bmap() local
|
D | quota.c | 368 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in bh_get() local 543 int gfs2_qa_get(struct gfs2_inode *ip) in gfs2_qa_get() 571 void gfs2_qa_put(struct gfs2_inode *ip) in gfs2_qa_put() 583 int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) in gfs2_quota_hold() 641 void gfs2_quota_unhold(struct gfs2_inode *ip) in gfs2_quota_unhold() 674 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in do_qc() local 713 static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index, in gfs2_write_buf_to_page() 792 static int gfs2_write_disk_quota(struct gfs2_inode *ip, struct gfs2_quota *qp, in gfs2_write_disk_quota() 836 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() 894 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()
|