Searched refs:i_version (Results 1 – 11 of 11) sorted by relevance
/linux/fs/ceph/ |
H A D | cache.c | 37 &ci->i_version, sizeof(ci->i_version), in ceph_fscache_register_inode_cookie() 63 &ci->i_version, &i_size); in ceph_fscache_unuse_cookie() 74 fscache_update_cookie(ceph_fscache_cookie(ci), &ci->i_version, &i_size); in ceph_fscache_update() 82 &ci->i_version, i_size_read(inode), in ceph_fscache_invalidate()
|
H A D | inode.c | 583 ci->i_version = 0; in ceph_alloc_inode() 843 if (ci->i_version == 0 || in ceph_fill_file_time() 850 if (ci->i_version == 0 || in ceph_fill_file_time() 966 le64_to_cpu(info->version), ci->i_version); in ceph_fill_inode() 1030 if (ci->i_version == 0 || in ceph_fill_inode() 1032 le64_to_cpu(info->version) > (ci->i_version & ~1))) in ceph_fill_inode() 1169 /* finally update i_version */ in ceph_fill_inode() 1170 if (le64_to_cpu(info->version) > ci->i_version) in ceph_fill_inode() 1171 ci->i_version = le64_to_cpu(info->version); in ceph_fill_inode()
|
H A D | super.h | 353 u64 i_version; member
|
/linux/include/linux/ |
H A D | iversion.h | 8 * 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 D | fs.h | 751 atomic64_t i_version; member
|
/linux/security/integrity/ima/ |
H A D | ima_api.c | 235 * storing the measurement and i_version in the iint. 256 u64 i_version = 0; in ima_collect_measurement() local 270 * Detecting file change is based on i_version. On filesystems in ima_collect_measurement() 271 * which do not support i_version, support was originally limited in ima_collect_measurement() 278 i_version = stat.change_cookie; in ima_collect_measurement() 309 iint->real_inode.version = i_version; in ima_collect_measurement() 311 integrity_inode_attrs_store(&iint->real_inode, i_version, in ima_collect_measurement()
|
/linux/security/integrity/evm/ |
H A D | evm_crypto.c | 235 u64 i_version = 0; in evm_calc_hmac_or_hash() local 301 i_version = inode_query_iversion(inode); in evm_calc_hmac_or_hash() 302 integrity_inode_attrs_store(&iint->metadata_inode, i_version, in evm_calc_hmac_or_hash()
|
/linux/Documentation/filesystems/ext4/ |
H A D | eainode.rst | 12 and i_ctime/i_version store a 64-bit reference count, which enables
|
/linux/fs/ext4/ |
H A D | ioctl.c | 320 swap(inode1->i_version, inode2->i_version); in swap_inode_data()
|
/linux/fs/ |
H A D | libfs.c | 1991 * inode_maybe_inc_iversion - increments i_version 1992 * @inode: inode with the i_version that should be updated 1995 * Every time the inode is modified, the i_version field must be seen to have 2002 * updating i_version. 2012 * The i_version field is not strictly ordered with any other inode in inode_maybe_inc_iversion() 2036 } while (!atomic64_try_cmpxchg(&inode->i_version, &cur, new)); in inode_maybe_inc_iversion() 2042 * inode_query_iversion - read i_version for later use 2043 * @inode: inode from which i_version should be read 2045 * Read the inode i_version counter. This should be used by callers that wish 2046 * to store the returned i_version fo [all...] |
/linux/Documentation/filesystems/ |
H A D | vfs.rst | 664 called by the VFS to update a specific time or the i_version of
|