Home
last modified time | relevance | path

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

123456

/fs/xfs/
Dxfs_icache.c37 struct xfs_inode *ip; in xfs_inode_alloc() local
82 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() local
112 struct xfs_inode *ip) in __xfs_inode_free()
124 struct xfs_inode *ip) in xfs_inode_free()
207 struct xfs_inode *ip) in xfs_inode_set_reclaim_tag()
239 struct xfs_inode *ip) in xfs_inew_wait()
299 struct xfs_inode *ip, in xfs_iget_check_free_state()
333 struct xfs_inode *ip, in xfs_iget_cache_hit()
482 struct xfs_inode *ip; in xfs_iget_cache_miss() local
619 struct xfs_inode *ip; in xfs_iget() local
[all …]
Dxfs_inode_item.c51 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()
336 struct xfs_inode *ip, in xfs_inode_to_log_dinode()
397 struct xfs_inode *ip, in xfs_inode_item_format_core()
426 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format() local
471 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_pin() local
[all …]
Dxfs_inode.h76 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
86 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
98 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
111 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set()
117 xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_set()
125 xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_clear()
133 __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_test()
139 xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test()
149 xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_clear()
162 xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_set()
[all …]
Dxfs_bmap_util.c40 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()
209 struct xfs_inode *ip, in xfs_bmap_count_blocks()
258 struct xfs_inode *ip, in xfs_getbmap_report_one()
309 struct xfs_inode *ip, in xfs_getbmap_report_hole()
364 struct xfs_inode *ip, in xfs_getbmap()
551 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range()
600 xfs_can_free_eofblocks(struct xfs_inode *ip, bool force) in xfs_can_free_eofblocks()
637 struct xfs_inode *ip) in xfs_free_eofblocks()
717 struct xfs_inode *ip, in xfs_alloc_file_space()
[all …]
Dxfs_file.c41 struct xfs_inode *ip, in xfs_is_falloc_aligned()
70 struct xfs_inode *ip, in xfs_update_prealloc_flags()
113 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() local
121 struct xfs_inode *ip, in xfs_fsync_seq()
146 struct xfs_inode *ip, in xfs_fsync_flush_log()
174 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_file_fsync() local
222 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_aio_read() local
251 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read() local
279 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_aio_read() local
337 struct xfs_inode *ip = XFS_I(inode); in xfs_file_aio_write_checks() local
[all …]
Dxfs_inode.c55 struct xfs_inode *ip) in xfs_get_extsz_hint()
78 struct xfs_inode *ip) in xfs_get_cowextsz_hint()
110 struct xfs_inode *ip) in xfs_ilock_data_map_shared()
123 struct xfs_inode *ip) in xfs_ilock_attr_map_shared()
167 xfs_inode_t *ip, in xfs_ilock()
218 xfs_inode_t *ip, in xfs_ilock_nowait()
289 xfs_inode_t *ip, in xfs_iunlock()
330 xfs_inode_t *ip, in xfs_ilock_demote()
350 xfs_inode_t *ip, in xfs_isilocked()
655 struct xfs_inode *ip) in xfs_ip2xflags()
[all …]
Dxfs_aops.c47 struct xfs_inode *ip, in __xfs_setfilesize()
73 struct xfs_inode *ip, in xfs_setfilesize()
93 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_setfilesize_ioend() local
120 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_ioend() local
199 struct xfs_inode *ip = in xfs_end_io() local
230 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_bio() local
248 struct xfs_inode *ip, in xfs_imap_valid()
288 struct xfs_inode *ip, in xfs_convert_blocks()
322 struct xfs_inode *ip = XFS_I(inode); in xfs_map_blocks() local
506 struct xfs_inode *ip = XFS_I(inode); in xfs_discard_page() local
[all …]
Dxfs_quota.h27 #define XFS_NOT_DQATTACHED(mp, ip) \ argument
113 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, in xfs_qm_vop_dqalloc()
124 #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) argument
128 struct xfs_inode *ip, int64_t nblks, long ninos, uint flags) in xfs_trans_reserve_quota_nblks()
139 #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p) argument
141 #define xfs_qm_vop_chown(tp, ip, old, new) (NULL) argument
142 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument
143 #define xfs_qm_dqattach(ip) (0) argument
144 #define xfs_qm_dqattach_locked(ip, fl) (0) argument
145 #define xfs_qm_dqdetach(ip) argument
[all …]
Dxfs_iomap.c37 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()
296 struct xfs_inode *ip, in xfs_quota_need_throttle()
318 struct xfs_inode *ip, in xfs_quota_calc_throttle()
362 struct xfs_inode *ip, in xfs_iomap_prealloc_size()
501 xfs_inode_t *ip, in xfs_iomap_write_unwritten()
[all …]
Dxfs_reflink.c170 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()
346 struct xfs_inode *ip, in xfs_reflink_allocate_cow()
458 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks()
539 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range()
598 struct xfs_inode *ip, in xfs_reflink_end_cow_extent()
706 struct xfs_inode *ip, in xfs_reflink_end_cow()
[all …]
Dxfs_iops.c49 struct xfs_inode *ip = XFS_I(inode); in xfs_initxattrs() local
138 struct xfs_inode *ip = NULL; in xfs_generic_create() local
283 struct xfs_inode *ip; in xfs_vn_ci_lookup() local
481 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_get_link_inline() local
498 struct xfs_inode *ip) in xfs_stat_blksize()
540 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_getattr() local
622 struct xfs_inode *ip, in xfs_setattr_nonsize()
787 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_nonsize() local
806 struct xfs_inode *ip, in xfs_setattr_size()
1006 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_size() local
[all …]
Dxfs_ioctl.c66 struct xfs_inode *ip; in xfs_find_handle() local
635 struct xfs_inode *ip = XFS_I(inode); in xfs_ioc_space() local
1112 struct xfs_inode *ip, in xfs_fill_fsxattr()
1131 xfs_inode_t *ip, in xfs_ioc_fsgetxattr()
1148 struct xfs_inode *ip, in xfs_flags2diflags()
1190 struct xfs_inode *ip, in xfs_flags2diflags2()
1208 struct xfs_inode *ip, in xfs_ioctl_setattr_xflags()
1251 struct xfs_inode *ip, in xfs_ioctl_setattr_prepare_dax()
1279 struct xfs_inode *ip) in xfs_ioctl_setattr_get_trans()
1338 struct xfs_inode *ip, in xfs_ioctl_setattr_check_extsize()
[all …]
/fs/xfs/libxfs/
Dxfs_inode_fork.c31 struct xfs_inode *ip, in xfs_init_local_fork()
70 xfs_inode_t *ip, in xfs_iformat_local()
101 struct xfs_inode *ip, in xfs_iformat_extents()
166 xfs_inode_t *ip, in xfs_iformat_btree()
225 struct xfs_inode *ip, in xfs_iformat_data_fork()
285 struct xfs_inode *ip, in xfs_iformat_attr_fork()
347 xfs_inode_t *ip, in xfs_iroot_realloc()
474 struct xfs_inode *ip, in xfs_idata_realloc()
538 struct xfs_inode *ip, in xfs_iextents_copy()
578 xfs_inode_t *ip, in xfs_iflush_fork()
[all …]
Dxfs_inode_fork.h41 #define XFS_IFORK_Q(ip) ((ip)->i_d.di_forkoff != 0) argument
42 #define XFS_IFORK_BOFF(ip) ((int)((ip)->i_d.di_forkoff << 3)) argument
44 #define XFS_IFORK_PTR(ip,w) \ argument
50 #define XFS_IFORK_DSIZE(ip) \ argument
52 #define XFS_IFORK_ASIZE(ip) \ argument
54 #define XFS_IFORK_SIZE(ip,w) \ argument
60 #define XFS_IFORK_MAXEXT(ip, w) \ argument
Dxfs_bmap.c121 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree()
133 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents()
163 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_worst_indlen()
193 struct xfs_inode *ip) in xfs_default_attroffset()
214 xfs_inode_t *ip, in xfs_bmap_forkoff_reset()
317 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_check_leaf_extents()
517 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument
585 struct xfs_inode *ip, /* incore inode pointer */ in xfs_bmap_btree_to_extents()
647 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 …]
Dxfs_trans_inode.c29 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()
202 struct xfs_inode *ip) in xfs_trans_roll_inode()
/fs/gfs2/
Dxattr.c77 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 …]
Dfile.c58 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
564 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fault() local
602 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() local
683 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() local
714 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() local
[all …]
Dinode.h20 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()
Dinode.c130 struct gfs2_inode *ip; in gfs2_inode_lookup() local
392 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode()
450 static void gfs2_init_xattr(struct gfs2_inode *ip) in gfs2_init_xattr()
478 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode()
534 struct gfs2_inode *ip, struct gfs2_diradd *da) in link_dinode()
606 struct gfs2_inode *dip = GFS2_I(dir), *ip; in gfs2_create_inode() local
926 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_link() local
1056 const struct gfs2_inode *ip) in gfs2_unlink_ok()
1094 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink_inode() local
1130 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink() local
[all …]
Dbmap.c55 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 …]
Dglops.c256 struct gfs2_inode *ip; in gfs2_glock2inode() local
277 static void gfs2_clear_glop_pending(struct gfs2_inode *ip) in gfs2_clear_glop_pending()
311 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_sync() local
364 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_inval() local
406 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in()
477 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh()
505 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() local
545 struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() local
621 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() local
661 struct gfs2_inode *ip = gl->gl_object; in iopen_go_callback() local
Dsuper.c112 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_jdesc_check() local
138 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in gfs2_make_fs_rw() local
362 struct gfs2_inode *ip; in gfs2_lock_fs_check_clean() local
415 void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) in gfs2_dinode_out()
462 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_write_inode() local
505 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_dirty_inode() local
969 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_drop_inode() local
1119 static void gfs2_final_release_pages(struct gfs2_inode *ip) in gfs2_final_release_pages()
1133 static int gfs2_dinode_dealloc(struct gfs2_inode *ip) in gfs2_dinode_dealloc()
1200 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_upgrade_iopen_glock() local
[all …]
Daops.c40 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()
559 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readahead() local
638 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_bmap() local
/fs/jfs/
Djfs_extent.c73 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()

123456