Searched refs:getattr_isize (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_cloud.c | 104 * If the file is not opened, simply update getattr_isize(not actual inode size, 109 * a. getattr_isize == HMDFS_STALE_REMOTE_ISIZE 111 * 2) i_size > new_size, we keep the i_size and set getattr_isize to new_size, 115 * aligned to PAGE_SIZE, clear getattr_isize, and update i_size to 117 * b. getattr_isize != HMDFS_STALE_REMOTE_ISIZE, getattr_isize will only be set 119 * 4) getattr_isize > i_size, this situation is impossible. 130 size = info->getattr_isize; in hmdfs_update_inode_size() 141 info->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_update_inode_size() 154 /* use inode size here instead of getattr_isize */ in hmdfs_update_inode_size() [all...] |
H A D | inode_remote.c | 224 * If the file is not opened, simply update getattr_isize(not actual inode size, 229 * a. getattr_isize == HMDFS_STALE_REMOTE_ISIZE 231 * 2) i_size > new_size, we keep the i_size and set getattr_isize to new_size, 235 * aligned to PAGE_SIZE, clear getattr_isize, and update i_size to 237 * b. getattr_isize != HMDFS_STALE_REMOTE_ISIZE, getattr_isize will only be set 239 * 4) getattr_isize > i_size, this situation is impossible. 250 size = info->getattr_isize; in hmdfs_update_inode_size() 261 info->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_update_inode_size() 274 /* use inode size here instead of getattr_isize */ in hmdfs_update_inode_size() [all...] |
H A D | inode.h | 99 __u64 getattr_isize; member
|
H A D | file_remote.c | 149 info->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_open_final_remote() 860 hmdfs_i(inode)->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_write_end_remote()
|
H A D | main.c | 319 gi->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_alloc_inode()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_cloud.c | 101 * If the file is not opened, simply update getattr_isize(not actual inode size, 106 * a. getattr_isize == HMDFS_STALE_REMOTE_ISIZE 108 * 2) i_size > new_size, we keep the i_size and set getattr_isize to new_size, 112 * aligned to PAGE_SIZE, clear getattr_isize, and update i_size to 114 * b. getattr_isize != HMDFS_STALE_REMOTE_ISIZE, getattr_isize will only be set 116 * 4) getattr_isize > i_size, this situation is impossible. 127 size = info->getattr_isize; in hmdfs_update_inode_size() 138 info->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_update_inode_size() 151 /* use inode size here instead of getattr_isize */ in hmdfs_update_inode_size() [all...] |
H A D | inode_remote.c | 224 * If the file is not opened, simply update getattr_isize(not actual inode size, 229 * a. getattr_isize == HMDFS_STALE_REMOTE_ISIZE 231 * 2) i_size > new_size, we keep the i_size and set getattr_isize to new_size, 235 * aligned to PAGE_SIZE, clear getattr_isize, and update i_size to 237 * b. getattr_isize != HMDFS_STALE_REMOTE_ISIZE, getattr_isize will only be set 239 * 4) getattr_isize > i_size, this situation is impossible. 250 size = info->getattr_isize; in hmdfs_update_inode_size() 261 info->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_update_inode_size() 274 /* use inode size here instead of getattr_isize */ in hmdfs_update_inode_size() [all...] |
H A D | inode.h | 99 __u64 getattr_isize; member
|
H A D | file_remote.c | 149 info->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_open_final_remote() 866 hmdfs_i(inode)->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_write_end_remote()
|
H A D | main.c | 319 gi->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_alloc_inode()
|
Completed in 10 milliseconds