/linux-master/fs/gfs2/ |
H A D | super.c | 34 #include "inode.h" 403 const struct inode *inode = &ip->i_inode; local 411 str->di_mode = cpu_to_be32(inode->i_mode); 412 str->di_uid = cpu_to_be32(i_uid_read(inode)); 413 str->di_gid = cpu_to_be32(i_gid_read(inode)); 414 str->di_nlink = cpu_to_be32(inode->i_nlink); 415 str->di_size = cpu_to_be64(i_size_read(inode)); 416 str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(inode)); 417 str->di_atime = cpu_to_be64(inode_get_atime_sec(inode)); 447 gfs2_write_inode(struct inode *inode, struct writeback_control *wbc) argument 490 gfs2_dirty_inode(struct inode *inode, int flags) argument 1025 gfs2_drop_inode(struct inode *inode) argument 1178 struct inode *inode = &ip->i_inode; local 1260 gfs2_upgrade_iopen_glock(struct inode *inode) argument 1316 evict_should_delete(struct inode *inode, struct gfs2_holder *gh) argument 1374 evict_unlinked_inode(struct inode *inode) argument 1422 evict_linked_inode(struct inode *inode) argument 1472 gfs2_evict_inode(struct inode *inode) argument 1550 gfs2_free_inode(struct inode *inode) argument [all...] |
H A D | aops.c | 28 #include "inode.h" 63 * @inode: The inode 71 static int gfs2_get_block_noalloc(struct inode *inode, sector_t lblock, argument 76 error = gfs2_block_map(inode, lblock, bh_result, 0); 95 struct inode * const inode = folio->mapping->host; local 96 loff_t i_size = i_size_read(inode); 110 return __block_write_full_folio(inode, foli 126 struct inode *inode = folio->mapping->host; local 153 struct inode *inode = page->mapping->host; local 211 struct inode *inode = mapping->host; local 447 struct inode *inode = folio->mapping->host; local 521 struct inode *inode = rac->mapping->host; local 536 adjust_fs_space(struct inode *inode) argument 764 gfs2_set_aops(struct inode *inode) argument [all...] |
/linux-master/fs/affs/ |
H A D | dir.c | 47 struct inode *inode = file_inode(file); local 48 struct super_block *sb = inode->i_sb; 59 pr_debug("%s(ino=%lu,f_pos=%llx)\n", __func__, inode->i_ino, ctx->pos); 67 affs_lock_dir(inode); 76 dir_bh = affs_bread(sb, inode->i_ino); 84 if (ino && inode_eq_iversion(inode, file->f_version)) { 134 file->f_version = inode_query_iversion(inode); 142 affs_unlock_dir(inode);
|
/linux-master/fs/jfs/ |
H A D | jfs_txnmgr.h | 53 struct inode *ip; /* inode being deleted */ 54 pxd_t ixpxd; /* pxd of inode extent for created inode */ 56 u32 ino; /* inode number being created */ 70 #define COMMIT_DELETE 0x0100 /* inode delete */ 72 #define COMMIT_CREATE 0x0400 /* inode create */ 75 #define COMMIT_INODE 0x2000 /* Identifies element as inode */ 92 struct inode *ip; /* 4/8: object */ 267 struct inode **iplis [all...] |
H A D | jfs_dmap.h | 232 struct inode *db_ipbmap; /* ptr to aggregate map incore inode */ 280 extern int dbMount(struct inode *ipbmap); 282 extern int dbUnmount(struct inode *ipbmap, int mounterror); 284 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks); 286 extern int dbUpdatePMap(struct inode *ipbmap, 289 extern int dbNextAG(struct inode *ipbmap); 291 extern int dbAlloc(struct inode *ipbmap, s64 hint, s64 nblocks, s64 * results); 293 extern int dbReAlloc(struct inode *ipbmap, 296 extern int dbSync(struct inode *ipbma [all...] |
H A D | super.c | 101 static struct inode *jfs_alloc_inode(struct super_block *sb) 114 static void jfs_free_inode(struct inode *inode) argument 116 kmem_cache_free(jfs_inode_cachep, JFS_IP(inode)); 488 struct inode *inode; local 542 * Initialize direct-mapping inode/address-space 544 inode = new_inode(sb); 545 if (inode == NULL) { 549 inode 732 struct inode *inode = sb_dqopt(sb)->files[type]; local 776 struct inode *inode = sb_dqopt(sb)->files[type]; local 827 jfs_get_dquots(struct inode *inode) argument 836 struct inode *inode; local 855 struct inode *inode = sb_dqopt(sb)->files[type]; local [all...] |
/linux-master/fs/verity/ |
H A D | hash_algs.c | 32 * @inode: optional inode for logging purposes 42 const struct fsverity_hash_alg *fsverity_get_hash_alg(const struct inode *inode, argument 51 fsverity_warn(inode, "Unknown hash algorithm number: %u", num); 68 fsverity_warn(inode, 74 fsverity_err(inode, 167 * @inode: inode for which the hashing is being done 177 const struct inode *inod 176 fsverity_hash_block(const struct merkle_tree_params *params, const struct inode *inode, const void *data, u8 *out) argument [all...] |
H A D | verify.c | 92 verify_data_block(struct inode *inode, struct fsverity_info *vi, argument 121 if (unlikely(data_pos >= inode->i_size)) { 131 fsverity_err(inode, 172 hpage = inode->i_sb->s_vop->read_merkle_tree_page(inode, 176 fsverity_err(inode, 205 if (fsverity_hash_block(params, inode, haddr, real_hash) != 0) 225 if (fsverity_hash_block(params, inode, data, real_hash) != 0) 232 fsverity_err(inode, 249 struct inode *inode = data_folio->mapping->host; local [all...] |
/linux-master/fs/ |
H A D | namei.c | 60 * With the new dcache, the pathname is stored at each inode, at least as 61 * long as the refcount of the inode is positive. As a side effect, the 62 * size of the dcache depends on the inode cache and thus is dynamic. 279 * @idmap: idmap of the mount the inode was found from 280 * @inode: inode to check permissions on 287 * If the inode has been found through an idmapped mount the idmap of 289 * care to map the inode according to @idmap before checking permissions. 291 * raw inode simply pass @nop_mnt_idmap. 294 struct inode *inod 293 check_acl(struct mnt_idmap *idmap, struct inode *inode, int mask) argument 338 acl_permission_check(struct mnt_idmap *idmap, struct inode *inode, int mask) argument 399 generic_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument 456 do_inode_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument 479 sb_permission(struct super_block *sb, struct inode *inode, int mask) argument 503 inode_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument 571 struct inode *inode; /* path.dentry.d_inode */ member in struct:nameidata 1100 may_follow_link(struct nameidata *nd, const struct inode *inode) argument 1143 safe_hardlink_source(struct mnt_idmap *idmap, struct inode *inode) argument 1188 struct inode *inode = link->dentry->d_inode; local 1236 may_create_in_sticky(struct mnt_idmap *idmap, struct nameidata *nd, struct inode *const inode) argument 1670 struct inode *inode = dir->d_inode; local 1706 struct inode *inode = dir->d_inode; local 1757 pick_link(struct nameidata *nd, struct path *link, struct inode *inode, int flags) argument 1841 struct inode *inode; local 2377 struct inode *inode = root->d_inode; local 2936 __check_sticky(struct mnt_idmap *idmap, struct inode *dir, struct inode *inode) argument 2972 struct inode *inode = d_backing_inode(victim); local 3245 struct inode *inode = dentry->d_inode; local 3301 struct inode *inode = path->dentry->d_inode; local 3685 struct inode *inode; local 4378 struct inode *inode = NULL; local 4569 struct inode *inode = old_dentry->d_inode; local 5122 struct inode *inode = d_inode(dentry); local 5165 struct inode *inode = d_inode(dentry); local 5177 page_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *callback) argument 5223 page_symlink(struct inode *inode, const char *symname, int len) argument [all...] |
H A D | open.c | 45 /* Not pretty: "inode->i_size" shouldn't really be signed. But it is. */ 73 struct inode *inode; local 76 inode = path->dentry->d_inode; 79 if (S_ISDIR(inode->i_mode)) 81 if (!S_ISREG(inode->i_mode)) 89 error = inode_permission(idmap, inode, MAY_WRITE); 94 if (IS_APPEND(inode)) 97 error = get_write_access(inode); 105 error = break_lease(inode, O_WRONL 158 struct inode *inode; local 248 struct inode *inode = file_inode(file); local 467 struct inode *inode; local 635 struct inode *inode = path->dentry->d_inode; local 759 struct inode *inode = path->dentry->d_inode; local 908 struct inode *inode = f->f_path.dentry->d_inode; local 1603 generic_file_open(struct inode * inode, struct file * filp) argument 1618 nonseekable_open(struct inode *inode, struct file *filp) argument 1636 stream_open(struct inode *inode, struct file *filp) argument [all...] |
/linux-master/fs/nfs/ |
H A D | nfs4proc.c | 97 struct nfs_fattr *fattr, struct inode *inode); 98 static int nfs4_do_setattr(struct inode *inode, const struct cred *cred, 114 nfs4_label_init_security(struct inode *dir, struct dentry *dentry, 153 nfs4_label_init_security(struct inode *dir, struct dentry *dentry, 291 struct inode *inode, unsigned long flags) 296 if (!inode || !nfs4_have_delegation(inode, FMODE_REA 290 nfs4_bitmap_copy_adjust(__u32 *dst, const __u32 *src, struct inode *inode, unsigned long flags) argument 475 struct inode *inode = exception->inode; local 1215 nfs4_inc_nlink_locked(struct inode *inode) argument 1224 nfs4_inc_nlink(struct inode *inode) argument 1232 nfs4_dec_nlink_locked(struct inode *inode) argument 1241 nfs4_update_changeattr_locked(struct inode *inode, struct nfs4_change_info *cinfo, unsigned long timestamp, unsigned long cache_validity) argument 1895 nfs4_return_incompatible_delegation(struct inode *inode, fmode_t fmode) argument 2004 struct inode *inode = data->state->inode; local 2032 struct inode *inode; local 2055 struct inode *inode; local 3315 _nfs4_do_setattr(struct inode *inode, struct nfs_setattrargs *arg, struct nfs_setattrres *res, const struct cred *cred, struct nfs_open_context *ctx) argument 3374 nfs4_do_setattr(struct inode *inode, const struct cred *cred, struct nfs_fattr *fattr, struct iattr *sattr, struct nfs_open_context *ctx, struct nfs4_label *ilabel) argument 3433 nfs4_wait_on_layoutreturn(struct inode *inode, struct rpc_task *task) argument 3538 struct inode *inode; member in struct:nfs4_closedata 3647 struct inode *inode = calldata->inode; local 4316 _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct inode *inode) argument 4349 nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct inode *inode) argument 4386 struct inode *inode = d_inode(dentry); local 4549 _nfs4_proc_lookupp(struct inode *inode, struct nfs_fh *fhandle, struct nfs_fattr *fattr) argument 4585 nfs4_proc_lookupp(struct inode *inode, struct nfs_fh *fhandle, struct nfs_fattr *fattr) argument 4601 _nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry, const struct cred *cred) argument 4636 nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry, const struct cred *cred) argument 4674 _nfs4_proc_readlink(struct inode *inode, struct page *page, unsigned int pgbase, unsigned int pglen) argument 4693 nfs4_proc_readlink(struct inode *inode, struct page *page, unsigned int pgbase, unsigned int pglen) argument 4778 struct inode *inode = d_inode(dentry); local 4812 nfs4_proc_unlink_setup(struct rpc_message *msg, struct dentry *dentry, struct inode *inode) argument 4913 _nfs4_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) argument 4955 nfs4_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) argument 5532 struct inode *inode = hdr->inode; local 5592 nfs4_bitmask_set(__u32 bitmask[], const __u32 src[], struct inode *inode, unsigned long cache_validity) argument 5661 struct inode *inode = data->inode; local 5874 nfs4_set_cached_acl(struct inode *inode, struct nfs4_cached_acl *acl) argument 5884 nfs4_zap_acl_attr(struct inode *inode) argument 5889 nfs4_read_cached_acl(struct inode *inode, char *buf, size_t buflen, enum nfs4_acl_type type) argument 5917 nfs4_write_cached_acl(struct inode *inode, struct page **pages, size_t pgbase, size_t acl_len, enum nfs4_acl_type type) argument 5952 __nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t buflen, enum nfs4_acl_type type) argument 6032 nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t buflen, enum nfs4_acl_type type) argument 6049 nfs4_proc_get_acl(struct inode *inode, void *buf, size_t buflen, enum nfs4_acl_type type) argument 6070 __nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen, enum nfs4_acl_type type) argument 6124 nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen, enum nfs4_acl_type type) argument 6147 _nfs4_get_security_label(struct inode *inode, void *buf, size_t buflen) argument 6182 nfs4_get_security_label(struct inode *inode, void *buf, size_t buflen) argument 6202 _nfs4_do_set_security_label(struct inode *inode, struct nfs4_label *ilabel, struct nfs_fattr *fattr) argument 6237 nfs4_do_set_security_label(struct inode *inode, struct nfs4_label *ilabel, struct nfs_fattr *fattr) argument 6254 nfs4_set_security_label(struct inode *inode, const void *buf, size_t buflen) argument 6558 struct inode *inode; member in struct:nfs4_delegreturndata 6629 struct inode *inode = data->inode; local 6673 _nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) argument 6748 nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) argument 6769 struct inode *inode = state->inode; local 6879 struct inode *inode = state->inode; local 7035 struct inode *inode = state->inode; local 7102 struct inode *inode = lsp->ls_state->inode; local 7469 struct inode *inode; member in struct:nfs4_lock_waiter 7605 struct inode *inode = file_inode(file); local 7733 nfs4_xattr_set_nfs4_acl(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *key, const void *buf, size_t buflen, int flags) argument 7742 nfs4_xattr_get_nfs4_acl(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *key, void *buf, size_t buflen) argument 7757 nfs4_xattr_set_nfs4_dacl(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *key, const void *buf, size_t buflen, int flags) argument 7766 nfs4_xattr_get_nfs4_dacl(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *key, void *buf, size_t buflen) argument 7780 nfs4_xattr_set_nfs4_sacl(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *key, const void *buf, size_t buflen, int flags) argument 7789 nfs4_xattr_get_nfs4_sacl(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *key, void *buf, size_t buflen) argument 7805 nfs4_xattr_set_nfs4_label(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *key, const void *buf, size_t buflen, int flags) argument 7817 nfs4_xattr_get_nfs4_label(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *key, void *buf, size_t buflen) argument 7827 nfs4_listxattr_nfs4_label(struct inode *inode, char *list, size_t list_len) argument 7848 nfs4_listxattr_nfs4_label(struct inode *inode, char *list, size_t list_len) argument 7856 nfs4_xattr_set_nfs4_user(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *key, const void *buf, size_t buflen, int flags) argument 7895 nfs4_xattr_get_nfs4_user(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *key, void *buf, size_t buflen) argument 7924 nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len) argument 7977 nfs4_listxattr_nfs4_user(struct inode *inode, char *list, size_t list_len) argument 8233 _nfs40_proc_fsid_present(struct inode *inode, const struct cred *cred) argument 8279 _nfs41_proc_fsid_present(struct inode *inode, const struct cred *cred) argument 8326 nfs4_proc_fsid_present(struct inode *inode, const struct cred *cred) argument 9647 struct inode *inode = lgp->args.inode; local 9760 struct inode *inode = lgp->args.inode; local 10647 nfs4_enable_swap(struct inode *inode) argument 10657 nfs4_disable_swap(struct inode *inode) argument [all...] |
/linux-master/fs/ext4/ |
H A D | page-io.c | 176 struct inode *inode = io_end->inode; local 180 ext4_debug("ext4_end_io_nolock: io_end 0x%p from inode %lu,list->next 0x%p," 182 io_end, inode->i_ino, io_end->list.next, io_end->list.prev); 186 if (ret < 0 && !ext4_forced_shutdown(inode->i_sb)) { 187 ext4_msg(inode->i_sb, KERN_EMERG, 190 "(inode %lu, error %d)", inode->i_ino, ret); 197 static void dump_completed_IO(struct inode *inod argument 239 ext4_do_flush_completed_IO(struct inode *inode, struct list_head *head) argument 275 ext4_init_io_end(struct inode *inode, gfp_t flags) argument 340 struct inode *inode = io_end->inode; local 409 io_submit_add_bh(struct ext4_io_submit *io, struct inode *inode, struct folio *folio, struct folio *io_folio, struct buffer_head *bh) argument 432 struct inode *inode = folio->mapping->host; local [all...] |
/linux-master/fs/ubifs/ |
H A D | journal.c | 16 * area. Buds contain file system data - data nodes, inode nodes, etc. The log 25 * optimally as possible. It is nice to have nodes belonging to the same inode 29 * For recovery reasons, the base head contains all inode nodes, all directory 52 * zero_ino_node_unused - zero out unused fields of an on-flash inode node. 53 * @ino: the inode to zero out 540 * get_dent_type - translate VFS inode mode to UBIFS directory entry type. 541 * @mode: inode mode 567 * pack_inode - pack an inode node. 569 * @ino: buffer in which to pack inode node 570 * @inode 573 pack_inode(struct ubifs_info *c, struct ubifs_ino_node *ino, const struct inode *inode, int last) argument 665 ubifs_jnl_update(struct ubifs_info *c, const struct inode *dir, const struct fscrypt_name *nm, const struct inode *inode, int deletion, int xent) argument 850 ubifs_jnl_write_data(struct ubifs_info *c, const struct inode *inode, const union ubifs_key *key, const void *buf, int len) argument 968 ubifs_jnl_write_inode(struct ubifs_info *c, const struct inode *inode) argument 1132 ubifs_jnl_delete_inode(struct ubifs_info *c, const struct inode *inode) argument 1611 truncate_data_node(const struct ubifs_info *c, const struct inode *inode, unsigned int block, struct ubifs_data_node *dn, int *new_len, int dn_size) argument 1678 ubifs_jnl_truncate(struct ubifs_info *c, const struct inode *inode, loff_t old_size, loff_t new_size) argument 1845 ubifs_jnl_delete_xattr(struct ubifs_info *c, const struct inode *host, const struct inode *inode, const struct fscrypt_name *nm) argument 1967 ubifs_jnl_change_xattr(struct ubifs_info *c, const struct inode *inode, const struct inode *host) argument 2002 pack_inode(c, (void *)ino + aligned_len1, inode, 1); local [all...] |
/linux-master/fs/ocfs2/ |
H A D | refcounttree.c | 11 #include "inode.h" 43 struct inode *inode; member in struct:ocfs2_cow_context 60 struct inode *inode, 394 static int ocfs2_get_refcount_block(struct inode *inode, u64 *ref_blkno) argument 400 ret = ocfs2_read_inode_block(inode, &di_bh); 406 BUG_ON(!ocfs2_is_refcount_inode(inode)); 546 * Create a refcount tree for an inode 549 ocfs2_create_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument 690 ocfs2_set_refcount_tree(struct inode *inode, struct buffer_head *di_bh, u64 refcount_loc) argument 754 ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument 923 ocfs2_try_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument 2286 ocfs2_decrease_refcount(struct inode *inode, handle_t *handle, u32 cpos, u32 len, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc, int delete) argument 2336 ocfs2_mark_extent_refcounted(struct inode *inode, struct ocfs2_extent_tree *et, handle_t *handle, u32 cpos, u32 len, u32 phys, struct ocfs2_alloc_context *meta_ac, struct ocfs2_cached_dealloc_ctxt *dealloc) argument 2519 ocfs2_prepare_refcount_change_for_del(struct inode *inode, u64 refcount_loc, u64 phys_blkno, u32 clusters, int *credits, int *ref_blocks) argument 2627 ocfs2_refcount_cal_cow_clusters(struct inode *inode, struct ocfs2_extent_list *el, u32 cpos, u32 write_len, u32 max_cpos, u32 *cow_start, u32 *cow_len) argument 2903 ocfs2_duplicate_clusters_by_page(handle_t *handle, struct inode *inode, u32 cpos, u32 old_cluster, u32 new_cluster, u32 new_len) argument 3001 ocfs2_duplicate_clusters_by_jbd(handle_t *handle, struct inode *inode, u32 cpos, u32 old_cluster, u32 new_cluster, u32 new_len) argument 3146 ocfs2_cow_sync_writeback(struct super_block *sb, struct inode *inode, u32 cpos, u32 num_clusters) argument 3329 struct inode *inode = context->inode; local 3380 ocfs2_refcount_cow_hunk(struct inode *inode, struct buffer_head *di_bh, u32 cpos, u32 write_len, u32 max_cpos) argument 3456 ocfs2_refcount_cow(struct inode *inode, struct buffer_head *di_bh, u32 cpos, u32 write_len, u32 max_cpos) argument 3496 struct inode *inode = context->inode; local 3508 ocfs2_refcounted_xattr_delete_need(struct inode *inode, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_xattr_value_root *xv, int *meta_add, int *credits) argument 3592 ocfs2_refcount_cow_xattr(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_xattr_value_buf *vb, struct ocfs2_refcount_tree *ref_tree, struct buffer_head *ref_root_bh, u32 cpos, u32 write_len, struct ocfs2_post_refcount *post) argument 3654 ocfs2_add_refcount_flag(struct inode *inode, struct ocfs2_extent_tree *data_et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, u32 cpos, u32 p_cluster, u32 num_clusters, struct ocfs2_cached_dealloc_ctxt *dealloc, struct ocfs2_post_refcount *post) argument 3731 ocfs2_change_ctime(struct inode *inode, struct buffer_head *di_bh) argument 3765 ocfs2_attach_refcount_tree(struct inode *inode, struct buffer_head *di_bh) argument 3867 ocfs2_add_refcounted_extent(struct inode *inode, struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, u32 cpos, u32 p_cluster, u32 num_clusters, unsigned int ext_flags, struct ocfs2_cached_dealloc_ctxt *dealloc) argument 4156 struct inode *inode = d_inode(old_dentry); local 4225 struct inode *inode = d_inode(old_dentry); local 4334 struct inode *inode = d_inode(old_dentry); local 4391 ocfs2_reflink_ioctl(struct inode *inode, const char __user *oldname, const char __user *newname, bool preserve) argument [all...] |
H A D | resize.c | 20 #include "inode.h" 38 static u16 ocfs2_calc_new_backup_super(struct inode *inode, argument 50 blkno = ocfs2_backup_super_blkno(inode->i_sb, i); 51 cluster = ocfs2_blocks_to_clusters(inode->i_sb, blkno); 53 gd_blkno = ocfs2_which_cluster_group(inode, cluster); 60 lgd_cluster = ocfs2_blocks_to_clusters(inode->i_sb, lgd_blkno); 78 struct inode *bm_inode, 134 /* update the inode accordingly. */ 178 static int update_backups(struct inode * inod argument 217 ocfs2_update_super_and_backups(struct inode *inode, int new_clusters) argument 265 ocfs2_group_extend(struct inode * inode, int new_clusters) argument 377 ocfs2_check_new_group(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_new_group_input *input, struct buffer_head *group_bh) argument 415 ocfs2_verify_group_and_input(struct inode *inode, struct ocfs2_dinode *di, struct ocfs2_new_group_input *input, struct buffer_head *group_bh) argument 454 ocfs2_group_add(struct inode *inode, struct ocfs2_new_group_input *input) argument [all...] |
/linux-master/fs/bcachefs/ |
H A D | fs-io-direct.c | 68 struct bch_inode_info *inode = file_bch_inode(file); local 69 struct bch_fs *c = inode->v.i_sb->s_fs_info; 78 bch2_inode_opts_get(&opts, c, &inode->ei_inode); 85 max_t(loff_t, 0, i_size_read(&inode->v) - offset)); 160 bch2_read(c, rbio_init(bio, opts), inode_inum(inode)); 179 struct bch_inode_info *inode = file_bch_inode(file); local 207 bch2_pagecache_add_get(inode); 209 bch2_pagecache_add_put(inode); 220 struct bch_inode_info *inode; member in struct:dio_write 282 struct bch_inode_info *inode local 344 struct bch_inode_unpacked inode; local 373 struct bch_inode_info *inode = dio->inode; local 409 struct bch_inode_info *inode = dio->inode; local 440 struct bch_inode_info *inode = dio->inode; local 583 struct bch_inode_info *inode = file_bch_inode(file); local [all...] |
/linux-master/drivers/char/ |
H A D | scx200_gpio.c | 50 static int scx200_gpio_open(struct inode *inode, struct file *file) argument 52 unsigned m = iminor(inode); 57 return nonseekable_open(inode, file); 60 static int scx200_gpio_release(struct inode *inode, struct file *file) argument
|
/linux-master/arch/sh/boards/mach-landisk/ |
H A D | gio.c | 28 static int gio_open(struct inode *inode, struct file *filp) argument 30 int minor = iminor(inode); 46 static int gio_close(struct inode *inode, struct file *filp) argument 48 int minor = iminor(inode);
|
/linux-master/fs/iomap/ |
H A D | fiemap.c | 62 int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fi, argument 66 .inode = inode, 76 ret = fiemap_prep(inode, fi, start, &iter.len, 0); 89 /* inode with no (attribute) mapping will give ENOENT */ 102 .inode = mapping->host,
|
/linux-master/include/linux/sunrpc/ |
H A D | rpc_pipe_fs.h | 38 void (*release_pipe)(struct inode *); 39 int (*open_pipe)(struct inode *); 59 struct inode vfs_inode; 66 RPC_I(struct inode *inode) argument 68 return container_of(inode, struct rpc_inode, vfs_inode);
|
/linux-master/security/selinux/include/ |
H A D | objsec.h | 48 struct inode *inode; /* back pointer to inode object */ member in struct:inode_security_struct 60 u32 isid; /* SID of inode at the time of file open */ 163 selinux_inode(const struct inode *inode) argument 165 if (unlikely(!inode->i_security)) 167 return inode->i_security + selinux_blob_sizes.lbs_inode;
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | debugfs.c | 38 static int cpu_debug_open(struct inode *inode, struct file *file) argument 40 return single_open(file, cpu_debug_show, inode->i_private); 72 static int dom_debug_open(struct inode *inode, struct file *file) argument 74 return single_open(file, dom_debug_show, inode->i_private);
|
/linux-master/include/linux/ |
H A D | security.h | 46 struct inode; 167 struct inode *inode, const char *name, void **buffer, 236 typedef int (*initxattrs) (struct inode *inode, 339 int security_inode_alloc(struct inode *inode); 340 void security_inode_free(struct inode *inode); 341 int security_inode_init_security(struct inode *inod 772 security_inode_alloc(struct inode *inode) argument 777 security_inode_free(struct inode *inode) argument 799 security_inode_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, const initxattrs xattrs, void *fs_data) argument 808 security_inode_init_security_anon(struct inode *inode, const struct qstr *name, const struct inode *context_inode) argument 823 security_inode_post_create_tmpfile(struct mnt_idmap *idmap, struct inode *inode) argument 880 security_inode_follow_link(struct dentry *dentry, struct inode *inode, bool rcu) argument 887 security_inode_permission(struct inode *inode, int mask) argument 985 security_inode_getsecurity(struct mnt_idmap *idmap, struct inode *inode, const char *name, void **buffer, bool alloc) argument 993 security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags) argument 998 security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) argument 1003 security_inode_getsecid(struct inode *inode, u32 *secid) argument 1153 security_kernel_create_files_as(struct cred *cred, struct inode *inode) argument 1294 security_task_to_inode(struct task_struct *p, struct inode *inode) argument 1404 security_d_instantiate(struct dentry *dentry, struct inode *inode) argument 1460 security_inode_invalidate_secctx(struct inode *inode) argument 1464 security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) argument 1472 security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) argument [all...] |
H A D | fsnotify_backend.h | 14 #include <linux/fs.h> /* struct inode */ 45 #define FS_UNMOUNT 0x00002000 /* inode on umount fs */ 60 * Set on inode mark that cares about things that happen to its children. 62 * Set on inode/sb/mount marks that care about parent/name info. 93 * This is a list of all events that may get sent with the parent inode as the 95 * It may include events that can be sent to an inode/sb/mount mark, but cannot 138 * have inode marks and don't have ignore mask 141 * @inode: inode that event happened on 145 * Either @inode o 300 struct inode *inode; member in struct:fs_error_report 595 fsnotify_inode_watches_children(struct inode *inode) argument 801 fsnotify_add_inode_mark(struct fsnotify_mark *mark, struct inode *inode, int add_flags) argument 808 fsnotify_add_inode_mark_locked(struct fsnotify_mark *mark, struct inode *inode, int add_flags) argument 816 fsnotify_find_inode_mark( struct inode *inode, struct fsnotify_group *group) argument 862 fsnotify(__u32 mask, const void *data, int data_type, struct inode *dir, const struct qstr *name, struct inode *inode, u32 cookie) argument 875 __fsnotify_inode_delete(struct inode *inode) argument [all...] |
/linux-master/fs/reiserfs/ |
H A D | bitmap.c | 325 __le32 reiserfs_choose_packing(struct inode * dir) 417 struct inode *inode, b_blocknr_t block, 462 dquot_free_block_nodirty(inode, 1); 468 struct inode *inode, b_blocknr_t block, 487 _reiserfs_free_block(th, inode, block, for_unformatted); 492 struct inode *inode, b_blocknr_t block) 499 _reiserfs_free_block(th, inode, bloc 416 _reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument 467 reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument 491 reiserfs_free_prealloc_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block) argument 507 struct inode *inode = &ei->vfs_inode; local 536 reiserfs_discard_prealloc(struct reiserfs_transaction_handle *th, struct inode *inode) argument 1314 struct inode *inode = hint->inode; local [all...] |