Home
last modified time | relevance | path

Searched refs:inode (Results 26 – 50 of 2107) sorted by relevance

12345678910>>...85

/openbmc/linux/fs/ext4/
H A Dinode.c1524 struct inode *inode; member
1550 struct inode *inode = mpd->inode; in mpage_release_unused_pages() local
1966 struct inode *inode = mpd->inode; in mpage_process_page_bufs() local
2092 struct inode *inode = mpd->inode; in mpage_map_and_submit_buffers() local
2141 struct inode *inode = mpd->inode; in mpage_map_one_extent() local
2211 struct inode *inode = mpd->inode; in mpage_map_and_submit_extent() local
2336 struct inode *inode = mpd->inode; in mpage_journal_page_buffers() local
2527 struct inode *inode = mpd->inode; in ext4_do_writepages() local
4690 struct inode *inode; in __ext4_iget() local
5016 struct inode *inode; in __ext4_update_other_inode_time() local
[all …]
H A Dxattr.h153 static inline void ext4_write_lock_xattr(struct inode *inode, int *save) in ext4_write_lock_xattr() argument
160 static inline int ext4_write_trylock_xattr(struct inode *inode, int *save) in ext4_write_trylock_xattr() argument
169 static inline void ext4_write_unlock_xattr(struct inode *inode, int *save) in ext4_write_unlock_xattr() argument
181 extern int ext4_xattr_set_credits(struct inode *inode, size_t value_len,
187 extern int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,
194 extern void ext4_evict_ea_inode(struct inode *inode);
200 extern int ext4_xattr_ibody_get(struct inode *inode, int name_index,
203 extern int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
211 extern int ext4_init_security(handle_t *handle, struct inode *inode,
214 static inline int ext4_init_security(handle_t *handle, struct inode *inode, in ext4_init_security() argument
[all …]
H A Dinline.c263 struct inode *inode, unsigned len) in ext4_create_inline_data() argument
419 struct inode *inode) in ext4_destroy_inline_data_nolock() argument
543 struct inode *inode) in ext4_convert_inline_data_to_extent() argument
662 struct inode *inode, in ext4_try_to_write_inline_data() argument
835 struct inode *inode, in ext4_da_convert_inline_data_to_extent() argument
893 struct inode *inode, in ext4_da_write_inline_data_begin() argument
1008 struct inode *inode, in ext4_add_dirent_to_inline() argument
1127 struct inode *inode, in ext4_finish_convert_inline_dir() argument
1172 struct inode *inode, in ext4_convert_inline_data_nolock() argument
1262 struct inode *dir, struct inode *inode) in ext4_try_add_inline_entry() argument
[all …]
H A Dverity.c32 static inline loff_t ext4_verity_metadata_pos(const struct inode *inode) in ext4_verity_metadata_pos() argument
41 static int pagecache_read(struct inode *inode, void *buf, size_t count, in pagecache_read() argument
67 static int pagecache_write(struct inode *inode, const void *buf, size_t count, in pagecache_write() argument
104 struct inode *inode = file_inode(filp); in ext4_begin_enable_verity() local
109 if (IS_DAX(inode) || ext4_test_inode_flag(inode, EXT4_INODE_DAX)) in ext4_begin_enable_verity()
194 struct inode *inode = file_inode(filp); in ext4_end_enable_verity() local
262 truncate_inode_pages(inode->i_mapping, inode->i_size); in ext4_end_enable_verity()
263 ext4_truncate(inode); in ext4_end_enable_verity()
269 static int ext4_get_verity_descriptor_location(struct inode *inode, in ext4_get_verity_descriptor_location() argument
339 static int ext4_get_verity_descriptor(struct inode *inode, void *buf, in ext4_get_verity_descriptor() argument
[all …]
/openbmc/linux/fs/sysv/
H A Dnamei.c19 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir() argument
27 iput(inode); in add_nondir()
33 struct inode * inode = NULL; in sysv_lookup() local
47 struct inode * inode; in sysv_mknod() local
75 struct inode * inode; in sysv_symlink() local
97 iput(inode); in sysv_symlink()
104 struct inode *inode = d_inode(old_dentry); in sysv_link() local
116 struct inode * inode; in sysv_mkdir() local
145 iput(inode); in sysv_mkdir()
153 struct inode * inode = d_inode(dentry); in sysv_unlink() local
[all …]
H A Dinode.c152 void sysv_set_inode(struct inode *inode, dev_t rdev) in sysv_set_inode() argument
167 init_special_inode(inode, inode->i_mode, rdev); in sysv_set_inode()
176 struct inode *inode; in sysv_iget() local
186 if (!inode) in sysv_iget()
189 return inode; in sysv_iget()
216 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in sysv_iget()
222 return inode; in sysv_iget()
261 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) in __sysv_write_inode()
284 int sysv_sync_inode(struct inode *inode) in sysv_sync_inode() argument
289 static void sysv_evict_inode(struct inode *inode) in sysv_evict_inode() argument
[all …]
/openbmc/linux/fs/nilfs2/
H A Dalloc.c26 nilfs_palloc_groups_per_desc_block(const struct inode *inode) in nilfs_palloc_groups_per_desc_block() argument
37 nilfs_palloc_groups_count(const struct inode *inode) in nilfs_palloc_groups_count() argument
260 static int nilfs_palloc_get_desc_block(struct inode *inode, in nilfs_palloc_get_desc_block() argument
499 int nilfs_palloc_prepare_alloc_entry(struct inode *inode, in nilfs_palloc_prepare_alloc_entry() argument
599 void nilfs_palloc_commit_free_entry(struct inode *inode, in nilfs_palloc_commit_free_entry() argument
640 void nilfs_palloc_abort_alloc_entry(struct inode *inode, in nilfs_palloc_abort_alloc_entry() argument
681 int nilfs_palloc_prepare_free_entry(struct inode *inode, in nilfs_palloc_prepare_free_entry() argument
708 void nilfs_palloc_abort_free_entry(struct inode *inode, in nilfs_palloc_abort_free_entry() argument
838 void nilfs_palloc_setup_cache(struct inode *inode, in nilfs_palloc_setup_cache() argument
845 void nilfs_palloc_clear_cache(struct inode *inode) in nilfs_palloc_clear_cache() argument
[all …]
H A Dnamei.c56 struct inode *inode; in nilfs_lookup() local
78 struct inode *inode; in nilfs_create() local
106 struct inode *inode; in nilfs_mknod() local
134 struct inode *inode; in nilfs_symlink() local
180 struct inode *inode = d_inode(old_dentry); in nilfs_link() local
208 struct inode *inode; in nilfs_mkdir() local
261 struct inode *inode; in nilfs_do_unlink() local
279 inode->i_ino, inode->i_nlink); in nilfs_do_unlink()
316 struct inode *inode = d_inode(dentry); in nilfs_rmdir() local
442 struct inode *inode; in nilfs_get_parent() local
[all …]
H A Dmdt.c80 bh = nilfs_grab_buffer(inode, inode->i_mapping, block, 0); in nilfs_mdt_create_block()
390 int nilfs_mdt_fetch_dirty(struct inode *inode) in nilfs_mdt_fetch_dirty() argument
404 struct inode *inode = page->mapping->host; in nilfs_mdt_write_page() local
408 if (inode && sb_rdonly(inode->i_sb)) { in nilfs_mdt_write_page()
472 void nilfs_mdt_clear(struct inode *inode) in nilfs_mdt_clear() argument
481 struct inode *s_inode = shadow->inode; in nilfs_mdt_clear()
493 void nilfs_mdt_destroy(struct inode *inode) in nilfs_mdt_destroy() argument
516 int nilfs_mdt_setup_shadow_map(struct inode *inode, in nilfs_mdt_setup_shadow_map() argument
537 int nilfs_mdt_save_to_shadow_map(struct inode *inode) in nilfs_mdt_save_to_shadow_map() argument
542 struct inode *s_inode = shadow->inode; in nilfs_mdt_save_to_shadow_map()
[all …]
/openbmc/linux/include/linux/
H A Dfs.h1362 const struct inode *inode) in i_uid_into_vfsuid() argument
1380 const struct inode *inode) in i_uid_needs_update() argument
1398 struct inode *inode) in i_uid_update() argument
1414 const struct inode *inode) in i_gid_into_vfsgid() argument
1450 struct inode *inode) in i_gid_update() argument
1763 const struct inode *inode);
2163 struct inode *inode) in HAS_UNMAPPED_ID() argument
2682 struct inode *inode);
3026 struct inode *inode, in blockdev_direct_IO() argument
3223 struct inode *inode; in vma_is_fsdax() local
[all …]
H A Dnfs_fs.h332 static inline struct nfs_fh *NFS_FH(const struct inode *inode) in NFS_FH() argument
364 static inline int NFS_STALE(const struct inode *inode) in NFS_STALE() argument
369 static inline __u64 NFS_FILEID(const struct inode *inode) in NFS_FILEID() argument
379 static inline void nfs_mark_for_revalidate(struct inode *inode) in nfs_mark_for_revalidate() argument
414 extern void nfs_set_inode_stale(struct inode *inode);
429 extern int nfs_attribute_cache_expired(struct inode *inode);
435 extern int nfs_revalidate_mapping_rcu(struct inode *inode);
554 extern void nfs_clear_verifier_delegated(struct inode *inode);
561 extern void nfs_access_zap_cache(struct inode *inode);
608 extern int nfs_sync_inode(struct inode *inode);
[all …]
/openbmc/linux/fs/fat/
H A Dfile.c37 struct inode *inode = file_inode(file); in fat_ioctl_set_attributes() local
158 struct inode *inode = file_inode(filp); in fat_generic_ioctl() local
179 fat_flush_inodes(inode->i_sb, inode, NULL); in fat_file_release()
188 struct inode *inode = filp->f_mapping->host; in fat_file_fsync() local
266 struct inode *inode = file->f_mapping->host; in fat_fallocate() local
310 static int fat_free(struct inode *inode, int skip) in fat_free() argument
395 fat_flush_inodes(inode->i_sb, inode, NULL); in fat_truncate_blocks()
401 struct inode *inode = d_inode(path->dentry); in fat_getattr() local
422 struct inode *inode, umode_t *mode_ptr) in fat_sanitize_mode() argument
460 struct msdos_sb_info *sbi, struct inode *inode) in fat_allow_set_time() argument
[all …]
H A Dcache.c32 static inline int fat_max_cache(struct inode *inode) in fat_max_cache() argument
62 static inline struct fat_cache *fat_cache_alloc(struct inode *inode) in fat_cache_alloc() argument
73 static inline void fat_cache_update_lru(struct inode *inode, in fat_cache_update_lru() argument
80 static int fat_cache_lookup(struct inode *inode, int fclus, in fat_cache_lookup() argument
117 static struct fat_cache *fat_cache_merge(struct inode *inode, in fat_cache_merge() argument
148 if (MSDOS_I(inode)->nr_caches < fat_max_cache(inode)) { in fat_cache_add()
186 static void __fat_cache_inval_inode(struct inode *inode) in __fat_cache_inval_inode() argument
204 void fat_cache_inval_inode(struct inode *inode) in fat_cache_inval_inode() argument
291 static int fat_bmap_cluster(struct inode *inode, int cluster) in fat_bmap_cluster() argument
310 int fat_get_mapped_cluster(struct inode *inode, sector_t sector, in fat_get_mapped_cluster() argument
[all …]
/openbmc/linux/fs/jfs/
H A Dinode.c26 struct inode *inode; in jfs_iget() local
30 if (!inode) in jfs_iget()
55 inode->i_link = JFS_IP(inode)->i_inline; in jfs_iget()
60 inode->i_link[inode->i_size] = '\0'; in jfs_iget()
64 init_special_inode(inode, inode->i_mode, inode->i_rdev); in jfs_iget()
73 int jfs_commit_inode(struct inode *inode, int wait) in jfs_commit_inode() argument
139 void jfs_evict_inode(struct inode *inode) in jfs_evict_inode() argument
145 if (!inode->i_nlink && !is_bad_inode(inode)) { in jfs_evict_inode()
285 struct inode *inode = mapping->host; in jfs_write_failed() local
288 truncate_pagecache(inode, inode->i_size); in jfs_write_failed()
[all …]
/openbmc/linux/fs/nfs/
H A Ddelegation.h19 struct inode *inode; member
42 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred,
46 int nfs4_inode_return_delegation(struct inode *inode);
47 void nfs4_inode_return_delegation_on_close(struct inode *inode);
49 void nfs_inode_evict_delegation(struct inode *inode);
77 int nfs4_have_delegation(struct inode *inode, fmode_t flags);
78 int nfs4_check_delegation(struct inode *inode, fmode_t flags);
79 bool nfs4_delegation_flush_on_close(const struct inode *inode);
82 int nfs4_inode_make_writeable(struct inode *inode);
86 static inline int nfs_have_delegated_attributes(struct inode *inode) in nfs_have_delegated_attributes() argument
[all …]
/openbmc/linux/fs/reiserfs/
H A Dxattr.h8 struct inode;
17 int reiserfs_delete_xattrs(struct inode *inode);
18 int reiserfs_chown_xattrs(struct inode *inode, struct iattr *attrs);
20 struct inode *inode, int mask);
23 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir) argument
36 int reiserfs_security_init(struct inode *dir, struct inode *inode,
40 struct inode *inode,
86 static inline void reiserfs_init_xattr_rwsem(struct inode *inode) in reiserfs_init_xattr_rwsem() argument
95 static inline void reiserfs_init_xattr_rwsem(struct inode *inode) in reiserfs_init_xattr_rwsem() argument
102 struct inode *inode, in reiserfs_security_init() argument
[all …]
H A Dfile.c32 static int reiserfs_file_release(struct inode *inode, struct file *filp) in reiserfs_file_release() argument
39 BUG_ON(!S_ISREG(inode->i_mode)); in reiserfs_file_release()
53 reiserfs_write_lock(inode->i_sb); in reiserfs_file_release()
80 igrab(inode); in reiserfs_file_release()
84 inode->i_ino); in reiserfs_file_release()
117 static int reiserfs_file_open(struct inode *inode, struct file *file) in reiserfs_file_open() argument
130 void reiserfs_vfs_truncate_file(struct inode *inode) in reiserfs_vfs_truncate_file() argument
147 struct inode *inode = filp->f_mapping->host; in reiserfs_sync_file() local
155 inode_lock(inode); in reiserfs_sync_file()
163 inode_unlock(inode); in reiserfs_sync_file()
[all …]
/openbmc/linux/fs/hfs/
H A Dextent.c135 int hfs_ext_write_extent(struct inode *inode) in hfs_ext_write_extent() argument
191 static int hfs_ext_read_extent(struct inode *inode, u16 block) in hfs_ext_read_extent() argument
336 int hfs_get_block(struct inode *inode, sector_t block, in hfs_get_block() argument
391 int hfs_extend_file(struct inode *inode) in hfs_extend_file() argument
469 HFS_I(inode)->cached_start = HFS_I(inode)->alloc_blocks; in hfs_extend_file()
476 void hfs_file_truncate(struct inode *inode) in hfs_file_truncate() argument
485 inode->i_ino, (long long)HFS_I(inode)->phys_size, in hfs_file_truncate()
487 if (inode->i_size > HFS_I(inode)->phys_size) { in hfs_file_truncate()
501 inode->i_size = HFS_I(inode)->phys_size; in hfs_file_truncate()
503 } else if (inode->i_size == HFS_I(inode)->phys_size) in hfs_file_truncate()
[all …]
/openbmc/linux/fs/erofs/
H A Dinode.c12 struct inode *inode, unsigned int *ofs) in erofs_read_inode() argument
178 inode->i_mtime = inode->i_atime = inode_get_ctime(inode); in erofs_read_inode()
213 inode->i_size >= bsz || inode->i_size < 0) { in erofs_fill_symlink()
240 static int erofs_fill_inode(struct inode *inode) in erofs_fill_inode() argument
280 init_special_inode(inode, inode->i_mode, inode->i_rdev); in erofs_fill_inode()
324 static int erofs_iget5_eq(struct inode *inode, void *opaque) in erofs_iget5_eq() argument
329 static int erofs_iget5_set(struct inode *inode, void *opaque) in erofs_iget5_set() argument
340 struct inode *inode; in erofs_iget() local
344 if (!inode) in erofs_iget()
356 return inode; in erofs_iget()
[all …]
/openbmc/linux/fs/
H A Dfs-writeback.c372 static bool inode_do_switch_wbs(struct inode *inode, in inode_do_switch_wbs() argument
619 struct inode *inode; in isw_prepare_wbs_switch() local
711 struct inode *inode) in wbc_attach_and_unlock_inode() argument
719 wbc->inode = inode; in wbc_attach_and_unlock_inode()
783 struct inode *inode = wbc->inode; in wbc_detach_inode() local
1257 void inode_io_list_del(struct inode *inode) in inode_io_list_del() argument
1394 struct inode *inode; in move_expired_inodes() local
1842 struct inode *inode = wb_inode(wb->b_io.prev); in writeback_sb_inodes() local
1975 struct inode *inode = wb_inode(wb->b_io.prev); in __writeback_inodes_wb() local
2044 struct inode *inode; in wb_writeback() local
[all …]
H A Dattr.c38 const struct inode *inode) in setattr_should_drop_sgid() argument
46 if (!in_group_or_capable(idmap, inode, i_gid_into_vfsgid(idmap, inode))) in setattr_should_drop_sgid()
68 struct inode *inode) in setattr_should_drop_suidgid() argument
99 const struct inode *inode, vfsuid_t ia_vfsuid) in chown_ok() argument
126 const struct inode *inode, vfsgid_t ia_vfsgid) in chgrp_ok() argument
168 struct inode *inode = d_inode(dentry); in setattr_prepare() local
248 int inode_newsize_ok(const struct inode *inode, loff_t offset) in inode_newsize_ok() argument
303 void setattr_copy(struct mnt_idmap *idmap, struct inode *inode, in setattr_copy() argument
326 int may_setattr(struct mnt_idmap *idmap, struct inode *inode, in may_setattr() argument
332 if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) in may_setattr()
[all …]
/openbmc/linux/fs/exfat/
H A Dinode.c20 int __exfat_write_inode(struct inode *inode, int sync) in __exfat_write_inode() argument
100 void exfat_sync_inode(struct inode *inode) in exfat_sync_inode() argument
354 struct inode *inode = mapping->host; in exfat_write_failed() local
357 truncate_pagecache(inode, i_size_read(inode)); in exfat_write_failed()
358 inode->i_mtime = inode_set_ctime_current(inode); in exfat_write_failed()
384 struct inode *inode = mapping->host; in exfat_write_end() local
412 struct inode *inode = mapping->host; in exfat_direct_IO() local
493 void exfat_unhash_inode(struct inode *inode) in exfat_unhash_inode() argument
508 struct inode *inode = NULL; in exfat_iget() local
590 struct inode *inode; in exfat_build_inode() local
[all …]
/openbmc/linux/fs/zonefs/
H A Dfile.c128 struct inode *inode, loff_t offset) in zonefs_write_map_blocks() argument
162 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate() local
260 struct inode *inode = file_inode(file); in zonefs_file_fsync() local
347 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_dio_end_io() local
390 struct inode *inode = file_inode(file); in zonefs_write_check_limits() local
415 struct inode *inode = file_inode(file); in zonefs_write_checks() local
458 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_dio_write() local
544 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_buffered_write() local
579 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_write_iter() local
619 struct inode *inode = file_inode(iocb->ki_filp); in zonefs_file_read_iter() local
[all …]
/openbmc/linux/fs/ufs/
H A Dinode.c489 struct inode *inode = mapping->host; in ufs_write_failed() local
492 truncate_pagecache(inode, inode->i_size); in ufs_write_failed()
557 init_special_inode(inode, inode->i_mode, in ufs_set_inode_ops()
659 struct inode *inode; in ufs_iget() local
845 int ufs_sync_inode (struct inode *inode) in ufs_sync_inode() argument
850 void ufs_evict_inode(struct inode * inode) in ufs_evict_inode() argument
875 struct inode *inode; member
899 struct to_free ctx = {.inode = inode}; in ufs_trunc_direct()
998 struct to_free ctx = {.inode = inode}; in free_full_branch()
1032 struct to_free ctx = {.inode = inode}; in free_branch_tail()
[all …]
/openbmc/linux/fs/affs/
H A Dfile.c24 affs_file_open(struct inode *inode, struct file *filp) in affs_file_open() argument
40 if (inode->i_size != AFFS_I(inode)->mmu_private) in affs_file_release()
95 AFFS_I(inode)->i_lc[0] = inode->i_ino; in affs_grow_extcache()
387 struct inode *inode = mapping->host; in affs_write_failed() local
400 struct inode *inode = mapping->host; in affs_direct_IO() local
438 struct inode *inode = mapping->host; in affs_write_end() local
653 struct inode *inode = mapping->host; in affs_write_begin_ofs() local
693 struct inode *inode = mapping->host; in affs_write_end_ofs() local
849 affs_free_prealloc(struct inode *inode) in affs_free_prealloc() argument
864 affs_truncate(struct inode *inode) in affs_truncate() argument
[all …]

12345678910>>...85