Searched refs:inode (Results 1 - 25 of 1971) sorted by last modified time

1234567891011>>

/linux-master/fs/nfsd/
H A Dnfs4xdr.c3268 const struct inode *inode = d_inode(args->dentry); local
3269 u32 ns = max_t(u32, NSEC_PER_SEC/HZ, inode->i_sb->s_time_gran);
/linux-master/fs/nfs/
H A Dinode.c3 * linux/fs/nfs/inode.c
7 * nfs inode and superblock handling functions
62 /* Default is to see 64-bit inode numbers */
65 static int nfs_update_inode(struct inode *, struct nfs_fattr *);
85 * nfs_compat_user_ino64 - returns the user-visible inode number
88 * This function returns a 32-bit inode number if the boot parameter
107 int nfs_drop_inode(struct inode *inode) argument
109 return NFS_STALE(inode) || generic_drop_inode(inode);
113 nfs_clear_inode(struct inode *inode) argument
126 nfs_evict_inode(struct inode *inode) argument
133 nfs_sync_inode(struct inode *inode) argument
155 nfs_attribute_timeout(struct inode *inode) argument
162 nfs_check_cache_flags_invalid(struct inode *inode, unsigned long flags) argument
170 nfs_check_cache_invalid(struct inode *inode, unsigned long flags) argument
190 nfs_set_cache_invalid(struct inode *inode, unsigned long flags) argument
224 nfs_zap_caches_locked(struct inode *inode) argument
248 nfs_zap_caches(struct inode *inode) argument
255 nfs_zap_mapping(struct inode *inode, struct address_space *mapping) argument
264 nfs_zap_acl_cache(struct inode *inode) argument
277 nfs_invalidate_atime(struct inode *inode) argument
289 nfs_set_inode_stale_locked(struct inode *inode) argument
296 nfs_set_inode_stale(struct inode *inode) argument
315 nfs_find_actor(struct inode *inode, void *opaque) argument
333 nfs_init_locked(struct inode *inode, void *opaque) argument
345 nfs_clear_label_invalid(struct inode *inode) argument
352 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr) argument
394 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr) argument
408 struct inode *inode; local
450 struct inode *inode = ERR_PTR(-ENOENT); local
613 struct inode *inode = d_inode(dentry); local
670 nfs_vmtruncate(struct inode * inode, loff_t offset) argument
703 nfs_setattr_update_inode(struct inode *inode, struct iattr *attr, struct nfs_fattr *fattr) argument
783 nfs_getattr_readdirplus_enable(const struct inode *inode) argument
807 nfs_get_valid_attrmask(struct inode *inode) argument
836 struct inode *inode = d_inode(path->dentry); local
953 struct inode *inode = d_inode(ctx->dentry); local
985 struct inode *inode = d_inode(ctx->dentry); local
1008 struct inode *inode; local
1070 struct inode *inode = d_inode(ctx->dentry); local
1107 struct inode *inode = d_inode(ctx->dentry); local
1132 nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode) argument
1158 struct inode *inode = d_inode(ctx->dentry); local
1175 nfs_open(struct inode *inode, struct file *filp) argument
1194 __nfs_revalidate_inode(struct nfs_server *server, struct inode *inode) argument
1267 nfs_attribute_cache_expired(struct inode *inode) argument
1281 nfs_revalidate_inode(struct inode *inode, unsigned long flags) argument
1289 nfs_invalidate_mapping(struct inode *inode, struct address_space *mapping) argument
1320 struct inode *inode = mapping->host; local
1370 nfs_mapping_need_revalidate_inode(struct inode *inode) argument
1376 nfs_revalidate_mapping_rcu(struct inode *inode) argument
1402 nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping) argument
1419 struct inode *inode = &nfsi->vfs_inode; local
1433 nfs_wcc_update_inode(struct inode *inode, struct nfs_fattr *fattr) argument
1478 nfs_check_inode_attributes(struct inode *inode, struct nfs_fattr *fattr) argument
1704 nfs_inode_attrs_cmp_generic(const struct nfs_fattr *fattr, const struct inode *inode) argument
1729 nfs_inode_attrs_cmp_monotonic(const struct nfs_fattr *fattr, const struct inode *inode) argument
1753 nfs_inode_attrs_cmp_strict_monotonic(const struct nfs_fattr *fattr, const struct inode *inode) argument
1769 nfs_inode_attrs_cmp(const struct nfs_fattr *fattr, const struct inode *inode) argument
1799 nfs_inode_finish_partial_attr_update(const struct nfs_fattr *fattr, const struct inode *inode) argument
1879 nfs_refresh_inode_locked(struct inode *inode, struct nfs_fattr *fattr) argument
1910 nfs_refresh_inode(struct inode *inode, struct nfs_fattr *fattr) argument
1924 nfs_post_op_update_inode_locked(struct inode *inode, struct nfs_fattr *fattr, unsigned int invalid) argument
1949 nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr) argument
1976 nfs_post_op_update_inode_force_wcc_locked(struct inode *inode, struct nfs_fattr *fattr) argument
2033 nfs_post_op_update_inode_force_wcc(struct inode *inode, struct nfs_fattr *fattr) argument
2058 nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr) argument
2342 nfs_free_inode(struct inode *inode) argument
[all...]
/linux-master/fs/bcachefs/
H A Dinode.c14 #include "inode.h"
73 const struct bch_inode_unpacked *inode)
75 struct bkey_i_inode_v3 *k = &packed->inode;
83 bkey_inode_v3_init(&packed->inode.k_i);
84 packed->inode.k.p.offset = inode->bi_inum;
85 packed->inode.v.bi_journal_seq = cpu_to_le64(inode->bi_journal_seq);
86 packed->inode.v.bi_hash_seed = inode
72 bch2_inode_pack_inlined(struct bkey_inode_buf *packed, const struct bch_inode_unpacked *inode) argument
147 bch2_inode_pack(struct bkey_inode_buf *packed, const struct bch_inode_unpacked *inode) argument
153 bch2_inode_unpack_v1(struct bkey_s_c_inode inode, struct bch_inode_unpacked *unpacked) argument
229 struct bkey_s_c_inode_v3 inode = bkey_s_c_to_inode_v3(k); local
284 struct bkey_s_c_inode inode = bkey_s_c_to_inode(k); local
302 struct bkey_s_c_inode_v2 inode = bkey_s_c_to_inode_v2(k); local
327 bch2_inode_peek_nowarn(struct btree_trans *trans, struct btree_iter *iter, struct bch_inode_unpacked *inode, subvol_inum inum, unsigned flags) argument
361 bch2_inode_peek(struct btree_trans *trans, struct btree_iter *iter, struct bch_inode_unpacked *inode, subvol_inum inum, unsigned flags) argument
371 bch2_inode_write_flags(struct btree_trans *trans, struct btree_iter *iter, struct bch_inode_unpacked *inode, enum btree_update_flags flags) argument
387 __bch2_fsck_write_inode(struct btree_trans *trans, struct bch_inode_unpacked *inode, u32 snapshot) argument
405 bch2_fsck_write_inode(struct btree_trans *trans, struct bch_inode_unpacked *inode, u32 snapshot) argument
479 struct bkey_s_c_inode inode = bkey_s_c_to_inode(k); local
496 struct bkey_s_c_inode_v2 inode = bkey_s_c_to_inode_v2(k); local
513 struct bkey_s_c_inode_v3 inode = bkey_s_c_to_inode_v3(k); local
534 __bch2_inode_unpacked_to_text(struct printbuf *out, struct bch_inode_unpacked *inode) argument
566 bch2_inode_unpacked_to_text(struct printbuf *out, struct bch_inode_unpacked *inode) argument
574 struct bch_inode_unpacked inode; local
929 bch2_inode_find_by_inum_nowarn_trans(struct btree_trans *trans, subvol_inum inum, struct bch_inode_unpacked *inode) argument
942 bch2_inode_find_by_inum_trans(struct btree_trans *trans, subvol_inum inum, struct bch_inode_unpacked *inode) argument
955 bch2_inode_find_by_inum(struct bch_fs *c, subvol_inum inum, struct bch_inode_unpacked *inode) argument
995 bch2_inode_opts_to_opts(struct bch_inode_unpacked *inode) argument
1006 bch2_inode_opts_get(struct bch_io_opts *opts, struct bch_fs *c, struct bch_inode_unpacked *inode) argument
1019 struct bch_inode_unpacked inode; local
1100 struct bch_inode_unpacked inode; local
[all...]
H A Dbuckets.c18 #include "inode.h"
1145 iter.pos.inode, iter.pos.offset, a->v.gen,
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_common.c660 static int isst_if_open(struct inode *inode, struct file *file) argument
692 static int isst_if_relase(struct inode *inode, struct file *f) argument
/linux-master/fs/erofs/
H A Dsuper.c88 static struct inode *erofs_alloc_inode(struct super_block *sb)
101 static void erofs_free_inode(struct inode *inode) argument
103 struct erofs_inode *vi = EROFS_I(inode);
105 if (inode->i_op == &erofs_fast_symlink_iops)
106 kfree(inode->i_link);
542 static struct inode *erofs_nfs_get_inode(struct super_block *sb,
583 struct inode *inode; local
653 inode
[all...]
H A Dinternal.h104 struct inode *inode; /* anonymous inode for the blob */ member in struct:erofs_fscache
131 /* pseudo inode to manage cached pages */
132 struct inode *managed_cache;
136 struct inode *packed_inode;
153 unsigned char islotbits; /* inode slot unit size in bit shift */
184 #define EROFS_I_SB(inode) ((struct erofs_sb_info *)(inode)->i_sb->s_fs_info)
219 struct inode *inod member in struct:erofs_buf
300 erofs_iloc(struct inode *inode) argument
[all...]
H A Dfscache.c259 struct inode *inode = mapping->host; local
260 struct super_block *sb = inode->i_sb;
269 ret = erofs_map_blocks(inode, &map);
502 struct inode *inode; local
521 * Allocate anonymous inode in global pseudo mount for shareable blobs,
525 inode = new_inode(isb);
526 if (!inode) {
527 erofs_err(sb, "failed to get anon inode fo
[all...]
/linux-master/drivers/dma/idxd/
H A Dcdev.c177 static inline struct idxd_cdev *inode_idxd_cdev(struct inode *inode) argument
179 struct cdev *cdev = inode->i_cdev;
184 static inline struct idxd_wq *inode_wq(struct inode *inode) argument
186 struct idxd_cdev *idxd_cdev = inode_idxd_cdev(inode);
221 static int idxd_cdev_open(struct inode *inode, struct file *filp) argument
232 wq = inode_wq(inode);
361 static int idxd_cdev_release(struct inode *nod
[all...]
/linux-master/net/unix/
H A Dgarbage.c86 struct inode *inode = file_inode(filp); local
89 if (S_ISSOCK(inode->i_mode) && !(filp->f_mode & FMODE_PATH)) {
90 struct socket *sock = SOCKET_I(inode);
/linux-master/mm/
H A Dhugetlb.c253 static inline struct hugepage_subpool *subpool_inode(struct inode *inode) argument
255 return HUGETLBFS_SB(inode->i_sb)->spool;
935 void hugetlb_fix_reserve_counts(struct inode *inode) argument
937 struct hugepage_subpool *spool = subpool_inode(inode);
943 struct hstate *h = hstate_inode(inode);
1135 static inline struct resv_map *inode_resv_map(struct inode *inode) argument
1138 * At inode evic
1153 struct inode *inode = mapping->host; local
6136 struct inode *inode = mapping->host; local
7095 hugetlb_reserve_pages(struct inode *inode, long from, long to, struct vm_area_struct *vma, vm_flags_t vm_flags) argument
7255 hugetlb_unreserve_pages(struct inode *inode, long start, long end, long freed) argument
[all...]
/linux-master/include/net/
H A Dsock.h1534 struct inode vfs_inode;
1537 static inline struct socket *SOCKET_I(struct inode *inode) argument
1539 return &container_of(inode, struct socket_alloc, vfs_inode)->socket;
1542 static inline struct inode *SOCK_INODE(struct socket *socket)
2057 * Announce socket dead, detach it from wait queue and inode.
2058 * Note that parent inode held reference count on this struct sock,
/linux-master/include/linux/
H A Dmm.h1080 struct inode;
1410 * A page may belong to an inode's memory mapping. In this case, page->mapping
1411 * is the pointer to the inode, and page->index is the file offset of the page,
1414 * If pagecache pages are not associated with an inode, they are said to be
1418 * In either case (swapcache or inode backed), the pagecache itself holds one
1428 * - inode pages may need to be read from disk,
1429 * - inode pages which have been modified and are MAP_SHARED may need
1430 * to be written back to the inode on disk,
2405 extern void truncate_pagecache(struct inode *inode, loff_
[all...]
/linux-master/fs/ntfs3/
H A Dsuper.c16 * mi - MFT inode - One MFT record(usually 1024 bytes or 4K), consists of attributes.
17 * ni - NTFS inode - Extends linux inode. consists of one or more mft inodes.
104 * Print warnings/notices/errors about inode using name or inode number.
106 void ntfs_inode_printk(struct inode *inode, const char *fmt, ...) argument
108 struct super_block *sb = inode->i_sb;
124 struct dentry *de = d_find_alias(inode);
144 sb->s_id, inode
482 ntfs3_volinfo_open(struct inode *inode, struct file *file) argument
537 ntfs3_label_open(struct inode *inode, struct file *file) argument
573 ntfs_free_inode(struct inode *inode) argument
738 struct inode *inode; local
791 struct inode *inode; local
825 ntfs_nfs_commit_metadata(struct inode *inode) argument
1160 struct inode *inode; local
[all...]
H A Dntfs_fs.h349 * Ntfs inode - extends linux inode. consists of one or more MFT inodes.
356 * Range [i_valid - inode->i_size) - contains 0.
357 * Usually i_valid <= inode->i_size.
400 struct inode vfs_inode;
492 struct inode *dir_search_u(struct inode *dir, const struct cpu_str *uni,
494 bool dir_is_empty(struct inode *dir);
503 int ntfs_file_open(struct inode *inode, struc
1040 ntfs_i(struct inode *inode) argument
[all...]
H A Dinode.c23 static struct inode *ntfs_read_mft(struct inode *inode, argument
28 struct ntfs_inode *ni = ntfs_i(inode);
29 struct super_block *sb = inode->i_sb;
38 unsigned long ino = inode->i_ino;
49 inode->i_op = NULL;
51 inode->i_uid = sbi->options->fs_uid;
52 inode->i_gid = sbi->options->fs_gid;
91 /* Bad inode
511 ntfs_test_inode(struct inode *inode, void *data) argument
518 ntfs_set_inode(struct inode *inode, void *data) argument
529 struct inode *inode; local
558 ntfs_get_block_vbo(struct inode *inode, u64 vbo, struct buffer_head *bh, int create, enum get_block_ctx ctx) argument
685 ntfs_get_block(struct inode *inode, sector_t vbn, struct buffer_head *bh_result, int create) argument
692 ntfs_get_block_bmap(struct inode *inode, sector_t vsn, struct buffer_head *bh_result, int create) argument
710 struct inode *inode = mapping->host; local
737 struct inode *inode = mapping->host; local
764 ntfs_get_block_direct_IO_R(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
771 ntfs_get_block_direct_IO_W(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
782 struct inode *inode = mapping->host; local
824 ntfs_set_size(struct inode *inode, u64 new_size) argument
861 struct inode *inode = mapping->host; local
881 struct inode *inode = mapping->host; local
892 ntfs_get_block_write_begin(struct inode *inode, sector_t vbn, struct buffer_head *bh_result, int create) argument
903 struct inode *inode = mapping->host; local
947 struct inode *inode = mapping->host; local
1005 reset_log_file(struct inode *inode) argument
1044 ntfs3_write_inode(struct inode *inode, struct writeback_control *wbc) argument
1049 ntfs_sync_inode(struct inode *inode) argument
1061 writeback_inode(struct inode *inode) argument
1094 inode_write_data(struct inode *inode, const void *data, size_t bytes) argument
1232 struct inode *inode = NULL; local
1738 ntfs_link_inode(struct inode *inode, struct dentry *dentry) argument
1774 struct inode *inode = d_inode(dentry); local
1824 ntfs_evict_inode(struct inode *inode) argument
1929 ntfs_readlink_hlp(const struct dentry *link_de, struct inode *inode, char *buffer, int buflen) argument
2083 ntfs_get_link(struct dentry *de, struct inode *inode, struct delayed_call *done) argument
[all...]
H A Dfile.c53 struct inode *inode = file_inode(filp); local
54 struct ntfs_sb_info *sbi = inode->i_sb->s_fs_info;
77 struct inode *inode = d_inode(path->dentry); local
78 struct ntfs_inode *ni = ntfs_i(inode);
88 generic_fillattr(idmap, request_mask, inode, stat);
102 struct inode *inode = &ni->vfs_inode; local
103 struct address_space *mapping = inode
178 ntfs_zero_range(struct inode *inode, u64 vbo, u64 vbo_to) argument
257 struct inode *inode = mapping->host; local
319 ntfs_extend(struct inode *inode, loff_t pos, size_t count, struct file *file) argument
369 ntfs_truncate(struct inode *inode, loff_t new_size) argument
434 struct inode *inode = file->f_mapping->host; local
677 struct inode *inode = d_inode(dentry); local
738 struct inode *inode = file->f_mapping->host; local
775 struct inode *inode = in->f_mapping->host; local
849 struct inode *inode = file_inode(file); local
1070 struct inode *inode = mapping->host; local
1134 ntfs_file_open(struct inode *inode, struct file *file) argument
1168 ntfs_file_release(struct inode *inode, struct file *file) argument
1194 ntfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, __u64 start, __u64 len) argument
[all...]
H A Ddir.c233 struct inode *dir_search_u(struct inode *dir, const struct cpu_str *uni,
242 struct inode *inode = NULL; local
264 inode = ntfs_iget5(sb, &e->ref, uni);
265 if (!IS_ERR(inode) && is_bad_inode(inode)) {
266 iput(inode);
272 return err == -ENOENT ? NULL : err ? ERR_PTR(err) : inode;
307 ntfs_warn(sbi->sb, "failed to convert name for inode
331 struct inode *inode = ntfs_iget5(sbi->sb, &e->ref, NULL); local
[all...]
/linux-master/fs/netfs/
H A Dbuffered_write.c139 * Copy data into pagecache pages attached to the inode specified by @iocb.
140 * The caller must hold appropriate inode locks.
151 struct inode *inode = file_inode(file); local
152 struct address_space *mapping = inode->i_mapping;
153 struct netfs_inode *ctx = netfs_inode(inode);
353 /* Update the inode size if we moved the EOF marker */
354 i_size = i_size_read(inode);
358 ctx->ops->update_i_size(inode, pos);
360 i_size_write(inode, po
475 struct inode *inode = file->f_mapping->host; local
510 struct inode *inode = file_inode(file); local
[all...]
/linux-master/fs/
H A Dioctl.c61 struct inode *inode = file_inode(filp); local
62 struct super_block *sb = inode->i_sb;
77 error = bmap(inode, &block);
157 * @inode: Inode to operate on
168 int fiemap_prep(struct inode *inode, struct fiemap_extent_info *fieinfo, argument
171 u64 maxbytes = inode->i_sb->s_maxbytes;
195 ret = filemap_write_and_wait(inode->i_mapping);
204 struct inode *inod local
272 struct inode *inode = file_inode(filp); local
301 struct inode *inode = file_inode(file); local
528 struct inode *inode = d_inode(dentry); local
585 fileattr_set_prepare(struct inode *inode, const struct fileattr *old_ma, struct fileattr *fa) argument
672 struct inode *inode = d_inode(dentry); local
804 struct inode *inode = file_inode(filp); local
[all...]
/linux-master/fs/9p/
H A Dvfs_inode_dotl.c3 * This file contains vfs inode ops for the 9P2000.L protocol.
32 v9fs_vfs_mknod_dotl(struct mnt_idmap *idmap, struct inode *dir,
37 * @dir_inode: The directory inode
44 static kgid_t v9fs_get_fsgid_for_create(struct inode *dir_inode)
57 struct inode *
61 struct inode *inode; local
65 inode = iget_locked(sb, QID2INO(&fid->qid));
66 if (unlikely(!inode))
68 if (!(inode
190 struct inode *inode; local
316 struct inode *inode; local
383 struct inode *inode = d_inode(dentry); local
474 struct inode *inode = d_inode(dentry); local
573 v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode, unsigned int flags) argument
753 struct inode *inode; local
818 v9fs_vfs_get_link_dotl(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
842 v9fs_refresh_inode_dotl(struct p9_fid *fid, struct inode *inode) argument
[all...]
H A Dvfs_super.c110 struct inode *inode = NULL; local
142 inode = v9fs_get_inode_from_fid(v9ses, fid, sb, true);
143 if (IS_ERR(inode)) {
144 retval = PTR_ERR(inode);
148 root = d_make_root(inode);
154 retval = v9fs_get_acl(inode, fid);
247 static int v9fs_drop_inode(struct inode *inode) argument
251 v9ses = v9fs_inode2v9ses(inode);
262 v9fs_write_inode(struct inode *inode, struct writeback_control *wbc) argument
273 v9fs_write_inode_dotl(struct inode *inode, struct writeback_control *wbc) argument
[all...]
H A Dvfs_inode.c3 * This file contains vfs inode ops for the 9P2000 protocol.
224 * v9fs_alloc_inode - helper function to allocate an inode
225 * @sb: The superblock to allocate the inode from
227 struct inode *v9fs_alloc_inode(struct super_block *sb)
236 return &v9inode->netfs.inode;
240 * v9fs_free_inode - destroy an inode
241 * @inode: The inode to be freed
244 void v9fs_free_inode(struct inode *inode) argument
252 v9fs_set_netfs_context(struct inode *inode) argument
258 v9fs_init_inode(struct v9fs_session_info *v9ses, struct inode *inode, struct p9_qid *qid, umode_t mode, dev_t rdev) argument
345 v9fs_evict_inode(struct inode *inode) argument
373 struct inode *inode; local
449 v9fs_dec_count(struct inode *inode) argument
472 struct inode *inode; local
540 struct inode *inode; local
679 struct inode *inode; local
737 struct inode *inode; local
943 struct inode *inode = d_inode(dentry); local
991 struct inode *inode = d_inode(dentry); local
1081 v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, struct super_block *sb, unsigned int flags) argument
1134 v9fs_vfs_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
1301 v9fs_refresh_inode(struct p9_fid *fid, struct inode *inode) argument
[all...]
H A Dv9fs.h137 struct netfs_inode netfs; /* Netfslib context and vfs inode */
143 static inline struct v9fs_inode *V9FS_I(const struct inode *inode) argument
145 return container_of(inode, struct v9fs_inode, netfs.inode);
174 extern struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
176 extern int v9fs_vfs_unlink(struct inode *i, struct dentry *d);
177 extern int v9fs_vfs_rmdir(struct inode *i, struct dentry *d);
179 struct inode *old_dir, struct dentry *old_dentry,
180 struct inode *new_di
198 v9fs_inode2v9ses(struct inode *inode) argument
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dfb_defio.c125 struct inode *inode = file_inode(file); local
134 inode_lock(inode);
136 inode_unlock(inode);
303 struct inode *inode,
302 fb_deferred_io_open(struct fb_info *info, struct inode *inode, struct file *file) argument

Completed in 264 milliseconds

1234567891011>>