/fs/xfs/libxfs/ |
D | xfs_dir2_data.c | 24 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 …]
|
D | xfs_dir2_block.c | 200 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 …]
|
D | xfs_dir2.h | 76 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);
|
D | xfs_da_format.h | 364 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()
|
D | xfs_dir2_leaf.c | 629 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()
|
D | xfs_dir2_sf.c | 289 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()
|
D | xfs_dir2_node.c | 1898 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()
|
D | xfs_dir2_priv.h | 87 struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup,
|
/fs/xfs/ |
D | xfs_dir2_readdir.c | 180 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/ |
D | dir.c | 274 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/ |
D | frecord.c | 2876 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 …]
|
D | inode.c | 1375 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()
|
D | dir.c | 301 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN)) in ntfs_filldir() 313 if (fname->dup.fa & FILE_ATTRIBUTE_REPARSE_POINT) in ntfs_filldir() 316 dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG; in ntfs_filldir() 540 if (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) in ntfs_dir_count()
|
D | index.c | 2623 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()
|
D | ntfs.h | 570 struct NTFS_DUP_INFO dup;// 0x08: member 576 static_assert(sizeof(((struct ATTR_FILE_NAME *)NULL)->dup) == 0x38);
|
D | fslog.c | 3454 memmove(&fname->dup, data, sizeof(fname->dup)); // in do_action() 3614 memmove(&fname->dup, data, sizeof(fname->dup)); in do_action()
|
D | ntfs_fs.h | 687 const struct NTFS_DUP_INFO *dup, int sync);
|
/fs/ |
D | mbcache.c | 77 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()
|
D | fs_context.c | 344 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,
|
D | file.c | 1310 SYSCALL_DEFINE1(dup, unsigned int, fildes) in SYSCALL_DEFINE1() argument
|
/fs/exfat/ |
D | misc.c | 202 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()
|
D | exfat_fs.h | 535 void exfat_chain_dup(struct exfat_chain *dup, struct exfat_chain *ec);
|
/fs/nfs/ |
D | fs_context.c | 1480 .dup = nfs_fs_context_dup,
|