Home
last modified time | relevance | path

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

12345

/fs/xfs/
Dxfs_inode.h83 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I()
93 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE()
105 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof()
118 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set()
124 xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_set()
132 xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_clear()
140 __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_test()
146 xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test()
156 xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_clear()
169 xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags) in xfs_iflags_test_and_set()
[all …]
Dxfs_icache.c49 struct xfs_inode *ip; in xfs_inode_alloc() local
95 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() local
121 struct xfs_inode *ip) in __xfs_inode_free()
132 struct xfs_inode *ip) in xfs_inode_free()
236 struct xfs_inode *ip) in xfs_inode_set_reclaim_tag()
268 struct xfs_inode *ip) in xfs_inew_wait()
316 struct xfs_inode *ip, in xfs_iget_cache_hit()
459 struct xfs_inode *ip; in xfs_iget_cache_miss() local
573 xfs_inode_t *ip; in xfs_iget() local
646 struct xfs_inode *ip, in xfs_inode_ag_walk_grab()
[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()
225 xfs_inode_t *ip, in xfs_ilock_nowait()
296 xfs_inode_t *ip, in xfs_iunlock()
337 xfs_inode_t *ip, in xfs_ilock_demote()
357 xfs_inode_t *ip, in xfs_isilocked()
623 struct xfs_inode *ip) in __xfs_iflock()
[all …]
Dxfs_file.c56 struct xfs_inode *ip, in xfs_rw_ilock()
66 struct xfs_inode *ip, in xfs_rw_iunlock()
76 struct xfs_inode *ip, in xfs_rw_ilock_demote()
90 struct xfs_inode *ip, in xfs_zero_range()
100 struct xfs_inode *ip, in xfs_update_prealloc_flags()
145 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() local
169 struct xfs_inode *ip = XFS_I(inode); in xfs_file_fsync() local
249 struct xfs_inode *ip = XFS_I(inode); in xfs_file_dio_aio_read() local
311 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); in xfs_file_dax_read() local
333 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); in xfs_file_buffered_aio_read() 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()
208 struct xfs_inode *ip, in xfs_bmap_eof()
349 xfs_inode_t *ip, /* incore inode */ in xfs_bmap_count_blocks()
394 xfs_inode_t *ip, /* xfs incore inode pointer */ in xfs_getbmapx_fix_eof_hole()
439 struct xfs_inode *ip, in xfs_getbmap_adjust_shared()
520 xfs_inode_t *ip, in xfs_getbmap()
818 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range()
889 xfs_can_free_eofblocks(struct xfs_inode *ip, bool force) in xfs_can_free_eofblocks()
926 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_ioctl.c75 struct xfs_inode *ip; in xfs_find_handle() local
309 xfs_inode_t *ip, in xfs_set_dmattrs()
609 struct xfs_inode *ip = XFS_I(inode); in xfs_ioc_space() local
895 xfs_inode_t *ip, in xfs_ioc_fsgetxattr()
933 struct xfs_inode *ip, in xfs_flags2diflags()
975 struct xfs_inode *ip, in xfs_flags2diflags2()
991 struct xfs_inode *ip) in xfs_diflags_to_linux()
1023 struct xfs_inode *ip, in xfs_ioctl_setattr_xflags()
1083 struct xfs_inode *ip, in xfs_ioctl_setattr_dax_invalidate()
1143 struct xfs_inode *ip, in xfs_ioctl_setattr_get_trans()
[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
497 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_getattr() local
546 struct xfs_inode *ip, in xfs_setattr_mode()
560 struct xfs_inode *ip, in xfs_setattr_time()
599 struct xfs_inode *ip, in xfs_setattr_nonsize()
788 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_nonsize() local
807 struct xfs_inode *ip, in xfs_setattr_size()
998 struct xfs_inode *ip = XFS_I(d_inode(dentry)); in xfs_vn_setattr_size() local
[all …]
Dxfs_iomap.c50 struct xfs_inode *ip, in xfs_bmbt_to_iomap()
76 struct xfs_inode *ip, in xfs_eof_alignment()
116 struct xfs_inode *ip, in xfs_iomap_eof_align_last_fsb()
137 xfs_inode_t *ip, in xfs_alert_fsblock_zero()
154 xfs_inode_t *ip, in xfs_iomap_write_direct()
317 struct xfs_inode *ip, in xfs_quota_need_throttle()
339 struct xfs_inode *ip, in xfs_quota_calc_throttle()
395 struct xfs_inode *ip, in xfs_iomap_prealloc_size()
533 struct xfs_inode *ip = XFS_I(inode); in xfs_file_iomap_begin_delay() local
675 xfs_inode_t *ip, in xfs_iomap_write_allocate()
[all …]
Dxfs_reflink.c198 struct xfs_inode *ip, in xfs_reflink_trim_around_shared()
271 struct xfs_inode *ip, in xfs_reflink_reserve_cow()
331 struct xfs_inode *ip, in xfs_reflink_convert_cow_extent()
356 struct xfs_inode *ip, in xfs_reflink_convert_cow()
390 struct xfs_inode *ip, in __xfs_reflink_allocate_cow()
458 struct xfs_inode *ip, in xfs_reflink_allocate_cow_range()
497 struct xfs_inode *ip, in xfs_reflink_find_cow_mapping()
538 struct xfs_inode *ip, in xfs_reflink_trim_irec_to_next_cow()
583 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks()
664 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range()
[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()
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.c144 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree()
155 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents()
188 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_worst_indlen()
230 struct xfs_inode *ip) in xfs_default_attroffset()
253 xfs_inode_t *ip, in xfs_bmap_forkoff_reset()
356 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_check_leaf_extents()
519 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_trace_exlist()
581 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument
644 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_btree_to_extents()
705 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_extents_to_btree()
[all …]
Dxfs_inode_fork.c85 xfs_inode_t *ip, in xfs_iformat_fork()
278 struct xfs_inode *ip, in xfs_init_local_fork()
330 xfs_inode_t *ip, in xfs_iformat_local()
365 xfs_inode_t *ip, in xfs_iformat_extents()
434 xfs_inode_t *ip, in xfs_iformat_btree()
494 xfs_inode_t *ip, in xfs_iread_extents()
545 xfs_inode_t *ip, in xfs_iroot_realloc()
672 xfs_inode_t *ip, in xfs_idata_realloc()
748 xfs_inode_t *ip, in xfs_idestroy_fork()
813 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.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
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 …]
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()
315 static int lookup_metapath(struct gfs2_inode *ip, struct metapath *mp) in lookup_metapath()
384 static inline void bmap_lock(struct gfs2_inode *ip, int create) in bmap_lock()
392 static inline void bmap_unlock(struct gfs2_inode *ip, int create) in bmap_unlock()
455 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_bmap_alloc() local
607 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_map() local
717 static int do_strip(struct gfs2_inode *ip, struct buffer_head *dibh, in do_strip()
871 static int recursive_scan(struct gfs2_inode *ip, struct buffer_head *dibh, in recursive_scan()
935 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
447 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() local
467 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage()
516 struct gfs2_inode *ip = GFS2_I(page->mapping->host); in __gfs2_readpage() local
546 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_readpage() local
578 int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read()
630 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readpages() local
[all …]
Dglops.c208 struct gfs2_inode *ip = gl->gl_object; in inode_go_sync() local
256 struct gfs2_inode *ip = gl->gl_object; in inode_go_inval() local
322 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in()
389 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh()
417 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() local
455 const struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() local
501 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() local
544 struct gfs2_inode *ip = (struct gfs2_inode *)gl->gl_object; in iopen_go_callback() local
Dinode.c127 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
895 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_link() local
1024 const struct gfs2_inode *ip) in gfs2_unlink_ok()
1062 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_unlink_inode() local
1098 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