Home
last modified time | relevance | path

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

1234

/Linux-v5.15/fs/xfs/libxfs/
Dxfs_dir2_data.c24 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 …]
Dxfs_dir2_block.c200 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 …]
Dxfs_dir2.h76 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);
Dxfs_da_format.h364 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()
/Linux-v5.15/kernel/gcov/
Dgcc_4_7.c268 struct gcov_info *dup; in gcov_info_dup() local
277 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
278 if (!dup) in gcov_info_dup()
281 dup->next = NULL; in gcov_info_dup()
282 dup->filename = NULL; in gcov_info_dup()
283 dup->functions = NULL; in gcov_info_dup()
285 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
286 if (!dup->filename) in gcov_info_dup()
289 dup->functions = kcalloc(info->n_functions, in gcov_info_dup()
291 if (!dup->functions) in gcov_info_dup()
[all …]
Dclang.c315 struct gcov_info *dup; in gcov_info_dup() local
318 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
319 if (!dup) in gcov_info_dup()
321 INIT_LIST_HEAD(&dup->head); in gcov_info_dup()
322 INIT_LIST_HEAD(&dup->functions); in gcov_info_dup()
323 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
324 if (!dup->filename) in gcov_info_dup()
332 list_add_tail(&fn_dup->head, &dup->functions); in gcov_info_dup()
335 return dup; in gcov_info_dup()
338 gcov_info_free(dup); in gcov_info_dup()
/Linux-v5.15/drivers/isdn/mISDN/
Ddsp_hwec.c54 char *dup, *tok, *name, *val; in dsp_hwec_enable() local
57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable()
58 if (!dup) in dsp_hwec_enable()
61 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable()
76 kfree(dup); in dsp_hwec_enable()
Ddsp_pipeline.c195 char *dup, *tok, *name, *args; in dsp_pipeline_build() local
206 dup = kstrdup(cfg, GFP_ATOMIC); in dsp_pipeline_build()
207 if (!dup) in dsp_pipeline_build()
209 while ((tok = strsep(&dup, "|"))) { in dsp_pipeline_build()
268 kfree(dup); in dsp_pipeline_build()
/Linux-v5.15/fs/xfs/
Dxfs_dir2_readdir.c180 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()
353 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
416 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
418 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
421 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
445 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
450 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents()
451 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
/Linux-v5.15/arch/mips/include/asm/octeon/
Dcvmx-pcsx-defs.h422 uint64_t dup:1; member
426 uint64_t dup:1;
441 uint64_t dup:1; member
465 uint64_t dup:1;
473 uint64_t dup:1; member
497 uint64_t dup:1;
509 uint64_t dup:1; member
533 uint64_t dup:1;
541 uint64_t dup:1; member
565 uint64_t dup:1;
[all …]
/Linux-v5.15/mm/
Dksm.c341 static __always_inline bool is_stable_node_dup(struct stable_node *dup) in is_stable_node_dup() argument
343 return dup->head == STABLE_NODE_DUP_HEAD; in is_stable_node_dup()
346 static inline void stable_node_chain_add_dup(struct stable_node *dup, in stable_node_chain_add_dup() argument
349 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup()
350 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup()
352 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup()
356 static inline void __stable_node_dup_del(struct stable_node *dup) in __stable_node_dup_del() argument
358 VM_BUG_ON(!is_stable_node_dup(dup)); in __stable_node_dup_del()
359 hlist_del(&dup->hlist_dup); in __stable_node_dup_del()
363 static inline void stable_node_dup_del(struct stable_node *dup) in stable_node_dup_del() argument
[all …]
/Linux-v5.15/drivers/staging/rtl8723bs/os_dep/
Dosdep_service.c184 u8 *dup = NULL; in rtw_buf_update() local
193 dup = rtw_malloc(src_len); in rtw_buf_update()
194 if (dup) { in rtw_buf_update()
196 memcpy(dup, src, dup_len); in rtw_buf_update()
205 *buf = dup; in rtw_buf_update()
/Linux-v5.15/fs/xfs/scrub/
Ddir.c274 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
281 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
282 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
320 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument
325 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
346 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
389 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
390 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
393 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
394 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
[all …]
/Linux-v5.15/drivers/staging/r8188eu/os_dep/
Dosdep_service.c234 u8 *dup = NULL; in rtw_buf_update() local
243 dup = kmalloc(src_len, GFP_ATOMIC); in rtw_buf_update()
244 if (dup) { in rtw_buf_update()
246 memcpy(dup, src, dup_len); in rtw_buf_update()
254 *buf = dup; in rtw_buf_update()
/Linux-v5.15/drivers/platform/x86/
Dtopstar-laptop.c239 bool *dup; in topstar_acpi_notify() local
243 dup = &dup_evnt[event - 0x83]; in topstar_acpi_notify()
244 if (*dup) { in topstar_acpi_notify()
245 *dup = false; in topstar_acpi_notify()
248 *dup = true; in topstar_acpi_notify()
/Linux-v5.15/Documentation/vm/
Dksm.rst34 more "dups". Each "dup" keeps reverse mapping information for a KSM
35 page with ``page->mapping`` pointing to that "dup".
39 even if each "dup" will be pointed by a different KSM page copy of
56 practice the best stable_node "dup" candidate will be kept and found
70 one stable_node dup to another stable_node dup, in order to free up
/Linux-v5.15/fs/ntfs3/
Dfrecord.c2852 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name()
3046 static bool ni_update_parent(struct ntfs_inode *ni, struct NTFS_DUP_INFO *dup, in ni_update_parent() argument
3057 dup->fa |= FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3059 dup->alloc_size = 0; in ni_update_parent()
3060 dup->data_size = 0; in ni_update_parent()
3062 dup->fa &= ~FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3067 dup->alloc_size = dup->data_size = 0; in ni_update_parent()
3071 dup->alloc_size = cpu_to_le64(ALIGN(data_size, 8)); in ni_update_parent()
3072 dup->data_size = cpu_to_le64(data_size); in ni_update_parent()
3078 dup->alloc_size = is_attr_ext(attr) in ni_update_parent()
[all …]
Dinode.c1344 fname->dup.cr_time = fname->dup.m_time = fname->dup.c_time = in ntfs_create_inode()
1345 fname->dup.a_time = std5->cr_time; in ntfs_create_inode()
1346 fname->dup.alloc_size = fname->dup.data_size = 0; in ntfs_create_inode()
1347 fname->dup.fa = std5->fa; in ntfs_create_inode()
1348 fname->dup.ea_size = fname->dup.reparse = 0; in ntfs_create_inode()
1674 de_name->dup.cr_time = de_name->dup.m_time = de_name->dup.c_time = in ntfs_link_inode()
1675 de_name->dup.a_time = kernel2nt(&inode->i_ctime); in ntfs_link_inode()
1676 de_name->dup.alloc_size = de_name->dup.data_size = in ntfs_link_inode()
1678 de_name->dup.fa = ni->std_fa; in ntfs_link_inode()
1679 de_name->dup.ea_size = de_name->dup.reparse = 0; in ntfs_link_inode()
/Linux-v5.15/kernel/bpf/preload/iterators/
Diterators.c48 to_kernel = dup(1); in main()
50 dup(debug_fd); in main()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Dport.c189 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_register_mac() local
197 dup ? "with" : "without"); in __mlx4_register_mac()
266 if (dup) { in __mlx4_register_mac()
279 if (dup) { in __mlx4_register_mac()
282 dup = false; in __mlx4_register_mac()
311 if (dup) { in __mlx4_register_mac()
384 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_unregister_mac() local
395 if (dup) { in __mlx4_unregister_mac()
425 if (dup) { in __mlx4_unregister_mac()
436 if (dup) { in __mlx4_unregister_mac()
[all …]
/Linux-v5.15/drivers/pci/
Dslot.c109 int len, max, dup; in make_slot_name() local
122 dup = 1; in make_slot_name()
130 if (dup == max) { in make_slot_name()
138 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
/Linux-v5.15/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()
/Linux-v5.15/net/netfilter/
Dnft_set_pipapo.c1160 struct nft_pipapo_elem *e = elem->priv, *dup; local
1172 dup = pipapo_get(net, set, start, genmask);
1173 if (!IS_ERR(dup)) {
1177 dup_key = nft_set_ext_key(&dup->ext);
1178 if (nft_set_ext_exists(&dup->ext, NFT_SET_EXT_KEY_END))
1179 dup_end = nft_set_ext_key_end(&dup->ext);
1185 *ext2 = &dup->ext;
1192 if (PTR_ERR(dup) == -ENOENT) {
1194 dup = pipapo_get(net, set, end, nft_genmask_next(net));
1197 if (PTR_ERR(dup) != -ENOENT) {
[all …]
/Linux-v5.15/drivers/cxl/core/
Dbus.c394 struct cxl_dport *dup; in add_dport() local
397 dup = find_dport(port, new->port_id); in add_dport()
398 if (dup) in add_dport()
402 dev_name(dup->dport)); in add_dport()
407 return dup ? -EEXIST : 0; in add_dport()
/Linux-v5.15/fs/exfat/
Dmisc.c202 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()

1234