/linux-master/fs/ext4/ |
H A D | xattr_hurd.c | 23 struct dentry *unused, struct inode *inode, 26 if (!test_opt(inode->i_sb, XATTR_USER)) 29 return ext4_xattr_get(inode, EXT4_XATTR_INDEX_HURD, 36 struct dentry *unused, struct inode *inode, 40 if (!test_opt(inode->i_sb, XATTR_USER)) 43 return ext4_xattr_set(inode, EXT4_XATTR_INDEX_HURD, 22 ext4_xattr_hurd_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument 34 ext4_xattr_hurd_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
|
/linux-master/fs/sysv/ |
H A D | file.c | 35 struct inode *inode = d_inode(dentry); local 43 attr->ia_size != i_size_read(inode)) { 44 error = inode_newsize_ok(inode, attr->ia_size); 47 truncate_setsize(inode, attr->ia_size); 48 sysv_truncate(inode); 51 setattr_copy(&nop_mnt_idmap, inode, attr); 52 mark_inode_dirty(inode);
|
/linux-master/fs/minix/ |
H A D | file.c | 28 struct inode *inode = d_inode(dentry); local 36 attr->ia_size != i_size_read(inode)) { 37 error = inode_newsize_ok(inode, attr->ia_size); 41 truncate_setsize(inode, attr->ia_size); 42 minix_truncate(inode); 45 setattr_copy(&nop_mnt_idmap, inode, attr); 46 mark_inode_dirty(inode);
|
/linux-master/fs/jfs/ |
H A D | acl.c | 17 struct posix_acl *jfs_get_acl(struct inode *inode, int type, bool rcu) argument 38 size = __jfs_getxattr(inode, ea_name, NULL, 0); 44 size = __jfs_getxattr(inode, ea_name, value, size); 59 static int __jfs_set_acl(tid_t tid, struct inode *inode, int type, argument 87 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0); 92 set_cached_acl(inode, type, acl); 103 struct inode *inode local 130 jfs_init_acl(tid_t tid, struct inode *inode, struct inode *dir) argument [all...] |
H A D | jfs_extent.h | 8 /* get block allocation hint as location of disk inode */ 12 extern int extAlloc(struct inode *, s64, s64, xad_t *, bool); 13 extern int extHint(struct inode *, s64, xad_t *); 14 extern int extRecord(struct inode *, xad_t *);
|
H A D | jfs_inode.h | 10 extern struct inode *ialloc(struct inode *, umode_t); 16 extern struct inode *jfs_iget(struct super_block *, unsigned long); 17 extern int jfs_commit_inode(struct inode *, int); 18 extern int jfs_write_inode(struct inode *, struct writeback_control *); 19 extern void jfs_evict_inode(struct inode *); 20 extern void jfs_dirty_inode(struct inode *, int); 21 extern void jfs_truncate(struct inode *); 22 extern void jfs_truncate_nolock(struct inode *, loff_t); 23 extern void jfs_free_zero_link(struct inode *); [all...] |
/linux-master/fs/btrfs/ |
H A D | delalloc-space.h | 12 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes); 13 int btrfs_check_data_free_space(struct btrfs_inode *inode, 16 void btrfs_free_reserved_data_space(struct btrfs_inode *inode, 18 void btrfs_delalloc_release_space(struct btrfs_inode *inode, 23 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, 25 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode, 27 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes, 29 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes);
|
/linux-master/fs/cramfs/ |
H A D | Makefile | 8 cramfs-objs := inode.o uncompress.o
|
/linux-master/fs/debugfs/ |
H A D | Makefile | 2 debugfs-objs := inode.o file.o
|
/linux-master/fs/ocfs2/ |
H A D | sysfile.h | 13 struct inode * ocfs2_get_system_file_inode(struct ocfs2_super *osb,
|
/linux-master/fs/fat/ |
H A D | file.c | 24 static int fat_ioctl_get_attributes(struct inode *inode, u32 __user *user_attr) argument 28 inode_lock_shared(inode); 29 attr = fat_make_attrs(inode); 30 inode_unlock_shared(inode); 37 struct inode *inode = file_inode(file); local 38 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); 39 int is_dir = S_ISDIR(inode->i_mode); 51 inode_lock(inode); 120 fat_ioctl_get_volume_id(struct inode *inode, u32 __user *user_attr) argument 126 fat_ioctl_fitrim(struct inode *inode, unsigned long arg) argument 158 struct inode *inode = file_inode(filp); local 175 fat_file_release(struct inode *inode, struct file *filp) argument 188 struct inode *inode = filp->f_mapping->host; local 217 fat_cont_expand(struct inode *inode, loff_t size) argument 266 struct inode *inode = file->f_mapping->host; local 310 fat_free(struct inode *inode, int skip) argument 379 fat_truncate_blocks(struct inode *inode, loff_t offset) argument 401 struct inode *inode = d_inode(path->dentry); local 421 fat_sanitize_mode(const struct msdos_sb_info *sbi, struct inode *inode, umode_t *mode_ptr) argument 459 fat_allow_set_time(struct mnt_idmap *idmap, struct msdos_sb_info *sbi, struct inode *inode) argument 484 struct inode *inode = d_inode(dentry); local [all...] |
/linux-master/fs/ |
H A D | fs-writeback.c | 10 * inode itself is not handled here. 13 * Split out of fs/inode.c 59 * If an inode is constantly having its pages dirtied, but then the 61 * possible for the worst case time between when an inode has its 70 static inline struct inode *wb_inode(struct list_head *head) 72 return list_entry(head, struct inode, i_io_list); 109 * inode_io_list_move_locked - move an inode onto a bdi_writeback IO list 110 * @inode: inode to be moved 114 * Move @inode 118 inode_io_list_move_locked(struct inode *inode, struct bdi_writeback *wb, struct list_head *head) argument 265 __inode_attach_wb(struct inode *inode, struct folio *folio) argument 304 inode_cgwb_move_to_attached(struct inode *inode, struct bdi_writeback *wb) argument 397 inode_do_switch_wbs(struct inode *inode, struct bdi_writeback *old_wb, struct bdi_writeback *new_wb) argument 548 inode_prepare_wbs_switch(struct inode *inode, struct bdi_writeback *new_wb) argument 585 inode_switch_wbs(struct inode *inode, int new_wb_id) argument 644 struct inode *inode; local 735 wbc_attach_and_unlock_inode(struct writeback_control *wbc, struct inode *inode) argument 808 struct inode *inode = wbc->inode; local 1176 inode_cgwb_move_to_attached(struct inode *inode, struct bdi_writeback *wb) argument 1282 inode_io_list_del(struct inode *inode) argument 1301 sb_mark_inode_writeback(struct inode *inode) argument 1319 sb_clear_inode_writeback(struct inode *inode) argument 1343 redirty_tail_locked(struct inode *inode, struct bdi_writeback *wb) argument 1368 redirty_tail(struct inode *inode, struct bdi_writeback *wb) argument 1378 requeue_io(struct inode *inode, struct bdi_writeback *wb) argument 1383 inode_sync_complete(struct inode *inode) argument 1393 inode_dirtied_after(struct inode *inode, unsigned long t) argument 1419 struct inode *inode; local 1492 write_inode(struct inode *inode, struct writeback_control *wbc) argument 1528 inode_wait_for_writeback(struct inode *inode) argument 1563 requeue_inode(struct inode *inode, struct bdi_writeback *wb, struct writeback_control *wbc) argument 1639 __writeback_single_inode(struct inode *inode, struct writeback_control *wbc) argument 1733 writeback_single_inode(struct inode *inode, struct writeback_control *wbc) argument 1867 struct inode *inode = wb_inode(wb->b_io.prev); local 2000 struct inode *inode = wb_inode(wb->b_io.prev); local 2069 struct inode *inode; local 2445 __mark_inode_dirty(struct inode *inode, int flags) argument 2626 struct inode *inode = list_first_entry(&sync_list, struct inode, local 2800 write_inode_now(struct inode *inode, int sync) argument 2826 sync_inode_metadata(struct inode *inode, int wait) argument [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_iops.h | 19 int xfs_inode_init_security(struct inode *inode, struct inode *dir,
|
/linux-master/fs/hfsplus/ |
H A D | inode.c | 3 * linux/fs/hfsplus/inode.c 33 struct inode *inode = mapping->host; local 35 if (to > inode->i_size) { 36 truncate_pagecache(inode, inode->i_size); 37 hfsplus_file_truncate(inode); 63 struct inode *inode = folio->mapping->host; local 64 struct super_block *sb = inode 126 struct inode *inode = mapping->host; local 182 hfsplus_get_perms(struct inode *inode, struct hfsplus_perm *perms, int dir) argument 216 hfsplus_file_open(struct inode *inode, struct file *file) argument 226 hfsplus_file_release(struct inode *inode, struct file *file) argument 248 struct inode *inode = d_inode(dentry); local 279 struct inode *inode = d_inode(path->dentry); local 304 struct inode *inode = file->f_mapping->host; local 382 struct inode *inode = new_inode(sb); local 437 hfsplus_delete_inode(struct inode *inode) argument 459 hfsplus_inode_read_fork(struct inode *inode, struct hfsplus_fork_raw *fork) argument 489 hfsplus_inode_write_fork(struct inode *inode, struct hfsplus_fork_raw *fork) argument 498 hfsplus_cat_read_inode(struct inode *inode, struct hfs_find_data *fd) argument 577 hfsplus_cat_write_inode(struct inode *inode) argument 660 struct inode *inode = d_inode(dentry); local 679 struct inode *inode = d_inode(dentry); local [all...] |
/linux-master/fs/hpfs/ |
H A D | file.c | 17 static int hpfs_file_release(struct inode *inode, struct file *file) argument 19 hpfs_lock(inode->i_sb); 20 hpfs_write_if_changed(inode); 21 hpfs_unlock(inode->i_sb); 27 struct inode *inode = file->f_mapping->host; local 33 return sync_blockdev(inode->i_sb->s_bdev); 41 static secno hpfs_bmap(struct inode *inode, unsigne argument 79 hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 120 hpfs_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 179 struct inode *inode = mapping->host; local 211 struct inode *inode = mapping->host; local 230 hpfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) argument [all...] |
/linux-master/fs/nilfs2/ |
H A D | mdt.c | 30 nilfs_mdt_insert_new_block(struct inode *inode, unsigned long block, argument 32 void (*init_block)(struct inode *, 35 struct nilfs_inode_info *ii = NILFS_I(inode); 51 memset(kaddr + bh_offset(bh), 0, i_blocksize(inode)); 53 init_block(inode, bh, kaddr); 59 nilfs_mdt_mark_dirty(inode); 61 trace_nilfs2_mdt_insert_new_block(inode, inode->i_ino, block); 66 static int nilfs_mdt_create_block(struct inode *inod argument 114 nilfs_mdt_submit_block(struct inode *inode, unsigned long blkoff, blk_opf_t opf, struct buffer_head **out_bh) argument 168 nilfs_mdt_read_block(struct inode *inode, unsigned long block, int readahead, struct buffer_head **out_bh) argument 242 nilfs_mdt_get_block(struct inode *inode, unsigned long blkoff, int create, void (*init_block)(struct inode *, struct buffer_head *, void *), struct buffer_head **out_bh) argument 285 nilfs_mdt_find_block(struct inode *inode, unsigned long start, unsigned long end, unsigned long *blkoff, struct buffer_head **out_bh) argument 329 nilfs_mdt_delete_block(struct inode *inode, unsigned long block) argument 357 nilfs_mdt_forget_block(struct inode *inode, unsigned long block) argument 388 nilfs_mdt_fetch_dirty(struct inode *inode) argument 403 struct inode *inode = folio->mapping->host; local 446 nilfs_mdt_init(struct inode *inode, gfp_t gfp_mask, size_t objsz) argument 471 nilfs_mdt_clear(struct inode *inode) argument 492 nilfs_mdt_destroy(struct inode *inode) argument 500 nilfs_mdt_set_entry_size(struct inode *inode, unsigned int entry_size, unsigned int header_size) argument 515 nilfs_mdt_setup_shadow_map(struct inode *inode, struct nilfs_shadow_map *shadow) argument 536 nilfs_mdt_save_to_shadow_map(struct inode *inode) argument 558 nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh) argument 592 nilfs_mdt_get_frozen_buffer(struct inode *inode, struct buffer_head *bh) argument 630 nilfs_mdt_restore_from_shadow_map(struct inode *inode) argument 657 nilfs_mdt_clear_shadow_map(struct inode *inode) argument [all...] |
H A D | gcinode.c | 39 * @inode - gc inode 58 int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff, argument 65 bh = nilfs_grab_buffer(inode, inode->i_mapping, blkoff, 0); 73 struct the_nilfs *nilfs = inode->i_sb->s_fs_info; 87 bh->b_bdev = inode->i_sb->s_bdev; 110 * @inode - gc inode 126 nilfs_gccache_submit_read_node(struct inode *inode, sector_t pbn, __u64 vbn, struct buffer_head **out_bh) argument 143 struct inode *inode = bh->b_folio->mapping->host; local 162 nilfs_init_gcinode(struct inode *inode) argument [all...] |
H A D | namei.c | 35 static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode) argument 37 int err = nilfs_add_link(dentry, inode); 40 d_instantiate_new(dentry, inode); 43 inode_dec_link_count(inode); 44 unlock_new_inode(inode); 45 iput(inode); 54 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) 56 struct inode *inode; local 78 struct inode *inode; local 106 struct inode *inode; local 134 struct inode *inode; local 180 struct inode *inode = d_inode(old_dentry); local 208 struct inode *inode; local 261 struct inode *inode; local 317 struct inode *inode = d_inode(dentry); local 459 struct inode *inode; local 505 nilfs_encode_fh(struct inode *inode, __u32 *fh, int *lenp, struct inode *parent) argument [all...] |
/linux-master/fs/efs/ |
H A D | namei.c | 16 static efs_ino_t efs_find_entry(struct inode *inode, const char *name, int len) argument 27 if (inode->i_size & (EFS_DIRBSIZE-1)) 31 for(block = 0; block < inode->i_blocks; block++) { 33 bh = sb_bread(inode->i_sb, efs_bmap(inode, block)); 55 inodenum = be32_to_cpu(dirslot->inode); 65 struct dentry *efs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) 68 struct inode *inode local 80 struct inode *inode; local [all...] |
/linux-master/fs/reiserfs/ |
H A D | xattr_security.c | 14 struct inode *inode, const char *name, void *buffer, size_t size) 16 if (IS_PRIVATE(inode)) 19 return reiserfs_xattr_get(inode, xattr_full_name(handler, name), 26 struct inode *inode, const char *name, const void *buffer, 29 if (IS_PRIVATE(inode)) 32 return reiserfs_xattr_set(inode, 43 reiserfs_initxattrs(struct inode *inode, cons argument 13 security_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument 24 security_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument 61 reiserfs_security_init(struct inode *dir, struct inode *inode, const struct qstr *qstr, struct reiserfs_security_handle *sec) argument 95 reiserfs_security_write(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_security_handle *sec) argument [all...] |
/linux-master/fs/zonefs/ |
H A D | zonefs.h | 50 * In-memory per-file inode zone data. 68 /* Saved inode uid, gid and access rights */ 79 struct inode *g_inode; 85 * In-memory inode data. 88 struct inode i_vnode; 96 * and changes to the inode private data, and in particular changes to 109 static inline struct zonefs_inode_info *ZONEFS_I(struct inode *inode) argument 111 return container_of(inode, struct zonefs_inode_info, i_vnode); 124 static inline struct zonefs_zone *zonefs_inode_zone(struct inode *inod argument 129 zonefs_inode_is_cnv(struct inode *inode) argument 134 zonefs_inode_is_seq(struct inode *inode) argument 265 zonefs_io_error(struct inode *inode, bool write) argument [all...] |
/linux-master/fs/ubifs/ |
H A D | ioctl.c | 30 * ubifs_set_inode_flags - set VFS inode flags. 31 * @inode: VFS inode to set flags for 33 * This function propagates flags from UBIFS inode object to VFS inode object. 35 void ubifs_set_inode_flags(struct inode *inode) argument 37 unsigned int flags = ubifs_inode(inode)->flags; 39 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_DIRSYNC | 42 inode 105 setflags(struct inode *inode, int flags) argument 135 struct inode *inode = d_inode(dentry); local 150 struct inode *inode = d_inode(dentry); local 174 struct inode *inode = file_inode(file); local [all...] |
/linux-master/fs/ext2/ |
H A D | xattr.h | 67 extern int ext2_xattr_get(struct inode *, int, const char *, void *, size_t); 68 extern int ext2_xattr_set(struct inode *, int, const char *, const void *, size_t, int); 70 extern void ext2_xattr_delete_inode(struct inode *); 80 ext2_xattr_get(struct inode *inode, int name_index, argument 87 ext2_xattr_set(struct inode *inode, int name_index, const char *name, argument 94 ext2_xattr_delete_inode(struct inode *inode) argument 108 extern int ext2_init_security(struct inode *inod 111 ext2_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument [all...] |
/linux-master/fs/udf/ |
H A D | inode.c | 3 * inode.c 54 static int udf_update_inode(struct inode *, int); 55 static int udf_sync_inode(struct inode *inode); 56 static int udf_alloc_i_data(struct inode *inode, size_t size); 57 static int inode_getblk(struct inode *inode, struct udf_map_rq *map); 58 static int udf_insert_aext(struct inode *, struct extent_position, 60 static void udf_split_extents(struct inode *, in 70 __udf_clear_extent_cache(struct inode *inode) argument 81 udf_clear_extent_cache(struct inode *inode) argument 91 udf_read_extent_cache(struct inode *inode, loff_t bcount, loff_t *lbcount, struct extent_position *pos) argument 113 udf_update_extent_cache(struct inode *inode, loff_t estart, struct extent_position *pos) argument 136 udf_evict_inode(struct inode *inode) argument 169 struct inode *inode = mapping->host; local 187 struct inode *inode = folio->mapping->host; local 203 struct inode *inode = mapping->host; local 213 struct inode *inode = page->mapping->host; local 282 struct inode *inode = file_inode(file); local 302 struct inode *inode = mapping->host; local 342 udf_expand_file_adinicb(struct inode *inode) argument 408 udf_map_block(struct inode *inode, struct udf_map_rq *map) argument 449 __udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int flags) argument 469 udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument 491 udf_get_block_wb(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument 500 udf_do_extend_file(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, loff_t new_block_bytes) argument 612 udf_do_extend_final_block(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, uint32_t new_elen) argument 633 udf_extend_file(struct inode *inode, loff_t newsize) argument 705 inode_getblk(struct inode *inode, struct udf_map_rq *map) argument 925 udf_split_extents(struct inode *inode, int *c, int offset, udf_pblk_t newblocknum, struct kernel_long_ad *laarr, int *endnum) argument 989 udf_prealloc_extents(struct inode *inode, int c, int lastblock, struct kernel_long_ad *laarr, int *endnum) argument 1085 udf_merge_extents(struct inode *inode, struct kernel_long_ad *laarr, int *endnum) argument 1169 udf_update_extents(struct inode *inode, struct kernel_long_ad *laarr, int startnum, int endnum, struct extent_position *epos) argument 1207 udf_bread(struct inode *inode, udf_pblk_t block, int create, int *err) argument 1242 udf_setsize(struct inode *inode, loff_t newsize) argument 1316 udf_read_inode(struct inode *inode, bool hidden_inode) argument 1636 udf_alloc_i_data(struct inode *inode, size_t size) argument 1664 udf_update_extra_perms(struct inode *inode, umode_t mode) argument 1681 udf_write_inode(struct inode *inode, struct writeback_control *wbc) argument 1686 udf_sync_inode(struct inode *inode) argument 1699 udf_update_inode(struct inode *inode, int do_sync) argument 1930 struct inode *inode = iget_locked(sb, block); local 1955 udf_setup_indirect_aext(struct inode *inode, udf_pblk_t block, struct extent_position *epos) argument 2033 __udf_add_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) argument 2082 udf_add_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) argument 2113 udf_write_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) argument 2171 udf_next_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t *elen, int inc) argument 2202 udf_current_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t *elen, int inc) argument 2256 udf_insert_aext(struct inode *inode, struct extent_position epos, struct kernel_lb_addr neloc, uint32_t nelen) argument 2278 udf_delete_aext(struct inode *inode, struct extent_position epos) argument 2362 inode_bmap(struct inode *inode, sector_t block, struct extent_position *pos, struct kernel_lb_addr *eloc, uint32_t *elen, sector_t *offset) argument [all...] |
/linux-master/fs/hfs/ |
H A D | dir.c | 20 static struct dentry *hfs_lookup(struct inode *dir, struct dentry *dentry, 25 struct inode *inode = NULL; local 35 inode = ERR_PTR(res); 37 inode = hfs_iget(dir->i_sb, &fd.search_key->cat, &rec); 38 if (!inode) 39 inode = ERR_PTR(-EACCES); 42 return d_splice_alias(inode, dentry); 50 struct inode *inode local 172 hfs_dir_release(struct inode *inode, struct file *file) argument 195 struct inode *inode; local 225 struct inode *inode; local 257 struct inode *inode = d_inode(dentry); local [all...] |