Home
last modified time | relevance | path

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

12345

/fs/xfs/
Dxfs_icache.c49 struct xfs_inode *ip; in xfs_inode_alloc() local
93 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() local
119 struct xfs_inode *ip) in __xfs_inode_free()
130 struct xfs_inode *ip) in xfs_inode_free()
234 struct xfs_inode *ip) in xfs_inode_set_reclaim_tag()
266 struct xfs_inode *ip) in xfs_inew_wait()
320 struct xfs_inode *ip, in xfs_iget_check_free_state()
354 struct xfs_inode *ip, in xfs_iget_cache_hit()
503 struct xfs_inode *ip; in xfs_iget_cache_miss() local
621 xfs_inode_t *ip; in xfs_iget() local
[all …]
Dxfs_inode.h82 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 …]
Dxfs_inode_item.c47 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size() local
89 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size() local
135 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_size() local
153 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_data_fork() local
252 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_attr_fork() local
328 struct xfs_inode *ip, in xfs_inode_to_log_dinode()
393 struct xfs_inode *ip, in xfs_inode_item_format_core()
422 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format() local
469 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_pin() local
489 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_unpin() local
[all …]
Dxfs_inode.c72 struct xfs_inode *ip) in xfs_get_extsz_hint()
89 struct xfs_inode *ip) in xfs_get_cowextsz_hint()
121 struct xfs_inode *ip) in xfs_ilock_data_map_shared()
134 struct xfs_inode *ip) in xfs_ilock_attr_map_shared()
177 xfs_inode_t *ip, in xfs_ilock()
228 xfs_inode_t *ip, in xfs_ilock_nowait()
299 xfs_inode_t *ip, in xfs_iunlock()
340 xfs_inode_t *ip, in xfs_ilock_demote()
360 xfs_inode_t *ip, in xfs_isilocked()
619 struct xfs_inode *ip) in __xfs_iflock()
[all …]
Dxfs_file.c56 struct xfs_inode *ip, in xfs_zero_range()
66 struct xfs_inode *ip, in xfs_update_prealloc_flags()
111 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() local
135 struct xfs_inode *ip = XFS_I(inode); in xfs_file_fsync() local
208 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_dio_aio_read() local
231 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read() local
259 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_aio_read() local
315 struct xfs_inode *ip, in xfs_zero_eof()
342 struct xfs_inode *ip = XFS_I(inode); in xfs_file_aio_write_checks() local
438 struct xfs_inode *ip = XFS_I(inode); in xfs_dio_write_end_io() local
[all …]
Dxfs_bmap_util.c57 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db()
73 struct xfs_inode *ip, in xfs_zero_extent()
203 struct xfs_inode *ip, in xfs_bmap_eof()
351 struct xfs_inode *ip, in xfs_bmap_count_blocks()
413 xfs_inode_t *ip, /* xfs incore inode pointer */ in xfs_getbmapx_fix_eof_hole()
458 struct xfs_inode *ip, in xfs_getbmap_adjust_shared()
538 xfs_inode_t *ip, in xfs_getbmap()
834 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range()
905 xfs_can_free_eofblocks(struct xfs_inode *ip, bool force) in xfs_can_free_eofblocks()
942 struct xfs_inode *ip) in xfs_free_eofblocks()
[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_iomap.c50 struct xfs_inode *ip, in xfs_bmbt_to_iomap()
77 struct xfs_inode *ip, in xfs_eof_alignment()
117 struct xfs_inode *ip, in xfs_iomap_eof_align_last_fsb()
138 xfs_inode_t *ip, in xfs_alert_fsblock_zero()
155 xfs_inode_t *ip, in xfs_iomap_write_direct()
311 struct xfs_inode *ip, in xfs_quota_need_throttle()
333 struct xfs_inode *ip, in xfs_quota_calc_throttle()
389 struct xfs_inode *ip, in xfs_iomap_prealloc_size()
526 struct xfs_inode *ip = XFS_I(inode); in xfs_file_iomap_begin_delay() local
668 xfs_inode_t *ip, in xfs_iomap_write_allocate()
[all …]
Dxfs_iops.c69 struct xfs_inode *ip = XFS_I(inode); in xfs_initxattrs() local
151 struct xfs_inode *ip = NULL; in xfs_generic_create() local
288 struct xfs_inode *ip; in xfs_vn_ci_lookup() local
498 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_getattr() local
561 struct xfs_inode *ip, in xfs_setattr_mode()
575 struct xfs_inode *ip, in xfs_setattr_time()
614 struct xfs_inode *ip, in xfs_setattr_nonsize()
804 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_nonsize() local
823 struct xfs_inode *ip, in xfs_setattr_size()
1014 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_size() local
[all …]
Dxfs_ioctl.c79 struct xfs_inode *ip; in xfs_find_handle() local
312 xfs_inode_t *ip, in xfs_set_dmattrs()
612 struct xfs_inode *ip = XFS_I(inode); in xfs_ioc_space() local
898 xfs_inode_t *ip, in xfs_ioc_fsgetxattr()
936 struct xfs_inode *ip, in xfs_flags2diflags()
978 struct xfs_inode *ip, in xfs_flags2diflags2()
994 struct xfs_inode *ip) in xfs_diflags_to_linux()
1026 struct xfs_inode *ip, in xfs_ioctl_setattr_xflags()
1086 struct xfs_inode *ip, in xfs_ioctl_setattr_dax_invalidate()
1147 struct xfs_inode *ip, in xfs_ioctl_setattr_get_trans()
[all …]
Dxfs_trans_inode.c40 struct xfs_inode *ip, in xfs_trans_ijoin()
67 struct xfs_inode *ip, in xfs_trans_ichgtime()
96 xfs_inode_t *ip, in xfs_trans_log_inode()
141 struct xfs_inode *ip) in xfs_trans_roll_inode()
Dxfs_reflink.c199 struct xfs_inode *ip, in xfs_reflink_trim_around_shared()
268 struct xfs_inode *ip, in xfs_reflink_reserve_cow()
328 struct xfs_inode *ip, in xfs_reflink_convert_cow_extent()
352 struct xfs_inode *ip, in xfs_reflink_convert_cow()
386 struct xfs_inode *ip, in xfs_reflink_allocate_cow()
492 struct xfs_inode *ip, in xfs_reflink_find_cow_mapping()
521 struct xfs_inode *ip, in xfs_reflink_trim_irec_to_next_cow()
557 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks()
635 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range()
687 struct xfs_inode *ip, in xfs_reflink_end_cow()
[all …]
Dxfs_filestream.c37 struct xfs_inode *ip; member
143 struct xfs_inode *ip, in xfs_filestream_pick_ag()
288 struct xfs_inode *ip) in xfs_filestream_get_parent()
318 struct xfs_inode *ip) in xfs_filestream_lookup_ag()
370 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
413 struct xfs_inode *ip) in xfs_filestream_deassociate()
/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
98 #define XFS_IFORK_DSIZE(ip) \ argument
102 #define XFS_IFORK_ASIZE(ip) \ argument
107 #define XFS_IFORK_SIZE(ip,w) \ argument
113 #define XFS_IFORK_FORMAT(ip,w) \ argument
119 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument
125 #define XFS_IFORK_NEXTENTS(ip,w) \ argument
131 #define XFS_IFORK_NEXT_SET(ip,w,n) \ argument
[all …]
Dxfs_bmap.c143 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree()
154 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents()
187 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_worst_indlen()
217 struct xfs_inode *ip) in xfs_default_attroffset()
240 xfs_inode_t *ip, in xfs_bmap_forkoff_reset()
343 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_check_leaf_extents()
506 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_trace_exlist()
568 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument
631 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_btree_to_extents()
692 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_extents_to_btree()
[all …]
Dxfs_inode_fork.c56 xfs_inode_t *ip, in xfs_iformat_fork()
249 struct xfs_inode *ip, in xfs_init_local_fork()
301 xfs_inode_t *ip, in xfs_iformat_local()
333 struct xfs_inode *ip, in xfs_iformat_extents()
393 xfs_inode_t *ip, in xfs_iformat_btree()
453 xfs_inode_t *ip, in xfs_iread_extents()
503 xfs_inode_t *ip, in xfs_iroot_realloc()
630 xfs_inode_t *ip, in xfs_idata_realloc()
706 xfs_inode_t *ip, in xfs_idestroy_fork()
771 xfs_inode_t *ip, in xfs_iextents_copy()
[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.c80 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_foreach_i()
117 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data) in ea_foreach()
167 static int ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_find_i()
191 static int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, in gfs2_ea_find()
226 static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_dealloc_unstuffed()
326 static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_remove_unstuffed()
366 static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_list_i()
424 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); in gfs2_listxattr() local
463 static int gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, in gfs2_iter_unstuffed()
528 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
179 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_inode_flags() local
216 struct gfs2_inode *ip = GFS2_I(inode); in do_gfs2_set_flags() local
338 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_size_hint() local
388 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() local
513 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() local
584 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() local
615 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() local
654 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fsync() local
[all …]
Dglops.c202 struct gfs2_inode *ip; in gfs2_glock2inode() local
223 static void gfs2_clear_glop_pending(struct gfs2_inode *ip) in gfs2_clear_glop_pending()
240 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_sync() local
290 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_inval() local
332 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in()
399 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh()
427 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() local
465 const struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() local
511 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() local
554 struct gfs2_inode *ip = gl->gl_object; in iopen_go_callback() local
Dbmap.c51 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page()
113 int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page) in gfs2_unstuff_dinode()
311 static int lookup_mp_height(struct gfs2_inode *ip, struct metapath *mp, int h) in lookup_mp_height()
339 static int lookup_metapath(struct gfs2_inode *ip, struct metapath *mp) in lookup_metapath()
365 static int fillup_metapath(struct gfs2_inode *ip, struct metapath *mp, int h) in fillup_metapath()
430 static inline void bmap_lock(struct gfs2_inode *ip, int create) in bmap_lock()
438 static inline void bmap_unlock(struct gfs2_inode *ip, int create) in bmap_unlock()
508 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_bmap_alloc() local
660 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_map() local
765 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_truncate_page() local
[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
183 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_jdata_writepage() local
209 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_jdata_writepage() local
443 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() local
463 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage()
512 struct gfs2_inode *ip = GFS2_I(page->mapping->host); in __gfs2_readpage() local
542 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_readpage() local
574 int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read()
626 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readpages() local
[all …]
Dinode.c128 struct gfs2_inode *ip; in gfs2_inode_lookup() local
374 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode()
432 static void gfs2_init_xattr(struct gfs2_inode *ip) in gfs2_init_xattr()
460 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode()
516 struct gfs2_inode *ip, struct gfs2_diradd *da) in link_dinode()
588 struct gfs2_inode *dip = GFS2_I(dir), *ip; in gfs2_create_inode() local
902 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_link() local
1031 const struct gfs2_inode *ip) in gfs2_unlink_ok()
1069 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink_inode() local
1105 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink() local
[all …]
Dquota.c371 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in bh_get() local
535 int gfs2_qa_alloc(struct gfs2_inode *ip) in gfs2_qa_alloc()
553 void gfs2_qa_delete(struct gfs2_inode *ip, atomic_t *wcount) in gfs2_qa_delete()
563 int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) in gfs2_quota_hold()
620 void gfs2_quota_unhold(struct gfs2_inode *ip) in gfs2_quota_unhold()
651 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in do_qc() local
690 static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index, in gfs2_write_buf_to_page()
766 static int gfs2_write_disk_quota(struct gfs2_inode *ip, struct gfs2_quota *qp, in gfs2_write_disk_quota()
810 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota()
868 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in do_sync() local
[all …]
/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