/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 | 620 struct xfs_dir2_data_unused *dup; /* data unused entry */ in xfs_dir2_leaf_addname() local 841 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_leaf_addname() 847 error = xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_addname() 848 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), in xfs_dir2_leaf_addname() 857 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_leaf_addname()
|
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_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_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() 355 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local 418 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents() 420 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents() 423 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents() 447 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents() 452 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents() 453 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
|
/fs/xfs/scrub/ |
D | dir.c | 260 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local 267 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec() 268 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec() 306 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument 311 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry() 332 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local 375 dup = bp->b_addr + offset; in xchk_directory_data_bestfree() 376 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree() 379 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree() 380 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree() [all …]
|
/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 | 321 if (!src_fc->ops->dup) in vfs_dup_fs_context() 342 ret = fc->ops->dup(fc, src_fc); in vfs_dup_fs_context() 622 .dup = legacy_fs_context_dup,
|
D | file.c | 1250 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 | 531 void exfat_chain_dup(struct exfat_chain *dup, struct exfat_chain *ec);
|
/fs/nfs/ |
D | fs_context.c | 1418 .dup = nfs_fs_context_dup,
|