Searched refs:dup (Results 1 – 7 of 7) sorted by relevance
/fs/xfs/ |
D | xfs_dir2_data.c | 58 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_data_check() local 104 dup = (xfs_dir2_data_unused_t *)p; in xfs_dir2_data_check() 110 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_data_check() 112 ASSERT(be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) == in xfs_dir2_data_check() 113 (char *)dup - (char *)d); in xfs_dir2_data_check() 114 dfp = xfs_dir2_data_freefind(d, dup); in xfs_dir2_data_check() 120 ASSERT(be16_to_cpu(dup->length) <= in xfs_dir2_data_check() 123 p += be16_to_cpu(dup->length); in xfs_dir2_data_check() 180 xfs_dir2_data_unused_t *dup) /* data unused entry */ in xfs_dir2_data_freefind() argument 189 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)d); in xfs_dir2_data_freefind() [all …]
|
D | xfs_dir2_block.c | 79 xfs_dir2_data_unused_t *dup; /* block unused entry */ in xfs_dir2_block_addname() local 144 dup = enddup = NULL; in xfs_dir2_block_addname() 149 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_addname() 151 if (dup == enddup) { in xfs_dir2_block_addname() 156 if (be16_to_cpu(dup->length) < len + (uint)sizeof(*blp)) { in xfs_dir2_block_addname() 162 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_addname() 166 dup = NULL; in xfs_dir2_block_addname() 173 if (be16_to_cpu(dup->length) < len) { in xfs_dir2_block_addname() 174 dup = NULL; in xfs_dir2_block_addname() 185 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_addname() [all …]
|
D | xfs_dir2_data.h | 146 xfs_dir2_data_unused_tag_p(xfs_dir2_data_unused_t *dup) in xfs_dir2_data_unused_tag_p() argument 148 return (__be16 *)((char *)dup + in xfs_dir2_data_unused_tag_p() 149 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p() 161 xfs_dir2_data_unused_t *dup); 163 xfs_dir2_data_unused_t *dup, int *loghead); 173 xfs_dir2_data_unused_t *dup); 179 xfs_dir2_data_unused_t *dup,
|
D | xfs_dir2_leaf.c | 169 xfs_dir2_data_unused_t *dup; /* data unused entry */ in xfs_dir2_leaf_addname() local 394 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_leaf_addname() 396 ASSERT(be16_to_cpu(dup->length) >= length); in xfs_dir2_leaf_addname() 401 xfs_dir2_data_use_free(tp, dbp, dup, in xfs_dir2_leaf_addname() 402 (xfs_dir2_data_aoff_t)((char *)dup - (char *)data), length, in xfs_dir2_leaf_addname() 407 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_leaf_addname() 765 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local 1038 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents() 1040 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents() 1043 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents() [all …]
|
D | xfs_dir2_sf.c | 162 xfs_dir2_data_unused_t *dup; /* unused data pointer */ in xfs_dir2_block_to_sf() local 220 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_to_sf() 221 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_to_sf() 222 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_to_sf()
|
D | xfs_dir2_node.c | 1439 xfs_dir2_data_unused_t *dup; /* data unused entry pointer */ in xfs_dir2_node_addname_int() local 1756 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_node_addname_int() 1762 xfs_dir2_data_use_free(tp, dbp, dup, in xfs_dir2_node_addname_int() 1763 (xfs_dir2_data_aoff_t)((char *)dup - (char *)data), length, in xfs_dir2_node_addname_int() 1768 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_node_addname_int()
|
/fs/ |
D | fcntl.c | 129 SYSCALL_DEFINE1(dup, unsigned int, fildes) in SYSCALL_DEFINE1() argument
|