Home
last modified time | relevance | path

Searched refs:i_generation (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.6.21/fs/xfs/
Dxfs_export.c86 fid->i32.parent_gen = parent->i_generation; in xfs_fs_encode_fh()
90 fid->i32.gen = inode->i_generation; in xfs_fs_encode_fh()
94 fid64->parent_gen = parent->i_generation; in xfs_fs_encode_fh()
98 fid64->gen = inode->i_generation; in xfs_fs_encode_fh()
163 if (VFS_I(ip)->i_generation != generation) { in xfs_nfs_get_inode()
/linux-6.6.21/fs/ocfs2/
Dexport.c111 if (handle->ih_generation != inode->i_generation) { in ocfs2_get_dentry()
114 inode->i_generation); in ocfs2_get_dentry()
219 generation = inode->i_generation; in ocfs2_encode_fh()
230 generation = parent->i_generation; in ocfs2_encode_fh()
/linux-6.6.21/fs/isofs/
Dexport.c32 if (generation && inode->i_generation != generation) { in isofs_export_iget()
139 fh32[2] = inode->i_generation; in isofs_export_encode_fh()
145 fh32[4] = parent->i_generation; in isofs_export_encode_fh()
/linux-6.6.21/Documentation/filesystems/ext4/
Deainode.rst15 i_mtime/i_generation *may* store a back-reference to the inode number
16 and i_generation of the **one** owning inode (in cases where the EA
/linux-6.6.21/fs/ext2/
Dioctl.c65 return put_user(inode->i_generation, (int __user *) arg); in ext2_ioctl()
81 inode->i_generation = generation; in ext2_ioctl()
Dinode.c1456 inode->i_generation = le32_to_cpu(raw_inode->i_generation); in ext2_iget()
1580 raw_inode->i_generation = cpu_to_le32(inode->i_generation); in __ext2_write_inode()
/linux-6.6.21/fs/fat/
Dnfs.c61 if (inode && generation && (inode->i_generation != generation)) { in __fat_nfs_get_inode()
123 fid->i_gen = inode->i_generation; in fat_encode_fh_nostale()
130 fid->parent_i_gen = parent->i_generation; in fat_encode_fh_nostale()
/linux-6.6.21/fs/reiserfs/
Dioctl.c96 err = put_user(inode->i_generation, (int __user *)arg); in reiserfs_ioctl()
106 if (get_user(inode->i_generation, (int __user *)arg)) { in reiserfs_ioctl()
Dinode.c1267 inode->i_generation = le32_to_cpu(INODE_PKEY(inode)->k_dir_id); in init_inode()
1322 inode->i_generation = in init_inode()
1325 inode->i_generation = sd_v2_generation(sd); in init_inode()
1380 set_sd_v2_generation(sd_v2, inode->i_generation); in inode2sd()
1667 generation != inode->i_generation) { in reiserfs_get_dentry()
1735 data[2] = inode->i_generation; in reiserfs_encode_fh()
1742 data[5] = parent->i_generation; in reiserfs_encode_fh()
1973 inode->i_generation = le32_to_cpu(INODE_PKEY(dir)->k_objectid); in reiserfs_new_inode()
1976 inode->i_generation = in reiserfs_new_inode()
1979 inode->i_generation = ++event; in reiserfs_new_inode()
/linux-6.6.21/fs/btrfs/
Dexport.c39 fid->gen = inode->i_generation; in btrfs_encode_fh()
45 fid->parent_gen = parent->i_generation; in btrfs_encode_fh()
93 if (generation != 0 && generation != inode->i_generation) { in btrfs_get_dentry()
/linux-6.6.21/fs/afs/
Ddynroot.c37 inode->i_generation = fid->unique; in afs_iget5_pseudo_set()
93 inode->i_generation = 0; in afs_iget_pseudo_dir()
Dinode.c418 inode->i_generation = vnode->fid.unique; in afs_iget5_set()
516 inode->i_generation = 1; in afs_iget5_set_root()
760 _enter("{ ino=%lu v=%u }", inode->i_ino, inode->i_generation); in afs_getattr()
/linux-6.6.21/fs/nilfs2/
Dnamei.c476 if (gen && inode->i_generation != gen) { in nilfs_get_dentry()
526 fid->gen = inode->i_generation; in nilfs_encode_fh()
530 fid->parent_gen = parent->i_generation; in nilfs_encode_fh()
Dinode.c388 inode->i_generation = nilfs->ns_next_generation++; in nilfs_new_inode()
471 inode->i_generation = le32_to_cpu(raw_inode->i_generation); in nilfs_read_inode_common()
778 raw_inode->i_generation = cpu_to_le32(inode->i_generation); in nilfs_write_inode_common()
/linux-6.6.21/fs/f2fs/
Dinode.c152 __le32 gen = ri->i_generation; in f2fs_inode_chksum()
426 inode->i_generation = le32_to_cpu(ri->i_generation); in do_read_inode()
716 ri->i_generation = cpu_to_le32(inode->i_generation); in f2fs_update_inode()
/linux-6.6.21/fs/jfs/
Djfs_inode.c102 inode->i_generation = JFS_SBI(sb)->gengen++; in ialloc()
/linux-6.6.21/fs/efs/
Dnamei.c88 if (generation && inode->i_generation != generation) { in efs_nfs_get_inode()
/linux-6.6.21/fs/exfat/
Dinode.c548 inode->i_generation = get_random_u32(); in exfat_fill_inode()
551 inode->i_generation &= ~1; in exfat_fill_inode()
557 inode->i_generation |= 1; in exfat_fill_inode()
/linux-6.6.21/fs/udf/
Dialloc.c77 inode->i_generation = iinfo->i_unique; in udf_new_inode()
/linux-6.6.21/fs/exportfs/
Dexpfs.c373 fid->i32.gen = inode->i_generation; in export_encode_fh()
376 fid->i32.parent_gen = parent->i_generation; in export_encode_fh()
/linux-6.6.21/fs/ext4/
Dioctl.c342 __le32 gen = cpu_to_le32(inode->i_generation); in ext4_reset_inode_seed()
456 inode->i_generation = get_random_u32(); in swap_inode_boot_loader()
457 inode_bl->i_generation = get_random_u32(); in swap_inode_boot_loader()
1237 return put_user(inode->i_generation, (int __user *) arg); in __ext4_ioctl()
1272 inode->i_generation = generation; in __ext4_ioctl()
/linux-6.6.21/fs/9p/
Dvfs_inode_dotl.c64 if (inode->i_generation != st->st_gen) in v9fs_test_inode_dotl()
92 inode->i_generation = st->st_gen; in v9fs_set_inode_dotl()
693 inode->i_generation = stat->st_gen; in v9fs_stat2inode_dotl()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_inode_buf.c195 inode->i_generation = be32_to_cpu(from->di_gen); in xfs_inode_from_disk()
322 to->di_gen = cpu_to_be32(inode->i_generation); in xfs_inode_to_disk()
/linux-6.6.21/fs/ntfs/
Dnamei.c344 if (is_bad_inode(inode) || inode->i_generation != generation) { in ntfs_nfs_get_inode()
/linux-6.6.21/fs/ufs/
Dinode.c590 inode->i_generation = fs32_to_cpu(sb, ufs_inode->ui_gen); in ufs1_read_inode()
636 inode->i_generation = fs32_to_cpu(sb, ufs2_inode->ui_gen); in ufs2_read_inode()
737 ufs_inode->ui_gen = cpu_to_fs32(sb, inode->i_generation); in ufs1_update_inode()
783 ufs_inode->ui_gen = cpu_to_fs32(sb, inode->i_generation); in ufs2_update_inode()

1234