Home
last modified time | relevance | path

Searched refs:new_valid (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/fs/ntfs3/
Dfile.c100 const loff_t new_valid) in ntfs_extend_initialized_size() argument
109 ni->i_valid = new_valid; in ntfs_extend_initialized_size()
114 WARN_ON(valid >= new_valid); in ntfs_extend_initialized_size()
141 if (pos + len > new_valid) in ntfs_extend_initialized_size()
142 len = new_valid - pos; in ntfs_extend_initialized_size()
157 if (pos >= new_valid) in ntfs_extend_initialized_size()
169 new_valid); in ntfs_extend_initialized_size()
374 u64 new_valid; in ntfs_truncate() local
389 new_valid = ntfs_up_block(sb, min_t(u64, ni->i_valid, new_size)); in ntfs_truncate()
397 &new_valid, ni->mi.sbi->options->prealloc, NULL); in ntfs_truncate()
[all …]
Dattrib.c402 u64 new_size, const u64 *new_valid, bool keep_prealloc, in attr_set_size() argument
796 if (new_valid) { in attr_set_size()
797 __le64 valid = cpu_to_le64(min(*new_valid, new_size)); in attr_set_size()
1622 u64 new_valid) in attr_allocate_frame() argument
1831 if (new_valid > data_size) in attr_allocate_frame()
1832 new_valid = data_size; in attr_allocate_frame()
1835 if (new_valid != valid_size) { in attr_allocate_frame()
1897 u64 new_valid = min(ni->i_valid, vbo); in attr_collapse_range() local
1902 &new_valid, true, NULL); in attr_collapse_range()
1904 if (!err && new_valid < ni->i_valid) in attr_collapse_range()
[all …]
Dindex.c201 u64 new_valid; member
265 bbuf->new_valid = vbo + blocksize; in bmp_buf_get()
266 if (bbuf->new_valid <= valid_size) in bmp_buf_get()
267 bbuf->new_valid = 0; in bmp_buf_get()
268 else if (bbuf->new_valid > data_size) in bmp_buf_get()
269 bbuf->new_valid = data_size; in bmp_buf_get()
300 if (bbuf->new_valid) { in bmp_buf_put()
301 b->nres.valid_size = cpu_to_le64(bbuf->new_valid); in bmp_buf_put()
Dntfs_fs.h433 u64 new_size, const u64 *new_valid, bool keep_prealloc,
451 u64 new_valid);
Dfrecord.c3162 u64 new_valid = ni->i_valid; in ni_update_parent() local
3171 if (new_valid > data_size) in ni_update_parent()
3172 new_valid = data_size; in ni_update_parent()
3174 valid_le = cpu_to_le64(new_valid); in ni_update_parent()