Home
last modified time | relevance | path

Searched defs:ip (Results 1 – 25 of 108) sorted by relevance

12345

/fs/xfs/
Dxfs_icache.c51 struct xfs_inode *ip; in xfs_inode_alloc() local
92 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() local
99 struct xfs_inode *ip) in xfs_inode_free()
149 struct xfs_inode *ip, in xfs_iget_check_free_state()
183 struct xfs_inode *ip, in xfs_iget_cache_hit()
326 struct xfs_inode *ip; in xfs_iget_cache_miss() local
415 struct xfs_inode *ip) in xfs_inew_wait()
460 xfs_inode_t *ip; in xfs_iget() local
533 struct xfs_inode *ip, in xfs_inode_ag_walk_grab()
580 int (*execute)(struct xfs_inode *ip, int flags, in xfs_inode_ag_walk()
[all …]
Dxfs_inode.h79 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
89 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
101 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
114 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set()
120 xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_set()
128 xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_clear()
136 __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_test()
142 xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test()
152 xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_clear()
165 xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_set()
[all …]
Dxfs_inode_item.c46 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size() local
88 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size() local
134 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_size() local
152 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_data_fork() local
251 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_attr_fork() local
338 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format() local
378 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_pin() local
398 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_unpin() local
412 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_push() local
479 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_unlock() local
[all …]
Dxfs_inode.c69 struct xfs_inode *ip) in xfs_get_extsz_hint()
95 struct xfs_inode *ip) in xfs_ilock_data_map_shared()
108 struct xfs_inode *ip) in xfs_ilock_attr_map_shared()
151 xfs_inode_t *ip, in xfs_ilock()
199 xfs_inode_t *ip, in xfs_ilock_nowait()
270 xfs_inode_t *ip, in xfs_iunlock()
311 xfs_inode_t *ip, in xfs_ilock_demote()
331 xfs_inode_t *ip, in xfs_isilocked()
597 struct xfs_inode *ip) in __xfs_iflock()
653 xfs_inode_t *ip) in xfs_ip2xflags()
[all …]
Dxfs_file.c54 struct xfs_inode *ip, in xfs_rw_ilock()
64 struct xfs_inode *ip, in xfs_rw_iunlock()
74 struct xfs_inode *ip, in xfs_rw_ilock_demote()
95 struct xfs_inode *ip, /* inode */ in xfs_iozero()
142 struct xfs_inode *ip, in xfs_update_prealloc_flags()
189 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() local
213 struct xfs_inode *ip = XFS_I(inode); in xfs_file_fsync() local
293 struct xfs_inode *ip = XFS_I(inode); in xfs_file_read_iter() local
393 struct xfs_inode *ip = XFS_I(infilp->f_mapping->host); in xfs_file_splice_read() local
429 struct xfs_inode *ip, in xfs_zero_last_block()
[all …]
Dxfs_quota.h38 #define XFS_NOT_DQATTACHED(mp, ip) \ argument
105 xfs_qm_vop_dqalloc(struct xfs_inode *ip, xfs_dqid_t uid, xfs_dqid_t gid, in xfs_qm_vop_dqalloc()
116 #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) argument
120 struct xfs_inode *ip, long nblks, long ninos, uint flags) in xfs_trans_reserve_quota_nblks()
131 #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p) argument
133 #define xfs_qm_vop_chown(tp, ip, old, new) (NULL) argument
134 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument
135 #define xfs_qm_dqattach(ip, fl) (0) argument
136 #define xfs_qm_dqattach_locked(ip, fl) (0) argument
137 #define xfs_qm_dqdetach(ip) argument
[all …]
Dxfs_bmap_util.c52 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db()
68 struct xfs_inode *ip, in xfs_zero_extent()
281 struct xfs_inode *ip, in xfs_bmap_eof()
422 xfs_inode_t *ip, /* incore inode */ in xfs_bmap_count_blocks()
469 xfs_inode_t *ip, /* xfs incore inode pointer */ in xfs_getbmapx_fix_eof_hole()
517 xfs_inode_t *ip, in xfs_getbmap()
753 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range()
824 xfs_can_free_eofblocks(struct xfs_inode *ip, bool force) in xfs_can_free_eofblocks()
862 xfs_inode_t *ip, in xfs_free_eofblocks()
953 struct xfs_inode *ip, in xfs_alloc_file_space()
[all …]
Dxfs_ioctl.c75 struct xfs_inode *ip; in xfs_find_handle() local
323 xfs_inode_t *ip, in xfs_set_dmattrs()
620 struct xfs_inode *ip, in xfs_ioc_space()
913 xfs_inode_t *ip, in xfs_ioc_fsgetxattr()
951 struct xfs_inode *ip, in xfs_set_diflags()
993 struct xfs_inode *ip) in xfs_diflags_to_linux()
1019 struct xfs_inode *ip, in xfs_ioctl_setattr_xflags()
1061 struct xfs_inode *ip) in xfs_ioctl_setattr_get_trans()
1117 struct xfs_inode *ip, in xfs_ioctl_setattr_check_extsize()
1160 struct xfs_inode *ip, in xfs_ioctl_setattr_check_projid()
[all …]
Dxfs_iomap.c48 xfs_inode_t *ip, in xfs_iomap_eof_align_last_fsb()
97 xfs_inode_t *ip, in xfs_alert_fsblock_zero()
114 xfs_inode_t *ip, in xfs_iomap_write_direct()
292 xfs_inode_t *ip, in xfs_iomap_eof_want_preallocate()
363 struct xfs_inode *ip, in xfs_iomap_eof_prealloc_initial_size()
407 struct xfs_inode *ip, in xfs_quota_need_throttle()
429 struct xfs_inode *ip, in xfs_quota_calc_throttle()
474 struct xfs_inode *ip, in xfs_iomap_prealloc_size()
570 xfs_inode_t *ip, in xfs_iomap_write_delay()
685 xfs_inode_t *ip, in xfs_iomap_write_allocate()
[all …]
Dxfs_iops.c68 struct xfs_inode *ip = XFS_I(inode); in xfs_initxattrs() local
135 struct xfs_inode *ip = NULL; in xfs_generic_create() local
266 struct xfs_inode *ip; in xfs_vn_ci_lookup() local
447 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_getattr() local
496 struct xfs_inode *ip, in xfs_setattr_mode()
513 struct xfs_inode *ip, in xfs_setattr_time()
539 struct xfs_inode *ip, in xfs_setattr_nonsize()
746 struct xfs_inode *ip, in xfs_setattr_size()
946 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr() local
974 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_update_time() local
[all …]
Dxfs_qm.c261 xfs_inode_t *ip, in xfs_qm_dqattach_one()
308 struct xfs_inode *ip) in xfs_qm_need_dqattach()
332 xfs_inode_t *ip, in xfs_qm_dqattach_locked()
381 struct xfs_inode *ip, in xfs_qm_dqattach()
403 xfs_inode_t *ip) in xfs_qm_dqdetach()
712 xfs_inode_t **ip, in xfs_qm_qino_alloc()
1035 struct xfs_inode *ip, in xfs_qm_quotacheck_dqadjust()
1090 xfs_inode_t *ip, in xfs_qm_get_rtblks()
1127 xfs_inode_t *ip; in xfs_qm_dqusage_adjust() local
1610 struct xfs_inode *ip, in xfs_qm_vop_dqalloc()
[all …]
Dxfs_trans_inode.c40 struct xfs_inode *ip, in xfs_trans_ijoin()
67 struct xfs_inode *ip, in xfs_trans_ichgtime()
104 xfs_inode_t *ip, in xfs_trans_log_inode()
Dxfs_filestream.c35 struct xfs_inode *ip; member
141 struct xfs_inode *ip, in xfs_filestream_pick_ag()
285 struct xfs_inode *ip) in xfs_filestream_get_parent()
315 struct xfs_inode *ip) in xfs_filestream_lookup_ag()
367 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
407 struct xfs_inode *ip) in xfs_filestream_deassociate()
Dxfs_pnfs.c37 struct xfs_inode *ip = XFS_I(inode); in xfs_break_layouts() local
84 struct xfs_inode *ip, in xfs_bmbt_to_iomap()
120 struct xfs_inode *ip = XFS_I(inode); in xfs_fs_map_blocks() local
222 struct xfs_inode *ip, in xfs_pnfs_validate_isize()
260 struct xfs_inode *ip = XFS_I(inode); in xfs_fs_commit_blocks() local
/fs/xfs/libxfs/
Dxfs_inode_fork.h89 #define XFS_IFORK_Q(ip) ((ip)->i_d.di_forkoff != 0) argument
90 #define XFS_IFORK_BOFF(ip) ((int)((ip)->i_d.di_forkoff << 3)) argument
92 #define XFS_IFORK_PTR(ip,w) \ argument
96 #define XFS_IFORK_DSIZE(ip) \ argument
100 #define XFS_IFORK_ASIZE(ip) \ argument
105 #define XFS_IFORK_SIZE(ip,w) \ argument
109 #define XFS_IFORK_FORMAT(ip,w) \ argument
113 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument
117 #define XFS_IFORK_NEXTENTS(ip,w) \ argument
121 #define XFS_IFORK_NEXT_SET(ip,w,n) \ argument
[all …]
/fs/gfs2/
Dinode.h23 static inline int gfs2_is_stuffed(const struct gfs2_inode *ip) in gfs2_is_stuffed()
28 static inline int gfs2_is_jdata(const struct gfs2_inode *ip) in gfs2_is_jdata()
33 static inline int gfs2_is_writeback(const struct gfs2_inode *ip) in gfs2_is_writeback()
39 static inline int gfs2_is_ordered(const struct gfs2_inode *ip) in gfs2_is_ordered()
45 static inline int gfs2_is_dir(const struct gfs2_inode *ip) in gfs2_is_dir()
69 static inline int gfs2_check_inum(const struct gfs2_inode *ip, u64 no_addr, in gfs2_check_inum()
75 static inline void gfs2_inum_out(const struct gfs2_inode *ip, in gfs2_inum_out()
Dxattr.c79 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_foreach_i()
116 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data) in ea_foreach()
166 static int ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_find_i()
190 static int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, in gfs2_ea_find()
225 static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_dealloc_unstuffed()
325 static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_remove_unstuffed()
365 static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_list_i()
423 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); in gfs2_listxattr() local
462 static int gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, in gfs2_iter_unstuffed()
527 static int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, in gfs2_ea_get_copy()
[all …]
Dfile.c58 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() local
155 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_get_flags() local
178 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_inode_flags() local
215 struct gfs2_inode *ip = GFS2_I(inode); in do_gfs2_set_flags() local
337 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_size_hint() local
387 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() local
518 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() local
589 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() local
620 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() local
659 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fsync() local
[all …]
Dbmap.c56 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page()
118 int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page) in gfs2_unstuff_dinode()
314 static int lookup_metapath(struct gfs2_inode *ip, struct metapath *mp) in lookup_metapath()
383 static inline void bmap_lock(struct gfs2_inode *ip, int create) in bmap_lock()
391 static inline void bmap_unlock(struct gfs2_inode *ip, int create) in bmap_unlock()
454 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_bmap_alloc() local
606 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_map() local
716 static int do_strip(struct gfs2_inode *ip, struct buffer_head *dibh, in do_strip()
870 static int recursive_scan(struct gfs2_inode *ip, struct buffer_head *dibh, in recursive_scan()
934 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_truncate_page() local
[all …]
Dinode.c48 struct gfs2_inode *ip = GFS2_I(inode); in iget_test() local
64 struct gfs2_inode *ip = GFS2_I(inode); in iget_set() local
144 struct gfs2_inode *ip; in gfs2_inode_lookup() local
379 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode()
437 static void gfs2_init_xattr(struct gfs2_inode *ip) in gfs2_init_xattr()
465 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode()
521 struct gfs2_inode *ip, struct gfs2_diradd *da) in link_dinode()
593 struct gfs2_inode *dip = GFS2_I(dir), *ip; in gfs2_create_inode() local
892 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_link() local
1021 const struct gfs2_inode *ip) in gfs2_unlink_ok()
[all …]
Daops.c41 static void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page, in gfs2_page_add_databufs()
101 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_writepage_common() local
157 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_jdata_writepage() local
428 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() local
448 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage()
497 struct gfs2_inode *ip = GFS2_I(page->mapping->host); in __gfs2_readpage() local
527 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_readpage() local
559 int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read()
611 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readpages() local
647 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_write_begin() local
[all …]
Dglops.c207 struct gfs2_inode *ip = gl->gl_object; in inode_go_sync() local
255 struct gfs2_inode *ip = gl->gl_object; in inode_go_inval() local
327 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in()
394 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh()
422 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() local
460 const struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() local
506 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() local
549 struct gfs2_inode *ip = (struct gfs2_inode *)gl->gl_object; in iopen_go_callback() local
/fs/freevxfs/
Dvxfs_inode.c224 vxfs_iinit(struct inode *ip, struct vxfs_inode_info *vip) in vxfs_iinit()
261 struct inode *ip = NULL; in vxfs_get_fake_inode() local
279 vxfs_put_fake_inode(struct inode *ip) in vxfs_put_fake_inode()
298 struct inode *ip; in vxfs_iget() local
358 vxfs_evict_inode(struct inode *ip) in vxfs_evict_inode()
Dvxfs_bmap.c67 vxfs_bmap_ext4(struct inode *ip, long bn) in vxfs_bmap_ext4()
128 vxfs_bmap_indir(struct inode *ip, long indir, int size, long block) in vxfs_bmap_indir()
201 vxfs_bmap_typed(struct inode *ip, long iblock) in vxfs_bmap_typed()
260 vxfs_bmap1(struct inode *ip, long iblock) in vxfs_bmap1()
/fs/jfs/
Djfs_extent.c86 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc()
215 int extRealloc(struct inode *ip, s64 nxlen, xad_t * xp, bool abnr) in extRealloc()
364 int extHint(struct inode *ip, s64 offset, xad_t * xp) in extHint()
424 int extRecord(struct inode *ip, xad_t * xp) in extRecord()
456 int extFill(struct inode *ip, xad_t * xp) in extFill()
509 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc()
602 extBrealloc(struct inode *ip, in extBrealloc()

12345