Searched refs:i_version (Results 1 - 8 of 8) sorted by relevance

/linux-master/include/linux/
H A Diversion.h8 * The inode->i_version field:
10 * The change attribute (i_version) is mandated by NFSv4 and is mostly for
11 * knfsd, but is also used for other purposes (e.g. IMA). The i_version must
16 * inode status change time (aka ctime). i_version must appear to change, even
19 * ctime must change due to an operation, then the i_version counter must be
22 * Making the i_version update completely atomic with the operation itself would
28 * i_version is to allow for better cache coherency, the i_version must always
33 * Observers see the i_version as a 64-bit number that never decreases. If it
39 * Not all filesystems properly implement the i_version counte
[all...]
H A Dfs.h704 atomic64_t i_version; member in struct:inode
/linux-master/fs/ceph/
H A Dcache.c37 &ci->i_version, sizeof(ci->i_version),
63 &ci->i_version, &i_size);
74 fscache_update_cookie(ceph_fscache_cookie(ci), &ci->i_version, &i_size);
82 &ci->i_version, i_size_read(inode),
H A Dinode.c583 ci->i_version = 0;
842 if (ci->i_version == 0 ||
849 if (ci->i_version == 0 ||
965 le64_to_cpu(info->version), ci->i_version);
1029 if (ci->i_version == 0 ||
1031 le64_to_cpu(info->version) > (ci->i_version & ~1)))
1168 /* finally update i_version */
1169 if (le64_to_cpu(info->version) > ci->i_version)
1170 ci->i_version = le64_to_cpu(info->version);
H A Dsuper.h352 u64 i_version; member in struct:ceph_inode_info
/linux-master/security/integrity/ima/
H A Dima_api.c235 * storing the measurement and i_version in the iint.
254 u64 i_version = 0; local
268 * Detecting file change is based on i_version. On filesystems
269 * which do not support i_version, support was originally limited
276 i_version = stat.change_cookie;
306 iint->version = i_version;
/linux-master/fs/ext4/
H A Dioctl.c320 swap(inode1->i_version, inode2->i_version);
/linux-master/fs/
H A Dlibfs.c1851 * inode_maybe_inc_iversion - increments i_version
1852 * @inode: inode with the i_version that should be updated
1855 * Every time the inode is modified, the i_version field must be seen to have
1862 * updating i_version.
1872 * The i_version field is not strictly ordered with any other inode
1890 } while (!atomic64_try_cmpxchg(&inode->i_version, &cur, new));
1896 * inode_query_iversion - read i_version for later use
1897 * @inode: inode from which i_version should be read
1899 * Read the inode i_version counter. This should be used by callers that wish
1900 * to store the returned i_version fo
[all...]

Completed in 221 milliseconds