Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_dir2_data.c23 struct xfs_dir2_data_unused *dup,
43 xfs_dir2_data_unused_t *dup; /* unused entry */ in __xfs_dir3_data_check() local
132 dup = (xfs_dir2_data_unused_t *)p; in __xfs_dir3_data_check()
138 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
143 if (endp < p + be16_to_cpu(dup->length)) in __xfs_dir3_data_check()
145 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check()
146 (char *)dup - (char *)hdr) in __xfs_dir3_data_check()
148 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
157 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check()
161 p += be16_to_cpu(dup->length); in __xfs_dir3_data_check()
[all …]
Dxfs_dir2_block.c171 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
185 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
198 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
204 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
205 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
207 dup = NULL; in xfs_dir2_block_need_space()
209 dup = NULL; in xfs_dir2_block_need_space()
211 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
233 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
235 if (dup != enddup) { in xfs_dir2_block_need_space()
[all …]
Dxfs_dir2.h156 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
161 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
167 struct xfs_dir2_data_unused *dup);
Dxfs_da_format.h377 xfs_dir2_data_unused_tag_p(struct xfs_dir2_data_unused *dup) in xfs_dir2_data_unused_tag_p() argument
379 return (__be16 *)((char *)dup + in xfs_dir2_data_unused_tag_p()
380 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p()
Dxfs_dir2_sf.c146 xfs_dir2_data_unused_t *dup; /* unused data pointer */ in xfs_dir2_block_to_sf() local
190 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_to_sf()
191 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_to_sf()
192 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_to_sf()
Dxfs_dir2_leaf.c577 struct xfs_dir2_data_unused *dup; /* data unused entry */ in xfs_dir2_leaf_addname() local
798 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_leaf_addname()
804 error = xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_addname()
805 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), in xfs_dir2_leaf_addname()
814 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_leaf_addname()
Dxfs_dir2_priv.h44 struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup,
Dxfs_dir2_node.c1852 struct xfs_dir2_data_unused *dup; /* data unused entry pointer */ in xfs_dir2_node_addname_int() local
1912 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_node_addname_int()
1916 aoff = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_node_addname_int()
1917 error = xfs_dir2_data_use_free(args, dbp, dup, aoff, length, in xfs_dir2_node_addname_int()
1925 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_node_addname_int()
/fs/xfs/
Dxfs_dir2_readdir.c141 xfs_dir2_data_unused_t *dup; /* block unused entry */ in xfs_dir2_block_getdents() local
182 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_getdents()
186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
187 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
349 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
413 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents()
415 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
418 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
443 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents()
447 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents()
[all …]
/fs/xfs/scrub/
Ddir.c244 struct xfs_dir2_data_unused *dup; in xchk_dir_rec() local
246 dup = (struct xfs_dir2_data_unused *)p; in xchk_dir_rec()
247 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
248 p += be16_to_cpu(dup->length); in xchk_dir_rec()
291 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument
296 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
317 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
364 dup = (struct xfs_dir2_data_unused *)(bp->b_addr + offset); in xchk_directory_data_bestfree()
365 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
368 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
[all …]
/fs/
Dmbcache.c77 struct mb_cache_entry *entry, *dup; in mb_cache_entry_create() local
101 hlist_bl_for_each_entry(dup, dup_node, head, e_hash_list) { in mb_cache_entry_create()
102 if (dup->e_key == key && dup->e_value == value) { in mb_cache_entry_create()
Dfs_context.c347 if (!src_fc->ops->dup) in vfs_dup_fs_context()
368 ret = fc->ops->dup(fc, src_fc); in vfs_dup_fs_context()
676 .dup = legacy_fs_context_dup,
Dfile.c978 SYSCALL_DEFINE1(dup, unsigned int, fildes) in SYSCALL_DEFINE1() argument