Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_dir2_data.c38 xfs_dir2_data_freefind(xfs_dir2_data_hdr_t *hdr, xfs_dir2_data_unused_t *dup);
57 xfs_dir2_data_unused_t *dup; /* unused entry */ in __xfs_dir3_data_check() local
115 dup = (xfs_dir2_data_unused_t *)p; in __xfs_dir3_data_check()
121 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
124 be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) == in __xfs_dir3_data_check()
125 (char *)dup - (char *)hdr); in __xfs_dir3_data_check()
126 dfp = xfs_dir2_data_freefind(hdr, dup); in __xfs_dir3_data_check()
134 be16_to_cpu(dup->length) <= in __xfs_dir3_data_check()
137 p += be16_to_cpu(dup->length); in __xfs_dir3_data_check()
331 xfs_dir2_data_unused_t *dup) /* data unused entry */ in xfs_dir2_data_freefind() argument
[all …]
Dxfs_dir2_block.c181 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
195 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
208 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
214 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
215 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
217 dup = NULL; in xfs_dir2_block_need_space()
219 dup = NULL; in xfs_dir2_block_need_space()
221 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
243 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
245 if (dup != enddup) { in xfs_dir2_block_need_space()
[all …]
Dxfs_dir2_priv.h62 struct xfs_dir2_data_unused *dup, int *loghead);
72 struct xfs_dir2_data_unused *dup);
77 struct xfs_dir2_data_unused *dup, xfs_dir2_data_aoff_t offset,
Dxfs_dir2_leaf.c651 xfs_dir2_data_unused_t *dup; /* data unused entry */ in xfs_dir2_leaf_addname() local
882 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_leaf_addname()
884 ASSERT(be16_to_cpu(dup->length) >= length); in xfs_dir2_leaf_addname()
889 xfs_dir2_data_use_free(tp, dbp, dup, in xfs_dir2_leaf_addname()
890 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), length, in xfs_dir2_leaf_addname()
895 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_leaf_addname()
1311 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
1403 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents()
1405 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
1408 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
[all …]
Dxfs_dir2_format.h334 xfs_dir2_data_unused_tag_p(struct xfs_dir2_data_unused *dup) in xfs_dir2_data_unused_tag_p() argument
336 return (__be16 *)((char *)dup + in xfs_dir2_data_unused_tag_p()
337 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p()
Dxfs_dir2_sf.c233 xfs_dir2_data_unused_t *dup; /* unused data pointer */ in xfs_dir2_block_to_sf() local
292 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_to_sf()
293 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_to_sf()
294 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_to_sf()
Dxfs_dir2_node.c1689 xfs_dir2_data_unused_t *dup; /* data unused entry pointer */ in xfs_dir2_node_addname_int() local
1991 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_node_addname_int()
1997 xfs_dir2_data_use_free(tp, dbp, dup, in xfs_dir2_node_addname_int()
1998 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), length, in xfs_dir2_node_addname_int()
2003 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_node_addname_int()
/fs/
Dfile.c894 SYSCALL_DEFINE1(dup, unsigned int, fildes) in SYSCALL_DEFINE1() argument