Home
last modified time | relevance | path

Searched refs:raw_inode (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.3-rc2/fs/sysv/
A Dialloc.c75 struct sysv_inode * raw_inode; in refill_free_cache() local
80 if (!raw_inode) in refill_free_cache()
83 if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0) { in refill_free_cache()
91 if (!raw_inode) in refill_free_cache()
94 raw_inode++; in refill_free_cache()
107 struct sysv_inode * raw_inode; in sysv_free_inode() local
117 if (!raw_inode) { in sysv_free_inode()
200 if (!raw_inode) in sysv_count_free_inodes()
203 if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0) in sysv_count_free_inodes()
208 if (!raw_inode) in sysv_count_free_inodes()
[all …]
A Dinode.c174 struct sysv_inode * raw_inode; in sysv_iget() local
191 raw_inode = sysv_raw_inode(sb, ino, &bh); in sysv_iget()
192 if (!raw_inode) { in sysv_iget()
198 inode->i_mode = fs16_to_cpu(sbi, raw_inode->i_mode); in sysv_iget()
202 inode->i_size = fs32_to_cpu(sbi, raw_inode->i_size); in sysv_iget()
213 read3byte(sbi, &raw_inode->i_data[3*block], in sysv_iget()
235 struct sysv_inode * raw_inode; in __sysv_write_inode() local
246 raw_inode = sysv_raw_inode(sb, ino, &bh); in __sysv_write_inode()
247 if (!raw_inode) { in __sysv_write_inode()
252 raw_inode->i_mode = cpu_to_fs16(sbi, inode->i_mode); in __sysv_write_inode()
[all …]
/linux-6.3-rc2/fs/minix/
A Dinode.c483 struct minix_inode * raw_inode; in V1_minix_iget() local
488 if (!raw_inode) { in V1_minix_iget()
492 if (raw_inode->i_nlinks == 0) { in V1_minix_iget()
499 inode->i_mode = raw_inode->i_mode; in V1_minix_iget()
523 struct minix2_inode * raw_inode; in V2_minix_iget() local
528 if (!raw_inode) { in V2_minix_iget()
532 if (raw_inode->i_nlinks == 0) { in V2_minix_iget()
584 struct minix_inode * raw_inode; in V1_minix_update_inode() local
589 if (!raw_inode) in V1_minix_update_inode()
611 struct minix2_inode * raw_inode; in V2_minix_update_inode() local
[all …]
A Dbitmap.c163 struct minix_inode *raw_inode; in minix_clear_inode() local
164 raw_inode = minix_V1_raw_inode(inode->i_sb, inode->i_ino, &bh); in minix_clear_inode()
165 if (raw_inode) { in minix_clear_inode()
166 raw_inode->i_nlinks = 0; in minix_clear_inode()
167 raw_inode->i_mode = 0; in minix_clear_inode()
170 struct minix2_inode *raw_inode; in minix_clear_inode() local
171 raw_inode = minix_V2_raw_inode(inode->i_sb, inode->i_ino, &bh); in minix_clear_inode()
172 if (raw_inode) { in minix_clear_inode()
173 raw_inode->i_nlinks = 0; in minix_clear_inode()
174 raw_inode->i_mode = 0; in minix_clear_inode()
/linux-6.3-rc2/fs/ext2/
A Dinode.c1381 if (IS_ERR(raw_inode)) { in ext2_iget()
1382 ret = PTR_ERR(raw_inode); in ext2_iget()
1469 if (raw_inode->i_block[0]) in ext2_iget()
1498 if (IS_ERR(raw_inode)) in __ext2_write_inode()
1518 raw_inode->i_uid_high = 0; in __ext2_write_inode()
1519 raw_inode->i_gid_high = 0; in __ext2_write_inode()
1524 raw_inode->i_uid_high = 0; in __ext2_write_inode()
1525 raw_inode->i_gid_high = 0; in __ext2_write_inode()
1565 raw_inode->i_block[0] = in __ext2_write_inode()
1567 raw_inode->i_block[1] = 0; in __ext2_write_inode()
[all …]
/linux-6.3-rc2/fs/nilfs2/
A Dinode.c442 struct nilfs_inode *raw_inode) in nilfs_read_inode_common() argument
464 ii->i_flags = le32_to_cpu(raw_inode->i_flags); in nilfs_read_inode_common()
468 0 : le32_to_cpu(raw_inode->i_dir_acl); in nilfs_read_inode_common()
475 err = nilfs_bmap_read(ii->i_bmap, raw_inode); in nilfs_read_inode_common()
490 struct nilfs_inode *raw_inode; in __nilfs_read_inode() local
784 raw_inode->i_xattr = 0; in nilfs_write_inode_common()
785 raw_inode->i_pad = 0; in nilfs_write_inode_common()
786 memset((void *)raw_inode + sizeof(*raw_inode), 0, in nilfs_write_inode_common()
791 nilfs_bmap_write(ii->i_bmap, raw_inode); in nilfs_write_inode_common()
793 raw_inode->i_device_code = in nilfs_write_inode_common()
[all …]
A Difile.c102 struct nilfs_inode *raw_inode; in nilfs_ifile_delete_inode() local
119 raw_inode = nilfs_palloc_block_get_entry(ifile, req.pr_entry_nr, in nilfs_ifile_delete_inode()
121 raw_inode->i_flags = 0; in nilfs_ifile_delete_inode()
181 size_t inode_size, struct nilfs_inode *raw_inode, in nilfs_ifile_read() argument
204 err = nilfs_read_inode_common(ifile, raw_inode); in nilfs_ifile_read()
A Dbmap.c496 int nilfs_bmap_read(struct nilfs_bmap *bmap, struct nilfs_inode *raw_inode) in nilfs_bmap_read() argument
498 if (raw_inode == NULL) in nilfs_bmap_read()
501 memcpy(bmap->b_u.u_data, raw_inode->i_bmap, NILFS_BMAP_SIZE); in nilfs_bmap_read()
541 void nilfs_bmap_write(struct nilfs_bmap *bmap, struct nilfs_inode *raw_inode) in nilfs_bmap_write() argument
544 memcpy(raw_inode->i_bmap, bmap->b_u.u_data, in nilfs_bmap_write()
A Dcpfile.h32 struct nilfs_inode *raw_inode, struct inode **inodep);
A Difile.h42 size_t inode_size, struct nilfs_inode *raw_inode,
A Ddat.h45 struct nilfs_inode *raw_inode, struct inode **inodep);
A Dsufile.h54 struct nilfs_inode *raw_inode, struct inode **inodep);
A Ddat.c491 struct nilfs_inode *raw_inode, struct inode **inodep) in nilfs_dat_read() argument
529 err = nilfs_read_inode_common(dat, raw_inode); in nilfs_dat_read()
/linux-6.3-rc2/fs/befs/
A Dinode.c19 befs_check_inode(struct super_block *sb, befs_inode *raw_inode, in befs_check_inode() argument
22 u32 magic1 = fs32_to_cpu(sb, raw_inode->magic1); in befs_check_inode()
23 befs_inode_addr ino_num = fsrun_to_cpu(sb, raw_inode->inode_num); in befs_check_inode()
24 u32 flags = fs32_to_cpu(sb, raw_inode->flags); in befs_check_inode()
A Dlinuxvfs.c300 befs_inode *raw_inode; in befs_iget() local
329 raw_inode = (befs_inode *) bh->b_data; in befs_iget()
331 befs_dump_inode(sb, raw_inode); in befs_iget()
338 inode->i_mode = (umode_t) fs32_to_cpu(sb, raw_inode->mode); in befs_iget()
347 make_kuid(&init_user_ns, fs32_to_cpu(sb, raw_inode->uid)); in befs_iget()
350 make_kgid(&init_user_ns, fs32_to_cpu(sb, raw_inode->gid)); in befs_iget()
364 fs64_to_cpu(sb, raw_inode->last_modified_time) >> 16; in befs_iget()
370 befs_ino->i_parent = fsrun_to_cpu(sb, raw_inode->parent); in befs_iget()
372 befs_ino->i_flags = fs32_to_cpu(sb, raw_inode->flags); in befs_iget()
377 strlcpy(befs_ino->i_data.symlink, raw_inode->data.symlink, in befs_iget()
[all …]
A Dinode.h6 int befs_check_inode(struct super_block *sb, befs_inode *raw_inode,
/linux-6.3-rc2/fs/qnx4/
A Dinode.c266 struct qnx4_inode_entry *raw_inode; in qnx4_iget() local
296 raw_inode = ((struct qnx4_inode_entry *) bh->b_data) + in qnx4_iget()
299 inode->i_mode = le16_to_cpu(raw_inode->di_mode); in qnx4_iget()
300 i_uid_write(inode, (uid_t)le16_to_cpu(raw_inode->di_uid)); in qnx4_iget()
301 i_gid_write(inode, (gid_t)le16_to_cpu(raw_inode->di_gid)); in qnx4_iget()
302 set_nlink(inode, le16_to_cpu(raw_inode->di_nlink)); in qnx4_iget()
303 inode->i_size = le32_to_cpu(raw_inode->di_size); in qnx4_iget()
304 inode->i_mtime.tv_sec = le32_to_cpu(raw_inode->di_mtime); in qnx4_iget()
306 inode->i_atime.tv_sec = le32_to_cpu(raw_inode->di_atime); in qnx4_iget()
308 inode->i_ctime.tv_sec = le32_to_cpu(raw_inode->di_ctime); in qnx4_iget()
[all …]
/linux-6.3-rc2/fs/ext4/
A Dinode.c4451 raw_inode->i_uid_high = 0; in ext4_fill_raw_inode()
4452 raw_inode->i_gid_high = 0; in ext4_fill_raw_inode()
4454 raw_inode->i_uid_high = in ext4_fill_raw_inode()
4456 raw_inode->i_gid_high = in ext4_fill_raw_inode()
4462 raw_inode->i_uid_high = 0; in ext4_fill_raw_inode()
4463 raw_inode->i_gid_high = 0; in ext4_fill_raw_inode()
4483 raw_inode->i_block[0] = in ext4_fill_raw_inode()
4488 raw_inode->i_block[1] = in ext4_fill_raw_inode()
4881 (raw_inode->i_links_count == 0) && (raw_inode->i_mode == 0)) { in __ext4_iget()
5119 if (raw_inode->i_block[0]) in __ext4_iget()
[all …]
A Dxattr.h66 #define IHDR(inode, raw_inode) \ argument
68 ((void *)raw_inode + \
193 struct ext4_inode *raw_inode, handle_t *handle);
A Dxattr.c655 struct ext4_inode *raw_inode; in ext4_xattr_ibody_get() local
666 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_get()
667 header = IHDR(inode, raw_inode); in ext4_xattr_ibody_get()
801 struct ext4_inode *raw_inode; in ext4_xattr_ibody_list() local
811 raw_inode = ext4_raw_inode(&iloc); in ext4_xattr_ibody_list()
812 header = IHDR(inode, raw_inode); in ext4_xattr_ibody_list()
884 struct ext4_inode *raw_inode; in ext4_get_inode_usage() local
898 header = IHDR(inode, raw_inode); in ext4_get_inode_usage()
2253 struct ext4_inode *raw_inode; in ext4_xattr_ibody_find() local
2260 header = IHDR(inode, raw_inode); in ext4_xattr_ibody_find()
[all …]
A Dext4.h923 (raw_inode)->xtime ## _extra = \
935 (raw_inode)->xtime ## _extra = \
944 raw_inode->xtime ## _extra); \
955 (signed)le32_to_cpu((raw_inode)->xtime); \
960 raw_inode->xtime ## _extra); \
3310 struct ext4_inode *raw_inode) in ext4_isize() argument
3313 S_ISREG(le16_to_cpu(raw_inode->i_mode))) in ext4_isize()
3315 le32_to_cpu(raw_inode->i_size_lo); in ext4_isize()
3317 return (loff_t) le32_to_cpu(raw_inode->i_size_lo); in ext4_isize()
3322 raw_inode->i_size_lo = cpu_to_le32(i_size); in ext4_isize_set()
[all …]
A Dinline.c36 struct ext4_inode *raw_inode; in get_max_inline_xattr_value_size() local
57 raw_inode = ext4_raw_inode(iloc); in get_max_inline_xattr_value_size()
58 header = IHDR(inode, raw_inode); in get_max_inline_xattr_value_size()
74 ((void *)raw_inode + EXT4_I(inode)->i_inline_off); in get_max_inline_xattr_value_size()
175 struct ext4_inode *raw_inode; in ext4_read_inline_data() local
184 raw_inode = ext4_raw_inode(iloc); in ext4_read_inline_data()
185 memcpy(buffer, (void *)(raw_inode->i_block), cp_len); in ext4_read_inline_data()
193 header = IHDR(inode, raw_inode); in ext4_read_inline_data()
218 struct ext4_inode *raw_inode; in ext4_write_inline_data() local
227 raw_inode = ext4_raw_inode(iloc); in ext4_write_inline_data()
[all …]
A Dfast_commit.c1521 struct ext4_inode *raw_inode; in ext4_fc_replay_inode() local
1552 raw_inode = ext4_raw_inode(&iloc); in ext4_fc_replay_inode()
1554 memcpy(raw_inode, raw_fc_inode, offsetof(struct ext4_inode, i_block)); in ext4_fc_replay_inode()
1555 memcpy((u8 *)raw_inode + off_gen, (u8 *)raw_fc_inode + off_gen, in ext4_fc_replay_inode()
1557 if (le32_to_cpu(raw_inode->i_flags) & EXT4_EXTENTS_FL) { in ext4_fc_replay_inode()
1558 eh = (struct ext4_extent_header *)(&raw_inode->i_block[0]); in ext4_fc_replay_inode()
1563 (sizeof(raw_inode->i_block) - in ext4_fc_replay_inode()
1567 } else if (le32_to_cpu(raw_inode->i_flags) & EXT4_INLINE_DATA_FL) { in ext4_fc_replay_inode()
1568 memcpy(raw_inode->i_block, raw_fc_inode->i_block, in ext4_fc_replay_inode()
1569 sizeof(raw_inode->i_block)); in ext4_fc_replay_inode()
/linux-6.3-rc2/fs/qnx6/
A Dinode.c521 struct qnx6_inode_entry *raw_inode; in qnx6_iget() local
557 inode->i_mode = fs16_to_cpu(sbi, raw_inode->di_mode); in qnx6_iget()
558 i_uid_write(inode, (uid_t)fs32_to_cpu(sbi, raw_inode->di_uid)); in qnx6_iget()
559 i_gid_write(inode, (gid_t)fs32_to_cpu(sbi, raw_inode->di_gid)); in qnx6_iget()
560 inode->i_size = fs64_to_cpu(sbi, raw_inode->di_size); in qnx6_iget()
561 inode->i_mtime.tv_sec = fs32_to_cpu(sbi, raw_inode->di_mtime); in qnx6_iget()
563 inode->i_atime.tv_sec = fs32_to_cpu(sbi, raw_inode->di_atime); in qnx6_iget()
565 inode->i_ctime.tv_sec = fs32_to_cpu(sbi, raw_inode->di_ctime); in qnx6_iget()
571 memcpy(&ei->di_block_ptr, &raw_inode->di_block_ptr, in qnx6_iget()
572 sizeof(raw_inode->di_block_ptr)); in qnx6_iget()
[all …]
/linux-6.3-rc2/fs/f2fs/
A Drecovery.c122 struct f2fs_inode *raw_inode, in init_recovered_filename() argument
129 fname->disk_name.len = le32_to_cpu(raw_inode->i_namelen); in init_recovered_filename()
130 fname->disk_name.name = raw_inode->i_name; in init_recovered_filename()
150 &raw_inode->i_name[fname->disk_name.len]); in init_recovered_filename()
170 struct f2fs_inode *raw_inode = F2FS_INODE(ipage); in recover_dentry() local
171 nid_t pino = le32_to_cpu(raw_inode->i_pino); in recover_dentry()
193 err = init_recovered_filename(dir, raw_inode, &fname, &usr_fname); in recover_dentry()
241 name = raw_inode->i_name; in recover_dentry()

Completed in 111 milliseconds

12