Searched refs:dup (Results 1 - 25 of 80) sorted by last modified time

1234

/linux-master/fs/ntfs3/
H A Dntfs_fs.h701 const struct NTFS_DUP_INFO *dup, int sync);
H A Dinode.c1412 fname->dup.cr_time = fname->dup.m_time = fname->dup.c_time =
1413 fname->dup.a_time = std5->cr_time;
1414 fname->dup.alloc_size = fname->dup.data_size = 0;
1415 fname->dup.fa = std5->fa;
1416 fname->dup.ea_size = fname->dup.reparse = 0;
1663 ntfs_save_wsl_perm(inode, &fname->dup
[all...]
H A Ddir.c301 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN))
319 dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG;
329 if ((fname->dup.fa & FILE_ATTRIBUTE_REPARSE_POINT) &&
560 if (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY)
/linux-master/fs/bcachefs/
H A Djournal_io.c119 struct journal_replay **_i, *i, *dup; local
166 dup = *_i;
167 if (dup) {
168 bool identical = bytes == vstruct_bytes(&dup->j) &&
169 !memcmp(j, &dup->j, bytes);
172 dup->csum_good;
175 darray_for_each(dup->ptrs, ptr)
179 ret = darray_push(&dup->ptrs, entry_ptr);
183 bch2_journal_replay_to_text(&buf, c, dup);
211 if (dup) {
[all...]
H A Dbtree_iter.c1339 struct btree_path *path = trans->paths + path_idx, *dup; local
1344 dup = path->preserve
1348 if (!dup && !(!path->preserve && !is_btree_node(path, path->level)))
1353 (!dup || !bch2_btree_path_relock_norestart(trans, dup)))
1356 if (dup) {
1357 dup->preserve |= path->preserve;
1358 dup->should_be_locked |= path->should_be_locked;
/linux-master/net/netfilter/
H A Dnft_set_pipapo.c1269 struct nft_pipapo_elem *e, *dup; local
1280 dup = pipapo_get(net, set, start, genmask, tstamp, GFP_KERNEL);
1281 if (!IS_ERR(dup)) {
1285 dup_key = nft_set_ext_key(&dup->ext);
1286 if (nft_set_ext_exists(&dup->ext, NFT_SET_EXT_KEY_END))
1287 dup_end = nft_set_ext_key_end(&dup->ext);
1293 *elem_priv = &dup->priv;
1300 if (PTR_ERR(dup) == -ENOENT) {
1302 dup = pipapo_get(net, set, end, nft_genmask_next(net), tstamp,
1306 if (PTR_ERR(dup) !
[all...]
/linux-master/drivers/cxl/core/
H A Dport.c1044 struct cxl_dport *dup; local
1048 dup = find_dport(port, dport->port_id);
1049 if (dup) {
1053 dev_name(dup->dport_dev));
/linux-master/mm/
H A Dmmap.c589 * @dup: Pointer to the destination VMA when successful.
594 struct vm_area_struct *src, struct vm_area_struct **dup)
610 *dup = dst;
593 dup_anon_vma(struct vm_area_struct *dst, struct vm_area_struct *src, struct vm_area_struct **dup) argument
/linux-master/fs/exfat/
H A Dexfat_fs.h564 void exfat_chain_dup(struct exfat_chain *dup, struct exfat_chain *ec);
/linux-master/drivers/s390/net/
H A Dctcm_mpc.c131 __u32 ct, sw, rm, dup; local
143 dup = 0;
173 if (dup != 0) {
181 dup = 0;
184 dup++;
199 if (dup != 0) {
207 if (dup >= 1) {
212 if (dup != 0) {
/linux-master/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1092 guest_memfd = dup(guest_memfd);
1093 TEST_ASSERT(guest_memfd >= 0, __KVM_SYSCALL_ERROR("dup()", guest_memfd));
/linux-master/fs/nfs/
H A Dfs_context.c1564 .dup = nfs_fs_context_dup,
/linux-master/drivers/of/
H A Dunittest.c1593 * of np into dup node (present in live tree) and
1594 * updates parent of children of np to dup.
1597 * @dup: node present in live tree to be updated
1600 struct device_node *dup)
1608 child->parent = dup;
1629 ret = of_add_property(dup, prop);
1651 struct device_node *next, *dup, *child; local
1665 dup = of_find_node_by_path(full_name);
1667 if (dup) {
1668 update_node_properties(np, dup);
1599 update_node_properties(struct device_node *np, struct device_node *dup) argument
[all...]
/linux-master/tools/testing/selftests/memfd/
H A Dmemfd_test.c257 r = dup(fd);
259 printf("dup(%d) failed: %m\n", fd);
1412 * Test sharing via dup()
1488 * This is *not* like dup(), but like a real separate open(). Make sure the
/linux-master/tools/perf/util/
H A Dmetricgroup.c1407 char *dup; local
1417 dup = strdup(cur->pkey);
1418 if (!dup) {
1422 ret = expr__add_id(*combined, dup);
/linux-master/tools/perf/tests/
H A Dpmu-events.c827 char *dup, *cur; local
837 dup = strdup(id);
838 if (!dup)
841 for (cur = strchr(dup, '@') ; cur; cur = strchr(++cur, '@'))
844 ret = __parse_events(evlist, dup, /*pmu_filter=*/NULL, error, fake_pmu,
846 free(dup);
/linux-master/scripts/mod/
H A Dfile2alias.c639 int dup = 0; local
645 for (i2 = 0; i2 < i && !dup; i2++) {
658 dup = 1;
665 if (!dup) {
/linux-master/fs/xfs/
H A Dxfs_dir2_readdir.c176 * Each object is a real entry (dep) or an unused one (dup).
182 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; local
189 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
190 next_offset = offset + be16_to_cpu(dup->length);
357 xfs_dir2_data_unused_t *dup; /* unused entry */ local
422 dup = bp->b_addr + offset;
424 if (be16_to_cpu(dup->freetag)
427 length = be16_to_cpu(dup->length);
451 dup = bp->b_addr + offset;
456 if (be16_to_cpu(dup
[all...]
/linux-master/fs/xfs/scrub/
H A Dreaddir.c110 struct xfs_dir2_data_unused *dup = bp->b_addr + off; local
116 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
117 next_off = off + be16_to_cpu(dup->length);
199 struct xfs_dir2_data_unused *dup; local
228 dup = bp->b_addr + offset;
229 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
230 length = be16_to_cpu(dup->length);
H A Ddir.c224 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; local
231 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
232 iter_off += be16_to_cpu(dup->length);
274 struct xfs_dir2_data_unused *dup)
279 dup_length = be16_to_cpu(dup->length);
300 struct xfs_dir2_data_unused *dup; local
343 dup = bp->b_addr + offset;
344 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup));
347 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) ||
348 be16_to_cpu(dup
270 xchk_directory_check_free_entry( struct xfs_scrub *sc, xfs_dablk_t lblk, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) argument
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_dir2_sf.c289 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; local
295 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
296 offset += be16_to_cpu(dup->length);
H A Dxfs_dir2_node.c1905 struct xfs_dir2_data_unused *dup; /* data unused entry pointer */ local
1964 dup = (xfs_dir2_data_unused_t *)
1968 aoff = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr);
1969 error = xfs_dir2_data_use_free(args, dbp, dup, aoff, length,
1977 dep = (xfs_dir2_data_entry_t *)dup;
2103 /* If a CI match, dup the actual name and return -EEXIST */
H A Dxfs_dir2_leaf.c630 struct xfs_dir2_data_unused *dup; /* data unused entry */ local
658 * But if there are dup hash values the index is of the first of those.
851 dup = (xfs_dir2_data_unused_t *)
857 error = xfs_dir2_data_use_free(args, dbp, dup,
858 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr),
867 dep = (xfs_dir2_data_entry_t *)dup;
H A Dxfs_dir2_data.c25 struct xfs_dir2_data_unused *dup,
179 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; local
187 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
192 if (offset + be16_to_cpu(dup->length) > end)
194 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) !=
197 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp);
206 if (be16_to_cpu(dup->length) >
210 offset += be16_to_cpu(dup->length);
463 struct xfs_dir2_data_unused *dup,
472 off = (xfs_dir2_data_aoff_t)((char *)dup
460 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) argument
519 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) argument
555 xfs_dir2_data_freeinsert( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *dfp, struct xfs_dir2_data_unused *dup, int *loghead) argument
664 struct xfs_dir2_data_unused *dup = addr + offset; local
703 struct xfs_dir2_data_unused *dup; local
805 xfs_dir2_data_log_unused( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup) argument
1012 xfs_dir2_data_check_free( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_unused *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len) argument
1055 xfs_dir2_data_use_free( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len, int *needlogp, int *needscanp) argument
[all...]
H A Dxfs_dir2_block.c202 struct xfs_dir2_data_unused *dup = NULL; local
216 dup = (xfs_dir2_data_unused_t *)
229 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp));
235 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) {
236 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) *
238 dup = NULL;
240 dup = NULL;
242 dup = (xfs_dir2_data_unused_t *)blp;
264 dup = (xfs_dir2_data_unused_t *)
266 if (dup !
362 xfs_dir2_data_unused_t *dup; /* block unused entry */ local
933 xfs_dir2_data_unused_t *dup; /* unused data entry */ local
1085 xfs_dir2_data_unused_t *dup; /* unused entry pointer */ local
[all...]

Completed in 349 milliseconds

1234