/linux-master/fs/ext4/ |
H A D | acl.h | 58 struct posix_acl *ext4_get_acl(struct inode *inode, int type, bool rcu); 61 extern int ext4_init_acl(handle_t *, struct inode *, struct inode *); 69 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) argument 74 inode->i_mode &= ~current_umask();
|
/linux-master/fs/afs/ |
H A D | inode.c | 65 * Initialise an inode from the vnode status. 72 struct inode *inode = AFS_VNODE_TO_I(vnode); local 92 inode_set_ctime_to_ts(inode, t); 93 inode_set_mtime_to_ts(inode, t); 94 inode_set_atime_to_ts(inode, t); 95 inode->i_flags |= S_NOATIME; 96 inode->i_uid = make_kuid(&init_user_ns, status->owner); 97 inode->i_gid = make_kgid(&init_user_ns, status->group); 98 set_nlink(&vnode->netfs.inode, statu 166 struct inode *inode = &vnode->netfs.inode; local 384 afs_ilookup5_test_by_fid(struct inode *inode, void *opaque) argument 397 afs_iget5_test(struct inode *inode, void *opaque) argument 408 afs_iget5_set(struct inode *inode, void *opaque) argument 468 struct inode *inode; local 509 afs_iget5_set_root(struct inode *inode, void *opaque) argument 532 struct inode *inode; local 584 struct inode *inode = d_inode(path->dentry); local 624 afs_drop_inode(struct inode *inode) argument 637 afs_evict_inode(struct inode *inode) argument 679 struct inode *inode = &vp->vnode->netfs.inode; local 728 struct inode *inode = &vnode->netfs.inode; local [all...] |
/linux-master/fs/nfs/ |
H A D | nfs42.h | 43 ssize_t nfs42_proc_getxattr(struct inode *inode, const char *name, 45 int nfs42_proc_setxattr(struct inode *inode, const char *name, 47 ssize_t nfs42_proc_listxattrs(struct inode *inode, void *buf, 49 int nfs42_proc_removexattr(struct inode *inode, const char *name);
|
H A D | export.c | 18 FILEID_HIGH_OFF = 0, /* inode fileid high */ 19 FILEID_LOW_OFF, /* inode fileid low */ 20 FILE_I_TYPE_OFF, /* inode type */ 35 nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) argument 37 struct nfs_fh *server_fh = NFS_FH(inode); 42 dprintk("%s: max fh len %d inode %p parent %p", 43 __func__, *max_len, inode, parent); 52 p[FILEID_HIGH_OFF] = NFS_FILEID(inode) >> 3 72 struct inode *inode; local 120 struct inode *inode = d_inode(dentry), *pinode; local [all...] |
H A D | delegation.c | 46 nfs_clear_verifier_delegated(delegation->inode); 96 struct nfs_delegation *nfs4_get_valid_delegation(const struct inode *inode) argument 100 delegation = rcu_dereference(NFS_I(inode)->delegation); 107 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) argument 114 delegation = rcu_dereference(NFS_I(inode)->delegation); 124 * nfs4_have_delegation - check if inode has a delegation, mark it 126 * @inode: inode t 131 nfs4_have_delegation(struct inode *inode, fmode_t flags) argument 140 nfs4_check_delegation(struct inode *inode, fmode_t flags) argument 147 struct inode *inode = state->inode; local 177 nfs_delegation_claim_opens(struct inode *inode, const nfs4_stateid *stateid, fmode_t type) argument 226 nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit) argument 257 nfs_do_return_delegation(struct inode *inode, struct nfs_delegation *delegation, int issync) argument 276 struct inode *inode = NULL; local 369 nfs_inode_detach_delegation(struct inode *inode) argument 424 nfs_inode_set_delegation(struct inode *inode, const struct cred *cred, fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit) argument 525 nfs_end_delegation_return(struct inode *inode, struct nfs_delegation *delegation, int issync) argument 571 struct inode *inode; local 594 struct inode *inode; local 724 nfs_inode_evict_delegation(struct inode *inode) argument 747 nfs4_inode_return_delegation(struct inode *inode) argument 770 nfs4_inode_return_delegation_on_close(struct inode *inode) argument 808 nfs4_inode_make_writeable(struct inode *inode) argument 917 nfs_revoke_delegation(struct inode *inode, const nfs4_stateid *stateid) argument 952 nfs_remove_bad_delegation(struct inode *inode, const nfs4_stateid *stateid) argument 959 nfs_delegation_mark_returned(struct inode *inode, const nfs4_stateid *stateid) argument 1042 nfs_async_inode_return_delegation(struct inode *inode, const nfs4_stateid *stateid) argument 1161 struct inode *inode; local 1221 nfs_inode_mark_test_expired_delegation(struct nfs_server *server, struct inode *inode) argument 1272 nfs_delegation_test_free_expired(struct inode *inode, nfs4_stateid *stateid, const struct cred *cred) argument 1291 struct inode *inode; local 1348 nfs_inode_find_delegation_state_and_recover(struct inode *inode, const nfs4_stateid *stateid) argument 1398 nfs4_refresh_delegation_stateid(nfs4_stateid *dst, struct inode *inode) argument 1429 nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, const struct cred **cred) argument 1463 nfs4_delegation_flush_on_close(const struct inode *inode) argument [all...] |
/linux-master/fs/ubifs/ |
H A D | dir.c | 24 * @i_size of the parent inode and writes the parent inode together with the 25 * target inode. This was done to simplify file-system recovery which would 27 * the re-named inode dirty (because its @i_ctime is updated) but does not 34 * inherit_flags - inherit flags of the parent inode. 35 * @dir: parent inode 36 * @mode: new inode mode flags 39 * parent directory inode @dir. UBIFS inodes inherit the following flags: 47 static int inherit_flags(const struct inode *dir, umode_t mode) 55 * attribute inode i 81 struct inode *inode; local 200 struct inode *inode = NULL; local 287 struct inode *inode; local 358 struct inode *inode; local 426 struct inode *inode; local 724 struct inode *inode = d_inode(old_dentry); local 801 struct inode *inode = d_inode(dentry); local 908 struct inode *inode = d_inode(dentry); local 984 struct inode *inode; local 1058 struct inode *inode; local 1150 struct inode *inode; local 1650 struct inode *inode = d_inode(path->dentry); local [all...] |
/linux-master/fs/hfsplus/ |
H A D | super.c | 21 static struct inode *hfsplus_alloc_inode(struct super_block *sb); 22 static void hfsplus_free_inode(struct inode *inode); 27 static int hfsplus_system_read_inode(struct inode *inode) argument 29 struct hfsplus_vh *vhdr = HFSPLUS_SB(inode->i_sb)->s_vhdr; 31 switch (inode->i_ino) { 33 hfsplus_inode_read_fork(inode, &vhdr->ext_file); 34 inode->i_mapping->a_ops = &hfsplus_btree_aops; 37 hfsplus_inode_read_fork(inode, 61 struct inode *inode; local 100 hfsplus_system_write_inode(struct inode *inode) argument 147 hfsplus_write_inode(struct inode *inode, struct writeback_control *wbc) argument 165 hfsplus_evict_inode(struct inode *inode) argument 386 struct inode *root, *inode; local 637 hfsplus_free_inode(struct inode *inode) argument [all...] |
/linux-master/fs/sysv/ |
H A D | itree.c | 17 static inline void dirty_indirect(struct buffer_head *bh, struct inode *inode) argument 19 mark_buffer_dirty_inode(bh, inode); 20 if (IS_SYNC(inode)) 24 static int block_to_path(struct inode *inode, long block, int offsets[DEPTH]) argument 26 struct super_block *sb = inode->i_sb; 86 static Indirect *get_branch(struct inode *inode, argument 92 struct super_block *sb = inode 126 alloc_branch(struct inode *inode, int num, int *offsets, Indirect *branch) argument 173 splice_branch(struct inode *inode, Indirect chain[], Indirect *where, int num) argument 208 get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 280 find_shared(struct inode *inode, int depth, int offsets[], Indirect chain[], sysv_zone_t *top) argument 329 free_data(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q) argument 341 free_branches(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q, int depth) argument 367 sysv_truncate(struct inode * inode) argument 476 struct inode *inode = mapping->host; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | fs-io.c | 18 #include "inode.h" 56 struct bch_inode_info *inode, 64 dev = find_first_bit(inode->ei_devs_need_flush.d, BCH_SB_MEMBERS_MAX); 68 devs = inode->ei_devs_need_flush; 69 memset(&inode->ei_devs_need_flush, 0, sizeof(inode->ei_devs_need_flush)); 94 struct bch_inode_info *inode) 99 bch2_inode_flush_nocow_writes_async(c, inode, &cl); 114 struct bch_inode_info *inode, 132 struct bch_inode_info *inode, 55 bch2_inode_flush_nocow_writes_async(struct bch_fs *c, struct bch_inode_info *inode, struct closure *cl) argument 93 bch2_inode_flush_nocow_writes(struct bch_fs *c, struct bch_inode_info *inode) argument 113 inode_set_size(struct btree_trans *trans, struct bch_inode_info *inode, struct bch_inode_unpacked *bi, void *p) argument 131 bch2_write_inode_size(struct bch_fs *c, struct bch_inode_info *inode, loff_t new_size, unsigned fields) argument 144 __bch2_i_sectors_acct(struct bch_fs *c, struct bch_inode_info *inode, struct quota_res *quota_res, s64 sectors) argument 174 bch2_flush_inode(struct bch_fs *c, struct bch_inode_info *inode) argument 193 struct bch_inode_info *inode = file_bch_inode(file); local 240 __bch2_truncate_folio(struct bch_inode_info *inode, pgoff_t index, loff_t start, loff_t end) argument 354 bch2_truncate_folio(struct bch_inode_info *inode, loff_t from) argument 360 bch2_truncate_folios(struct bch_inode_info *inode, loff_t start, loff_t end) argument 374 bch2_extend(struct mnt_idmap *idmap, struct bch_inode_info *inode, struct bch_inode_unpacked *inode_u, struct iattr *iattr) argument 396 bchfs_truncate(struct mnt_idmap *idmap, struct bch_inode_info *inode, struct iattr *iattr) argument 498 inode_update_times_fn(struct btree_trans *trans, struct bch_inode_info *inode, struct bch_inode_unpacked *bi, void *p) argument 508 bchfs_fpunch(struct bch_inode_info *inode, loff_t offset, loff_t len) argument 547 bchfs_fcollapse_finsert(struct bch_inode_info *inode, loff_t offset, loff_t len, bool insert) argument 583 __bchfs_fallocate(struct bch_inode_info *inode, int mode, u64 start_sector, u64 end_sector) argument 704 bchfs_fallocate(struct bch_inode_info *inode, int mode, loff_t offset, loff_t len) argument 764 struct bch_inode_info *inode = file_bch_inode(file); local 801 quota_reserve_range(struct bch_inode_info *inode, struct quota_res *res, u64 start, u64 end) argument 935 struct bch_inode_info *inode = file_bch_inode(file); local 988 struct bch_inode_info *inode = file_bch_inode(file); local [all...] |
/linux-master/fs/bfs/ |
H A D | bfs.h | 12 In actual fact, attempting to create the 512th inode (i.e. inode No. 513 or file No. 511) 32 * BFS file system in-core inode info 35 unsigned long i_dsk_ino; /* inode number from the disk, can be 0 */ 38 struct inode vfs_inode; 46 static inline struct bfs_inode_info *BFS_I(struct inode *inode) argument 48 return container_of(inode, struct bfs_inode_info, vfs_inode); 55 /* inode.c */ 56 extern struct inode *bfs_ige [all...] |
/linux-master/drivers/char/tpm/ |
H A D | tpm-dev.c | 18 static int tpm_open(struct inode *inode, struct file *file) argument 23 chip = container_of(inode->i_cdev, struct tpm_chip, cdev); 49 static int tpm_release(struct inode *inode, struct file *file) argument
|
/linux-master/fs/ecryptfs/ |
H A D | dentry.c | 43 struct inode *inode = d_inode(dentry); local 45 fsstack_copy_attr_all(inode, ecryptfs_inode_to_lower(inode)); 46 if (!inode->i_nlink)
|
/linux-master/fs/ext2/ |
H A D | dir.c | 64 static inline unsigned ext2_chunk_size(struct inode *inode) argument 66 return inode->i_sb->s_blocksize; 74 ext2_last_byte(struct inode *inode, unsigned long page_nr) argument 76 unsigned last_byte = inode->i_size; 87 struct inode *dir = mapping->host; 101 struct inode *dir = folio->mapping->host; 129 if (unlikely(le32_to_cpu(p->inode) > max_inumber)) 159 error = "inode ou 249 ext2_set_de_type(ext2_dirent *de, struct inode *inode) argument 261 struct inode *inode = file_inode(file); local 451 ext2_set_link(struct inode *dir, struct ext2_dir_entry_2 *de, struct folio *folio, struct inode *inode, bool update_times) argument 477 ext2_add_link(struct dentry *dentry, struct inode *inode) argument 574 struct inode *inode = folio->mapping->host; local 618 ext2_make_empty(struct inode *inode, struct inode *parent) argument 660 ext2_empty_dir(struct inode *inode) argument [all...] |
H A D | file.c | 37 struct inode *inode = iocb->ki_filp->f_mapping->host; local 43 inode_lock_shared(inode); 45 inode_unlock_shared(inode); 54 struct inode *inode = file->f_mapping->host; local 57 inode_lock(inode); 69 if (ret > 0 && iocb->ki_pos > i_size_read(inode)) { 70 i_size_write(inode, iocb->ki_pos); 71 mark_inode_dirty(inode); 95 struct inode *inode = file_inode(vmf->vma->vm_file); local 143 ext2_release_file(struct inode * inode, struct file * filp) argument 169 struct inode *inode = file->f_mapping->host; local 185 struct inode *inode = file_inode(iocb->ki_filp); local 215 struct inode *inode = file->f_mapping->host; local [all...] |
/linux-master/fs/verity/ |
H A D | init.c | 42 void fsverity_msg(const struct inode *inode, const char *level, argument 56 if (inode) 57 printk("%sfs-verity (%s, inode %lu): %pV\n", 58 level, inode->i_sb->s_id, inode->i_ino, &vaf);
|
H A D | enable.c | 22 static int hash_one_block(struct inode *inode, argument 40 err = fsverity_hash_block(params, inode, cur->data, 49 static int write_merkle_tree_block(struct inode *inode, const u8 *buf, argument 56 err = inode->i_sb->s_vop->write_merkle_tree_block(inode, buf, pos, 59 fsverity_err(inode, "Error %d writing Merkle tree block %lu", 76 struct inode *inode local 186 struct inode *inode = file_inode(filp); local 320 struct inode *inode = file_inode(filp); local [all...] |
/linux-master/fs/f2fs/ |
H A D | xattr.c | 47 struct dentry *unused, struct inode *inode, 50 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); 63 return f2fs_getxattr(inode, handler->flags, name, 69 struct dentry *unused, struct inode *inode, 73 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); 86 return f2fs_setxattr(inode, handler->flags, name, 103 struct dentry *unused, struct inode *inode, 46 f2fs_xattr_generic_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) 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) 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) 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) argument 138 f2fs_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *page) argument 154 f2fs_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, struct page *ipage) argument 253 __find_inline_xattr(struct inode *inode, void *base_addr, void **last_addr, int index, size_t len, const char *name) argument 274 read_inline_xattr(struct inode *inode, struct page *ipage, void *txattr_addr) argument 297 read_xattr_block(struct inode *inode, void *txattr_addr) 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) argument 388 read_all_xattrs(struct inode *inode, struct page *ipage, void **base_addr) argument 431 write_all_xattrs(struct inode *inode, __u32 hsize, void *txattr_addr, struct page *ipage) argument 514 f2fs_getxattr(struct inode *inode, int index, const char *name, void *buffer, size_t buffer_size, struct page *ipage) argument 564 struct inode *inode = d_inode(dentry); local 628 __f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) argument 791 f2fs_setxattr(struct inode *inode, int index, const char *name, const void *value, size_t size, struct page *ipage, int flags) argument [all...] |
/linux-master/drivers/ras/ |
H A D | debugfs.c | 27 static int trace_open(struct inode *inode, struct file *file) argument 33 static int trace_release(struct inode *inode, struct file *file) argument 36 return single_release(inode, file);
|
/linux-master/fs/tracefs/ |
H A D | internal.h | 14 struct inode vfs_inode; 46 * @ino: The saved inode number 66 static inline struct tracefs_inode *get_tracefs(const struct inode *inode) argument 68 return container_of(inode, struct tracefs_inode, vfs_inode); 74 struct inode *tracefs_get_inode(struct super_block *sb);
|
/linux-master/fs/ceph/ |
H A D | acl.c | 20 static inline void ceph_set_cached_acl(struct inode *inode, argument 23 struct ceph_inode_info *ci = ceph_inode(inode); 27 set_cached_acl(inode, type, acl); 29 forget_cached_acl(inode, type); 33 struct posix_acl *ceph_get_acl(struct inode *inode, int type, bool rcu) argument 35 struct ceph_client *cl = ceph_inode_to_client(inode); 57 size = __ceph_getxattr(inode, name, "", 0); 62 size = __ceph_getxattr(inode, nam 97 struct inode *inode = d_inode(dentry); local 259 ceph_init_inode_acls(struct inode *inode, struct ceph_acl_sec_ctx *as_ctx) argument [all...] |
/linux-master/fs/proc/ |
H A D | fd.c | 77 static int proc_fdinfo_access_allowed(struct inode *inode) argument 80 struct task_struct *task = get_proc_task(inode); 94 static int seq_fdinfo_open(struct inode *inode, struct file *file) argument 96 int ret = proc_fdinfo_access_allowed(inode); 101 return single_open(file, seq_show, inode); 125 static void tid_fd_update_inode(struct task_struct *task, struct inode *inode, argument 128 task_dump_owner(task, 0, &inode 144 struct inode *inode; local 204 struct inode *inode; local 287 proc_readfd_count(struct inode *inode, loff_t *count) argument 332 proc_fd_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument 355 struct inode *inode = d_inode(path->dentry); local 382 struct inode *inode; local 410 proc_open_fdinfo(struct inode *inode, struct file *file) argument [all...] |
/linux-master/fs/qnx4/ |
H A D | inode.c | 32 static struct inode *qnx4_alloc_inode(struct super_block *sb); 33 static void qnx4_free_inode(struct inode *inode); 61 static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create ) argument 65 QNX4DEBUG((KERN_INFO "qnx4: qnx4_get_block inode=[%ld] iblock=[%ld]\n",inode->i_ino,iblock)); 67 phys = qnx4_block_map( inode, iblock ); 70 map_bh(bh, inode->i_sb, phys); 84 unsigned long qnx4_block_map( struct inode *inod argument 288 struct inode *inode; local 364 qnx4_free_inode(struct inode *inode) argument [all...] |
/linux-master/fs/omfs/ |
H A D | omfs.h | 50 extern int omfs_make_empty(struct inode *inode, struct super_block *sb); 59 extern int omfs_shrink_inode(struct inode *inode); 61 /* inode.c */ 63 extern struct inode *omfs_iget(struct super_block *sb, ino_t inode); 64 extern struct inode *omfs_new_inode(struct inode *dir, umode_t mode); 67 extern int omfs_sync_inode(struct inode *inod [all...] |
/linux-master/fs/squashfs/ |
H A D | symlink.c | 15 * link inode within the inode table. This allows the normally small symbolic 16 * link to be compressed as part of the inode table, achieving much greater 36 struct inode *inode = page->mapping->host; local 37 struct super_block *sb = inode->i_sb; 40 u64 block = squashfs_i(inode)->start; 41 int offset = squashfs_i(inode)->offset; 42 int length = min_t(int, i_size_read(inode) - index, PAGE_SIZE); 58 squashfs_i(inode) [all...] |
/linux-master/fs/jffs2/ |
H A D | file.c | 34 struct inode *inode = filp->f_mapping->host; local 35 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); 42 inode_lock(inode); 43 /* Trigger GC to flush any pending writes for this inode */ 44 jffs2_flush_wbuf_gc(c, inode->i_ino); 45 inode_unlock(inode); 80 static int jffs2_do_readpage_nolock (struct inode *inode, struct page *pg) argument 82 struct jffs2_inode_info *f = JFFS2_INODE_INFO(inode); 136 struct inode *inode = mapping->host; local 251 struct inode *inode = mapping->host; local [all...] |