Lines Matching refs:dup
2917 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name()
3038 memcpy(&de_name->dup, &fname->dup, sizeof(fname->dup)); in ni_add_name()
3039 de_name->dup.fa = ni->std_fa; in ni_add_name()
3129 static bool ni_update_parent(struct ntfs_inode *ni, struct NTFS_DUP_INFO *dup, in ni_update_parent() argument
3140 dup->fa |= FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3142 dup->alloc_size = 0; in ni_update_parent()
3143 dup->data_size = 0; in ni_update_parent()
3145 dup->fa &= ~FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3150 dup->alloc_size = dup->data_size = 0; in ni_update_parent()
3154 dup->alloc_size = cpu_to_le64(ALIGN(data_size, 8)); in ni_update_parent()
3155 dup->data_size = cpu_to_le64(data_size); in ni_update_parent()
3161 dup->alloc_size = is_attr_ext(attr) ? in ni_update_parent()
3164 dup->data_size = attr->nres.data_size; in ni_update_parent()
3178 dup->reparse = 0; in ni_update_parent()
3179 dup->ea_size = 0; in ni_update_parent()
3190 dup->ea_size = info->size_pack; in ni_update_parent()
3203 if (!fname || !memcmp(&fname->dup, dup, sizeof(fname->dup))) in ni_update_parent()
3228 indx_update_dup(dir_ni, sbi, fname, dup, sync); in ni_update_parent()
3230 memcpy(&fname->dup, dup, sizeof(fname->dup)); in ni_update_parent()
3252 struct NTFS_DUP_INFO dup; in ni_write_inode() local
3282 dup.m_time = kernel2nt(&inode->i_mtime); in ni_write_inode()
3283 if (std->m_time != dup.m_time) { in ni_write_inode()
3284 std->m_time = dup.m_time; in ni_write_inode()
3288 dup.c_time = kernel2nt(&ctime); in ni_write_inode()
3289 if (std->c_time != dup.c_time) { in ni_write_inode()
3290 std->c_time = dup.c_time; in ni_write_inode()
3294 dup.a_time = kernel2nt(&inode->i_atime); in ni_write_inode()
3295 if (std->a_time != dup.a_time) { in ni_write_inode()
3296 std->a_time = dup.a_time; in ni_write_inode()
3300 dup.fa = ni->std_fa; in ni_write_inode()
3301 if (std->fa != dup.fa) { in ni_write_inode()
3302 std->fa = dup.fa; in ni_write_inode()
3314 dup.cr_time = std->cr_time; in ni_write_inode()
3316 re_dirty = ni_update_parent(ni, &dup, sync); in ni_write_inode()