Home
last modified time | relevance | path

Searched refs:inode (Results 201 - 225 of 3948) sorted by relevance

12345678910>>...158

/kernel/linux/linux-6.6/fs/ubifs/
H A Dxattr.c20 * directories. Indeed, any inode (but of course not xattr inodes) may have a
23 * attribute, the host inode number, and the extended attribute inode number.
24 * Similarly, direntries store the name, the parent and the target inode
30 * attributes associated with an inode (%XATTR_LIST_MAX), so UBIFS makes sure
31 * the sum of all extended attribute names of the inode does not exceed that
40 * in the VFS inode cache. The xentries are cached in the LNC cache (see
70 * @host: host inode
76 * and value @value for inode @host. The host inode i
85 struct inode *inode; create_xattr() local
190 change_xattr(struct ubifs_info *c, struct inode *host, struct inode *inode, const void *value, int size) change_xattr() argument
248 struct inode *inode; iget_xattr() local
266 struct inode *inode; ubifs_xattr_set() local
329 struct inode *inode; ubifs_xattr_get() local
461 remove_xattr(struct ubifs_info *c, struct inode *host, struct inode *inode, const struct fscrypt_name *nm) remove_xattr() argument
586 struct inode *inode; ubifs_evict_xattr_inode() local
597 struct inode *inode; ubifs_xattr_remove() local
644 init_xattrs(struct inode *inode, const struct xattr *xattr_array, void *fs_info) init_xattrs() argument
674 ubifs_init_security(struct inode *dentry, struct inode *inode, const struct qstr *qstr) ubifs_init_security() argument
690 xattr_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) xattr_get() argument
701 xattr_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *value, size_t size, int flags) xattr_set() argument
[all...]
H A Dfile.c12 * This file implements VFS file and inode operations for regular files, device
26 * A thing to keep in mind: inode @i_mutex is locked in most VFS operations we
45 static int read_block(struct inode *inode, void *addr, unsigned int block, in read_block() argument
48 struct ubifs_info *c = inode->i_sb->s_fs_info; in read_block()
53 data_key_init(c, &key, inode->i_ino, block); in read_block()
63 ubifs_inode(inode)->creat_sqnum); in read_block()
70 if (IS_ENCRYPTED(inode)) { in read_block()
71 err = ubifs_decrypt(inode, dn, &dlen, block); in read_block()
93 ubifs_err(c, "bad data node (block %u, inode in read_block()
105 struct inode *inode = page->mapping->host; do_readpage() local
220 struct inode *inode = mapping->host; write_begin_slow() local
421 struct inode *inode = mapping->host; ubifs_write_begin() local
531 struct inode *inode = mapping->host; ubifs_write_end() local
604 struct inode *inode = page->mapping->host; populate_page() local
716 struct inode *inode = mapping->host; ubifs_do_bulk_read() local
823 struct inode *inode = page->mapping->host; ubifs_bulk_read() local
904 struct inode *inode = page->mapping->host; do_writepage() local
1003 struct inode *inode = page->mapping->host; ubifs_writepage() local
1079 do_attr_changes(struct inode *inode, const struct iattr *attr) do_attr_changes() argument
1110 do_truncation(struct ubifs_info *c, struct inode *inode, const struct iattr *attr) do_truncation() argument
1216 do_setattr(struct ubifs_info *c, struct inode *inode, const struct iattr *attr) do_setattr() argument
1266 struct inode *inode = d_inode(dentry); ubifs_setattr() local
1295 struct inode *inode = folio->mapping->host; ubifs_invalidate_folio() local
1315 struct inode *inode = file->f_mapping->host; ubifs_fsync() local
1359 mctime_update_needed(const struct inode *inode, const struct timespec64 *now) mctime_update_needed() argument
1376 ubifs_update_time(struct inode *inode, int flags) ubifs_update_time() argument
1411 update_mctime(struct inode *inode) update_mctime() argument
1464 struct inode *inode = folio->mapping->host; ubifs_release_folio() local
1496 struct inode *inode = file_inode(vmf->vma->vm_file); ubifs_vm_page_mkwrite() local
1603 ubifs_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) ubifs_get_link() argument
[all...]
/kernel/linux/linux-6.6/fs/f2fs/
H A Dxattr.c47 struct dentry *unused, struct inode *inode, in f2fs_xattr_generic_get()
50 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); in f2fs_xattr_generic_get()
63 return f2fs_getxattr(inode, handler->flags, name, in f2fs_xattr_generic_get()
69 struct dentry *unused, struct inode *inode, in f2fs_xattr_generic_set()
73 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); in f2fs_xattr_generic_set()
86 return f2fs_setxattr(inode, handler->flags, name, in f2fs_xattr_generic_set()
103 struct dentry *unused, struct inode *inode, in f2fs_xattr_advise_get()
46 f2fs_xattr_generic_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) f2fs_xattr_generic_get() argument
67 f2fs_xattr_generic_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) f2fs_xattr_generic_set() argument
102 f2fs_xattr_advise_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) f2fs_xattr_advise_get() argument
111 f2fs_xattr_advise_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) f2fs_xattr_advise_set() argument
138 f2fs_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *page) f2fs_initxattrs() argument
154 f2fs_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, struct page *ipage) f2fs_init_security() argument
253 __find_inline_xattr(struct inode *inode, void *base_addr, void **last_addr, int index, size_t len, const char *name) __find_inline_xattr() argument
274 read_inline_xattr(struct inode *inode, struct page *ipage, void *txattr_addr) read_inline_xattr() argument
297 read_xattr_block(struct inode *inode, void *txattr_addr) read_xattr_block() argument
317 lookup_all_xattrs(struct inode *inode, struct page *ipage, unsigned int index, unsigned int len, const char *name, struct f2fs_xattr_entry **xe, void **base_addr, int *base_size, bool *is_inline) lookup_all_xattrs() argument
388 read_all_xattrs(struct inode *inode, struct page *ipage, void **base_addr) read_all_xattrs() argument
431 write_all_xattrs(struct inode *inode, __u32 hsize, void *txattr_addr, struct page *ipage) write_all_xattrs() argument
514 f2fs_getxattr(struct inode *inode, int index, const char *name, void *buffer, size_t buffer_size, struct page *ipage) f2fs_getxattr() argument
564 struct inode *inode = d_inode(dentry); f2fs_listxattr() local
628 __f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) __f2fs_setxattr() argument
791 f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) f2fs_setxattr() argument
[all...]
/kernel/linux/linux-6.6/fs/verity/
H A Dopen.c18 * @inode: the inode for which the Merkle tree is being built
31 const struct inode *inode, in fsverity_init_merkle_tree_params()
46 hash_alg = fsverity_get_hash_alg(inode, hash_algorithm); in fsverity_init_merkle_tree_params()
57 fsverity_err(inode, "Error %d preparing hash state", err); in fsverity_init_merkle_tree_params()
77 log_blocksize > inode->i_blkbits) { in fsverity_init_merkle_tree_params()
78 fsverity_warn(inode, "Unsupported log_blocksize: %u", in fsverity_init_merkle_tree_params()
93 fsverity_warn(inode, in fsverity_init_merkle_tree_params()
114 fsverity_err(inode, "To in fsverity_init_merkle_tree_params()
30 fsverity_init_merkle_tree_params(struct merkle_tree_params *params, const struct inode *inode, unsigned int hash_algorithm, unsigned int log_blocksize, const u8 *salt, size_t salt_size, u64 data_size) fsverity_init_merkle_tree_params() argument
184 fsverity_create_info(const struct inode *inode, struct fsverity_descriptor *desc) fsverity_create_info() argument
268 fsverity_set_info(struct inode *inode, struct fsverity_info *vi) fsverity_set_info() argument
296 validate_fsverity_descriptor(struct inode *inode, const struct fsverity_descriptor *desc, size_t desc_size) validate_fsverity_descriptor() argument
341 fsverity_get_descriptor(struct inode *inode, struct fsverity_descriptor **desc_ret) fsverity_get_descriptor() argument
378 ensure_verity_info(struct inode *inode) ensure_verity_info() argument
404 __fsverity_file_open(struct inode *inode, struct file *filp) __fsverity_file_open() argument
420 __fsverity_cleanup_inode(struct inode *inode) __fsverity_cleanup_inode() argument
[all...]
/kernel/linux/linux-6.6/fs/ceph/
H A Dsuper.h168 * and write data. For any given inode, we should have one or more
172 * Each cap is referenced by the inode's i_caps rbtree and by per-mds
212 struct list_head i_list; // per inode
282 * We cache inode xattrs as an encoded blob until they are first used,
343 * Ceph inode.
346 struct netfs_inode netfs; /* Netfslib context and vfs inode */
390 * is also protected by the inode's i_ceph_lock. Walking s_cap_dirty
401 * holding the i_ceph_lock for this inode.
407 * reduce the tid to 8 bits if we're concerned about inode size. */
448 struct list_head i_unsafe_iops; /* uncommitted mds inode op
485 ceph_inode(const struct inode *inode) ceph_inode() argument
491 ceph_inode_to_client(const struct inode *inode) ceph_inode_to_client() argument
509 ceph_vino(const struct inode *inode) ceph_vino() argument
539 ceph_ino(struct inode *inode) ceph_ino() argument
544 ceph_snap(struct inode *inode) ceph_snap() argument
566 ceph_present_inode(struct inode *inode) ceph_present_inode() argument
571 ceph_ino_compare(struct inode *inode, void *data) ceph_ino_compare() argument
712 ceph_dir_clear_complete(struct inode *inode) ceph_dir_clear_complete() argument
717 ceph_dir_clear_ordered(struct inode *inode) ceph_dir_clear_ordered() argument
722 ceph_dir_is_complete_ordered(struct inode *inode) ceph_dir_is_complete_ordered() argument
915 struct inode *inode; global() member
1058 ceph_queue_vmtruncate(struct inode *inode) ceph_queue_vmtruncate() argument
1063 ceph_queue_invalidate(struct inode *inode) ceph_queue_invalidate() argument
1068 ceph_queue_writeback(struct inode *inode) ceph_queue_writeback() argument
1073 ceph_queue_check_caps(struct inode *inode) ceph_queue_check_caps() argument
1078 ceph_queue_flush_snaps(struct inode *inode) ceph_queue_flush_snaps() argument
1086 ceph_do_getattr(struct inode *inode, int mask, bool force) ceph_do_getattr() argument
1106 ceph_inode_is_shutdown(struct inode *inode) ceph_inode_is_shutdown() argument
1156 ceph_security_invalidate_secctx(struct inode *inode) ceph_security_invalidate_secctx() argument
1166 ceph_security_invalidate_secctx(struct inode *inode) ceph_security_invalidate_secctx() argument
1184 ceph_forget_all_cached_acls(struct inode *inode) ceph_forget_all_cached_acls() argument
1199 ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) ceph_init_inode_acls() argument
1203 ceph_acl_chmod(struct dentry *dentry, struct inode *inode) ceph_acl_chmod() argument
1208 ceph_forget_all_cached_acls(struct inode *inode) ceph_forget_all_cached_acls() argument
[all...]
H A Dcrypto.h21 struct inode *dir;
101 int ceph_fscrypt_prepare_context(struct inode *dir, struct inode *inode,
105 int ceph_encode_encrypted_dname(struct inode *parent, struct qstr *d_name,
107 int ceph_encode_encrypted_fname(struct inode *parent, struct dentry *dentry,
110 static inline int ceph_fname_alloc_buffer(struct inode *parent, in ceph_fname_alloc_buffer()
118 static inline void ceph_fname_free_buffer(struct inode *parent, in ceph_fname_free_buffer()
127 int ceph_fscrypt_prepare_readdir(struct inode *dir);
139 * If we have an encrypted inode the
144 ceph_fscrypt_adjust_off_and_len(struct inode *inode, u64 *off, u64 *len) ceph_fscrypt_adjust_off_and_len() argument
183 ceph_fscrypt_prepare_context(struct inode *dir, struct inode *inode, struct ceph_acl_sec_ctx *as) ceph_fscrypt_prepare_context() argument
235 ceph_fscrypt_adjust_off_and_len(struct inode *inode, u64 *off, u64 *len) ceph_fscrypt_adjust_off_and_len() argument
240 ceph_fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) ceph_fscrypt_decrypt_block_inplace() argument
247 ceph_fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) ceph_fscrypt_encrypt_block_inplace() argument
255 ceph_fscrypt_decrypt_pages(struct inode *inode, struct page **page, u64 off, int len) ceph_fscrypt_decrypt_pages() argument
262 ceph_fscrypt_decrypt_extents(struct inode *inode, struct page **page, u64 off, struct ceph_sparse_extent *map, u32 ext_cnt) ceph_fscrypt_decrypt_extents() argument
270 ceph_fscrypt_encrypt_pages(struct inode *inode, struct page **page, u64 off, int len, gfp_t gfp) ceph_fscrypt_encrypt_pages() argument
[all...]
/kernel/linux/linux-5.10/fs/fat/
H A Dfat.h92 struct inode *fat_inode;
93 struct inode *fsinfo_inode;
110 * MS-DOS file system inode data in memory
129 struct inode vfs_inode;
173 static inline struct msdos_inode_info *MSDOS_I(struct inode *inode) in MSDOS_I() argument
175 return container_of(inode, struct msdos_inode_info, vfs_inode); in MSDOS_I()
185 static inline int fat_mode_can_hold_ro(struct inode *inode) in fat_mode_can_hold_ro() argument
187 struct msdos_sb_info *sbi = MSDOS_SB(inode in fat_mode_can_hold_ro()
216 fat_make_attrs(struct inode *inode) fat_make_attrs() argument
226 fat_save_attrs(struct inode *inode, u8 attrs) fat_save_attrs() argument
258 fat_i_pos_read(struct msdos_sb_info *sbi, struct inode *inode) fat_i_pos_read() argument
[all...]
/kernel/linux/linux-6.6/fs/fat/
H A Dfat.h92 struct inode *fat_inode;
93 struct inode *fsinfo_inode;
110 * MS-DOS file system inode data in memory
130 struct inode vfs_inode;
174 static inline struct msdos_inode_info *MSDOS_I(struct inode *inode) in MSDOS_I() argument
176 return container_of(inode, struct msdos_inode_info, vfs_inode); in MSDOS_I()
186 static inline int fat_mode_can_hold_ro(struct inode *inode) in fat_mode_can_hold_ro() argument
188 struct msdos_sb_info *sbi = MSDOS_SB(inode in fat_mode_can_hold_ro()
217 fat_make_attrs(struct inode *inode) fat_make_attrs() argument
227 fat_save_attrs(struct inode *inode, u8 attrs) fat_save_attrs() argument
259 fat_i_pos_read(struct msdos_sb_info *sbi, struct inode *inode) fat_i_pos_read() argument
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dinode.c2 * fs/cifs/inode.c
42 static void cifs_set_ops(struct inode *inode) argument
44 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb);
46 switch (inode->i_mode & S_IFMT) {
48 inode->i_op = &cifs_file_inode_ops;
51 inode->i_fop = &cifs_file_direct_nobrl_ops;
53 inode->i_fop = &cifs_file_direct_ops;
56 inode->i_fop = &cifs_file_strict_nobrl_ops;
58 inode
97 cifs_revalidate_cache(struct inode *inode, struct cifs_fattr *fattr) global() argument
136 cifs_nlink_fattr_to_inode(struct inode *inode, struct cifs_fattr *fattr) global() argument
160 cifs_fattr_to_inode(struct inode *inode, struct cifs_fattr *fattr) global() argument
351 struct inode *inode = file_inode(filp); global() local
744 struct inode *inode = file_inode(filp); global() local
851 cifs_set_fattr_ino(int xid, struct cifs_tcon *tcon, struct super_block *sb, struct inode **inode, const char *full_path, FILE_ALL_INFO *data, struct cifs_fattr *fattr) global() argument
914 cifs_get_inode_info(struct inode **inode, const char *full_path, FILE_ALL_INFO *in_data, struct super_block *sb, int xid, const struct cifs_fid *fid) global() argument
1115 smb311_posix_get_inode_info(struct inode **inode, const char *full_path, struct super_block *sb, unsigned int xid) global() argument
1232 cifs_find_inode(struct inode *inode, void *opaque) global() argument
1256 cifs_init_inode(struct inode *inode, void *opaque) global() argument
1271 inode_has_hashed_dentries(struct inode *inode) global() argument
1291 struct inode *inode; global() local
1334 struct inode *inode = NULL; global() local
1403 cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid, char *full_path, __u32 dosattr) global() argument
1466 struct inode *inode = d_inode(dentry); global() local
1586 cifs_drop_nlink(struct inode *inode) global() argument
1606 struct inode *inode = d_inode(dentry); global() local
1722 struct inode *inode = NULL; global() local
1791 cifs_posix_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode, const char *full_path, struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, const unsigned int xid) global() argument
1853 cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode) global() argument
1925 cifs_rmdir(struct inode *inode, struct dentry *direntry) global() argument
2180 cifs_inode_needs_reval(struct inode *inode) global() argument
2213 cifs_invalidate_mapping(struct inode *inode) global() argument
2242 cifs_revalidate_mapping(struct inode *inode) global() argument
2270 cifs_zap_mapping(struct inode *inode) global() argument
2279 struct inode *inode = file_inode(filp); global() local
2297 struct inode *inode = d_inode(dentry); global() local
2342 struct inode *inode = file_inode(filp); global() local
2355 struct inode *inode = d_inode(dentry); global() local
2370 struct inode *inode = d_inode(dentry); global() local
2435 cifs_fiemap(struct inode *inode, struct fiemap_extent_info *fei, u64 start, u64 len) global() argument
2489 cifs_setsize(struct inode *inode, loff_t offset) global() argument
2503 cifs_set_file_size(struct inode *inode, struct iattr *attrs, unsigned int xid, char *full_path) global() argument
2596 struct inode *inode = d_inode(direntry); global() local
2741 struct inode *inode = d_inode(direntry); global() local
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Daops.c29 #include "inode.h"
42 static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, in ocfs2_symlink_get_block() argument
50 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_symlink_get_block()
54 (unsigned long long)OCFS2_I(inode)->ip_blkno, in ocfs2_symlink_get_block()
57 BUG_ON(ocfs2_inode_is_fast_symlink(inode)); in ocfs2_symlink_get_block()
59 if ((iblock << inode->i_sb->s_blocksize_bits) > PATH_MAX + 1) { in ocfs2_symlink_get_block()
65 status = ocfs2_read_inode_block(inode, &bh); in ocfs2_symlink_get_block()
72 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block()
82 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { in ocfs2_symlink_get_block()
123 ocfs2_lock_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ocfs2_lock_get_block() argument
136 ocfs2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ocfs2_get_block() argument
221 ocfs2_read_inline_data(struct inode *inode, struct page *page, struct buffer_head *di_bh) ocfs2_read_inline_data() argument
258 ocfs2_readpage_inline(struct inode *inode, struct page *page) ocfs2_readpage_inline() argument
282 struct inode *inode = page->mapping->host; ocfs2_readpage() local
356 struct inode *inode = rac->mapping->host; ocfs2_readahead() local
453 struct inode *inode = mapping->host; ocfs2_bmap() local
574 ocfs2_should_read_blk(struct inode *inode, struct page *page, unsigned int block_start) ocfs2_should_read_blk() argument
595 ocfs2_map_page_blocks(struct page *page, u64 *p_blkno, struct inode *inode, unsigned int from, unsigned int to, int new) ocfs2_map_page_blocks() argument
817 ocfs2_free_unwritten_list(struct inode *inode, struct list_head *head) ocfs2_free_unwritten_list() argument
832 ocfs2_free_write_ctxt(struct inode *inode, struct ocfs2_write_ctxt *wc) ocfs2_free_write_ctxt() argument
919 ocfs2_write_failure(struct inode *inode, struct ocfs2_write_ctxt *wc, loff_t user_pos, unsigned user_len) ocfs2_write_failure() argument
944 ocfs2_prepare_page_for_write(struct inode *inode, u64 *p_blkno, struct ocfs2_write_ctxt *wc, struct page *page, u32 cpos, loff_t user_pos, unsigned user_len, int new) ocfs2_prepare_page_for_write() argument
1036 struct inode *inode = mapping->host; ocfs2_grab_pages_for_write() local
1129 struct inode *inode = mapping->host; ocfs2_write_cluster() local
1325 ocfs2_unwritten_check(struct inode *inode, struct ocfs2_write_ctxt *wc, struct ocfs2_write_cluster_desc *desc) ocfs2_unwritten_check() argument
1386 ocfs2_populate_write_desc(struct inode *inode, struct ocfs2_write_ctxt *wc, unsigned int *clusters_to_alloc, unsigned int *extents_to_split) ocfs2_populate_write_desc() argument
1476 ocfs2_write_begin_inline(struct address_space *mapping, struct inode *inode, struct ocfs2_write_ctxt *wc) ocfs2_write_begin_inline() argument
1542 ocfs2_try_to_write_inline_data(struct address_space *mapping, struct inode *inode, loff_t pos, unsigned len, struct page *mmap_page, struct ocfs2_write_ctxt *wc) ocfs2_try_to_write_inline_data() argument
1613 ocfs2_expand_nonsparse_inode(struct inode *inode, struct buffer_head *di_bh, loff_t pos, unsigned len, struct ocfs2_write_ctxt *wc) ocfs2_expand_nonsparse_inode() argument
1638 ocfs2_zero_tail(struct inode *inode, struct buffer_head *di_bh, loff_t pos) ocfs2_zero_tail() argument
1658 struct inode *inode = mapping->host; ocfs2_write_begin_nolock() local
1892 struct inode *inode = mapping->host; ocfs2_write_begin() local
1929 ocfs2_write_end_inline(struct inode *inode, loff_t pos, unsigned len, unsigned *copied, struct ocfs2_dinode *di, struct ocfs2_write_ctxt *wc) ocfs2_write_end_inline() argument
1959 struct inode *inode = mapping->host; ocfs2_write_end_nolock() local
2087 struct inode *inode = mapping->host; ocfs2_write_end() local
2125 ocfs2_dio_free_write_ctx(struct inode *inode, struct ocfs2_dio_write_ctxt *dwc) ocfs2_dio_free_write_ctx() argument
2145 ocfs2_dio_wr_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ocfs2_dio_wr_get_block() argument
2296 ocfs2_dio_end_io_write(struct inode *inode, struct ocfs2_dio_write_ctxt *dwc, loff_t offset, ssize_t bytes) ocfs2_dio_end_io_write() argument
2418 struct inode *inode = file_inode(iocb->ki_filp); ocfs2_dio_end_io() local
2446 struct inode *inode = file->f_mapping->host; ocfs2_direct_IO() local
[all...]
/kernel/linux/linux-5.10/fs/fuse/
H A Ddir.c21 static void fuse_advise_use_readdirplus(struct inode *dir) in fuse_advise_use_readdirplus()
119 static void fuse_invalidate_attr_mask(struct inode *inode, u32 mask) in fuse_invalidate_attr_mask() argument
121 set_mask_bits(&get_fuse_inode(inode)->inval_mask, 0, mask); in fuse_invalidate_attr_mask()
128 void fuse_invalidate_attr(struct inode *inode) in fuse_invalidate_attr() argument
130 fuse_invalidate_attr_mask(inode, STATX_BASIC_STATS); in fuse_invalidate_attr()
133 static void fuse_dir_changed(struct inode *dir) in fuse_dir_changed()
143 void fuse_invalidate_atime(struct inode *inode) in fuse_invalidate_atime() argument
198 struct inode *inode; fuse_dentry_revalidate() local
421 fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, struct fuse_entry_out *outarg, struct inode **inode) fuse_lookup_name() argument
476 struct inode *inode; fuse_lookup() local
531 struct inode *inode; fuse_create_open() local
678 struct inode *inode; create_new_entry() local
799 fuse_flush_time_update(struct inode *inode) fuse_flush_time_update() argument
806 fuse_update_ctime(struct inode *inode) fuse_update_ctime() argument
831 struct inode *inode = d_inode(entry); fuse_unlink() local
972 struct inode *inode = d_inode(entry); fuse_link() local
1007 fuse_fillattr(struct inode *inode, struct fuse_attr *attr, struct kstat *stat) fuse_fillattr() argument
1046 fuse_do_getattr(struct inode *inode, struct kstat *stat, struct file *file) fuse_do_getattr() argument
1092 fuse_update_get_attr(struct inode *inode, struct file *file, struct kstat *stat, u32 request_mask, unsigned int flags) fuse_update_get_attr() argument
1121 fuse_update_attributes(struct inode *inode, struct file *file) fuse_update_attributes() argument
1226 fuse_access(struct inode *inode, int mask) fuse_access() argument
1253 fuse_perm_getattr(struct inode *inode, int mask) fuse_perm_getattr() argument
1275 fuse_permission(struct inode *inode, int mask) fuse_permission() argument
1336 fuse_readlink_page(struct inode *inode, struct page *page) fuse_readlink_page() argument
1371 fuse_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *callback) fuse_get_link() argument
1408 fuse_dir_open(struct inode *inode, struct file *file) fuse_dir_open() argument
1413 fuse_dir_release(struct inode *inode, struct file *file) fuse_dir_release() argument
1423 struct inode *inode = file->f_mapping->host; fuse_dir_fsync() local
1526 fuse_set_nowrite(struct inode *inode) fuse_set_nowrite() argument
1545 __fuse_release_nowrite(struct inode *inode) __fuse_release_nowrite() argument
1554 fuse_release_nowrite(struct inode *inode) fuse_release_nowrite() argument
1563 fuse_setattr_fill(struct fuse_conn *fc, struct fuse_args *args, struct inode *inode, struct fuse_setattr_in *inarg_p, struct fuse_attr_out *outarg_p) fuse_setattr_fill() argument
1581 fuse_flush_times(struct inode *inode, struct fuse_file *ff) fuse_flush_times() argument
1619 struct inode *inode = d_inode(dentry); fuse_do_setattr() local
1774 struct inode *inode = d_inode(entry); fuse_setattr() local
1837 struct inode *inode = d_inode(path->dentry); fuse_getattr() local
1905 fuse_init_common(struct inode *inode) fuse_init_common() argument
1910 fuse_init_dir(struct inode *inode) fuse_init_dir() argument
1940 fuse_init_symlink(struct inode *inode) fuse_init_symlink() argument
[all...]
H A Dfuse_i.h66 /** FUSE inode */
69 struct inode inode; member
71 /** Unique ID, which identifies the inode between userspace
75 /** Number of lookups on this inode */
87 /** The sticky bit in inode->i_mode may have been removed, so
91 /** 64 bit inode number */
143 /** Miscellaneous bits describing inode state */
153 * Can't take inode lock in fault path (leads to circular dependency).
161 * Dax specific inode dat
835 get_fuse_mount(struct inode *inode) get_fuse_mount() argument
840 get_fuse_conn(struct inode *inode) get_fuse_conn() argument
847 get_fuse_inode(struct inode *inode) get_fuse_inode() argument
852 get_node_id(struct inode *inode) get_node_id() argument
867 fuse_stale_inode(const struct inode *inode, int generation, struct fuse_attr *attr) fuse_stale_inode() argument
874 fuse_make_bad(struct inode *inode) fuse_make_bad() argument
880 fuse_is_bad(struct inode *inode) fuse_is_bad() argument
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Daops.c27 #include "inode.h"
40 static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, in ocfs2_symlink_get_block() argument
48 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_symlink_get_block()
52 (unsigned long long)OCFS2_I(inode)->ip_blkno, in ocfs2_symlink_get_block()
55 BUG_ON(ocfs2_inode_is_fast_symlink(inode)); in ocfs2_symlink_get_block()
57 if ((iblock << inode->i_sb->s_blocksize_bits) > PATH_MAX + 1) { in ocfs2_symlink_get_block()
63 status = ocfs2_read_inode_block(inode, &bh); in ocfs2_symlink_get_block()
70 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block()
80 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { in ocfs2_symlink_get_block()
121 ocfs2_lock_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ocfs2_lock_get_block() argument
134 ocfs2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ocfs2_get_block() argument
219 ocfs2_read_inline_data(struct inode *inode, struct page *page, struct buffer_head *di_bh) ocfs2_read_inline_data() argument
256 ocfs2_readpage_inline(struct inode *inode, struct page *page) ocfs2_readpage_inline() argument
280 struct inode *inode = folio->mapping->host; ocfs2_read_folio() local
353 struct inode *inode = rac->mapping->host; ocfs2_readahead() local
450 struct inode *inode = mapping->host; ocfs2_bmap() local
571 ocfs2_should_read_blk(struct inode *inode, struct page *page, unsigned int block_start) ocfs2_should_read_blk() argument
592 ocfs2_map_page_blocks(struct page *page, u64 *p_blkno, struct inode *inode, unsigned int from, unsigned int to, int new) ocfs2_map_page_blocks() argument
813 ocfs2_free_unwritten_list(struct inode *inode, struct list_head *head) ocfs2_free_unwritten_list() argument
828 ocfs2_free_write_ctxt(struct inode *inode, struct ocfs2_write_ctxt *wc) ocfs2_free_write_ctxt() argument
915 ocfs2_write_failure(struct inode *inode, struct ocfs2_write_ctxt *wc, loff_t user_pos, unsigned user_len) ocfs2_write_failure() argument
940 ocfs2_prepare_page_for_write(struct inode *inode, u64 *p_blkno, struct ocfs2_write_ctxt *wc, struct page *page, u32 cpos, loff_t user_pos, unsigned user_len, int new) ocfs2_prepare_page_for_write() argument
1032 struct inode *inode = mapping->host; ocfs2_grab_pages_for_write() local
1125 struct inode *inode = mapping->host; ocfs2_write_cluster() local
1321 ocfs2_unwritten_check(struct inode *inode, struct ocfs2_write_ctxt *wc, struct ocfs2_write_cluster_desc *desc) ocfs2_unwritten_check() argument
1382 ocfs2_populate_write_desc(struct inode *inode, struct ocfs2_write_ctxt *wc, unsigned int *clusters_to_alloc, unsigned int *extents_to_split) ocfs2_populate_write_desc() argument
1472 ocfs2_write_begin_inline(struct address_space *mapping, struct inode *inode, struct ocfs2_write_ctxt *wc) ocfs2_write_begin_inline() argument
1538 ocfs2_try_to_write_inline_data(struct address_space *mapping, struct inode *inode, loff_t pos, unsigned len, struct page *mmap_page, struct ocfs2_write_ctxt *wc) ocfs2_try_to_write_inline_data() argument
1609 ocfs2_expand_nonsparse_inode(struct inode *inode, struct buffer_head *di_bh, loff_t pos, unsigned len, struct ocfs2_write_ctxt *wc) ocfs2_expand_nonsparse_inode() argument
1634 ocfs2_zero_tail(struct inode *inode, struct buffer_head *di_bh, loff_t pos) ocfs2_zero_tail() argument
1654 struct inode *inode = mapping->host; ocfs2_write_begin_nolock() local
1888 struct inode *inode = mapping->host; ocfs2_write_begin() local
1925 ocfs2_write_end_inline(struct inode *inode, loff_t pos, unsigned len, unsigned *copied, struct ocfs2_dinode *di, struct ocfs2_write_ctxt *wc) ocfs2_write_end_inline() argument
1955 struct inode *inode = mapping->host; ocfs2_write_end_nolock() local
2084 struct inode *inode = mapping->host; ocfs2_write_end() local
2122 ocfs2_dio_free_write_ctx(struct inode *inode, struct ocfs2_dio_write_ctxt *dwc) ocfs2_dio_free_write_ctx() argument
2142 ocfs2_dio_wr_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) ocfs2_dio_wr_get_block() argument
2293 ocfs2_dio_end_io_write(struct inode *inode, struct ocfs2_dio_write_ctxt *dwc, loff_t offset, ssize_t bytes) ocfs2_dio_end_io_write() argument
2415 struct inode *inode = file_inode(iocb->ki_filp); ocfs2_dio_end_io() local
2443 struct inode *inode = file->f_mapping->host; ocfs2_direct_IO() local
[all...]
/kernel/linux/linux-6.6/fs/udf/
H A Dnamei.c43 * @dir: directory inode to search in
52 static int udf_fiiter_find_entry(struct inode *dir, const struct qstr *child, in udf_fiiter_find_entry()
107 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, in udf_lookup()
110 struct inode *inode = NULL; in udf_lookup() local
127 inode = udf_iget(dir->i_sb, &loc); in udf_lookup()
128 if (IS_ERR(inode)) in udf_lookup()
129 return ERR_CAST(inode); in udf_lookup()
132 return d_splice_alias(inode, dentry); in udf_lookup()
135 static int udf_expand_dir_adinicb(struct inode *inod argument
350 udf_add_nondir(struct dentry *dentry, struct inode *inode) udf_add_nondir() argument
380 struct inode *inode = udf_new_inode(dir, mode); udf_create() local
396 struct inode *inode = udf_new_inode(dir, mode); udf_tmpfile() local
413 struct inode *inode; udf_mknod() local
429 struct inode *inode; udf_mkdir() local
503 struct inode *inode = d_inode(dentry); udf_rmdir() local
539 struct inode *inode = d_inode(dentry); udf_unlink() local
573 struct inode *inode = udf_new_inode(dir, S_IFLNK | 0777); udf_symlink() local
731 struct inode *inode = d_inode(old_dentry); udf_link() local
902 struct inode *inode = NULL; udf_get_parent() local
923 struct inode *inode; udf_nfs_get_inode() local
965 udf_encode_fh(struct inode *inode, __u32 *fh, int *lenp, struct inode *parent) udf_encode_fh() argument
[all...]
/kernel/linux/linux-6.6/fs/jfs/
H A Dfile.c21 struct inode *inode = file->f_mapping->host; in jfs_fsync() local
28 inode_lock(inode); in jfs_fsync()
29 if (!(inode->i_state & I_DIRTY_ALL) || in jfs_fsync()
30 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
32 jfs_flush_journal(JFS_SBI(inode->i_sb)->log, 1); in jfs_fsync()
33 inode_unlock(inode); in jfs_fsync()
37 rc |= jfs_commit_inode(inode, 1); in jfs_fsync()
38 inode_unlock(inode); in jfs_fsync()
43 static int jfs_open(struct inode *inod argument
73 jfs_release(struct inode *inode, struct file *file) jfs_release() argument
91 struct inode *inode = d_inode(dentry); jfs_setattr() local
[all...]
/kernel/linux/linux-5.10/fs/configfs/
H A Dinode.c5 * inode.c - basic inode and dentry operations.
45 struct inode * inode = d_inode(dentry); in configfs_setattr() local
65 sd_iattr->ia_ctime = current_time(inode); in configfs_setattr()
87 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in configfs_setattr()
95 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) in set_default_inode_attr() argument
97 inode->i_mode = mode; in set_default_inode_attr()
98 inode in set_default_inode_attr()
102 set_inode_attr(struct inode * inode, struct iattr * iattr) set_inode_attr() argument
115 struct inode * inode = new_inode(s); configfs_new_inode() local
135 configfs_set_inode_lock_class(struct configfs_dirent *sd, struct inode *inode) configfs_set_inode_lock_class() argument
157 configfs_set_inode_lock_class(struct configfs_dirent *sd, struct inode *inode) configfs_set_inode_lock_class() argument
166 struct inode *inode = NULL; configfs_create() local
[all...]
/kernel/linux/linux-5.10/fs/ramfs/
H A Dinode.c63 struct inode *ramfs_get_inode(struct super_block *sb, in ramfs_get_inode()
64 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode()
66 struct inode * inode = new_inode(sb); in ramfs_get_inode() local
68 if (inode) { in ramfs_get_inode()
69 inode->i_ino = get_next_ino(); in ramfs_get_inode()
70 inode_init_owner(inode, dir, mode); in ramfs_get_inode()
71 inode->i_mapping->a_ops = &ramfs_aops; in ramfs_get_inode()
72 mapping_set_gfp_mask(inode->i_mapping, GFP_HIGHUSER); in ramfs_get_inode()
73 mapping_set_unevictable(inode in ramfs_get_inode()
106 struct inode * inode = ramfs_get_inode(dir->i_sb, dir, mode, dev); ramfs_mknod() local
133 struct inode *inode; ramfs_symlink() local
223 struct inode *inode; ramfs_fill_super() local
[all...]
/kernel/linux/linux-6.6/fs/9p/
H A Dvfs_inode.c3 * This file contains vfs inode ops for the 9P2000 protocol.
221 * v9fs_alloc_inode - helper function to allocate an inode
222 * @sb: The superblock to allocate the inode from
224 struct inode *v9fs_alloc_inode(struct super_block *sb) in v9fs_alloc_inode()
233 return &v9inode->netfs.inode; in v9fs_alloc_inode()
237 * v9fs_free_inode - destroy an inode
238 * @inode: The inode to be freed
241 void v9fs_free_inode(struct inode *inode) in v9fs_free_inode() argument
249 v9fs_set_netfs_context(struct inode *inode) v9fs_set_netfs_context() argument
255 v9fs_init_inode(struct v9fs_session_info *v9ses, struct inode *inode, umode_t mode, dev_t rdev) v9fs_init_inode() argument
344 struct inode *inode; v9fs_get_inode() local
369 v9fs_evict_inode(struct inode *inode) v9fs_evict_inode() argument
378 fscache_clear_inode_writeback(v9fs_inode_cookie(v9inode), inode, v9fs_evict_inode() local
390 v9fs_test_inode(struct inode *inode, void *data) v9fs_test_inode() argument
416 v9fs_test_new_inode(struct inode *inode, void *data) v9fs_test_new_inode() argument
421 v9fs_set_inode(struct inode *inode, void *data) v9fs_set_inode() argument
439 struct inode *inode; v9fs_qid_iget() local
481 struct inode *inode = NULL; v9fs_inode_from_fid() local
520 v9fs_dec_count(struct inode *inode) v9fs_dec_count() argument
536 struct inode *inode; v9fs_remove() local
601 struct inode *inode; v9fs_create() local
740 struct inode *inode; v9fs_vfs_lookup() local
800 struct inode *inode; v9fs_vfs_atomic_open() local
1006 struct inode *inode = d_inode(dentry); v9fs_vfs_getattr() local
1054 struct inode *inode = d_inode(dentry); v9fs_vfs_setattr() local
1144 v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, struct super_block *sb, unsigned int flags) v9fs_stat2inode() argument
1218 v9fs_vfs_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) v9fs_vfs_get_link() argument
1385 v9fs_refresh_inode(struct p9_fid *fid, struct inode *inode) v9fs_refresh_inode() argument
[all...]
/kernel/linux/linux-5.10/fs/orangefs/
H A Dorangefs-utils.c139 static inline void copy_attributes_from_inode(struct inode *inode, in copy_attributes_from_inode() argument
142 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in copy_attributes_from_inode()
145 attrs->owner = from_kuid(&init_user_ns, inode->i_uid); in copy_attributes_from_inode()
150 attrs->group = from_kgid(&init_user_ns, inode->i_gid); in copy_attributes_from_inode()
158 attrs->atime = (time64_t)inode->i_atime.tv_sec; in copy_attributes_from_inode()
165 attrs->mtime = (time64_t)inode->i_mtime.tv_sec; in copy_attributes_from_inode()
179 attrs->perms = ORANGEFS_util_translate_mode(inode->i_mode); in copy_attributes_from_inode()
196 static void orangefs_make_bad_inode(struct inode *inode) in orangefs_make_bad_inode() argument
215 orangefs_inode_is_stale(struct inode *inode, struct ORANGEFS_sys_attr_s *attrs, char *link_target) orangefs_inode_is_stale() argument
236 orangefs_inode_getattr(struct inode *inode, int flags) orangefs_inode_getattr() argument
384 orangefs_inode_check_changed(struct inode *inode) orangefs_inode_check_changed() argument
417 orangefs_inode_setattr(struct inode *inode) orangefs_inode_setattr() argument
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dinode.c48 #include "inode-map.h"
81 static int btrfs_setsize(struct inode *inode, struct iattr *attr);
82 static int btrfs_truncate(struct inode *inode, bool skip_writeback);
84 static noinline int cow_file_range(struct btrfs_inode *inode,
88 static struct extent_map *create_io_em(struct btrfs_inode *inode, u64 start,
94 static void __endio_write_update_ordered(struct btrfs_inode *inode,
108 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents() argument
120 page = find_get_page(inode in btrfs_cleanup_ordered_extents()
143 btrfs_init_inode_security(struct btrfs_trans_handle *trans, struct inode *inode, struct inode *dir, const struct qstr *qstr) btrfs_init_inode_security() argument
160 insert_inline_extent(struct btrfs_trans_handle *trans, struct btrfs_path *path, int extent_inserted, struct btrfs_root *root, struct inode *inode, u64 start, size_t size, size_t compressed_size, int compress_type, struct page **compressed_pages) insert_inline_extent() argument
271 cow_file_range_inline(struct btrfs_inode *inode, u64 start, u64 end, size_t compressed_size, int compress_type, struct page **compressed_pages) cow_file_range_inline() argument
368 struct inode *inode; global() member
409 inode_can_compress(struct btrfs_inode *inode) inode_can_compress() argument
421 inode_need_compress(struct btrfs_inode *inode, u64 start, u64 end) inode_need_compress() argument
448 inode_should_defrag(struct btrfs_inode *inode, u64 start, u64 end, u64 num_bytes, u64 small_write) inode_should_defrag() argument
476 struct inode *inode = async_chunk->inode; compress_file_range() local
768 struct btrfs_inode *inode = BTRFS_I(async_chunk->inode); submit_compressed_extents() local
932 get_extent_allocation_hint(struct btrfs_inode *inode, u64 start, u64 num_bytes) get_extent_allocation_hint() argument
977 cow_file_range(struct btrfs_inode *inode, struct page *locked_page, u64 start, u64 end, int *page_started, unsigned long *nr_written, int unlock) cow_file_range() argument
1236 cow_file_range_async(struct btrfs_inode *inode, struct writeback_control *wbc, struct page *locked_page, u64 start, u64 end, int *page_started, unsigned long *nr_written) cow_file_range_async() argument
1373 fallback_to_cow(struct btrfs_inode *inode, struct page *locked_page, const u64 start, const u64 end, int *page_started, unsigned long *nr_written) fallback_to_cow() argument
1447 run_delalloc_nocow(struct btrfs_inode *inode, struct page *locked_page, const u64 start, const u64 end, int *page_started, int force, unsigned long *nr_written) run_delalloc_nocow() argument
1792 need_force_cow(struct btrfs_inode *inode, u64 start, u64 end) need_force_cow() argument
1815 btrfs_run_delalloc_range(struct btrfs_inode *inode, struct page *locked_page, u64 start, u64 end, int *page_started, unsigned long *nr_written, struct writeback_control *wbc) btrfs_run_delalloc_range() argument
1843 btrfs_split_delalloc_extent(struct inode *inode, struct extent_state *orig, u64 split) btrfs_split_delalloc_extent() argument
1879 btrfs_merge_delalloc_extent(struct inode *inode, struct extent_state *new, struct extent_state *other) btrfs_merge_delalloc_extent() argument
1932 btrfs_add_delalloc_inodes(struct btrfs_root *root, struct inode *inode) btrfs_add_delalloc_inodes() argument
1956 __btrfs_del_delalloc_inode(struct btrfs_root *root, struct btrfs_inode *inode) __btrfs_del_delalloc_inode() argument
1976 btrfs_del_delalloc_inode(struct btrfs_root *root, struct btrfs_inode *inode) btrfs_del_delalloc_inode() argument
1988 btrfs_set_delalloc_extent(struct inode *inode, struct extent_state *state, unsigned *bits) btrfs_set_delalloc_extent() argument
2042 struct btrfs_inode *inode = BTRFS_I(vfs_inode); btrfs_clear_delalloc_extent() local
2121 struct inode *inode = page->mapping->host; btrfs_bio_fits_in_stripe() local
2155 struct inode *inode = private_data; btrfs_submit_bio_start() local
2178 btrfs_submit_data_bio(struct inode *inode, struct bio *bio, int mirror_num, unsigned long bio_flags) btrfs_submit_data_bio() argument
2255 btrfs_find_new_delalloc_bytes(struct btrfs_inode *inode, const u64 start, const u64 len, struct extent_state **cached_state) btrfs_find_new_delalloc_bytes() argument
2295 btrfs_set_extent_delalloc(struct btrfs_inode *inode, u64 start, u64 end, unsigned int extra_bits, struct extent_state **cached_state) btrfs_set_extent_delalloc() argument
2325 struct inode *inode; global() member
2336 struct btrfs_inode *inode; btrfs_writepage_fixup_worker() local
2471 struct inode *inode = page->mapping->host; btrfs_writepage_cow_fixup() local
2510 insert_reserved_file_extent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, u64 file_pos, struct btrfs_file_extent_item *stack_fi, u64 qgroup_reserved) insert_reserved_file_extent() argument
2630 struct inode *inode = ordered_extent->inode; btrfs_finish_ordered_io() local
2834 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); btrfs_writepage_endio_finish_ordered() local
2855 check_data_csum(struct inode *inode, struct btrfs_io_bio *io_bio, int icsum, struct page *page, int pgoff, u64 start, size_t len) check_data_csum() argument
2899 struct inode *inode = page->mapping->host; btrfs_verify_data_csum() local
2932 btrfs_add_delayed_iput(struct inode *inode) btrfs_add_delayed_iput() argument
2949 run_delayed_iput_locked(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) run_delayed_iput_locked() argument
2960 btrfs_run_delayed_iput(struct btrfs_fs_info *fs_info, struct btrfs_inode *inode) btrfs_run_delayed_iput() argument
2976 struct btrfs_inode *inode; btrfs_run_delayed_iputs() local
3009 btrfs_orphan_add(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) btrfs_orphan_add() argument
3027 btrfs_orphan_del(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) btrfs_orphan_del() argument
3044 struct inode *inode; btrfs_orphan_cleanup() local
3281 btrfs_read_locked_inode(struct inode *inode, struct btrfs_path *in_path) btrfs_read_locked_inode() argument
3481 fill_inode_item(struct btrfs_trans_handle *trans, struct extent_buffer *leaf, struct btrfs_inode_item *item, struct inode *inode) fill_inode_item() argument
3529 btrfs_update_inode_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode) btrfs_update_inode_item() argument
3566 btrfs_update_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode) btrfs_update_inode() argument
3593 btrfs_update_inode_fallback(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode) btrfs_update_inode_fallback() argument
3610 __btrfs_unlink_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *dir, struct btrfs_inode *inode, const char *name, int name_len) __btrfs_unlink_inode() argument
3715 btrfs_unlink_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_inode *dir, struct btrfs_inode *inode, const char *name, int name_len) btrfs_unlink_inode() argument
3755 struct inode *inode = d_inode(dentry); btrfs_unlink() local
3787 struct btrfs_inode *inode = BTRFS_I(d_inode(dentry)); btrfs_unlink_subvol() local
3943 struct inode *inode; btrfs_prune_dentries() local
4004 struct inode *inode = d_inode(dentry); btrfs_delete_subvolume() local
4141 struct inode *inode = d_inode(dentry); btrfs_rmdir() local
4211 btrfs_truncate_inode_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode, u64 new_size, u32 min_type) btrfs_truncate_inode_items() argument
4567 btrfs_truncate_block(struct inode *inode, loff_t from, loff_t len, int front) btrfs_truncate_block() argument
4705 maybe_insert_hole(struct btrfs_root *root, struct inode *inode, u64 offset, u64 len) maybe_insert_hole() argument
4755 btrfs_cont_expand(struct inode *inode, loff_t oldsize, loff_t size) btrfs_cont_expand() argument
4859 btrfs_setsize(struct inode *inode, struct iattr *attr) btrfs_setsize() argument
4945 struct inode *inode = d_inode(dentry); btrfs_setattr() local
4986 evict_inode_truncate_pages(struct inode *inode) evict_inode_truncate_pages() argument
5120 btrfs_evict_inode(struct inode *inode) btrfs_evict_inode() argument
5330 inode_tree_add(struct inode *inode) inode_tree_add() argument
5366 inode_tree_del(struct btrfs_inode *inode) inode_tree_del() argument
5389 btrfs_init_locked_inode(struct inode *inode, void *p) btrfs_init_locked_inode() argument
5402 btrfs_find_actor(struct inode *inode, void *opaque) btrfs_find_actor() argument
5413 struct inode *inode; btrfs_iget_locked() local
5435 struct inode *inode; btrfs_iget_path() local
5473 struct inode *inode = new_inode(s); new_simple_dir() local
5499 btrfs_inode_type(struct inode *inode) btrfs_inode_type() argument
5520 struct inode *inode; btrfs_lookup_dentry() local
5581 struct inode *inode = d_inode(dentry); btrfs_dentry_delete() local
5600 struct inode *inode = btrfs_lookup_dentry(dir, dentry); btrfs_lookup() local
5616 btrfs_opendir(struct inode *inode, struct file *file) btrfs_opendir() argument
5659 struct inode *inode = file_inode(file); btrfs_real_readdir() local
5802 btrfs_dirty_inode(struct inode *inode) btrfs_dirty_inode() argument
5837 btrfs_update_time(struct inode *inode, struct timespec64 *now, int flags) btrfs_update_time() argument
5862 btrfs_set_inode_index_count(struct btrfs_inode *inode) btrfs_set_inode_index_count() argument
5937 btrfs_insert_inode_locked(struct inode *inode) btrfs_insert_inode_locked() argument
5954 btrfs_inherit_iflags(struct inode *inode, struct inode *dir) btrfs_inherit_iflags() argument
5988 struct inode *inode; btrfs_new_inode() local
6158 btrfs_add_link(struct btrfs_trans_handle *trans, struct btrfs_inode *parent_inode, struct btrfs_inode *inode, const char *name, int name_len, int add_backref, u64 index) btrfs_add_link() argument
6241 btrfs_add_nondir(struct btrfs_trans_handle *trans, struct btrfs_inode *dir, struct dentry *dentry, struct btrfs_inode *inode, int backref, u64 index) btrfs_add_nondir() argument
6259 struct inode *inode = NULL; btrfs_mknod() local
6323 struct inode *inode = NULL; btrfs_create() local
6389 struct inode *inode = d_inode(old_dentry); btrfs_link() local
6465 struct inode *inode = NULL; btrfs_mkdir() local
6589 btrfs_get_extent(struct btrfs_inode *inode, struct page *page, size_t pg_offset, u64 start, u64 len) btrfs_get_extent() argument
6803 btrfs_get_extent_fiemap(struct btrfs_inode *inode, u64 start, u64 len) btrfs_get_extent_fiemap() argument
6930 btrfs_create_dio_extent(struct btrfs_inode *inode, const u64 start, const u64 len, const u64 orig_start, const u64 block_start, const u64 block_len, const u64 orig_block_len, const u64 ram_bytes, const int type) btrfs_create_dio_extent() argument
6965 btrfs_new_extent_direct(struct btrfs_inode *inode, u64 start, u64 len) btrfs_new_extent_direct() argument
7015 can_nocow_extent(struct inode *inode, u64 offset, u64 *len, u64 *orig_start, u64 *orig_block_len, u64 *ram_bytes, bool strict) can_nocow_extent() argument
7161 lock_extent_direct(struct inode *inode, u64 lockstart, u64 lockend, struct extent_state **cached_state, bool writing) lock_extent_direct() argument
7242 create_io_em(struct btrfs_inode *inode, u64 start, u64 len, u64 orig_start, u64 block_start, u64 block_len, u64 orig_block_len, u64 ram_bytes, int compress_type, int type) create_io_em() argument
7300 btrfs_get_blocks_direct_write(struct extent_map **map, struct inode *inode, struct btrfs_dio_data *dio_data, u64 start, u64 len) btrfs_get_blocks_direct_write() argument
7383 btrfs_dio_iomap_begin(struct inode *inode, loff_t start, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) btrfs_dio_iomap_begin() argument
7557 btrfs_dio_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned int flags, struct iomap *iomap) btrfs_dio_iomap_end() argument
7630 submit_dio_repair_bio(struct inode *inode, struct bio *bio, int mirror_num, unsigned long bio_flags) submit_dio_repair_bio() argument
7651 btrfs_check_read_dio_bio(struct inode *inode, struct btrfs_io_bio *io_bio, const bool uptodate) btrfs_check_read_dio_bio() argument
7703 __endio_write_update_ordered(struct btrfs_inode *inode, const u64 offset, const u64 bytes, const bool uptodate) __endio_write_update_ordered() argument
7749 struct inode *inode = private_data; btrfs_submit_bio_start_direct_io() local
7779 btrfs_submit_dio_bio(struct bio *bio, struct inode *inode, u64 file_offset, int async_submit) btrfs_submit_dio_bio() argument
7831 btrfs_create_dio_private(struct bio *dio_bio, struct inode *inode, loff_t file_offset) btrfs_create_dio_private() argument
7863 btrfs_submit_direct(struct inode *inode, struct iomap *iomap, struct bio *dio_bio, loff_t file_offset) btrfs_submit_direct() argument
8049 struct inode *inode = file->f_mapping->host; btrfs_direct_IO() local
8102 btrfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) btrfs_fiemap() argument
8116 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); btrfs_readpage() local
8133 struct inode *inode = page->mapping->host; btrfs_writepage() local
8212 struct btrfs_inode *inode = BTRFS_I(page->mapping->host); btrfs_invalidatepage() local
8345 struct inode *inode = file_inode(vmf->vma->vm_file); btrfs_page_mkwrite() local
8488 btrfs_truncate(struct inode *inode, bool skip_writeback) btrfs_truncate() argument
8641 struct inode *inode; btrfs_create_subvol_root() local
8674 struct inode *inode; btrfs_alloc_inode() local
8732 btrfs_test_destroy_inode(struct inode *inode) btrfs_test_destroy_inode() argument
8739 btrfs_free_inode(struct inode *inode) btrfs_free_inode() argument
8747 struct btrfs_inode *inode = BTRFS_I(vfs_inode); btrfs_destroy_inode() local
8788 btrfs_drop_inode(struct inode *inode) btrfs_drop_inode() argument
8866 struct inode *inode = d_inode(path->dentry); btrfs_getattr() local
9131 struct inode *inode; btrfs_whiteout_for_rename() local
9403 struct inode *inode; global() member
9412 struct inode *inode; btrfs_run_delalloc_work() local
9426 btrfs_alloc_delalloc_work(struct inode *inode) btrfs_alloc_delalloc_work() argument
9451 struct inode *inode; start_delalloc_inodes() local
9606 struct inode *inode = NULL; btrfs_symlink() local
9717 insert_prealloc_file_extent( struct btrfs_trans_handle *trans_in, struct inode *inode, struct btrfs_key *ins, u64 file_offset) insert_prealloc_file_extent() argument
9776 __btrfs_prealloc_file_range(struct inode *inode, int mode, u64 start, u64 num_bytes, u64 min_size, loff_t actual_len, u64 *alloc_hint, struct btrfs_trans_handle *trans) __btrfs_prealloc_file_range() argument
9907 btrfs_prealloc_file_range(struct inode *inode, int mode, u64 start, u64 num_bytes, u64 min_size, loff_t actual_len, u64 *alloc_hint) btrfs_prealloc_file_range() argument
9916 btrfs_prealloc_file_range_trans(struct inode *inode, struct btrfs_trans_handle *trans, int mode, u64 start, u64 num_bytes, u64 min_size, loff_t actual_len, u64 *alloc_hint) btrfs_prealloc_file_range_trans() argument
9930 btrfs_permission(struct inode *inode, int mask) btrfs_permission() argument
9950 struct inode *inode = NULL; btrfs_tmpfile() local
10011 struct inode *inode = tree->private_data; btrfs_set_range_writeback() local
10031 btrfs_add_swapfile_pin(struct inode *inode, void *ptr, bool is_block_group) btrfs_add_swapfile_pin() argument
10073 btrfs_free_swapfile_pins(struct inode *inode) btrfs_free_swapfile_pins() argument
10152 struct inode *inode = file_inode(file); btrfs_swap_deactivate() local
10161 struct inode *inode = file_inode(file); btrfs_swap_activate() local
[all...]
/kernel/linux/linux-6.6/fs/orangefs/
H A Dorangefs-utils.c139 static inline void copy_attributes_from_inode(struct inode *inode, in copy_attributes_from_inode() argument
142 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); in copy_attributes_from_inode()
145 attrs->owner = from_kuid(&init_user_ns, inode->i_uid); in copy_attributes_from_inode()
150 attrs->group = from_kgid(&init_user_ns, inode->i_gid); in copy_attributes_from_inode()
158 attrs->atime = (time64_t)inode->i_atime.tv_sec; in copy_attributes_from_inode()
165 attrs->mtime = (time64_t)inode->i_mtime.tv_sec; in copy_attributes_from_inode()
179 attrs->perms = ORANGEFS_util_translate_mode(inode->i_mode); in copy_attributes_from_inode()
196 static void orangefs_make_bad_inode(struct inode *inode) in orangefs_make_bad_inode() argument
215 orangefs_inode_is_stale(struct inode *inode, struct ORANGEFS_sys_attr_s *attrs, char *link_target) orangefs_inode_is_stale() argument
236 orangefs_inode_getattr(struct inode *inode, int flags) orangefs_inode_getattr() argument
384 orangefs_inode_check_changed(struct inode *inode) orangefs_inode_check_changed() argument
417 orangefs_inode_setattr(struct inode *inode) orangefs_inode_setattr() argument
[all...]
/kernel/linux/linux-6.6/fs/configfs/
H A Dinode.c3 * inode.c - basic inode and dentry operations.
38 struct inode * inode = d_inode(dentry); in configfs_setattr() local
58 sd_iattr->ia_ctime = current_time(inode); in configfs_setattr()
80 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) in configfs_setattr()
88 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) in set_default_inode_attr() argument
90 inode->i_mode = mode; in set_default_inode_attr()
91 inode in set_default_inode_attr()
94 set_inode_attr(struct inode * inode, struct iattr * iattr) set_inode_attr() argument
107 struct inode * inode = new_inode(s); configfs_new_inode() local
127 configfs_set_inode_lock_class(struct configfs_dirent *sd, struct inode *inode) configfs_set_inode_lock_class() argument
149 configfs_set_inode_lock_class(struct configfs_dirent *sd, struct inode *inode) configfs_set_inode_lock_class() argument
158 struct inode *inode = NULL; configfs_create() local
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dioctl.c58 * @inode1: pointer to first inode
59 * @inode2: pointer to second inode
61 static void swap_inode_data(struct inode *inode1, struct inode *inode2) in swap_inode_data()
89 void ext4_reset_inode_seed(struct inode *inode) in ext4_reset_inode_seed() argument
91 struct ext4_inode_info *ei = EXT4_I(inode); in ext4_reset_inode_seed()
92 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_reset_inode_seed()
93 __le32 inum = cpu_to_le32(inode->i_ino); in ext4_reset_inode_seed()
94 __le32 gen = cpu_to_le32(inode in ext4_reset_inode_seed()
113 swap_inode_boot_loader(struct super_block *sb, struct inode *inode) swap_inode_boot_loader() argument
281 ext4_ioctl_check_immutable(struct inode *inode, __u32 new_projid, unsigned int flags) ext4_ioctl_check_immutable() argument
299 ext4_dax_dontcache(struct inode *inode, unsigned int flags) ext4_dax_dontcache() argument
314 dax_compatible(struct inode *inode, unsigned int oldflags, unsigned int flags) dax_compatible() argument
337 ext4_ioctl_setflags(struct inode *inode, unsigned int flags) ext4_ioctl_setflags() argument
469 struct inode *inode = file_inode(filp); ext4_ioctl_setproject() local
781 ext4_fill_fsxattr(struct inode *inode, struct fsxattr *fa) ext4_fill_fsxattr() argument
800 struct inode *inode = file_inode(filp); ext4_ioctl_get_es_cache() local
825 struct inode *inode = file_inode(filp); __ext4_ioctl() local
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Dinode.c24 * Ceph inode operations
26 * Implement basic inode helpers (get, alloc) and inode ops (getattr,
40 * find or create an inode, given the ceph ino number
42 static int ceph_set_ino_cb(struct inode *inode, void *data) in ceph_set_ino_cb() argument
44 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_set_ino_cb()
45 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_set_ino_cb()
48 inode->i_ino = ceph_vino_to_ino_t(ci->i_vino); in ceph_set_ino_cb()
49 inode_set_iversion_raw(inode, in ceph_set_ino_cb()
57 struct inode *inode; ceph_get_inode() local
81 struct inode *inode = ceph_get_inode(parent->i_sb, vino); ceph_get_snapdir() local
248 ceph_fill_dirfrag(struct inode *inode, struct ceph_mds_reply_dirfrag *dirinfo) ceph_fill_dirfrag() argument
331 ceph_fill_fragtree(struct inode *inode, struct ceph_frag_tree_head *fragtree, struct ceph_mds_reply_dirfrag *dirinfo) ceph_fill_fragtree() argument
535 ceph_free_inode(struct inode *inode) ceph_free_inode() argument
543 ceph_evict_inode(struct inode *inode) ceph_evict_inode() argument
616 ceph_fill_file_size(struct inode *inode, int issued, u32 truncate_seq, u64 truncate_size, u64 size) ceph_fill_file_size() argument
668 ceph_fill_file_time(struct inode *inode, int issued, u64 time_warp_seq, struct timespec64 *ctime, struct timespec64 *mtime, struct timespec64 *atime) ceph_fill_file_time() argument
740 ceph_fill_inode(struct inode *inode, struct page *locked_page, struct ceph_mds_reply_info_in *iinfo, struct ceph_mds_reply_dirfrag *dirinfo, struct ceph_mds_session *session, int cap_fmode, struct ceph_cap_reservation *caps_reservation) ceph_fill_inode() argument
1790 ceph_inode_set_size(struct inode *inode, loff_t size) ceph_inode_set_size() argument
1811 ceph_async_iput(struct inode *inode) ceph_async_iput() argument
1829 ceph_queue_writeback(struct inode *inode) ceph_queue_writeback() argument
1848 ceph_queue_invalidate(struct inode *inode) ceph_queue_invalidate() argument
1868 ceph_queue_vmtruncate(struct inode *inode) ceph_queue_vmtruncate() argument
1884 ceph_do_invalidate_pages(struct inode *inode) ceph_do_invalidate_pages() argument
1945 __ceph_do_pending_vmtruncate(struct inode *inode) __ceph_do_pending_vmtruncate() argument
2006 struct inode *inode = &ci->vfs_inode; ceph_inode_work() local
2031 __ceph_setattr(struct inode *inode, struct iattr *attr) __ceph_setattr() argument
2250 struct inode *inode = d_inode(dentry); ceph_setattr() local
2281 __ceph_do_getattr(struct inode *inode, struct page *locked_page, int mask, bool force) __ceph_do_getattr() argument
2331 ceph_permission(struct inode *inode, int mask) ceph_permission() argument
2373 struct inode *inode = d_inode(path->dentry); ceph_getattr() local
[all...]
/kernel/linux/linux-6.6/fs/minix/
H A Ddir.c40 minix_last_byte(struct inode *inode, unsigned long page_nr) in minix_last_byte() argument
44 if (page_nr == (inode->i_size >> PAGE_SHIFT)) in minix_last_byte()
45 last_byte = inode->i_size & (PAGE_SIZE - 1); in minix_last_byte()
52 struct inode *dir = mapping->host; in dir_commit_chunk()
63 static int minix_handle_dirsync(struct inode *dir) in minix_handle_dirsync()
73 static struct page * dir_get_page(struct inode *dir, unsigned long n) in dir_get_page()
89 struct inode *inode = file_inode(file); in minix_readdir() local
90 struct super_block *sb = inode in minix_readdir()
206 minix_add_link(struct dentry *dentry, struct inode *inode) minix_add_link() argument
298 struct inode *inode = page->mapping->host; minix_delete_entry() local
321 minix_make_empty(struct inode *inode, struct inode *dir) minix_make_empty() argument
368 minix_empty_dir(struct inode * inode) minix_empty_dir() argument
419 minix_set_link(struct minix_dir_entry *de, struct page *page, struct inode *inode) minix_set_link() argument
465 struct inode *inode = mapping->host; minix_inode_by_name() local
[all...]

Completed in 29 milliseconds

12345678910>>...158