| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_dir2_data.c | 25 struct xfs_dir2_data_unused *dup, 199 be16_to_cpu(dup->length)); in __xfs_dir3_data_check() 218 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check() 558 if (be16_to_cpu(dup->length) < in xfs_dir2_data_freefind() 593 new.length = dup->length; in xfs_dir2_data_freeinsert() 772 dup->length = bf[0].length; in xfs_dir3_data_init() 773 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init() 846 (uint)((char *)&dup->length + sizeof(dup->length) - in xfs_dir2_data_log_unused() 1052 if (offset + len > (char *)dup + be16_to_cpu(dup->length) - (char *)hdr) in xfs_dir2_data_check_free() 1164 newdup = dup; in xfs_dir2_data_use_free() [all …]
|
| H A D | xfs_dir2_block.c | 243 dup = NULL; in xfs_dir2_block_need_space() 245 dup = NULL; in xfs_dir2_block_need_space() 271 if (dup != enddup) { in xfs_dir2_block_need_space() 276 dup = NULL; in xfs_dir2_block_need_space() 291 dup = NULL; in xfs_dir2_block_need_space() 296 *dupp = dup; in xfs_dir2_block_need_space() 415 if (!dup) in xfs_dir2_block_addname() 423 if (!dup) { in xfs_dir2_block_addname() 1150 dup = bp->b_addr + offset; in xfs_dir2_sf_to_block() 1229 dup = bp->b_addr + offset; in xfs_dir2_sf_to_block() [all …]
|
| /linux-6.15/kernel/gcov/ |
| H A D | gcc_4_7.c | 282 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() 300 if (!dup->filename) in gcov_info_dup() 305 if (!dup->functions) in gcov_info_dup() 314 if (!dup->functions[fi_idx]) in gcov_info_dup() 339 return dup; in gcov_info_dup() [all …]
|
| H A D | clang.c | 317 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.15/drivers/isdn/mISDN/ |
| H A D | dsp_hwec.c | 54 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()
|
| H A D | dsp_pipeline.c | 200 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.15/Documentation/translations/zh_CN/mm/ |
| H A D | ksm.rst | 59 的影响,高比值可能意味着稳定节点dup中存在碎片,这可以通过在ksmd中引入碎片算 60 法来解决,该算法将rmap项从一个稳定节点dup重定位到另一个稳定节点dup,以便释放 61 那些仅包含极少rmap项的稳定节点"dup",但这可能会增加ksmd进程的CPU使用率,并可
|
| /linux-6.15/drivers/staging/rtl8723bs/os_dep/ |
| H A D | osdep_service.c | 126 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.15/security/ipe/ |
| H A D | policy_parser.c | 306 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.15/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pcsx-defs.h | 422 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.15/fs/xfs/ |
| H A D | xfs_dir2_readdir.c | 182 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.15/fs/xfs/scrub/ |
| H A D | readdir.c | 111 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()
|
| H A D | dir.c | 391 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local 399 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec() 441 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument 446 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry() 467 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local 511 dup = bp->b_addr + offset; in xchk_directory_data_bestfree() 512 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree() 538 dup = bp->b_addr + offset; in xchk_directory_data_bestfree() 555 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree() 565 xchk_directory_check_free_entry(sc, lblk, bf, dup); in xchk_directory_data_bestfree() [all …]
|
| /linux-6.15/Documentation/mm/ |
| H A D | ksm.rst | 32 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.15/drivers/platform/x86/ |
| H A D | topstar-laptop.c | 239 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.15/mm/ |
| H A D | ksm.c | 535 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup() 536 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup() 545 hlist_del(&dup->hlist_dup); in __stable_node_dup_del() 552 if (is_stable_node_dup(dup)) in stable_node_dup_del() 553 __stable_node_dup_del(dup); in stable_node_dup_del() 555 rb_erase(&dup->node, root_stable_tree + NUMA(dup->nid)); in stable_node_dup_del() 557 dup->head = NULL; in stable_node_dup_del() 1117 struct ksm_stable_node *dup; in remove_stable_node_chain() local 1131 if (remove_stable_node(dup)) in remove_stable_node_chain() 1673 found = dup; in stable_node_dup() [all …]
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | rs.c | 111 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.15/fs/ntfs3/ |
| H A D | frecord.c | 2862 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name() 2983 memcpy(&de_name->dup, &fname->dup, sizeof(fname->dup)); in ni_add_name() 3087 dup->alloc_size = 0; in ni_update_parent() 3088 dup->data_size = 0; in ni_update_parent() 3095 dup->alloc_size = dup->data_size = 0; in ni_update_parent() 3123 dup->reparse = 0; in ni_update_parent() 3124 dup->ea_size = 0; in ni_update_parent() 3148 if (!fname || !memcmp(&fname->dup, dup, sizeof(fname->dup))) in ni_update_parent() 3175 memcpy(&fname->dup, dup, sizeof(fname->dup)); in ni_update_parent() 3248 dup.fa = ni->std_fa; in ni_write_inode() [all …]
|
| H A D | dir.c | 304 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.15/drivers/md/dm-vdo/ |
| H A D | memory-alloc.c | 369 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.15/drivers/pci/ |
| H A D | slot.c | 110 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.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | map_btf.c | 33 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.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | port.c | 259 if (dup) { in __mlx4_register_mac() 291 if (dup) { in __mlx4_register_mac() 375 if (dup) { in __mlx4_unregister_mac() 405 if (dup) { in __mlx4_unregister_mac() 416 if (dup) { in __mlx4_unregister_mac() 465 if (dup) { in __mlx4_replace_mac() 501 if (dup) { in __mlx4_replace_mac() 689 if (dup) { in __mlx4_register_vlan() 750 if (dup) { in __mlx4_unregister_vlan() 783 if (dup) { in __mlx4_unregister_vlan() [all …]
|
| /linux-6.15/fs/ |
| H A D | mbcache.c | 77 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.15/net/netfilter/ |
| H A D | nft_set_pipapo.c | 1303 struct nft_pipapo_elem *e, *dup; local 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) { 1343 if (PTR_ERR(dup) != -ENOENT) { 1344 if (IS_ERR(dup)) 1345 return PTR_ERR(dup); [all …]
|