Searched refs:inode (Results 601 - 625 of 1983) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/ext4/
H A Dialloc.c10 * BSD ufs-inspired inode and directory allocation by
43 * block for inodes, N blocks for the inode table and data blocks.
105 ext4_error(sb, "Corrupt inode bitmap - block_group = %u, "
118 * Read the inode allocation bitmap for a given block_group, reading
139 ext4_error(sb, "Invalid inode bitmap blk %llu in "
147 ext4_warning(sb, "Cannot read inode bitmap - "
201 ext4_error_err(sb, EIO, "Cannot read inode bitmap - "
220 * NOTE! When we get the inode, we're the only people
222 * race conditions we have to worry about. The inode
229 * _before_ we mark the inode no
235 ext4_free_inode(handle_t *handle, struct inode *inode) argument
935 struct inode *inode; local
1375 struct inode *inode = NULL; local
[all...]
/linux-master/fs/jfs/
H A Djfs_metapage.h50 extern struct metapage *__get_metapage(struct inode *inode,
54 #define read_metapage(inode, lblock, size, absolute)\
55 __get_metapage(inode, lblock, size, absolute, false)
57 #define get_metapage(inode, lblock, size, absolute)\
58 __get_metapage(inode, lblock, size, absolute, true)
134 extern void __invalidate_metapages(struct inode *, s64, int);
/linux-master/fs/smb/client/
H A Dxattr.c44 struct inode *inode, const char *full_path,
59 rc = pTcon->ses->server->ops->set_file_info(inode, full_path,
62 CIFS_I(inode)->cifsAttrs = attrib;
68 struct inode *inode, const char *full_path,
83 rc = pTcon->ses->server->ops->set_file_info(inode, full_path,
86 CIFS_I(inode)->createtime = creation_time;
93 struct dentry *dentry, struct inode *inode,
43 cifs_attrib_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, const char *full_path, const void *value, size_t size) argument
67 cifs_creation_time_set(unsigned int xid, struct cifs_tcon *pTcon, struct inode *inode, const char *full_path, const void *value, size_t size) argument
91 cifs_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) argument
215 cifs_attrib_get(struct dentry *dentry, struct inode *inode, void *value, size_t size) argument
239 cifs_creation_time_get(struct dentry *dentry, struct inode *inode, void *value, size_t size) argument
261 cifs_xattr_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *value, size_t size) argument
[all...]
/linux-master/fs/btrfs/
H A Dextent_map.h176 void remove_extent_mapping(struct btrfs_inode *inode, struct extent_map *em);
177 int split_extent_map(struct btrfs_inode *inode, u64 start, u64 len, u64 pre,
184 int unpin_extent_cache(struct btrfs_inode *inode, u64 start, u64 len, u64 gen);
185 void clear_em_logging(struct btrfs_inode *inode, struct extent_map *em);
188 int btrfs_add_extent_mapping(struct btrfs_inode *inode,
190 void btrfs_drop_extent_map_range(struct btrfs_inode *inode,
193 int btrfs_replace_extent_map_range(struct btrfs_inode *inode,
H A Dreflink.c22 struct inode *inode,
30 inode_inc_iversion(inode);
32 inode_set_mtime_to_ts(inode, inode_set_ctime_current(inode));
40 if (endoff > inode->i_size) {
41 i_size_write(inode, endoff);
42 btrfs_inode_safe_disk_i_size_write(BTRFS_I(inode), 0);
45 ret = btrfs_update_inode(trans, BTRFS_I(inode));
56 static int copy_inline_to_page(struct btrfs_inode *inode, argument
21 clone_finish_inode_update(struct btrfs_trans_handle *trans, struct inode *inode, u64 endoff, const u64 destoff, const u64 olen, int no_time_update) argument
336 btrfs_clone(struct inode *src, struct inode *inode, const u64 off, const u64 olen, const u64 olen_aligned, const u64 destoff, int no_time_update) argument
703 struct inode *inode = file_inode(file); local
[all...]
/linux-master/security/integrity/evm/
H A Devm_crypto.c136 /* Protect against 'cutting & pasting' security.evm xattr, include inode
142 static void hmac_add_misc(struct shash_desc *desc, struct inode *inode, argument
154 /* Don't include the inode or generation number in portable
158 hmac_misc.ino = inode->i_ino;
159 hmac_misc.generation = inode->i_generation;
169 hmac_misc.uid = from_kuid(&init_user_ns, inode->i_uid);
170 hmac_misc.gid = from_kgid(&init_user_ns, inode->i_gid);
171 hmac_misc.mode = inode->i_mode;
175 crypto_shash_update(desc, (u8 *)&inode
227 struct inode *inode = d_inode(d_real(dentry, D_REAL_METADATA)); local
332 evm_is_immutable(struct dentry *dentry, struct inode *inode) argument
369 struct inode *inode = d_backing_inode(dentry); local
399 evm_init_hmac(struct inode *inode, const struct xattr *xattrs, char *hmac_val) argument
[all...]
/linux-master/lib/kunit/
H A Ddebugfs.c94 static int debugfs_release(struct inode *inode, struct file *file) argument
96 return single_release(inode, file);
99 static int debugfs_results_open(struct inode *inode, struct file *file) argument
103 suite = (struct kunit_suite *)inode->i_private;
127 static int debugfs_run_open(struct inode *inode, struct file *file) argument
131 suite = (struct kunit_suite *)inode->i_private;
145 struct inode *f_inod
[all...]
/linux-master/drivers/media/usb/uvc/
H A Duvc_debugfs.c27 static int uvc_debugfs_stats_open(struct inode *inode, struct file *file) argument
29 struct uvc_streaming *stream = inode->i_private;
51 static int uvc_debugfs_stats_release(struct inode *inode, struct file *file) argument
/linux-master/fs/hpfs/
H A Dhpfs_fn.h61 struct inode vfs_inode;
66 ino_t sb_root; /* inode number of root dir */
213 secno hpfs_bplus_lookup(struct super_block *, struct inode *, struct bplus_header *, unsigned, struct buffer_head *);
240 struct dentry *hpfs_lookup(struct inode *, struct dentry *, unsigned int);
245 int hpfs_add_pos(struct inode *, loff_t *);
246 void hpfs_del_pos(struct inode *, loff_t *);
249 int hpfs_add_dirent(struct inode *, const unsigned char *, unsigned,
251 int hpfs_remove_dirent(struct inode *, dnode_secno, struct hpfs_dirent *, struct quad_buffer_head *, int);
254 struct hpfs_dirent *map_pos_dirent(struct inode *, loff_t *, struct quad_buffer_head *);
255 struct hpfs_dirent *map_dirent(struct inode *, dnode_secn
315 hpfs_i(struct inode *inode) argument
[all...]
/linux-master/fs/ocfs2/
H A Djournal.h40 struct inode *j_inode; /* Kernel inode pointing to
51 struct buffer_head *j_bh; /* Journal disk inode block */
122 static inline int ocfs2_inode_is_new(struct inode *inode) argument
127 if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_SYSTEM_FILE)
130 return ocfs2_ci_is_new(INODE_CACHE(inode));
191 static inline void ocfs2_checkpoint_inode(struct inode *inode) argument
193 struct ocfs2_super *osb = OCFS2_SB(inode
577 ocfs2_jbd2_inode_add_write(handle_t *handle, struct inode *inode, loff_t start_byte, loff_t length) argument
585 ocfs2_begin_ordered_truncate(struct inode *inode, loff_t new_size) argument
594 ocfs2_update_inode_fsync_trans(handle_t *handle, struct inode *inode, int datasync) argument
[all...]
/linux-master/fs/nfsd/
H A Dblocklayout.c21 nfsd4_block_proc_layoutget(struct inode *inode, const struct svc_fh *fhp, argument
25 struct super_block *sb = inode->i_sb;
26 u32 block_size = i_blocksize(inode);
47 error = sb->s_export_op->map_blocks(inode, seg->offset, seg->length,
117 nfsd4_block_commit_blocks(struct inode *inode, struct nfsd4_layoutcommit *lcp, argument
120 struct timespec64 mtime = inode_get_mtime(inode);
127 lcp->lc_mtime = current_time(inode);
131 if (new_size > i_size_read(inode)) {
177 nfsd4_block_proc_layoutcommit(struct inode *inode, struct nfsd4_layoutcommit *lcp) argument
316 nfsd4_scsi_proc_layoutcommit(struct inode *inode, struct nfsd4_layoutcommit *lcp) argument
[all...]
/linux-master/fs/orangefs/
H A Ddcache.c19 struct inode *parent_inode = parent_dentry->d_inode;
21 struct inode *inode = dentry->d_inode; local
48 /* Positive dentry: reject if error or not the same inode. */
49 if (inode) {
57 inode)) {
123 "%s: negative dentry or positive dentry and inode valid.\n",
128 /* Now we must perform a getattr to validate the inode contents. */
/linux-master/fs/bcachefs/
H A Dfs-io-buffered.c245 iter.pos.inode,
257 struct bch_inode_info *inode = to_bch_ei(ractl->mapping->host); local
258 struct bch_fs *c = inode->v.i_sb->s_fs_info;
263 bch2_inode_opts_get(&opts, c, &inode->ei_inode);
269 bch2_pagecache_add_get(inode);
288 bchfs_read(trans, rbio, inode_inum(inode),
294 bch2_pagecache_add_put(inode);
306 struct bch_inode_info *inode = to_bch_ei(mapping->host); local
307 struct bch_fs *c = inode->v.i_sb->s_fs_info;
316 bch2_inode_opts_get(&opts, c, &inode
352 struct bch_inode_info *inode; member in struct:bch_writepage_io
365 bch_writepage_state_init(struct bch_fs *c, struct bch_inode_info *inode) argument
467 bch2_writepage_io_alloc(struct bch_fs *c, struct writeback_control *wbc, struct bch_writepage_state *w, struct bch_inode_info *inode, u64 sector, unsigned nr_replicas) argument
501 struct bch_inode_info *inode = to_bch_ei(folio->mapping->host); local
664 struct bch_inode_info *inode = to_bch_ei(mapping->host); local
748 struct bch_inode_info *inode = to_bch_ei(mapping->host); local
802 __bch2_buffered_write(struct bch_inode_info *inode, struct address_space *mapping, struct iov_iter *iter, loff_t pos, unsigned len, bool inode_locked) argument
980 struct bch_inode_info *inode = file_bch_inode(file); local
[all...]
H A Dinode.h86 struct bkey_i_inode_v3 inode; member in struct:bkey_inode_buf
109 struct bch_inode_unpacked *inode)
111 return bch2_inode_write_flags(trans, iter, inode, 0);
142 static inline void bch2_inode_opt_set(struct bch_inode_unpacked *inode, argument
148 inode->bi_##_name = v; \
157 static inline u64 bch2_inode_opt_get(struct bch_inode_unpacked *inode, argument
163 return inode->bi_##_name;
176 static inline u8 inode_d_type(struct bch_inode_unpacked *inode) argument
178 return inode->bi_subvol ? DT_SUBVOL : mode_to_type(inode
107 bch2_inode_write(struct btree_trans *trans, struct btree_iter *iter, struct bch_inode_unpacked *inode) argument
224 bch2_inode_should_have_bp(struct bch_inode_unpacked *inode) argument
[all...]
H A Dxattr.c141 static int bch2_xattr_get_trans(struct btree_trans *trans, struct bch_inode_info *inode, argument
144 struct bch_hash_info hash = bch2_hash_info_init(trans->c, &inode->ei_inode);
148 inode_inum(inode), &search, 0);
268 struct bch_inode_unpacked *inode,
278 v = bch2_inode_opt_get(inode, id);
283 !(inode->bi_fields_set & (1 << id)))
298 struct bch_inode_info *inode = to_bch_ei(dentry->d_inode); local
303 u64 offset = 0, inum = inode->ei_inode.bi_inum;
310 ret = bch2_subvolume_get_snapshot(trans, inode->ei_subvol, &snapshot);
336 ret = bch2_xattr_list_bcachefs(c, &inode
267 bch2_xattr_list_bcachefs(struct bch_fs *c, struct bch_inode_unpacked *inode, struct xattr_buf *buf, bool all) argument
353 struct bch_inode_info *inode = to_bch_ei(vinode); local
370 struct bch_inode_info *inode = to_bch_ei(vinode); local
432 struct bch_inode_info *inode = to_bch_ei(vinode); local
491 inode_opt_set_fn(struct btree_trans *trans, struct bch_inode_info *inode, struct bch_inode_unpacked *bi, void *p) argument
514 struct bch_inode_info *inode = to_bch_ei(vinode); local
[all...]
/linux-master/fs/ufs/
H A Dballoc.c29 static u64 ufs_add_fragments(struct inode *, u64, unsigned, unsigned);
30 static u64 ufs_alloc_fragments(struct inode *, unsigned, u64, unsigned, int *);
31 static u64 ufs_alloccg_block(struct inode *, struct ufs_cg_private_info *, u64, int *);
39 void ufs_free_fragments(struct inode *inode, u64 fragment, unsigned count) argument
48 sb = inode->i_sb;
87 inode_sub_bytes(inode, count << uspi->s_fshift);
135 void ufs_free_blocks(struct inode *inode, u64 fragment, unsigned count) argument
144 sb = inode
239 ufs_change_blocknr(struct inode *inode, sector_t beg, unsigned int count, sector_t oldb, sector_t newb, struct page *locked_page) argument
319 ufs_clear_frags(struct inode *inode, sector_t beg, unsigned int n, int sync) argument
338 ufs_new_fragments(struct inode *inode, void *p, u64 fragment, u64 goal, unsigned count, int *err, struct page *locked_page) argument
488 try_add_frags(struct inode *inode, unsigned frags) argument
502 ufs_add_fragments(struct inode *inode, u64 fragment, unsigned oldcount, unsigned newcount) argument
581 ufs_alloc_fragments(struct inode *inode, unsigned cgno, u64 goal, unsigned count, int *err) argument
694 ufs_alloccg_block(struct inode *inode, struct ufs_cg_private_info *ucpi, u64 goal, int *err) argument
[all...]
/linux-master/net/sunrpc/
H A Ddebugfs.c86 static int tasks_open(struct inode *inode, struct file *filp) argument
91 struct rpc_clnt *clnt = seq->private = inode->i_private;
94 seq_release(inode, filp);
103 tasks_release(struct inode *inode, struct file *filp) argument
109 return seq_release(inode, filp);
186 xprt_info_open(struct inode *inode, struct file *filp) argument
189 struct rpc_xprt *xprt = inode
203 xprt_info_release(struct inode *inode, struct file *filp) argument
[all...]
/linux-master/security/tomoyo/
H A Drealpath.c103 struct inode *inode = d_backing_inode(path->dentry); local
105 if (inode && S_ISDIR(inode->i_mode)) {
133 struct inode *inode = d_backing_inode(dentry); local
135 if (inode && S_ISDIR(inode->i_mode)) {
180 struct inode *inode local
247 struct inode *inode; local
[all...]
/linux-master/fs/squashfs/
H A Dxattr.c29 struct inode *inode = d_inode(d); local
30 struct super_block *sb = inode->i_sb;
32 u64 start = SQUASHFS_XATTR_BLK(squashfs_i(inode)->xattr)
34 int offset = SQUASHFS_XATTR_OFFSET(squashfs_i(inode)->xattr);
35 int count = squashfs_i(inode)->xattr_count;
105 static int squashfs_xattr_get(struct inode *inode, int name_index, argument
108 struct super_block *sb = inode->i_sb;
110 u64 start = SQUASHFS_XATTR_BLK(squashfs_i(inode)
203 squashfs_xattr_handler_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
[all...]
/linux-master/fs/nilfs2/
H A Dbtnode.c25 * nilfs_init_btnc_inode - initialize B-tree node cache inode
26 * @btnc_inode: inode to be initialized
28 * nilfs_init_btnc_inode() sets up an inode for B-tree node cache.
30 void nilfs_init_btnc_inode(struct inode *btnc_inode)
49 struct inode *inode = btnc->host; local
52 bh = nilfs_grab_buffer(inode, btnc, blocknr, BIT(BH_NILFS_Node));
61 memset(bh->b_data, 0, i_blocksize(inode));
62 bh->b_bdev = inode->i_sb->s_bdev;
77 struct inode *inod local
177 struct inode *inode = btnc->host; local
[all...]
/linux-master/fs/gfs2/
H A Dexport.c19 #include "inode.h"
28 static int gfs2_encode_fh(struct inode *inode, __u32 *p, int *len, argument
29 struct inode *parent)
32 struct super_block *sb = inode->i_sb;
33 struct gfs2_inode *ip = GFS2_I(inode);
49 if (!parent || inode == d_inode(sb->s_root))
88 struct inode *dir = d_inode(parent);
89 struct inode *inode local
135 struct inode *inode; local
[all...]
/linux-master/fs/hfsplus/
H A Dcatalog.c81 void hfsplus_cat_set_perms(struct inode *inode, struct hfsplus_perm *perms) argument
83 if (inode->i_flags & S_IMMUTABLE)
87 if (inode->i_flags & S_APPEND)
92 perms->userflags = HFSPLUS_I(inode)->userflags;
93 perms->mode = cpu_to_be16(inode->i_mode);
94 perms->owner = cpu_to_be32(i_uid_read(inode));
95 perms->group = cpu_to_be32(i_gid_read(inode));
97 if (S_ISREG(inode->i_mode))
98 perms->dev = cpu_to_be32(inode
105 hfsplus_cat_build_record(hfsplus_cat_entry *entry, u32 cnid, struct inode *inode) argument
253 hfsplus_create_cat(u32 cnid, struct inode *dir, const struct qstr *str, struct inode *inode) argument
[all...]
/linux-master/fs/netfs/
H A Dbuffered_write.c125 static void netfs_update_i_size(struct netfs_inode *ctx, struct inode *inode, argument
132 ctx->ops->update_i_size(inode, pos);
136 i_size_write(inode, pos);
145 inode->i_blocks = min_t(blkcnt_t,
147 inode->i_blocks + add);
157 * Copy data into pagecache pages attached to the inode specified by @iocb.
158 * The caller must hold appropriate inode locks.
169 struct inode *inode local
490 struct inode *inode = file->f_mapping->host; local
526 struct inode *inode = file_inode(file); local
[all...]
/linux-master/fs/efivarfs/
H A Dsuper.c42 static void efivarfs_evict_inode(struct inode *inode) argument
44 clear_inode(inode);
193 struct inode *inode = NULL; local
232 inode = efivarfs_get_inode(sb, d_inode(root), S_IFREG | 0644, 0,
234 if (!inode)
249 inode_lock(inode);
250 inode->i_private = entry;
251 i_size_write(inode, siz
315 struct inode *inode = NULL; local
[all...]
/linux-master/security/integrity/ima/
H A Dima_main.c90 struct inode *inode; local
96 inode = file_inode(file);
101 integrity_audit_msg(AUDIT_INTEGRITY_DATA, inode, *pathname,
124 struct inode *inode = file_inode(file); local
129 if (atomic_read(&inode->i_readcount) && IS_IMA(inode)) {
131 iint = ima_iint_find(inode);
140 if (inode_is_open_for_write(inode)
157 ima_check_last_writer(struct ima_iint_cache *iint, struct inode *inode, struct file *file) argument
195 struct inode *inode = file_inode(file); local
212 struct inode *real_inode, *inode = file_inode(file); local
490 struct inode *inode; local
577 __ima_inode_hash(struct inode *inode, struct file *file, char *buf, size_t buf_size) argument
681 ima_inode_hash(struct inode *inode, char *buf, size_t buf_size) argument
699 ima_post_create_tmpfile(struct mnt_idmap *idmap, struct inode *inode) argument
735 struct inode *inode = dentry->d_inode; local
948 process_buffer_measurement(struct mnt_idmap *idmap, struct inode *inode, const void *buf, int size, const char *eventname, enum ima_hooks func, int pcr, const char *func_data, bool buf_hash, u8 *digest, size_t digest_len) argument
[all...]

Completed in 491 milliseconds

<<21222324252627282930>>