/linux-master/fs/vboxsf/ |
H A D | utils.c | 16 struct inode *vboxsf_new_inode(struct super_block *sb) 19 struct inode *inode; local 24 inode = new_inode(sb); 25 if (!inode) 31 ret = idr_alloc_cyclic(&sbi->ino_idr, inode, 1, 0, GFP_ATOMIC); 39 iput(inode); 43 inode->i_ino = ret; 44 inode->i_generation = gen; 45 return inode; 49 vboxsf_init_inode(struct vboxsf_sbi *sbi, struct inode *inode, const struct shfl_fsobjinfo *info, bool reinit) argument 198 struct inode *inode; local 240 struct inode *inode = d_inode(dentry); local [all...] |
/linux-master/fs/tracefs/ |
H A D | event_inode.c | 54 /* Must not have the file inode number */ 100 * count is always a superset of the inode reference count. 151 static struct dentry *eventfs_root_lookup(struct inode *dir, 213 /* Just use the inode permissions for the events directory */ 289 * the mount point inode permissions should be used. 304 static void update_inode_attr(struct inode *inode, umode_t mode, argument 308 inode->i_mode = attr->mode & EVENTFS_MODE_MASK; 310 inode->i_mode = mode; 313 inode 329 struct inode *inode; local 373 struct inode *inode; local 412 struct inode *inode; local 764 struct inode *inode; local [all...] |
/linux-master/fs/fat/ |
H A D | namei_vfat.c | 236 static int vfat_find_form(struct inode *dir, unsigned char *name) 327 static int vfat_create_shortname(struct inode *dir, struct nls_table *nls, 579 static int vfat_build_slots(struct inode *dir, const unsigned char *name, 656 static int vfat_add_entry(struct inode *dir, const struct qstr *qname, 692 static int vfat_find(struct inode *dir, const struct qstr *qname, 701 static struct dentry *vfat_lookup(struct inode *dir, struct dentry *dentry, 706 struct inode *inode; local 715 inode = NULL; 721 inode 763 struct inode *inode; local 792 struct inode *inode = d_inode(dentry); local 823 struct inode *inode = d_inode(dentry); local 851 struct inode *inode; local 892 vfat_get_dotdot_de(struct inode *inode, struct buffer_head **bh, struct msdos_dir_entry **de) argument 902 vfat_sync_ipos(struct inode *dir, struct inode *inode) argument 910 vfat_update_dotdot_de(struct inode *dir, struct inode *inode, struct buffer_head *dotdot_bh, struct msdos_dir_entry *dotdot_de) argument [all...] |
/linux-master/fs/qnx6/ |
H A D | namei.c | 16 struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry, 21 struct inode *foundinode = NULL;
|
H A D | dir.c | 27 static struct page *qnx6_get_page(struct inode *dir, unsigned long n) 36 static unsigned last_entry(struct inode *inode, unsigned long page_nr) argument 38 unsigned long last_byte = inode->i_size; 62 static int qnx6_dir_longfilename(struct inode *inode, argument 68 struct super_block *s = inode->i_sb; 100 pr_debug("qnx6_readdir:%.*s inode:%u\n", 114 struct inode *inode local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_debugfs.h | 68 int mem_open(struct inode *inode, struct file *file);
|
/linux-master/fs/proc/ |
H A D | cpuinfo.c | 10 static int cpuinfo_open(struct inode *inode, struct file *file) argument
|
H A D | task_nommu.c | 140 struct inode *inode = file_inode(vma->vm_file); local 141 dev = inode->i_sb->s_dev; 142 ino = inode->i_ino; 203 priv->task = get_proc_task(priv->inode); 252 static int maps_open(struct inode *inode, struct file *file, argument 261 priv->inode = inode; 262 priv->mm = proc_mem_open(inode, PTRACE_MODE_REA 274 map_release(struct inode *inode, struct file *file) argument 285 pid_maps_open(struct inode *inode, struct file *file) argument [all...] |
/linux-master/fs/sysv/ |
H A D | sysv.h | 34 unsigned short s_fic_size; /* free inode cache size, NICINOD */ 53 u32 s_firstinodezone; /* index of first inode zone */ 64 * SystemV/V7/Coherent FS inode data in memory 69 struct inode vfs_inode; 73 static inline struct sysv_inode_info *SYSV_I(struct inode *inode) argument 75 return container_of(inode, struct sysv_inode_info, vfs_inode); 126 extern struct inode * sysv_new_inode(const struct inode *, umode_t); 127 extern void sysv_free_inode(struct inode *); [all...] |
/linux-master/fs/smb/server/ |
H A D | ndr.h | 18 struct inode *inode, struct xattr_smb_acl *acl,
|
/linux-master/fs/efivarfs/ |
H A D | file.c | 21 struct inode *inode = file->f_mapping->host; local 48 drop_nlink(inode); 52 inode_lock(inode); 53 i_size_write(inode, datasize + sizeof(attributes)); 54 inode_set_mtime_to_ts(inode, inode_set_ctime_current(inode)); 55 inode_unlock(inode);
|
/linux-master/fs/hpfs/ |
H A D | inode.c | 3 * linux/fs/hpfs/inode.c 7 * inode VFS functions 14 void hpfs_init_inode(struct inode *i) 44 void hpfs_read_inode(struct inode *i) 146 static void hpfs_write_inode_ea(struct inode *i, struct fnode *fnode) 182 void hpfs_write_inode(struct inode *i) 185 struct inode *parent; 209 void hpfs_write_inode_nolock(struct inode *i) 263 struct inode *inode local 301 hpfs_write_if_changed(struct inode *inode) argument 309 hpfs_evict_inode(struct inode *inode) argument [all...] |
/linux-master/fs/orangefs/ |
H A D | xattr.c | 62 static struct orangefs_cached_xattr *find_cached_xattr(struct inode *inode, argument 65 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); 93 ssize_t orangefs_inode_getxattr(struct inode *inode, const char *name, argument 96 struct orangefs_inode_s *orangefs_inode = ORANGEFS_I(inode); 108 if (S_ISLNK(inode->i_mode)) 118 "getxattr on inode %pU, name %s " 120 get_khandle_from_ino(inode), 127 cx = find_cached_xattr(inode, nam 244 orangefs_inode_removexattr(struct inode *inode, const char *name, int flags) argument 314 orangefs_inode_setxattr(struct inode *inode, const char *name, const void *value, size_t size, int flags) argument 408 struct inode *inode = dentry->d_inode; local 528 orangefs_xattr_set_default(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument 540 orangefs_xattr_get_default(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument [all...] |
/linux-master/fs/jffs2/ |
H A D | xattr.h | 92 extern int do_jffs2_getxattr(struct inode *inode, int xprefix, const char *xname, 94 extern int do_jffs2_setxattr(struct inode *inode, int xprefix, const char *xname, 120 extern int jffs2_init_security(struct inode *inode, struct inode *dir, 124 #define jffs2_init_security(inode,dir,qstr) (0)
|
/linux-master/fs/jfs/ |
H A D | jfs_xtree.h | 82 * xtree root (in inode): 100 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen, 102 extern void xtInitRoot(tid_t tid, struct inode *ip); 103 extern int xtInsert(tid_t tid, struct inode *ip, 105 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen, 107 extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad); 108 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type); 109 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size); 111 struct inode *ip, int xflag, s64 xoff, int maxblocks,
|
/linux-master/fs/ceph/ |
H A D | ioctl.c | 67 struct inode *inode = file_inode(file); local 68 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; 112 req->r_inode = inode; 113 ihold(inode); 132 * Set a layout policy on a directory inode. All items in the tree 133 * rooted at this inode will inherit this layout on creation, 139 struct inode *inode = file_inode(file); local 143 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode 183 struct inode *inode = file_inode(file); local 245 struct inode *inode = file_inode(file); local 297 struct inode *inode = file_inode(file); local 361 struct inode *inode = file_inode(file); local [all...] |
H A D | file.c | 200 static int ceph_init_file_info(struct inode *inode, struct file *file, argument 203 struct ceph_inode_info *ci = ceph_inode(inode); 205 ceph_inode_to_fs_client(&ci->netfs.inode)->mount_options; 206 struct ceph_client *cl = ceph_inode_to_client(inode); 210 doutc(cl, "%p %llx.%llx %p 0%o (%s)\n", inode, ceph_vinop(inode), 211 file, inode->i_mode, isdir ? "dir" : "regular"); 212 BUG_ON(inode->i_fop->release != ceph_release); 240 fi->filp_gen = READ_ONCE(ceph_inode_to_fs_client(inode) 263 ceph_init_file(struct inode *inode, struct file *file, int fmode) argument 300 ceph_renew_caps(struct inode *inode, int fmode) argument 359 ceph_open(struct inode *inode, struct file *file) argument 575 wake_async_create_waiters(struct inode *inode, struct ceph_mds_session *session) argument 656 ceph_finish_async_create(struct inode *dir, struct inode *inode, struct dentry *dentry, struct file *file, umode_t mode, struct ceph_mds_request *req, struct ceph_acl_sec_ctx *as_ctx, struct ceph_file_layout *lo) argument 997 ceph_release(struct inode *inode, struct file *file) argument 1048 __ceph_sync_read(struct inode *inode, loff_t *ki_pos, struct iov_iter *to, int *retry_op, u64 *last_objver) argument 1257 struct inode *inode = file_inode(file); local 1287 ceph_aio_complete(struct inode *inode, struct ceph_aio_request *aio_req) argument 1336 struct inode *inode = req->r_inode; local 1421 struct inode *inode = orig_req->r_inode; local 1487 struct inode *inode = file_inode(file); local 1715 struct inode *inode = file_inode(file); local 2115 struct inode *inode = file_inode(filp); local 2270 struct inode *inode = file_inode(in); local 2337 struct inode *inode = file_inode(file); local 2524 struct inode *inode = file_inode(file); local 2534 ceph_zero_partial_page( struct inode *inode, loff_t offset, unsigned size) argument 2549 ceph_zero_pagecache_range(struct inode *inode, loff_t offset, loff_t length) argument 2571 ceph_zero_partial_object(struct inode *inode, loff_t offset, loff_t *length) argument 2613 ceph_zero_objects(struct inode *inode, loff_t offset, loff_t length) argument 2663 struct inode *inode = file_inode(file); local [all...] |
/linux-master/fs/btrfs/ |
H A D | ioctl.h | 21 void btrfs_sync_inode_flags_to_i_flags(struct inode *inode);
|
/linux-master/fs/ |
H A D | nsfs.c | 29 struct inode *inode = d_inode(dentry); local 30 struct ns_common *ns = inode->i_private; 34 ns_ops->name, inode->i_ino); 43 static void nsfs_evict(struct inode *inode) argument 45 struct ns_common *ns = inode->i_private; 46 clear_inode(inode); 187 struct inode *inode local 201 nsfs_init_inode(struct inode *inode, void *data) argument [all...] |
H A D | stat.c | 30 * generic_fillattr - Fill in the basic attributes from the inode struct 31 * @idmap: idmap of the mount the inode was found from 33 * @inode: Inode to use as the source 37 * found on the VFS inode structure. This is the default if no getattr inode 40 * If the inode has been found through an idmapped mount the idmap of 42 * take care to map the inode according to @idmap before filling in the 44 * performed on the raw inode simply pass @nop_mnt_idmap. 47 struct inode *inode, struc 46 generic_fillattr(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat) argument 82 generic_fill_statx_attr(struct inode *inode, struct kstat *stat) argument 109 struct inode *inode = d_backing_inode(path->dentry); local 264 struct inode *inode = d_backing_inode(path.dentry); local 501 struct inode *inode = d_backing_inode(path.dentry); local 803 __inode_add_bytes(struct inode *inode, loff_t bytes) argument 815 inode_add_bytes(struct inode *inode, loff_t bytes) argument 824 __inode_sub_bytes(struct inode *inode, loff_t bytes) argument 837 inode_sub_bytes(struct inode *inode, loff_t bytes) argument 846 inode_get_bytes(struct inode *inode) argument 858 inode_set_bytes(struct inode *inode, loff_t bytes) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | export.c | 22 #include "inode.h" 37 struct inode *inode; local 50 inode = ocfs2_ilookup(sb, blkno); 52 * If the inode exists in memory, we only need to check it's 55 if (inode) 73 * as an inode, we return -ESTALE to be 78 mlog(ML_ERROR, "test inode bit failed %d\n", status); 83 /* If the inode allocator bit is clear, this inode mus 192 ocfs2_encode_fh(struct inode *inode, u32 *fh_in, int *max_len, struct inode *parent) argument [all...] |
/linux-master/fs/ext4/ |
H A D | readpage.c | 174 static inline bool ext4_need_verity(const struct inode *inode, pgoff_t idx) argument 176 return fsverity_active(inode) && 177 idx < DIV_ROUND_UP(inode->i_size, PAGE_SIZE); 181 const struct inode *inode, 186 if (fscrypt_inode_uses_fs_layer_crypto(inode)) 189 if (ext4_need_verity(inode, first_idx)) 203 static inline loff_t ext4_readpage_limit(struct inode *inode) argument 180 ext4_set_bio_post_read_ctx(struct bio *bio, const struct inode *inode, pgoff_t first_idx) argument 211 ext4_mpage_readpages(struct inode *inode, struct readahead_control *rac, struct folio *folio) argument [all...] |
/linux-master/security/ |
H A D | lsm_audit.c | 222 struct inode *inode; local 226 inode = d_backing_inode(a->u.path.dentry); 227 if (inode) { 229 audit_log_untrustedstring(ab, inode->i_sb->s_id); 230 audit_log_format(ab, " ino=%lu", inode->i_ino); 235 struct inode *inode; local 239 inode = file_inode(a->u.file); 240 if (inode) { 248 struct inode *inode; local 263 struct inode *inode; local 280 struct inode *inode; local [all...] |
/linux-master/fs/overlayfs/ |
H A D | dir.c | 27 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) 71 struct inode *wdir = workdir->d_inode; 97 pr_warn("Failed to link whiteout - disabling whiteout inode sharing(nlink=%u, err=%i)\n", 110 int ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir, 113 struct inode *wdir = ofs->workdir->d_inode; 141 int ovl_mkdir_real(struct ovl_fs *ofs, struct inode *dir, 172 struct dentry *ovl_create_real(struct ovl_fs *ofs, struct inode *dir, 260 * If @hardlink is false, then @inode is a pre-allocated inode, we may or 263 static int ovl_instantiate(struct dentry *dentry, struct inode *inod argument 324 ovl_create_upper(struct dentry *dentry, struct inode *inode, struct ovl_cattr *attr) argument 446 ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, struct ovl_cattr *cattr) argument 556 ovl_setup_cred_for_create(struct dentry *dentry, struct inode *inode, umode_t mode, const struct cred *old_cred) argument 580 ovl_create_or_link(struct dentry *dentry, struct inode *inode, struct ovl_cattr *attr, bool origin) argument 632 struct inode *inode; local 714 struct inode *inode; local 868 struct inode *inode = d_inode(dentry); local 1306 ovl_create_tmpfile(struct file *file, struct dentry *dentry, struct inode *inode, umode_t mode) argument 1348 ovl_dummy_open(struct inode *inode, struct file *file) argument 1358 struct inode *inode; local [all...] |
/linux-master/fs/cramfs/ |
H A D | inode.c | 90 static struct inode *get_cramfs_inode(struct super_block *sb, 93 struct inode *inode; local 96 inode = iget_locked(sb, cramino(cramfs_inode, offset)); 97 if (!inode) 99 if (!(inode->i_state & I_NEW)) 100 return inode; 104 inode->i_fop = &generic_ro_fops; 105 inode->i_data.a_ops = &cramfs_aops; 109 inode 288 cramfs_get_block_range(struct inode *inode, u32 pgoff, u32 *pages) argument 329 cramfs_last_page_is_shared(struct inode *inode) argument 348 struct inode *inode = file_inode(file); local 447 struct inode *inode = file_inode(file); local 696 struct inode *inode = file_inode(file); local 760 struct inode *inode = NULL; local 815 struct inode *inode = page->mapping->host; local [all...] |