Searched refs:inode (Results 501 - 525 of 1973) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/overlayfs/
H A Dfile.c17 static char ovl_whatisit(struct inode *inode, struct inode *realinode) argument
19 if (realinode != ovl_inode_upper(inode))
21 if (ovl_has_upperdata(inode))
33 struct inode *realinode = d_inode(realpath->dentry);
34 struct inode *inode = file_inode(file); local
45 old_cred = ovl_override_creds(inode->i_sb);
60 file, file, ovl_whatisit(inode, realinod
70 struct inode *inode = file_inode(file); local
145 ovl_open(struct inode *inode, struct file *file) argument
177 ovl_release(struct inode *inode, struct file *file) argument
186 struct inode *inode = file_inode(file); local
237 struct inode *inode, *upperinode; local
291 struct inode *inode = file_inode(file); local
363 struct inode *inode = file_inode(out); local
428 struct inode *inode = file_inode(file); local
[all...]
H A Dxattrs.c36 static int ovl_xattr_set(struct dentry *dentry, struct inode *inode, const char *name, argument
41 struct dentry *upperdentry = ovl_i_dentry_upper(inode);
79 ovl_copyattr(inode);
84 static int ovl_xattr_get(struct dentry *dentry, struct inode *inode, const char *name, argument
91 ovl_i_path_real(inode, &realpath);
183 struct dentry *dentry, struct inode *inode,
193 r = ovl_xattr_get(dentry, inode, escape
182 ovl_own_xattr_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
200 ovl_own_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
220 ovl_other_xattr_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument
227 ovl_other_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
[all...]
/linux-master/fs/quota/
H A Ddquot.c6 * called by the different filesystems on allocation of an inode or block.
11 * inode-subsystem with added complexity of the diskquota system.
28 * remove_dquot_ref() moved to inode.c - it now traverses through inodes
91 * * inode->i_lock protects inode->i_blocks, i_bytes and also guards
92 * consistency of dquot->dq_dqb with inode->i_blocks, i_bytes so that
95 * pointers in the inode
106 * Operation accessing dquots via inode pointers are protected by dquot_srcu.
109 * inode and before dropping dquot references to avoid use of dquots after
112 * Special care needs to be taken about S_NOQUOTA inode fla
999 i_dquot(struct inode *inode) argument
1004 dqinit_needed(struct inode *inode, int type) argument
1024 struct inode *inode, *old_inode = NULL; local
1081 struct inode *inode; local
1440 inode_quota_active(const struct inode *inode) argument
1455 __dquot_initialize(struct inode *inode, int type) argument
1565 dquot_initialize(struct inode *inode) argument
1571 dquot_initialize_needed(struct inode *inode) argument
1595 __dquot_drop(struct inode *inode) argument
1611 dquot_drop(struct inode *inode) argument
1641 inode_reserved_space(struct inode * inode) argument
1649 __inode_get_rsv_space(struct inode *inode) argument
1656 inode_get_rsv_space(struct inode *inode) argument
1681 __dquot_alloc_space(struct inode *inode, qsize_t number, int flags) argument
1752 dquot_alloc_inode(struct inode *inode) argument
1799 dquot_claim_space_nodirty(struct inode *inode, qsize_t number) argument
1841 dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) argument
1883 __dquot_free_space(struct inode *inode, qsize_t number, int flags) argument
1940 dquot_free_inode(struct inode *inode) argument
1986 __dquot_transfer(struct inode *inode, struct dquot **transfer_to) argument
2123 dquot_transfer(struct mnt_idmap *idmap, struct inode *inode, struct iattr *iattr) argument
2210 dquot_file_open(struct inode *inode, struct file *file) argument
2224 struct inode *inode = dqopt->files[type]; local
2357 vfs_setup_quota_inode(struct inode *inode, int type) argument
2487 dquot_load_quota_inode(struct inode *inode, int type, int format_id, unsigned int flags) argument
[all...]
/linux-master/security/integrity/evm/
H A Devm_main.c133 struct inode *inode = d_backing_inode(dentry); local
138 if (!(inode->i_opflags & IOP_XATTR))
142 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0);
156 struct inode *inode = d_backing_inode(dentry); local
158 if (inode->i_sb->s_iflags & SB_I_EVM_HMAC_UNSUPPORTED) {
159 pr_info_once("%s not supported\n", inode->i_sb->s_type->name);
187 struct inode *inode local
442 struct inode *inode = d_backing_inode(dentry); local
639 struct inode *inode = d_backing_inode(dentry); local
731 evm_reset_status(struct inode *inode) argument
749 evm_metadata_changed(struct inode *inode, struct inode *metadata_inode) argument
888 struct inode *inode = d_backing_inode(dentry); local
1013 evm_inode_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, struct xattr *xattrs, int *xattr_count) argument
1067 evm_inode_alloc_security(struct inode *inode) argument
1080 struct inode *inode = file_inode(file); local
1093 struct inode *inode = d_backing_inode(dentry); local
[all...]
/linux-master/include/linux/
H A Ddcache.h89 struct inode *d_inode; /* Where the name belongs to - NULL is
110 struct hlist_node d_alias; /* inode alias list */
143 void (*d_iput)(struct dentry *, struct inode *);
172 * directory inode with a DCACHE_DISCONNECTED dentry, will d_move that
190 /* Parent inode is watched by some fsnotify listener */
223 extern void d_instantiate(struct dentry *, struct inode *);
224 extern void d_instantiate_new(struct dentry *, struct inode *);
235 extern struct dentry * d_splice_alias(struct inode *, struct dentry *);
236 extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *);
239 extern struct dentry * d_exact_alias(struct dentry *, struct inode *);
547 struct inode *inode = upper->d_inode; local
[all...]
/linux-master/fs/btrfs/
H A Dtree-log.c21 #include "inode-item.h"
37 * LOG_INODE_EXISTS means to log just enough to recreate the inode
48 * 1) on rename or unlink, if the inode being unlinked isn't in the fsync
64 * log. ---> check inode while renaming/linking.
68 * ---> check inode and old parent dir during rename
84 * directory tree. The inode link count fixup code takes care of the
105 struct btrfs_inode *inode,
301 * Ignore any items from the inode currently being processed. Needs
446 * We need to load the old nbytes into the inode so when we
475 * New inode, se
601 struct inode *inode; local
634 struct inode *inode = NULL; local
899 unlink_inode_for_log_replay(struct btrfs_trans_handle *trans, struct btrfs_inode *dir, struct btrfs_inode *inode, const struct fscrypt_str *name) argument
932 struct inode *inode; local
1050 __add_inode_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_root *log_root, struct btrfs_inode *dir, struct btrfs_inode *inode, u64 inode_objectid, u64 parent_objectid, u64 ref_index, struct fscrypt_str *name) argument
1263 unlink_old_inode_refs(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_inode *inode, struct extent_buffer *log_eb, int log_slot, struct btrfs_key *key) argument
1355 struct inode *inode = NULL; local
1486 count_inode_extrefs(struct btrfs_inode *inode, struct btrfs_path *path) argument
1529 count_inode_refs(struct btrfs_inode *inode, struct btrfs_path *path) argument
1595 fixup_inode_link_count(struct btrfs_trans_handle *trans, struct inode *inode) argument
1653 struct inode *inode; local
1715 struct inode *inode; local
1753 struct inode *inode; local
2109 struct inode *inode = NULL; local
2463 struct inode *inode; local
2823 btrfs_init_log_ctx(struct btrfs_log_ctx *ctx, struct inode *inode) argument
2842 struct btrfs_inode *inode = BTRFS_I(ctx->inode); local
3293 inode_logged(const struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path_in) argument
3497 btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct fscrypt_str *name, struct btrfs_inode *inode, u64 dirid) argument
3576 flush_dir_items_batch(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct extent_buffer *src, struct btrfs_path *dst_path, int start_slot, int count) argument
3692 process_dir_items_leaf(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx, u64 *last_old_dentry_offset) argument
3808 log_dir_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx, u64 min_offset, u64 *last_offset_ret) argument
3996 update_last_dir_index_offset(struct btrfs_inode *inode, struct btrfs_path *path, const struct btrfs_log_ctx *ctx) argument
4065 log_directory_changes(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx) argument
4101 drop_inode_items(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_inode *inode, int max_key_type) argument
4154 truncate_inode_items(struct btrfs_trans_handle *trans, struct btrfs_root *log_root, struct btrfs_inode *inode, u64 new_size, u32 min_type) argument
4169 fill_inode_item(struct btrfs_trans_handle *trans, struct extent_buffer *leaf, struct btrfs_inode_item *item, struct inode *inode, int log_inode_only, u64 logged_isize) argument
4232 log_inode_item(struct btrfs_trans_handle *trans, struct btrfs_root *log, struct btrfs_path *path, struct btrfs_inode *inode, bool inode_item_dropped) argument
4278 log_csums(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_root *log_root, struct btrfs_ordered_sum *sums) argument
4324 copy_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *dst_path, struct btrfs_path *src_path, int start_slot, int nr, int inode_only, u64 logged_isize, struct btrfs_log_ctx *ctx) argument
4570 log_extent_csums(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_root *log_root, const struct extent_map *em, struct btrfs_log_ctx *ctx) argument
4679 log_one_extent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, const struct extent_map *em, struct btrfs_path *path, struct btrfs_log_ctx *ctx) argument
4770 btrfs_log_prealloc_extents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx) argument
4896 btrfs_log_changed_extents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx) argument
4997 logged_inode_size(struct btrfs_root *log, struct btrfs_inode *inode, struct btrfs_path *path, u64 *size_ret) argument
5046 btrfs_log_all_xattrs(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_path *dst_path, struct btrfs_log_ctx *ctx) argument
5125 btrfs_log_holes(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path) argument
5258 btrfs_check_ref_name_override(struct extent_buffer *eb, const int slot, const struct btrfs_key *key, struct btrfs_inode *inode, u64 *other_ino, u64 *other_parent) argument
5364 need_log_inode(const struct btrfs_trans_handle *trans, struct btrfs_inode *inode) argument
5640 struct inode *inode; local
5773 struct inode *inode; local
5852 copy_inode_items_to_log(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_key *min_key, const struct btrfs_key *max_key, struct btrfs_path *path, struct btrfs_path *dst_path, const u64 logged_isize, const int inode_only, struct btrfs_log_ctx *ctx, bool *need_log_inode_item) argument
6038 log_delayed_insertion_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_ins_list, struct btrfs_log_ctx *ctx) argument
6133 log_delayed_deletions_full(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_del_list, struct btrfs_log_ctx *ctx) argument
6177 batch_delete_dir_index_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, struct btrfs_log_ctx *ctx, const struct list_head *delayed_del_list, const struct btrfs_delayed_item *first, const struct btrfs_delayed_item **last_ret) argument
6212 log_delayed_deletions_incremental(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_del_list, struct btrfs_log_ctx *ctx) argument
6284 log_delayed_deletion_items(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_path *path, const struct list_head *delayed_del_list, struct btrfs_log_ctx *ctx) argument
6311 log_new_delayed_dentries(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, const struct list_head *delayed_ins_list, struct btrfs_log_ctx *ctx) argument
6389 btrfs_log_inode(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, int inode_only, struct btrfs_log_ctx *ctx) argument
6723 btrfs_log_all_parents(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct btrfs_log_ctx *ctx) argument
6859 struct inode *inode; local
6910 log_new_ancestors_fast(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct dentry *parent, struct btrfs_log_ctx *ctx) argument
6948 log_all_new_ancestors(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct dentry *parent, struct btrfs_log_ctx *ctx) argument
7037 btrfs_log_inode_parent(struct btrfs_trans_handle *trans, struct btrfs_inode *inode, struct dentry *parent, int inode_only, struct btrfs_log_ctx *ctx) argument
7367 btrfs_record_unlink_dir(struct btrfs_trans_handle *trans, struct btrfs_inode *dir, struct btrfs_inode *inode, bool for_rename) argument
7459 struct btrfs_inode *inode = BTRFS_I(d_inode(old_dentry)); local
[all...]
/linux-master/fs/vboxsf/
H A Ddir.c3 * VirtualBox Guest Shared Folders support: Directory inode and file operations
12 static int vboxsf_dir_open(struct inode *inode, struct file *file) argument
14 struct vboxsf_sbi *sbi = VBOXSF_SBI(inode->i_sb);
51 static int vboxsf_dir_release(struct inode *inode, struct file *file) argument
212 static struct dentry *vboxsf_dir_lookup(struct inode *parent,
218 struct inode *inode; local
225 inode
240 struct inode *inode; local
363 struct inode *inode = d_inode(dentry); local
[all...]
/linux-master/fs/reiserfs/
H A Dstree.c951 struct inode *inode,
956 if (new_file_length == max_reiserfs_offset(inode)) {
962 if (get_inode_item_key_version(inode) == KEY_FORMAT_3_6) {
992 struct inode *inode,
997 new_file_length == max_reiserfs_offset(inode)) {
1035 struct inode *inode,
1049 struct super_block *sb = inode
949 prepare_for_direct_item(struct treepath *path, struct item_head *le_ih, struct inode *inode, loff_t new_file_length, int *cut_size) argument
990 prepare_for_direntry_item(struct treepath *path, struct item_head *le_ih, struct inode *inode, loff_t new_file_length, int *cut_size) argument
1034 prepare_for_delete_or_cut(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path, const struct cpu_key *item_key, int *removed, int *cut_size, unsigned long long new_file_length ) argument
1251 reiserfs_delete_item(struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *item_key, struct inode *inode, struct buffer_head *un_bh) argument
1402 reiserfs_delete_solid_item(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_key *key) argument
1492 reiserfs_delete_object(struct reiserfs_transaction_handle *th, struct inode *inode) argument
1555 maybe_indirect_to_direct(struct reiserfs_transaction_handle *th, struct inode *inode, struct page *page, struct treepath *path, const struct cpu_key *item_key, loff_t new_file_size, char *mode) argument
1595 indirect_to_direct_roll_back(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) argument
1637 reiserfs_cut_from_item(struct reiserfs_transaction_handle *th, struct treepath *path, struct cpu_key *item_key, struct inode *inode, struct page *page, loff_t new_file_size) argument
1858 truncate_directory(struct reiserfs_transaction_handle *th, struct inode *inode) argument
1877 reiserfs_do_truncate(struct reiserfs_transaction_handle *th, struct inode *inode, struct page *page, int update_timestamps ) argument
2081 reiserfs_paste_into_item(struct reiserfs_transaction_handle *th, struct treepath *search_path, const struct cpu_key *key, struct inode *inode, const char *body, int pasted_size) argument
2184 reiserfs_insert_item(struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *key, struct item_head *ih, struct inode *inode, const char *body) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_pnfs.c19 * clients to directly read from or write to this inode. This must be called
29 struct inode *inode,
33 struct xfs_inode *ip = XFS_I(inode);
36 while ((error = break_layout(inode, false)) == -EWOULDBLOCK) {
39 error = break_layout(inode, true);
75 * inode state as we modify the data/metadata in the inode here. Hence we have
77 * to set the inode prealloc flag to ensure that the extents we allocate are not
78 * removed if the inode i
28 xfs_break_leased_layouts( struct inode *inode, uint *iolock, bool *did_unlock) argument
111 xfs_fs_map_blocks( struct inode *inode, loff_t offset, u64 length, struct iomap *iomap, bool write, u32 *device_generation) argument
259 xfs_fs_commit_blocks( struct inode *inode, struct iomap *maps, int nr_maps, struct iattr *iattr) argument
[all...]
/linux-master/fs/
H A Dpidfs.c130 * reliably comparable by inode number even on those systems.
176 struct inode *inode = d_inode(path->dentry); local
178 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat);
187 static void pidfs_evict_inode(struct inode *inode) argument
189 struct pid *pid = inode->i_private;
191 clear_inode(inode);
193 pidfs_free_inum(inode->i_ino);
204 struct inode *inod local
216 pidfs_init_inode(struct inode *inode, void *data) argument
[all...]
/linux-master/fs/nfs/
H A Dinternal.h248 struct inode *);
383 extern void nfs_readdir_record_entry_cache_hit(struct inode *dir);
384 extern void nfs_readdir_record_entry_cache_miss(struct inode *dir);
389 struct dentry *nfs_lookup(struct inode *, struct dentry *, unsigned int);
390 void nfs_d_prune_case_insensitive_aliases(struct inode *inode);
391 int nfs_create(struct mnt_idmap *, struct inode *, struct dentry *,
393 int nfs_mkdir(struct mnt_idmap *, struct inode *, struct dentry *,
395 int nfs_rmdir(struct inode *, struct dentry *);
396 int nfs_unlink(struct inode *, struc
624 nfs_should_remove_suid(const struct inode *inode) argument
671 nfs_igrab_and_active(struct inode *inode) argument
683 nfs_iput_and_deactive(struct inode *inode) argument
781 struct inode *inode = folio_file_mapping(folio)->host; local
928 struct inode * inode; /* target file of i/o */ member in struct:nfs_direct_req
[all...]
/linux-master/fs/9p/
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_file.c35 * @inode: inode to be opened
40 int v9fs_file_open(struct inode *inode, struct file *file) argument
47 p9_debug(P9_DEBUG_VFS, "inode: %p file: %p\n", inode, file);
48 v9ses = v9fs_inode2v9ses(inode);
86 fscache_use_cookie(v9fs_inode_cookie(V9FS_I(inode)),
90 v9fs_open_fid_add(inode, &fid);
106 struct inode *inod local
290 struct inode *inode = file_inode(filp); local
321 struct inode *inode = file_inode(filp); local
414 struct inode *inode = filp->f_mapping->host; local
438 struct inode *inode = filp->f_mapping->host; local
460 struct inode *inode = file_inode(filp); local
485 struct inode *inode; local
[all...]
/linux-master/fs/hfsplus/
H A Dxattr.c14 static int hfsplus_removexattr(struct inode *inode, const char *name);
53 static void hfsplus_init_header_node(struct inode *attr_file,
125 struct inode *attr_file;
257 int __hfsplus_setxattr(struct inode *inode, const char *name, argument
269 if ((!S_ISREG(inode->i_mode) &&
270 !S_ISDIR(inode->i_mode)) ||
271 HFSPLUS_IS_RSRC(inode))
275 return hfsplus_removexattr(inode, nam
419 hfsplus_setxattr(struct inode *inode, const char *name, const void *value, size_t size, int flags, const char *prefix, size_t prefixlen) argument
437 hfsplus_getxattr_finder_info(struct inode *inode, void *value, size_t size) argument
487 __hfsplus_getxattr(struct inode *inode, const char *name, void *value, size_t size) argument
573 hfsplus_getxattr(struct inode *inode, const char *name, void *value, size_t size, const char *prefix, size_t prefixlen) argument
608 struct inode *inode = d_inode(dentry); local
676 struct inode *inode = d_inode(dentry); local
765 hfsplus_removexattr(struct inode *inode, const char *name) argument
837 hfsplus_osx_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
857 hfsplus_osx_setxattr(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
[all...]
/linux-master/net/sunrpc/
H A Drpc_pipe.c7 * and fs/sysfs/inode.c
129 * Call with an @inode created by rpc_mkpipe() to queue an upcall.
131 * read on an open file for this inode. It is up to the caller to
165 rpc_inode_setowner(struct inode *inode, void *private) argument
167 RPC_I(inode)->private = private;
171 rpc_close_pipes(struct inode *inode) argument
173 struct rpc_pipe *pipe = RPC_I(inode)->pipe;
177 inode_lock(inode);
207 rpc_free_inode(struct inode *inode) argument
213 rpc_pipe_open(struct inode *inode, struct file *filp) argument
240 rpc_pipe_release(struct inode *inode, struct file *filp) argument
283 struct inode *inode = file_inode(filp); local
327 struct inode *inode = file_inode(filp); local
341 struct inode *inode = file_inode(filp); local
359 struct inode *inode = file_inode(filp); local
415 rpc_info_open(struct inode *inode, struct file *file) argument
439 rpc_info_release(struct inode *inode, struct file *file) argument
470 struct inode *inode = new_inode(sb); local
493 struct inode *inode; local
625 struct inode *inode = d_inode(dentry); local
1361 struct inode *inode; local
[all...]
/linux-master/fs/zonefs/
H A Dtrace.h49 TP_PROTO(struct inode *inode, ssize_t size, ssize_t ret),
50 TP_ARGS(inode, size, ret),
60 __entry->dev = inode->i_sb->s_dev;
61 __entry->ino = inode->i_ino;
62 __entry->sector = zonefs_inode_zone(inode)->z_sector;
65 zonefs_inode_zone(inode)->z_wpoffset;
76 TP_PROTO(struct inode *inode, struct iomap *iomap),
77 TP_ARGS(inode, ioma
[all...]
/linux-master/fs/ocfs2/
H A Dioctl.c21 #include "inode.h"
67 struct inode *inode = d_inode(dentry); local
71 status = ocfs2_inode_lock(inode, NULL, 0);
76 ocfs2_get_inode_flags(OCFS2_I(inode));
77 flags = OCFS2_I(inode)->ip_attr;
78 ocfs2_inode_unlock(inode, 0);
88 struct inode *inode = d_inode(dentry); local
90 struct ocfs2_inode_info *ocfs2_inode = OCFS2_I(inode);
143 ocfs2_info_handle_blocksize(struct inode *inode, struct ocfs2_info_request __user *req) argument
161 ocfs2_info_handle_clustersize(struct inode *inode, struct ocfs2_info_request __user *req) argument
180 ocfs2_info_handle_maxslots(struct inode *inode, struct ocfs2_info_request __user *req) argument
199 ocfs2_info_handle_label(struct inode *inode, struct ocfs2_info_request __user *req) argument
218 ocfs2_info_handle_uuid(struct inode *inode, struct ocfs2_info_request __user *req) argument
237 ocfs2_info_handle_fs_features(struct inode *inode, struct ocfs2_info_request __user *req) argument
258 ocfs2_info_handle_journal_size(struct inode *inode, struct ocfs2_info_request __user *req) argument
325 ocfs2_info_handle_freeinode(struct inode *inode, struct ocfs2_info_request __user *req) argument
613 ocfs2_info_handle_freefrag(struct inode *inode, struct ocfs2_info_request __user *req) argument
686 ocfs2_info_handle_unknown(struct inode *inode, struct ocfs2_info_request __user *req) argument
709 ocfs2_info_handle_request(struct inode *inode, struct ocfs2_info_request __user *req) argument
807 ocfs2_info_handle(struct inode *inode, struct ocfs2_info *info, int compat_flag) argument
842 struct inode *inode = file_inode(filp); local
956 struct inode *inode = file_inode(file); local
[all...]
H A Dxattr.c39 #include "inode.h"
57 /* The inode these xattrs are associated with */
58 struct inode *bu_inode;
117 * when extended attribute in inode, xattr_bh is equal to inode_bh.
183 /* This xattr belongs to this inode */
184 struct inode *xl_inode;
243 static int ocfs2_xattr_block_find(struct inode *inode,
247 static int ocfs2_xattr_index_block_find(struct inode *inode,
316 ocfs2_xattr_bucket_new(struct inode *inode) argument
511 ocfs2_read_xattr_block(struct inode *inode, u64 xb_blkno, struct buffer_head **bh) argument
536 ocfs2_xattr_name_hash(struct inode *inode, const char *name, int name_len) argument
695 ocfs2_xattr_extend_allocation(struct inode *inode, u32 clusters_to_add, struct ocfs2_xattr_value_buf *vb, struct ocfs2_xattr_set_ctxt *ctxt) argument
759 __ocfs2_remove_xattr_range(struct inode *inode, struct ocfs2_xattr_value_buf *vb, u32 cpos, u32 phys_cpos, u32 len, unsigned int ext_flags, struct ocfs2_xattr_set_ctxt *ctxt) argument
804 ocfs2_xattr_shrink_size(struct inode *inode, u32 old_clusters, u32 new_clusters, struct ocfs2_xattr_value_buf *vb, struct ocfs2_xattr_set_ctxt *ctxt) argument
851 ocfs2_xattr_value_truncate(struct inode *inode, struct ocfs2_xattr_value_buf *vb, int len, struct ocfs2_xattr_set_ctxt *ctxt) argument
924 ocfs2_xattr_list_entries(struct inode *inode, struct ocfs2_xattr_header *header, char *buffer, size_t buffer_size) argument
949 ocfs2_has_inline_xattr_value_outside(struct inode *inode, struct ocfs2_dinode *di) argument
966 ocfs2_xattr_ibody_list(struct inode *inode, struct ocfs2_dinode *di, char *buffer, size_t buffer_size) argument
987 ocfs2_xattr_block_list(struct inode *inode, struct ocfs2_dinode *di, char *buffer, size_t buffer_size) argument
1095 ocfs2_xattr_get_value_outside(struct inode *inode, struct ocfs2_xattr_value_root *xv, void *buffer, size_t len) argument
1147 ocfs2_xattr_ibody_get(struct inode *inode, int name_index, const char *name, void *buffer, size_t buffer_size, struct ocfs2_xattr_search *xs) argument
1197 ocfs2_xattr_block_get(struct inode *inode, int name_index, const char *name, void *buffer, size_t buffer_size, struct ocfs2_xattr_search *xs) argument
1274 ocfs2_xattr_get_nolock(struct inode *inode, struct buffer_head *di_bh, int name_index, const char *name, void *buffer, size_t buffer_size) argument
1314 ocfs2_xattr_get(struct inode *inode, int name_index, const char *name, void *buffer, size_t buffer_size) argument
1341 __ocfs2_xattr_set_value_outside(struct inode *inode, handle_t *handle, struct ocfs2_xattr_value_buf *vb, const void *value, int value_len) argument
2261 ocfs2_init_dinode_xa_loc(struct ocfs2_xa_loc *loc, struct inode *inode, struct buffer_head *bh, struct ocfs2_xattr_entry *entry) argument
2280 ocfs2_init_xattr_block_xa_loc(struct ocfs2_xa_loc *loc, struct inode *inode, struct buffer_head *bh, struct ocfs2_xattr_entry *entry) argument
2315 ocfs2_lock_xattr_remove_allocators(struct inode *inode, struct ocfs2_xattr_value_root *xv, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, int *ref_credits) argument
2356 ocfs2_remove_value_outside(struct inode*inode, struct ocfs2_xattr_value_buf *vb, struct ocfs2_xattr_header *header, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh) argument
2415 ocfs2_xattr_ibody_remove(struct inode *inode, struct buffer_head *di_bh, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh) argument
2444 ocfs2_xattr_block_remove(struct inode *inode, struct buffer_head *blk_bh, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh) argument
2474 ocfs2_xattr_free_block(struct inode *inode, u64 block, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh) argument
2554 ocfs2_xattr_remove(struct inode *inode, struct buffer_head *di_bh) argument
2633 ocfs2_xattr_has_space_inline(struct inode *inode, struct ocfs2_dinode *di) argument
2667 ocfs2_xattr_ibody_find(struct inode *inode, int name_index, const char *name, struct ocfs2_xattr_search *xs) argument
2710 ocfs2_xattr_ibody_init(struct inode *inode, struct buffer_head *di_bh, struct ocfs2_xattr_set_ctxt *ctxt) argument
2763 ocfs2_xattr_ibody_set(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) argument
2807 ocfs2_xattr_block_find(struct inode *inode, int name_index, const char *name, struct ocfs2_xattr_search *xs) argument
2854 ocfs2_create_xattr_block(struct inode *inode, struct buffer_head *inode_bh, struct ocfs2_xattr_set_ctxt *ctxt, int indexed, struct buffer_head **ret_bh) argument
2946 ocfs2_xattr_block_set(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) argument
2997 ocfs2_xattr_can_be_in_inode(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs) argument
3029 ocfs2_calc_xattr_set_need(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xis, struct ocfs2_xattr_search *xbs, int *clusters_need, int *meta_need, int *credits_need) argument
3241 ocfs2_init_xattr_set_ctxt(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xis, struct ocfs2_xattr_search *xbs, struct ocfs2_xattr_set_ctxt *ctxt, int extra_meta, int *credits) argument
3297 __ocfs2_xattr_set_handle(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xis, struct ocfs2_xattr_search *xbs, struct ocfs2_xattr_set_ctxt *ctxt) argument
3438 ocfs2_xattr_set_handle(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, int name_index, const char *name, const void *value, size_t value_len, int flags, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) argument
3521 ocfs2_xattr_set(struct inode *inode, int name_index, const char *name, const void *value, size_t value_len, int flags) argument
3679 ocfs2_xattr_get_rec(struct inode *inode, u32 name_hash, u64 *p_blkno, u32 *e_cpos, u32 *num_clusters, struct ocfs2_extent_list *el) argument
3742 ocfs2_find_xe_in_bucket(struct inode *inode, struct ocfs2_xattr_bucket *bucket, int name_index, const char *name, u32 name_hash, u16 *xe_index, int *found) argument
3806 ocfs2_xattr_bucket_find(struct inode *inode, int name_index, const char *name, u32 name_hash, u64 p_blkno, u32 first_hash, u32 num_clusters, struct ocfs2_xattr_search *xs) argument
3917 ocfs2_xattr_index_block_find(struct inode *inode, struct buffer_head *root_bh, int name_index, const char *name, struct ocfs2_xattr_search *xs) argument
3961 ocfs2_iterate_xattr_buckets(struct inode *inode, u64 blkno, u32 clusters, xattr_bucket_func *func, void *para) argument
4039 ocfs2_list_xattr_bucket(struct inode *inode, struct ocfs2_xattr_bucket *bucket, void *para) argument
4075 ocfs2_iterate_xattr_index_block(struct inode *inode, struct buffer_head *blk_bh, xattr_tree_rec_func *rec_func, void *para) argument
4116 ocfs2_list_xattr_tree_rec(struct inode *inode, struct buffer_head *root_bh, u64 blkno, u32 cpos, u32 len, void *para) argument
4124 ocfs2_xattr_tree_list_index_block(struct inode *inode, struct buffer_head *blk_bh, char *buffer, size_t buffer_size) argument
4178 ocfs2_cp_xattr_block_to_bucket(struct inode *inode, struct buffer_head *xb_bh, struct ocfs2_xattr_bucket *bucket) argument
4246 ocfs2_xattr_update_xattr_search(struct inode *inode, struct ocfs2_xattr_search *xs, struct buffer_head *old_bh) argument
4266 ocfs2_xattr_create_index_block(struct inode *inode, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) argument
4379 ocfs2_defrag_xattr_bucket(struct inode *inode, handle_t *handle, struct ocfs2_xattr_bucket *bucket) argument
4501 ocfs2_mv_xattr_bucket_cross_cluster(struct inode *inode, handle_t *handle, struct ocfs2_xattr_bucket *first, struct ocfs2_xattr_bucket *target, u64 new_blkno, u32 num_clusters, u32 *first_hash) argument
4619 ocfs2_divide_xattr_bucket(struct inode *inode, handle_t *handle, u64 blk, u64 new_blk, u32 *first_hash, int new_bucket_head) argument
4796 ocfs2_cp_xattr_bucket(struct inode *inode, handle_t *handle, u64 s_blkno, u64 t_blkno, int t_is_new) argument
4870 ocfs2_mv_xattr_buckets(struct inode *inode, handle_t *handle, u64 src_blk, u64 last_blk, u64 to_blk, unsigned int start_bucket, u32 *first_hash) argument
4973 ocfs2_divide_xattr_cluster(struct inode *inode, handle_t *handle, u64 prev_blk, u64 new_blk, u32 *first_hash) argument
5021 ocfs2_adjust_xattr_cross_cluster(struct inode *inode, handle_t *handle, struct ocfs2_xattr_bucket *first, struct ocfs2_xattr_bucket *target, u64 new_blk, u32 prev_clusters, u32 *v_start, int *extend) argument
5089 ocfs2_add_new_xattr_cluster(struct inode *inode, struct buffer_head *root_bh, struct ocfs2_xattr_bucket *first, struct ocfs2_xattr_bucket *target, u32 *num_clusters, u32 prev_cpos, int *extend, struct ocfs2_xattr_set_ctxt *ctxt) argument
5187 ocfs2_extend_xattr_bucket(struct inode *inode, handle_t *handle, struct ocfs2_xattr_bucket *first, u64 target_blk, u32 num_clusters) argument
5263 ocfs2_add_new_xattr_bucket(struct inode *inode, struct buffer_head *xb_bh, struct ocfs2_xattr_bucket *target, struct ocfs2_xattr_set_ctxt *ctxt) argument
5348 ocfs2_xattr_bucket_value_truncate(struct inode *inode, struct ocfs2_xattr_bucket *bucket, int xe_off, int len, struct ocfs2_xattr_set_ctxt *ctxt) argument
5411 ocfs2_rm_xattr_cluster(struct inode *inode, struct buffer_head *root_bh, u64 blkno, u32 cpos, u32 len, void *para) argument
5512 ocfs2_check_xattr_bucket_collision(struct inode *inode, struct ocfs2_xattr_bucket *bucket, const char *name) argument
5538 ocfs2_xattr_set_entry_bucket(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) argument
5581 ocfs2_xattr_set_entry_index_block(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) argument
5647 ocfs2_delete_xattr_in_bucket(struct inode *inode, struct ocfs2_xattr_bucket *bucket, void *para) argument
5719 ocfs2_xattr_bucket_post_refcount(struct inode *inode, handle_t *handle, void *para) argument
5753 ocfs2_prepare_refcount_xattr(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xis, struct ocfs2_xattr_search *xbs, struct ocfs2_refcount_tree **ref_tree, int *meta_add, int *credits) argument
5883 ocfs2_xattr_value_attach_refcount(struct inode *inode, struct ocfs2_xattr_value_root *xv, struct ocfs2_extent_tree *value_et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_cached_dealloc_ctxt *dealloc, struct ocfs2_post_refcount *refcount) argument
5931 ocfs2_xattr_attach_refcount_normal(struct inode *inode, struct ocfs2_xattr_value_buf *vb, struct ocfs2_xattr_header *header, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_cached_dealloc_ctxt *dealloc) argument
5969 ocfs2_xattr_inline_attach_refcount(struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_cached_dealloc_ctxt *dealloc) argument
6030 ocfs2_xattr_bucket_value_refcount(struct inode *inode, struct ocfs2_xattr_bucket *bucket, void *para) argument
6088 ocfs2_refcount_xattr_tree_rec(struct inode *inode, struct buffer_head *root_bh, u64 blkno, u32 cpos, u32 len, void *para) argument
6097 ocfs2_xattr_block_attach_refcount(struct inode *inode, struct buffer_head *blk_bh, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_cached_dealloc_ctxt *dealloc) argument
6132 ocfs2_xattr_attach_refcount_tree(struct inode *inode, struct buffer_head *fe_bh, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_cached_dealloc_ctxt *dealloc) argument
6540 ocfs2_create_empty_xattr_block(struct inode *inode, struct buffer_head *fe_bh, struct buffer_head **ret_bh, int indexed) argument
6718 ocfs2_calc_value_tree_metas(struct inode *inode, struct ocfs2_xattr_bucket *bucket, void *para) argument
6918 ocfs2_reflink_xattr_buckets(handle_t *handle, struct inode *inode, struct ocfs2_reflink_xattr_tree_args *args, struct ocfs2_extent_tree *et, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac, u64 blkno, u32 cpos, u32 len) argument
6989 ocfs2_reflink_xattr_rec(struct inode *inode, struct buffer_head *root_bh, u64 blkno, u32 cpos, u32 len, void *para) argument
7206 ocfs2_init_security_and_acl(struct inode *dir, struct inode *inode, const struct qstr *qstr) argument
7237 ocfs2_xattr_security_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
7245 ocfs2_xattr_security_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
7255 ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *fs_info) argument
7283 ocfs2_init_security_get(struct inode *inode, struct inode *dir, const struct qstr *qstr, struct ocfs2_security_xattr_info *si) argument
7310 ocfs2_init_security_set(handle_t *handle, struct inode *inode, struct buffer_head *di_bh, struct ocfs2_security_xattr_info *si, struct ocfs2_alloc_context *xattr_ac, struct ocfs2_alloc_context *data_ac) argument
7332 ocfs2_xattr_trusted_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
7340 ocfs2_xattr_trusted_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
7359 ocfs2_xattr_user_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
7371 ocfs2_xattr_user_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
[all...]
/linux-master/fs/nilfs2/
H A Dpage.h35 struct buffer_head *nilfs_grab_buffer(struct inode *, struct address_space *,
48 unsigned long nilfs_find_uncommitted_extent(struct inode *inode,
/linux-master/fs/hfs/
H A Dbtree.c38 tree->inode = iget_locked(sb, id);
39 if (!tree->inode)
41 BUG_ON(!(tree->inode->i_state & I_NEW));
44 HFS_I(tree->inode)->flags = 0;
45 mutex_init(&HFS_I(tree->inode)->extents_lock);
48 hfs_inode_read_fork(tree->inode, mdb->drXTExtRec, mdb->drXTFlSize,
50 if (HFS_I(tree->inode)->alloc_blocks >
51 HFS_I(tree->inode)->first_blocks) {
53 unlock_new_inode(tree->inode);
57 tree->inode
229 struct inode *inode = tree->inode; local
[all...]
/linux-master/fs/iomap/
H A Dtrace.h13 * ino: inode number
25 struct inode;
28 TP_PROTO(struct inode *inode, int nr_pages),
29 TP_ARGS(inode, nr_pages),
36 __entry->dev = inode->i_sb->s_dev;
37 __entry->ino = inode->i_ino;
48 TP_PROTO(struct inode *inode, int nr_pages), \
49 TP_ARGS(inode, nr_page
[all...]
/linux-master/fs/ext4/
H A Dblock_validity.c151 struct inode *inode; local
160 inode = ext4_iget(sb, ino, EXT4_IGET_SPECIAL);
161 if (IS_ERR(inode))
162 return PTR_ERR(inode);
163 num = (inode->i_size + sb->s_blocksize - 1) >> sb->s_blocksize_bits;
168 n = ext4_map_blocks(NULL, inode, &map, 0);
179 EXT4_ERROR_INODE_ERR(inode, -err,
180 "blocks %llu-%llu from inode overlap system zone",
189 iput(inode);
295 ext4_sb_block_valid(struct super_block *sb, struct inode *inode, ext4_fsblk_t start_blk, unsigned int count) argument
343 ext4_inode_block_valid(struct inode *inode, ext4_fsblk_t start_blk, unsigned int count) argument
349 ext4_check_blockref(const char *function, unsigned int line, struct inode *inode, __le32 *p, unsigned int max) argument
[all...]
/linux-master/fs/crypto/
H A Dfscrypt_private.h57 * fscrypt_context - the encryption context of an inode
171 const struct inode *inode)
173 return policy->log2_data_unit_size ?: inode->i_blkbits;
178 const struct inode *inode)
182 return inode->i_blkbits;
184 return fscrypt_policy_v2_du_bits(&policy->v2, inode);
213 * fscrypt_inode_info - the "encryption key" for an inode
217 * inode i
170 fscrypt_policy_v2_du_bits(const struct fscrypt_policy_v2 *policy, const struct inode *inode) argument
177 fscrypt_policy_du_bits(const union fscrypt_policy *policy, const struct inode *inode) argument
684 fscrypt_require_key(struct inode *inode) argument
[all...]
/linux-master/fs/coda/
H A Dinode.c39 static void coda_evict_inode(struct inode *);
45 static struct inode *coda_alloc_inode(struct super_block *sb)
59 static void coda_free_inode(struct inode *inode) argument
61 kmem_cache_free(coda_inode_cachep, ITOC(inode));
126 struct inode *inode; local
132 inode = file_inode(f.file);
133 if (!S_ISCHR(inode->i_mode) || imajor(inode) !
273 coda_evict_inode(struct inode *inode) argument
293 struct inode *inode = d_inode(de); local
[all...]
/linux-master/security/integrity/ima/
H A Dima_api.c103 int violation, struct inode *inode,
115 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode,
122 result = ima_add_template_entry(entry, violation, op, inode, filename);
138 struct inode *inode = file_inode(file); local
154 result = ima_store_template(entry, violation, inode,
159 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename,
165 * @idmap: idmap of the mount the inode was found from
166 * @inode
102 ima_store_template(struct ima_template_entry *entry, int violation, struct inode *inode, const unsigned char *filename, int pcr) argument
189 ima_get_action(struct mnt_idmap *idmap, struct inode *inode, const struct cred *cred, u32 secid, int mask, enum ima_hooks func, int *pcr, struct ima_template_desc **template_desc, const char *func_data, unsigned int *allowed_algos) argument
204 ima_get_verity_digest(struct ima_iint_cache *iint, struct inode *inode, struct ima_max_digest_data *hash) argument
246 struct inode *inode = file_inode(file); local
357 struct inode *inode = file_inode(file); local
[all...]

Completed in 457 milliseconds

<<21222324252627282930>>