Home
last modified time | relevance | path

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

12345

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_dir2_data.c25 struct xfs_dir2_data_unused *dup,
179 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check() local
195 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
199 be16_to_cpu(dup->length)); in __xfs_dir3_data_check()
202 if (be16_to_cpu(dup->length) != reclen) in __xfs_dir3_data_check()
206 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check()
209 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
218 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check()
488 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify() argument
497 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_data_freefind_verify()
[all …]
Dxfs_dir2_block.c207 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
221 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
234 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
240 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
241 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
243 dup = NULL; in xfs_dir2_block_need_space()
245 dup = NULL; in xfs_dir2_block_need_space()
247 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
269 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
271 if (dup != enddup) { in xfs_dir2_block_need_space()
[all …]
/linux-6.12.1/kernel/gcov/
Dgcc_4_7.c282 struct gcov_info *dup; in gcov_info_dup() local
291 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
292 if (!dup) in gcov_info_dup()
295 dup->next = NULL; in gcov_info_dup()
296 dup->filename = NULL; in gcov_info_dup()
297 dup->functions = NULL; in gcov_info_dup()
299 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
300 if (!dup->filename) in gcov_info_dup()
303 dup->functions = kcalloc(info->n_functions, in gcov_info_dup()
305 if (!dup->functions) in gcov_info_dup()
[all …]
Dclang.c317 struct gcov_info *dup; in gcov_info_dup() local
320 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
321 if (!dup) in gcov_info_dup()
323 INIT_LIST_HEAD(&dup->head); in gcov_info_dup()
324 INIT_LIST_HEAD(&dup->functions); in gcov_info_dup()
325 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
326 if (!dup->filename) in gcov_info_dup()
334 list_add_tail(&fn_dup->head, &dup->functions); in gcov_info_dup()
337 return dup; in gcov_info_dup()
340 gcov_info_free(dup); in gcov_info_dup()
/linux-6.12.1/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.c200 char *dup, *next, *tok, *name, *args; in dsp_pipeline_build() local
211 dup = next = kstrdup(cfg, GFP_ATOMIC); in dsp_pipeline_build()
212 if (!dup) in dsp_pipeline_build()
273 kfree(dup); in dsp_pipeline_build()
/linux-6.12.1/Documentation/translations/zh_CN/mm/
Dksm.rst59 的影响,高比值可能意味着稳定节点dup中存在碎片,这可以通过在ksmd中引入碎片算
60 法来解决,该算法将rmap项从一个稳定节点dup重定位到另一个稳定节点dup,以便释放
61 那些仅包含极少rmap项的稳定节点"dup",但这可能会增加ksmd进程的CPU使用率,并可
/linux-6.12.1/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-6.12.1/security/ipe/
Dpolicy_parser.c306 char *dup = NULL; in parse_property() local
317 dup = match_strdup(&args[0]); in parse_property()
318 if (!dup) { in parse_property()
322 p->value = ipe_digest_parse(dup); in parse_property()
345 kfree(dup); in parse_property()
508 char *policy = NULL, *dup = NULL; in ipe_parse_policy() local
520 dup = policy; in ipe_parse_policy()
554 kfree(dup); in ipe_parse_policy()
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/
Dosdep_service.c126 u8 *dup = NULL; in rtw_buf_update() local
135 dup = rtw_malloc(src_len); in rtw_buf_update()
136 if (dup) { in rtw_buf_update()
138 memcpy(dup, src, dup_len); in rtw_buf_update()
147 *buf = dup; in rtw_buf_update()
/linux-6.12.1/fs/xfs/
Dxfs_dir2_readdir.c182 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_getdents() local
189 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
190 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
358 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
423 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
425 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
428 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
452 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
457 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents()
458 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
/linux-6.12.1/fs/xfs/scrub/
Dreaddir.c111 struct xfs_dir2_data_unused *dup = bp->b_addr + off; in xchk_dir_walk_block() local
117 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_block()
118 next_off = off + be16_to_cpu(dup->length); in xchk_dir_walk_block()
200 struct xfs_dir2_data_unused *dup; in xchk_dir_walk_leaf() local
229 dup = bp->b_addr + offset; in xchk_dir_walk_leaf()
230 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_leaf()
231 length = be16_to_cpu(dup->length); in xchk_dir_walk_leaf()
Ddir.c383 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
390 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
391 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
433 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument
438 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
459 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
503 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
504 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
507 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
508 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
[all …]
/linux-6.12.1/Documentation/mm/
Dksm.rst32 more "dups". Each "dup" keeps reverse mapping information for a KSM
33 page with ``page->mapping`` pointing to that "dup".
37 even if each "dup" will be pointed by a different KSM page copy of
54 practice the best stable_node "dup" candidate will be kept and found
68 one stable_node dup to another stable_node dup, in order to free up
/linux-6.12.1/mm/
Dksm.c528 static __always_inline bool is_stable_node_dup(struct ksm_stable_node *dup) in is_stable_node_dup() argument
530 return dup->head == STABLE_NODE_DUP_HEAD; in is_stable_node_dup()
533 static inline void stable_node_chain_add_dup(struct ksm_stable_node *dup, in stable_node_chain_add_dup() argument
536 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup()
537 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup()
539 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup()
543 static inline void __stable_node_dup_del(struct ksm_stable_node *dup) in __stable_node_dup_del() argument
545 VM_BUG_ON(!is_stable_node_dup(dup)); in __stable_node_dup_del()
546 hlist_del(&dup->hlist_dup); in __stable_node_dup_del()
550 static inline void stable_node_dup_del(struct ksm_stable_node *dup) in stable_node_dup_del() argument
[all …]
/linux-6.12.1/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-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/
Drs.c111 u32 dup = 0; in iwl_new_rate_from_v1() local
178 dup = (rate_v1 & RATE_MCS_DUP_MSK_V1) >> RATE_MCS_DUP_POS_V1; in iwl_new_rate_from_v1()
179 if (dup) { in iwl_new_rate_from_v1()
181 rate_v2 |= dup << RATE_MCS_CHAN_WIDTH_POS; in iwl_new_rate_from_v1()
/linux-6.12.1/fs/ntfs3/
Dfrecord.c2987 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name()
3108 memcpy(&de_name->dup, &fname->dup, sizeof(fname->dup)); in ni_add_name()
3109 de_name->dup.fa = ni->std_fa; in ni_add_name()
3199 static bool ni_update_parent(struct ntfs_inode *ni, struct NTFS_DUP_INFO *dup, in ni_update_parent() argument
3210 dup->fa |= FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3212 dup->alloc_size = 0; in ni_update_parent()
3213 dup->data_size = 0; in ni_update_parent()
3215 dup->fa &= ~FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3220 dup->alloc_size = dup->data_size = 0; in ni_update_parent()
3224 dup->alloc_size = cpu_to_le64(ALIGN(data_size, 8)); in ni_update_parent()
[all …]
Ddir.c304 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN)) in ntfs_dir_emit()
322 dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG; in ntfs_dir_emit()
332 if (((fname->dup.fa & FILE_ATTRIBUTE_REPARSE_POINT) || in ntfs_dir_emit()
333 fname->dup.ea_size) && in ntfs_dir_emit()
574 if (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) in ntfs_dir_count()
/linux-6.12.1/drivers/md/dm-vdo/
Dmemory-alloc.c369 u8 *dup; in vdo_duplicate_string() local
371 result = vdo_allocate(strlen(string) + 1, u8, what, &dup); in vdo_duplicate_string()
375 memcpy(dup, string, strlen(string) + 1); in vdo_duplicate_string()
376 *new_string = dup; in vdo_duplicate_string()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dmap_btf.c33 new_fd = dup(bpf_map__fd(skel->maps.array)); in do_test_normal_map_btf()
74 new_fd = dup(bpf_map__fd(skel->maps.inner_array)); in do_test_map_in_map_btf()
/linux-6.12.1/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-6.12.1/drivers/pci/
Dslot.c110 int len, max, dup; in make_slot_name() local
123 dup = 1; in make_slot_name()
131 if (dup == max) { in make_slot_name()
139 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
/linux-6.12.1/fs/
Dmbcache.c77 struct mb_cache_entry *entry, *dup; in mb_cache_entry_create() local
108 hlist_bl_for_each_entry(dup, dup_node, head, e_hash_list) { in mb_cache_entry_create()
109 if (dup->e_key == key && dup->e_value == value) { in mb_cache_entry_create()
/linux-6.12.1/net/netfilter/
Dnft_set_pipapo.c1303 struct nft_pipapo_elem *e, *dup; local
1317 dup = pipapo_get(net, set, m, start, genmask, tstamp, GFP_KERNEL);
1318 if (!IS_ERR(dup)) {
1322 dup_key = nft_set_ext_key(&dup->ext);
1323 if (nft_set_ext_exists(&dup->ext, NFT_SET_EXT_KEY_END))
1324 dup_end = nft_set_ext_key_end(&dup->ext);
1330 *elem_priv = &dup->priv;
1337 if (PTR_ERR(dup) == -ENOENT) {
1339 dup = pipapo_get(net, set, m, end, nft_genmask_next(net), tstamp,
1343 if (PTR_ERR(dup) != -ENOENT) {
[all …]

12345