Home
last modified time | relevance | path

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

12345

/fs/xfs/
Dxfs_icache.c53 struct xfs_inode *ip; in xfs_inode_alloc() local
93 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() local
100 struct xfs_inode *ip) in xfs_inode_free()
143 struct xfs_inode *ip, in xfs_iget_cache_hit()
283 struct xfs_inode *ip; in xfs_iget_cache_miss() local
397 xfs_inode_t *ip; in xfs_iget() local
468 struct xfs_inode *ip) in xfs_inode_ag_walk_grab()
512 int (*execute)(struct xfs_inode *ip, int flags, in xfs_inode_ag_walk()
556 struct xfs_inode *ip = batch[i]; in xfs_inode_ag_walk() local
640 int (*execute)(struct xfs_inode *ip, int flags, in xfs_inode_ag_iterator()
[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.c49 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size() local
91 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size() local
137 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_size() local
155 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_data_fork() local
254 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_attr_fork() local
341 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format() local
381 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_pin() local
401 struct xfs_inode *ip = INODE_ITEM(lip)->ili_inode; in xfs_inode_item_unpin() local
415 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_push() local
482 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_unlock() local
[all …]
Dxfs_inode.c71 struct xfs_inode *ip) in xfs_get_extsz_hint()
97 struct xfs_inode *ip) in xfs_ilock_data_map_shared()
110 struct xfs_inode *ip) in xfs_ilock_attr_map_shared()
143 xfs_inode_t *ip, in xfs_ilock()
184 xfs_inode_t *ip, in xfs_ilock_nowait()
239 xfs_inode_t *ip, in xfs_iunlock()
273 xfs_inode_t *ip, in xfs_ilock_demote()
290 xfs_inode_t *ip, in xfs_isilocked()
494 struct xfs_inode *ip) in __xfs_iflock()
550 xfs_inode_t *ip) in xfs_ip2xflags()
[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()
96 struct xfs_inode *ip, /* inode */ in xfs_iozero()
146 struct xfs_inode *ip = XFS_I(file->f_mapping->host); in xfs_dir_fsync() local
170 struct xfs_inode *ip = XFS_I(inode); in xfs_file_fsync() local
239 struct xfs_inode *ip = XFS_I(inode); in xfs_file_read_iter() local
332 struct xfs_inode *ip = XFS_I(infilp->f_mapping->host); in xfs_file_splice_read() local
364 struct xfs_inode *ip, in xfs_zero_last_block()
412 struct xfs_inode *ip, in xfs_zero_eof()
[all …]
Dxfs_quota.h38 #define XFS_NOT_DQATTACHED(mp, ip) \ argument
106 xfs_qm_vop_dqalloc(struct xfs_inode *ip, xfs_dqid_t uid, xfs_dqid_t gid, in xfs_qm_vop_dqalloc()
117 #define xfs_trans_mod_dquot_byino(tp, ip, fields, delta) argument
121 struct xfs_inode *ip, long nblks, long ninos, uint flags) in xfs_trans_reserve_quota_nblks()
132 #define xfs_qm_vop_create_dqattach(tp, ip, u, g, p) argument
134 #define xfs_qm_vop_chown(tp, ip, old, new) (NULL) argument
135 #define xfs_qm_vop_chown_reserve(tp, ip, u, g, p, fl) (0) argument
136 #define xfs_qm_dqattach(ip, fl) (0) argument
137 #define xfs_qm_dqattach_locked(ip, fl) (0) argument
138 #define xfs_qm_dqdetach(ip) argument
[all …]
Dxfs_iomap.c51 xfs_inode_t *ip, in xfs_iomap_eof_align_last_fsb()
101 xfs_inode_t *ip, in xfs_alert_fsblock_zero()
118 xfs_inode_t *ip, in xfs_iomap_write_direct()
258 xfs_inode_t *ip, in xfs_iomap_eof_want_preallocate()
331 struct xfs_inode *ip, in xfs_iomap_eof_prealloc_initial_size()
375 struct xfs_inode *ip, in xfs_quota_need_throttle()
397 struct xfs_inode *ip, in xfs_quota_calc_throttle()
442 struct xfs_inode *ip, in xfs_iomap_prealloc_size()
539 xfs_inode_t *ip, in xfs_iomap_write_delay()
654 xfs_inode_t *ip, in xfs_iomap_write_allocate()
[all …]
Dxfs_bmap_util.c55 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db()
258 struct xfs_inode *ip, in xfs_bmap_eof()
399 xfs_inode_t *ip, /* incore inode */ in xfs_bmap_count_blocks()
446 xfs_inode_t *ip, /* xfs incore inode pointer */ in xfs_getbmapx_fix_eof_hole()
494 xfs_inode_t *ip, in xfs_getbmap()
730 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range()
801 xfs_can_free_eofblocks(struct xfs_inode *ip, bool force) in xfs_can_free_eofblocks()
839 xfs_inode_t *ip, in xfs_free_eofblocks()
933 struct xfs_inode *ip, in xfs_alloc_file_space()
1101 xfs_inode_t *ip, in xfs_zero_remaining_bytes()
[all …]
Dxfs_iops.c71 struct xfs_inode *ip = XFS_I(inode); in xfs_initxattrs() local
138 struct xfs_inode *ip = NULL; in xfs_generic_create() local
266 struct xfs_inode *ip; in xfs_vn_ci_lookup() local
438 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_getattr() local
487 struct xfs_inode *ip, in xfs_setattr_mode()
504 struct xfs_inode *ip, in xfs_setattr_time()
530 struct xfs_inode *ip, in xfs_setattr_nonsize()
737 struct xfs_inode *ip, in xfs_setattr_size()
964 struct xfs_inode *ip = XFS_I(dentry->d_inode); in xfs_vn_setattr() local
984 struct xfs_inode *ip = XFS_I(inode); in xfs_vn_update_time() local
[all …]
Dxfs_ioctl.c76 struct xfs_inode *ip; in xfs_find_handle() local
324 xfs_inode_t *ip, in xfs_set_dmattrs()
605 struct xfs_inode *ip, in xfs_ioc_space()
916 xfs_inode_t *ip, in xfs_ioc_fsgetxattr()
954 struct xfs_inode *ip, in xfs_set_diflags()
996 struct xfs_inode *ip) in xfs_diflags_to_linux()
1026 xfs_inode_t *ip, in xfs_ioctl_setattr()
1293 xfs_inode_t *ip, in xfs_ioc_fssetxattr()
1318 xfs_inode_t *ip, in xfs_ioc_getxflags()
1331 xfs_inode_t *ip, in xfs_ioc_setxflags()
[all …]
Dxfs_trans_inode.c42 struct xfs_inode *ip, in xfs_trans_ijoin()
69 struct xfs_inode *ip, in xfs_trans_ichgtime()
106 xfs_inode_t *ip, in xfs_trans_log_inode()
Dxfs_filestream.c38 struct xfs_inode *ip; member
144 struct xfs_inode *ip, in xfs_filestream_pick_ag()
287 struct xfs_inode *ip) in xfs_filestream_get_parent()
317 struct xfs_inode *ip) in xfs_filestream_lookup_ag()
369 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
409 struct xfs_inode *ip) in xfs_filestream_deassociate()
Dxfs_qm.c263 xfs_inode_t *ip, in xfs_qm_dqattach_one()
310 struct xfs_inode *ip) in xfs_qm_need_dqattach()
334 xfs_inode_t *ip, in xfs_qm_dqattach_locked()
383 struct xfs_inode *ip, in xfs_qm_dqattach()
405 xfs_inode_t *ip) in xfs_qm_dqdetach()
718 xfs_inode_t **ip, in xfs_qm_qino_alloc()
1043 struct xfs_inode *ip, in xfs_qm_quotacheck_dqadjust()
1098 xfs_inode_t *ip, in xfs_qm_get_rtblks()
1135 xfs_inode_t *ip; in xfs_qm_dqusage_adjust() local
1633 struct xfs_inode *ip, in xfs_qm_vop_dqalloc()
[all …]
/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 …]
Dxfs_bmap.c141 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree()
151 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents()
183 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_worst_indlen()
213 struct xfs_inode *ip) in xfs_default_attroffset()
236 xfs_inode_t *ip, in xfs_bmap_forkoff_reset()
361 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_check_leaf_extents()
525 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_trace_exlist()
585 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument
691 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_btree_to_extents()
749 xfs_inode_t *ip, /* incore inode pointer */ in xfs_bmap_extents_to_btree()
[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(dentry->d_inode); 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.c59 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() local
156 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
387 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() local
519 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() local
590 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() local
621 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() local
660 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fsync() 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()
596 struct gfs2_inode *dip = GFS2_I(dir), *ip; in gfs2_create_inode() local
900 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_link() local
1029 const struct gfs2_inode *ip) in gfs2_unlink_ok()
[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 …]
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()
607 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readpages() local
643 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_write_begin() local
[all …]
Dglops.c198 struct gfs2_inode *ip = gl->gl_object; in inode_go_sync() local
246 struct gfs2_inode *ip = gl->gl_object; in inode_go_inval() local
318 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in()
385 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh()
413 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() local
451 const struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() local
498 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() local
541 struct gfs2_inode *ip = (struct gfs2_inode *)gl->gl_object; in iopen_go_callback() local
/fs/freevxfs/
Dvxfs_inode.c223 vxfs_iinit(struct inode *ip, struct vxfs_inode_info *vip) in vxfs_iinit()
260 struct inode *ip = NULL; in vxfs_get_fake_inode() local
278 vxfs_put_fake_inode(struct inode *ip) in vxfs_put_fake_inode()
297 struct inode *ip; in vxfs_iget() local
355 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