Lines Matching refs:oldsize
168 loff_t oldsize, loff_t newsize) in shmem_reacct_size() argument
171 if (VM_ACCT(newsize) > VM_ACCT(oldsize)) in shmem_reacct_size()
173 VM_ACCT(newsize) - VM_ACCT(oldsize)); in shmem_reacct_size()
174 else if (VM_ACCT(newsize) < VM_ACCT(oldsize)) in shmem_reacct_size()
175 vm_unacct_memory(VM_ACCT(oldsize) - VM_ACCT(newsize)); in shmem_reacct_size()
1102 loff_t oldsize = inode->i_size; in shmem_setattr() local
1106 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
1107 (newsize > oldsize && (info->seals & F_SEAL_GROW))) in shmem_setattr()
1110 if (newsize != oldsize) { in shmem_setattr()
1112 oldsize, newsize); in shmem_setattr()
1120 if (newsize <= oldsize) { in shmem_setattr()
1122 if (oldsize > holebegin) in shmem_setattr()
1129 if (oldsize > holebegin) in shmem_setattr()