Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 23 of 23) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2_data.c24 struct xfs_dir2_data_unused *dup,
178 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check() local
186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
191 if (offset + be16_to_cpu(dup->length) > end) in __xfs_dir3_data_check()
193 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check()
196 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check()
209 offset += be16_to_cpu(dup->length); in __xfs_dir3_data_check()
461 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify() argument
470 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_data_freefind_verify()
[all …]
Dxfs_dir2_block.c200 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
214 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
227 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
233 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
236 dup = NULL; in xfs_dir2_block_need_space()
238 dup = NULL; in xfs_dir2_block_need_space()
240 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
262 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
264 if (dup != enddup) { in xfs_dir2_block_need_space()
[all …]
Dxfs_dir2.h76 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
81 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
87 struct xfs_dir2_data_unused *dup);
Dxfs_da_format.h364 xfs_dir2_data_unused_tag_p(struct xfs_dir2_data_unused *dup) in xfs_dir2_data_unused_tag_p() argument
366 return (__be16 *)((char *)dup + in xfs_dir2_data_unused_tag_p()
367 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p()
Dxfs_dir2_leaf.c629 struct xfs_dir2_data_unused *dup; /* data unused entry */ in xfs_dir2_leaf_addname() local
850 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_leaf_addname()
856 error = xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_addname()
857 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), in xfs_dir2_leaf_addname()
866 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_leaf_addname()
Dxfs_dir2_sf.c289 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_to_sf() local
295 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_to_sf()
296 offset += be16_to_cpu(dup->length); in xfs_dir2_block_to_sf()
Dxfs_dir2_node.c1898 struct xfs_dir2_data_unused *dup; /* data unused entry pointer */ in xfs_dir2_node_addname_int() local
1957 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_node_addname_int()
1961 aoff = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_node_addname_int()
1962 error = xfs_dir2_data_use_free(args, dbp, dup, aoff, length, in xfs_dir2_node_addname_int()
1970 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_node_addname_int()
Dxfs_dir2_priv.h87 struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup,
/fs/xfs/
Dxfs_dir2_readdir.c180 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_getdents() local
187 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
188 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
353 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
416 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
418 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
421 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
445 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
450 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents()
451 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
/fs/xfs/scrub/
Ddir.c274 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
281 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
282 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
320 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument
325 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
346 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
389 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
390 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
393 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
394 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
[all …]
/fs/ntfs3/
Dfrecord.c2876 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name()
3070 static bool ni_update_parent(struct ntfs_inode *ni, struct NTFS_DUP_INFO *dup, in ni_update_parent() argument
3081 dup->fa |= FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3083 dup->alloc_size = 0; in ni_update_parent()
3084 dup->data_size = 0; in ni_update_parent()
3086 dup->fa &= ~FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3091 dup->alloc_size = dup->data_size = 0; in ni_update_parent()
3095 dup->alloc_size = cpu_to_le64(ALIGN(data_size, 8)); in ni_update_parent()
3096 dup->data_size = cpu_to_le64(data_size); in ni_update_parent()
3102 dup->alloc_size = is_attr_ext(attr) in ni_update_parent()
[all …]
Dinode.c1375 fname->dup.cr_time = fname->dup.m_time = fname->dup.c_time = in ntfs_create_inode()
1376 fname->dup.a_time = std5->cr_time; in ntfs_create_inode()
1377 fname->dup.alloc_size = fname->dup.data_size = 0; in ntfs_create_inode()
1378 fname->dup.fa = std5->fa; in ntfs_create_inode()
1379 fname->dup.ea_size = fname->dup.reparse = 0; in ntfs_create_inode()
1703 de_name->dup.cr_time = de_name->dup.m_time = de_name->dup.c_time = in ntfs_link_inode()
1704 de_name->dup.a_time = kernel2nt(&inode->i_ctime); in ntfs_link_inode()
1705 de_name->dup.alloc_size = de_name->dup.data_size = in ntfs_link_inode()
1707 de_name->dup.fa = ni->std_fa; in ntfs_link_inode()
1708 de_name->dup.ea_size = de_name->dup.reparse = 0; in ntfs_link_inode()
Ddir.c301 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN)) in ntfs_filldir()
319 dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG; in ntfs_filldir()
329 if ((fname->dup.fa & FILE_ATTRIBUTE_REPARSE_POINT) && in ntfs_filldir()
558 if (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) in ntfs_dir_count()
Dindex.c2623 const struct NTFS_DUP_INFO *dup, int sync) in indx_update_dup() argument
2661 if (!memcmp(&e_fname->dup, dup, sizeof(*dup))) { in indx_update_dup()
2668 memcpy(&e_fname->dup, dup, sizeof(*dup)); in indx_update_dup()
Dntfs.h568 struct NTFS_DUP_INFO dup;// 0x08: member
574 static_assert(sizeof(((struct ATTR_FILE_NAME *)NULL)->dup) == 0x38);
Dfslog.c3456 memmove(&fname->dup, data, sizeof(fname->dup)); // in do_action()
3616 memmove(&fname->dup, data, sizeof(fname->dup)); in do_action()
Dntfs_fs.h688 const struct NTFS_DUP_INFO *dup, int sync);
/fs/
Dmbcache.c77 struct mb_cache_entry *entry, *dup; in mb_cache_entry_create() local
108 hlist_bl_for_each_entry(dup, dup_node, head, e_hash_list) { in mb_cache_entry_create()
109 if (dup->e_key == key && dup->e_value == value) { in mb_cache_entry_create()
Dfs_context.c344 if (!src_fc->ops->dup) in vfs_dup_fs_context()
365 ret = fc->ops->dup(fc, src_fc); in vfs_dup_fs_context()
640 .dup = legacy_fs_context_dup,
Dfile.c1310 SYSCALL_DEFINE1(dup, unsigned int, fildes) in SYSCALL_DEFINE1() argument
/fs/exfat/
Dmisc.c202 void exfat_chain_dup(struct exfat_chain *dup, struct exfat_chain *ec) in exfat_chain_dup() argument
204 return exfat_chain_set(dup, ec->dir, ec->size, ec->flags); in exfat_chain_dup()
Dexfat_fs.h538 void exfat_chain_dup(struct exfat_chain *dup, struct exfat_chain *ec);
/fs/nfs/
Dfs_context.c1480 .dup = nfs_fs_context_dup,