Searched refs:inode (Results 51 - 75 of 1983) sorted by relevance

1234567891011>>

/linux-master/fs/jfs/
H A Dinode.c24 struct inode *jfs_iget(struct super_block *sb, unsigned long ino)
26 struct inode *inode; local
29 inode = iget_locked(sb, ino);
30 if (!inode)
32 if (!(inode->i_state & I_NEW))
33 return inode;
35 ret = diRead(inode);
37 iget_failed(inode);
41 if (S_ISREG(inode
73 jfs_commit_inode(struct inode *inode, int wait) argument
115 jfs_write_inode(struct inode *inode, struct writeback_control *wbc) argument
139 jfs_evict_inode(struct inode *inode) argument
180 jfs_dirty_inode(struct inode *inode, int flags) argument
285 struct inode *inode = mapping->host; local
327 struct inode *inode = file->f_mapping->host; local
[all...]
/linux-master/fs/adfs/
H A Dinode.c3 * linux/fs/adfs/inode.c
13 * Lookup/Create a block at offset 'block' into 'inode'. We currently do
17 adfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh, argument
21 if (block >= inode->i_blocks)
24 block = __adfs_block_map(inode->i_sb, ADFS_I(inode)->indaddr,
27 map_bh(bh, inode->i_sb, block);
50 struct inode *inode local
92 adfs_atts2mode(struct super_block *sb, struct inode *inode) argument
135 adfs_mode2atts(struct super_block *sb, struct inode *inode, umode_t ia_mode) argument
175 adfs_adfs2unix_time(struct timespec64 *tv, struct inode *inode) argument
214 adfs_unix2adfs_time(struct inode *inode, const struct timespec64 *ts) argument
247 struct inode *inode; local
305 struct inode *inode = d_inode(dentry); local
361 adfs_write_inode(struct inode *inode, struct writeback_control *wbc) argument
[all...]
/linux-master/fs/ocfs2/
H A Dfile.h29 struct inode *inode,
39 struct inode *inode,
42 int ocfs2_simple_size_update(struct inode *inode,
45 int ocfs2_truncate_file(struct inode *inode,
48 int ocfs2_extend_no_holes(struct inode *inode, struc
[all...]
H A Dextent_map.h28 void ocfs2_extent_map_init(struct inode *inode);
29 void ocfs2_extent_map_trunc(struct inode *inode, unsigned int cluster);
30 void ocfs2_extent_map_insert_rec(struct inode *inode,
33 int ocfs2_get_clusters(struct inode *inode, u32 v_cluster, u32 *p_cluster,
35 int ocfs2_extent_map_get_blocks(struct inode *inode, u6
60 ocfs2_read_virt_block(struct inode *inode, u64 v_block, struct buffer_head **bh, int (*validate)(struct super_block *sb, struct buffer_head *bh)) argument
[all...]
H A Ddcache.h20 * The ocfs2_dentry_lock keeps an inode reference until
24 struct inode *dl_inode;
28 int ocfs2_dentry_attach_lock(struct dentry *dentry, struct inode *inode,
34 struct dentry *ocfs2_find_local_alias(struct inode *inode, u64 parent_blkno,
38 struct inode *old_dir, struct inode *new_dir);
H A Dacl.h19 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type, bool rcu);
22 extern int ocfs2_acl_chmod(struct inode *, struct buffer_head *);
23 extern int ocfs2_init_acl(handle_t *, struct inode *, struct inode *,
H A Dsysfile.c20 #include "inode.h"
26 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
40 static struct inode **get_local_system_inode(struct ocfs2_super *osb,
45 struct inode **local_system_inodes, **free = NULL;
57 kzalloc(array3_size(sizeof(struct inode *),
65 * will try to create an inode and use it. We will try
88 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb,
92 struct inode *inode = NULL; local
93 struct inode **ar
128 struct inode *inode = NULL; local
[all...]
H A Dinode.c3 * inode.c
30 #include "inode.h"
55 static int ocfs2_read_locked_inode(struct inode *inode,
57 static int ocfs2_init_locked_inode(struct inode *inode, void *opaque);
58 static int ocfs2_find_actor(struct inode *inode, void *opaque);
60 struct inode *inode,
71 ocfs2_set_inode_flags(struct inode *inode) argument
125 struct inode *inode = NULL; local
211 ocfs2_find_actor(struct inode *inode, void *opaque) argument
236 ocfs2_init_locked_inode(struct inode *inode, void *opaque) argument
260 ocfs2_populate_inode(struct inode *inode, struct ocfs2_dinode *fe, int create_ino) argument
384 OCFS2_LOCK_TYPE_OPEN, 0, inode); local
401 ocfs2_read_locked_inode(struct inode *inode, struct ocfs2_find_inode_args *args) argument
467 0, inode); local
578 ocfs2_truncate_for_delete(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh) argument
634 ocfs2_remove_inode(struct inode *inode, struct buffer_head *di_bh, struct inode *orphan_dir_inode, struct buffer_head *orphan_dir_bh) argument
748 ocfs2_wipe_inode(struct inode *inode, struct buffer_head *di_bh) argument
839 ocfs2_inode_is_valid_to_delete(struct inode *inode) argument
887 ocfs2_query_inode_wipe(struct inode *inode, struct buffer_head *di_bh, int *wipe) argument
982 ocfs2_cleanup_delete_inode(struct inode *inode, int sync_data) argument
992 ocfs2_delete_inode(struct inode *inode) argument
1110 ocfs2_clear_inode(struct inode *inode) argument
1212 ocfs2_evict_inode(struct inode *inode) argument
1226 ocfs2_drop_inode(struct inode *inode) argument
1249 struct inode *inode = d_inode(dentry); local
1287 ocfs2_mark_inode_dirty(handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
1333 ocfs2_refresh_inode(struct inode *inode, struct ocfs2_dinode *fe) argument
1562 ocfs2_filecheck_read_inode_block_full(struct inode *inode, struct buffer_head **bh, int flags, int type) argument
1587 ocfs2_read_inode_block_full(struct inode *inode, struct buffer_head **bh, int flags) argument
1603 ocfs2_read_inode_block(struct inode *inode, struct buffer_head **bh) argument
[all...]
/linux-master/fs/
H A Dbad_inode.c20 static int bad_file_open(struct inode *inode, struct file *filp) argument
31 struct inode *dir, struct dentry *dentry,
37 static struct dentry *bad_inode_lookup(struct inode *dir,
43 static int bad_inode_link (struct dentry *old_dentry, struct inode *dir,
49 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry)
55 struct inode *dir, struct dentry *dentry,
61 static int bad_inode_mkdir(struct mnt_idmap *idmap, struct inode *dir,
67 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry)
72 static int bad_inode_mknod(struct mnt_idmap *idmap, struct inode *di
92 bad_inode_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument
117 bad_inode_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
124 bad_inode_get_acl(struct inode *inode, int type, bool rcu) argument
129 bad_inode_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) argument
136 bad_inode_update_time(struct inode *inode, int flags) argument
141 bad_inode_atomic_open(struct inode *inode, struct dentry *dentry, struct file *file, unsigned int open_flag, umode_t create_mode) argument
148 bad_inode_tmpfile(struct mnt_idmap *idmap, struct inode *inode, struct file *file, umode_t mode) argument
206 make_bad_inode(struct inode *inode) argument
231 is_bad_inode(struct inode *inode) argument
244 iget_failed(struct inode *inode) argument
[all...]
/linux-master/fs/squashfs/
H A Dinode.c8 * inode.c
14 * Inodes in Squashfs are identified by a 48-bit inode which encodes the
15 * location of the compressed metadata block containing the inode, and the byte
16 * offset into that block where the inode is placed (<block, offset>).
19 * (regular file, directory, device, etc.), the inode contents and length
22 * To further maximise compression, two types of regular file inode and
23 * directory inode are defined: inodes optimised for frequently occurring
40 * Initialise VFS inode with the base inode information common to all
41 * Squashfs inode type
44 squashfs_new_inode(struct super_block *sb, struct inode *inode, struct squashfs_base_inode *sqsh_ino) argument
78 struct inode *inode = iget_locked(sb, ino_number); local
103 squashfs_read_inode(struct inode *inode, long long ino) argument
[all...]
H A Dsquashfs_fs_i.h33 struct inode vfs_inode;
37 static inline struct squashfs_inode_info *squashfs_i(struct inode *inode) argument
39 return container_of(inode, struct squashfs_inode_info, vfs_inode);
/linux-master/security/integrity/ima/
H A Dima_iint.c10 * - cache integrity information in the inode security blob
19 * ima_iint_find - Return the iint associated with an inode
20 * @inode: Pointer to the inode
22 * Return the IMA integrity information (iint) associated with an inode, if the
23 * inode was processed by IMA.
27 struct ima_iint_cache *ima_iint_find(struct inode *inode) argument
29 if (!IS_IMA(inode))
32 return ima_inode_get_iint(inode);
43 ima_iint_lockdep_annotate(struct ima_iint_cache *iint, struct inode *inode) argument
58 ima_iint_init_always(struct ima_iint_cache *iint, struct inode *inode) argument
91 ima_inode_get(struct inode *inode) argument
117 ima_inode_free(struct inode *inode) argument
[all...]
/linux-master/fs/hugetlbfs/
H A DMakefile8 hugetlbfs-objs := inode.o
/linux-master/fs/openpromfs/
H A DMakefile8 openpromfs-objs := inode.o
/linux-master/fs/9p/
H A Dacl.h10 int v9fs_get_acl(struct inode *inode, struct p9_fid *fid);
11 struct posix_acl *v9fs_iop_get_inode_acl(struct inode *inode, int type,
17 int v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid);
18 int v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid,
20 int v9fs_acl_mode(struct inode *dir, umode_t *modep,
27 static inline int v9fs_get_acl(struct inode *inod argument
31 v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid) argument
35 v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, struct posix_acl *dacl, struct posix_acl *acl) argument
[all...]
/linux-master/fs/gfs2/
H A Dacl.h14 struct posix_acl *gfs2_get_acl(struct inode *inode, int type, bool rcu);
15 int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-master/fs/freevxfs/
H A Dvxfs_extern.h19 struct inode;
23 extern daddr_t vxfs_bmap1(struct inode *, long);
31 extern struct inode *vxfs_blkiget(struct super_block *, u_long, ino_t);
32 extern struct inode *vxfs_stiget(struct super_block *, ino_t);
33 extern struct inode *vxfs_iget(struct super_block *, ino_t);
34 extern void vxfs_evict_inode(struct inode *);
47 extern struct buffer_head * vxfs_bread(struct inode *, int);
/linux-master/fs/jffs2/
H A Dacl.h30 struct posix_acl *jffs2_get_acl(struct inode *inode, int type, bool rcu);
33 extern int jffs2_init_acl_pre(struct inode *, struct inode *, umode_t *);
34 extern int jffs2_init_acl_post(struct inode *);
40 #define jffs2_init_acl_pre(dir_i,inode,mode) (0)
41 #define jffs2_init_acl_post(inode) (0)
/linux-master/fs/ext4/
H A Dfsync.c46 static int ext4_sync_parent(struct inode *inode) argument
51 if (!ext4_test_inode_state(inode, EXT4_STATE_NEWENTRY))
53 dentry = d_find_any_alias(inode);
56 while (ext4_test_inode_state(inode, EXT4_STATE_NEWENTRY)) {
57 ext4_clear_inode_state(inode, EXT4_STATE_NEWENTRY);
62 inode = dentry->d_inode;
65 * The directory inode may have gone through rmdir by now. But
66 * the inode itself and its blocks are still allocated (we hold
67 * a reference to the inode vi
85 struct inode *inode = file->f_inode; local
97 ext4_fsync_journal(struct inode *inode, bool datasync, bool *needs_barrier) argument
133 struct inode *inode = file->f_mapping->host; local
[all...]
/linux-master/fs/btrfs/
H A Dacl.h7 struct inode;
15 struct posix_acl *btrfs_get_acl(struct inode *inode, int type, bool rcu);
18 int __btrfs_set_acl(struct btrfs_trans_handle *trans, struct inode *inode,
30 struct inode *inode, struct posix_acl *acl,
29 __btrfs_set_acl(struct btrfs_trans_handle *trans, struct inode *inode, struct posix_acl *acl, int type) argument
/linux-master/fs/nilfs2/
H A Dalloc.c3 * NILFS dat/inode allocator
23 * @inode: inode of metadata file using this allocator
26 nilfs_palloc_groups_per_desc_block(const struct inode *inode) argument
28 return i_blocksize(inode) /
34 * @inode: inode of metadata file using this allocator
37 nilfs_palloc_groups_count(const struct inode *inode) argument
47 nilfs_palloc_init_blockgroup(struct inode *inode, unsigned int entry_size) argument
82 nilfs_palloc_group(const struct inode *inode, __u64 nr, unsigned long *offset) argument
100 nilfs_palloc_desc_blkoff(const struct inode *inode, unsigned long group) argument
116 nilfs_palloc_bitmap_blkoff(const struct inode *inode, unsigned long group) argument
166 nilfs_palloc_entry_blkoff(const struct inode *inode, __u64 nr) argument
182 nilfs_palloc_desc_block_init(struct inode *inode, struct buffer_head *bh, void *kaddr) argument
196 nilfs_palloc_get_block(struct inode *inode, unsigned long blkoff, int create, void (*init_block)(struct inode *, struct buffer_head *, void *), struct buffer_head **bhp, struct nilfs_bh_assoc *prev, spinlock_t *lock) argument
240 nilfs_palloc_delete_block(struct inode *inode, unsigned long blkoff, struct nilfs_bh_assoc *prev, spinlock_t *lock) argument
260 nilfs_palloc_get_desc_block(struct inode *inode, unsigned long group, int create, struct buffer_head **bhp) argument
279 nilfs_palloc_get_bitmap_block(struct inode *inode, unsigned long group, int create, struct buffer_head **bhp) argument
296 nilfs_palloc_delete_bitmap_block(struct inode *inode, unsigned long group) argument
314 nilfs_palloc_get_entry_block(struct inode *inode, __u64 nr, int create, struct buffer_head **bhp) argument
330 nilfs_palloc_delete_entry_block(struct inode *inode, __u64 nr) argument
347 nilfs_palloc_block_get_group_desc(const struct inode *inode, unsigned long group, const struct buffer_head *bh, void *kaddr) argument
362 nilfs_palloc_block_get_entry(const struct inode *inode, __u64 nr, const struct buffer_head *bh, void *kaddr) argument
421 nilfs_palloc_rest_groups_in_desc_block(const struct inode *inode, unsigned long curr, unsigned long max) argument
435 nilfs_palloc_count_desc_blocks(struct inode *inode, unsigned long *desc_blocks) argument
455 nilfs_palloc_mdt_file_can_grow(struct inode *inode, unsigned long desc_blocks) argument
469 nilfs_palloc_count_max_entries(struct inode *inode, u64 nused, u64 *nmaxp) argument
499 nilfs_palloc_prepare_alloc_entry(struct inode *inode, struct nilfs_palloc_req *req) argument
584 nilfs_palloc_commit_alloc_entry(struct inode *inode, struct nilfs_palloc_req *req) argument
600 nilfs_palloc_commit_free_entry(struct inode *inode, struct nilfs_palloc_req *req) argument
641 nilfs_palloc_abort_alloc_entry(struct inode *inode, struct nilfs_palloc_req *req) argument
682 nilfs_palloc_prepare_free_entry(struct inode *inode, struct nilfs_palloc_req *req) argument
709 nilfs_palloc_abort_free_entry(struct inode *inode, struct nilfs_palloc_req *req) argument
726 nilfs_palloc_freev(struct inode *inode, __u64 *entry_nrs, size_t nitems) argument
839 nilfs_palloc_setup_cache(struct inode *inode, struct nilfs_palloc_cache *cache) argument
846 nilfs_palloc_clear_cache(struct inode *inode) argument
860 nilfs_palloc_destroy_cache(struct inode *inode) argument
[all...]
/linux-master/fs/fat/
H A Dcache.c8 * of inode number.
32 static inline int fat_max_cache(struct inode *inode) argument
62 static inline struct fat_cache *fat_cache_alloc(struct inode *inode) argument
73 static inline void fat_cache_update_lru(struct inode *inode, argument
76 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list)
77 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru);
80 static int fat_cache_lookup(struct inode *inod argument
117 fat_cache_merge(struct inode *inode, struct fat_cache_id *new) argument
134 fat_cache_add(struct inode *inode, struct fat_cache_id *new) argument
186 __fat_cache_inval_inode(struct inode *inode) argument
204 fat_cache_inval_inode(struct inode *inode) argument
225 fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) argument
291 fat_bmap_cluster(struct inode *inode, int cluster) argument
310 fat_get_mapped_cluster(struct inode *inode, sector_t sector, sector_t last_block, unsigned long *mapped_blocks, sector_t *bmap) argument
333 is_exceed_eof(struct inode *inode, sector_t sector, sector_t *last_block, int create) argument
358 fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, unsigned long *mapped_blocks, int create, bool from_bmap) argument
[all...]
/linux-master/fs/udf/
H A Dtruncate.c25 static void extent_trunc(struct inode *inode, struct extent_position *epos, argument
30 int last_block = (elen + inode->i_sb->s_blocksize - 1) >>
31 inode->i_sb->s_blocksize_bits;
32 int first_block = (nelen + inode->i_sb->s_blocksize - 1) >>
33 inode->i_sb->s_blocksize_bits;
37 udf_free_blocks(inode->i_sb, inode, eloc, 0,
46 udf_write_aext(inode, epos, &neloc, nelen, 0);
49 mark_inode_dirty(inode);
63 udf_truncate_tail_extent(struct inode *inode) argument
117 udf_discard_prealloc(struct inode *inode) argument
157 udf_update_alloc_ext_desc(struct inode *inode, struct extent_position *epos, u32 lenalloc) argument
180 udf_truncate_extents(struct inode *inode) argument
[all...]
/linux-master/fs/reiserfs/
H A Dinode.c27 void reiserfs_evict_inode(struct inode *inode) argument
35 2 * REISERFS_QUOTA_INIT_BLOCKS(inode->i_sb);
39 if (!inode->i_nlink && !is_bad_inode(inode))
40 dquot_initialize(inode);
42 truncate_inode_pages_final(&inode->i_data);
43 if (inode->i_nlink)
47 * The = 0 happens when we abort creating a new inode
51 if (!(inode
127 make_cpu_key(struct cpu_key *key, struct inode *inode, loff_t offset, int type, int length) argument
231 set_block_dev_mapped(struct buffer_head *bh, b_blocknr_t block, struct inode *inode) argument
241 file_capable(struct inode *inode, sector_t block) argument
252 restart_transaction(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) argument
285 _get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int args) argument
464 reiserfs_bmap(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
495 reiserfs_get_block_create_0(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
506 reiserfs_get_blocks_direct_io(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
568 convert_tail_for_hole(struct inode *inode, struct buffer_head *bh_result, loff_t tail_offset) argument
631 _allocate_block(struct reiserfs_transaction_handle *th, sector_t block, struct inode *inode, b_blocknr_t * allocated_block_nr, struct treepath *path, int flags) argument
649 reiserfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
1165 real_space_diff(struct inode *inode, int sd_size) argument
1189 to_real_used_space(struct inode *inode, ulong blocks, int sd_size) argument
1201 to_fake_used_blocks(struct inode *inode, int sd_size) argument
1229 init_inode(struct inode *inode, struct treepath *path) argument
1337 sd_attrs_to_i_attrs(sd_v2_attrs(sd), inode); local
1360 inode2sd(void *sd, struct inode *inode, loff_t size) argument
1381 inode2sd_v1(void *sd, struct inode *inode, loff_t size) argument
1408 update_stat_data(struct treepath *path, struct inode *inode, loff_t size) argument
1423 inode2sd_v1(ih_item_body(bh, ih), inode, size); local
1425 inode2sd(ih_item_body(bh, ih), inode, size); local
1431 reiserfs_update_sd_size(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t size) argument
1504 reiserfs_make_bad_inode(struct inode *inode) argument
1514 reiserfs_init_locked_inode(struct inode *inode, void *p) argument
1526 reiserfs_read_locked_inode(struct inode *inode, struct reiserfs_iget_args *args) argument
1612 reiserfs_find_actor(struct inode *inode, void *opaque) argument
1624 struct inode *inode; local
1656 struct inode *inode; local
1716 reiserfs_encode_fh(struct inode *inode, __u32 * data, int *lenp, struct inode *parent) argument
1755 reiserfs_write_inode(struct inode *inode, struct writeback_control *wbc) argument
1784 reiserfs_new_directory(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, struct inode *dir) argument
1847 reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, const char *symname, int item_len) argument
1906 reiserfs_new_inode(struct reiserfs_transaction_handle *th, struct inode *dir, umode_t mode, const char *symname, loff_t i_size, struct dentry *dentry, struct inode *inode, struct reiserfs_security_handle *security) argument
2165 grab_tail_page(struct inode *inode, struct page **page_result, struct buffer_head **bh_result) argument
2246 reiserfs_truncate_file(struct inode *inode, int update_timestamps) argument
2347 map_block_for_writepage(struct inode *inode, struct buffer_head *bh_result, unsigned long block) argument
2509 struct inode *inode = folio->mapping->host; local
2731 reiserfs_truncate_failed_write(struct inode *inode) argument
2742 struct inode *inode; local
2806 struct inode *inode = page->mapping->host; local
2869 struct inode *inode = page->mapping->host; local
2968 struct inode *inode = page->mapping->host; local
3041 sd_attrs_to_i_attrs(__u16 sd_attrs, struct inode *inode) argument
3071 invalidate_folio_can_drop(struct inode *inode, struct buffer_head *bh) argument
3129 struct inode *inode = folio->mapping->host; local
3199 struct inode *inode = folio->mapping->host; local
3233 struct inode *inode = file->f_mapping->host; local
3260 struct inode *inode = d_inode(dentry); local
[all...]
/linux-master/fs/sysv/
H A Dinode.c3 * linux/fs/sysv/inode.c
5 * minix/inode.c
8 * xenix/inode.c
11 * coh/inode.c
14 * sysv/inode.c
17 * sysv/inode.c
152 void sysv_set_inode(struct inode *inode, dev_t rdev) argument
154 if (S_ISREG(inode->i_mode)) {
155 inode
176 struct inode *inode; local
227 __sysv_write_inode(struct inode *inode, int wait) argument
277 sysv_write_inode(struct inode *inode, struct writeback_control *wbc) argument
282 sysv_sync_inode(struct inode *inode) argument
287 sysv_evict_inode(struct inode *inode) argument
312 sysv_free_in_core_inode(struct inode *inode) argument
[all...]

Completed in 265 milliseconds

1234567891011>>