| /linux/kernel/gcov/ |
| H A D | gcc_4_7.c | 280 struct gcov_info *dup; in gcov_info_dup() local 289 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup() 290 if (!dup) in gcov_info_dup() 293 dup->next = NULL; in gcov_info_dup() 294 dup->filename = NULL; in gcov_info_dup() 295 dup->functions = NULL; in gcov_info_dup() 297 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 298 if (!dup->filename) in gcov_info_dup() 301 dup->functions = kzalloc_objs(struct gcov_fn_info *, info->n_functions); in gcov_info_dup() 302 if (!dup->functions) 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/Documentation/translations/zh_CN/mm/ |
| H A D | ksm.rst | 59 的影响,高比值可能意味着稳定节点dup中存在碎片,这可以通过在ksmd中引入碎片算 60 法来解决,该算法将rmap项从一个稳定节点dup重定位到另一个稳定节点dup,以便释放 61 那些仅包含极少rmap项的稳定节点"dup",但这可能会增加ksmd进程的CPU使用率,并可
|
| /linux/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/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/drivers/staging/rtl8723bs/os_dep/ |
| H A D | osdep_service.c | 98 u8 *dup = NULL; in rtw_buf_update() local 107 dup = kmemdup(src, src_len, GFP_ATOMIC); in rtw_buf_update() 108 if (dup) in rtw_buf_update() 117 *buf = dup; in rtw_buf_update()
|
| /linux/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/fs/xfs/scrub/ |
| H A D | dir.c | 391 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local 398 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec() 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() 515 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree() 516 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | port.c | 169 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_register_mac() local 177 dup ? "with" : "without"); in __mlx4_register_mac() 246 if (dup) { in __mlx4_register_mac() 259 if (dup) { in __mlx4_register_mac() 262 dup = false; in __mlx4_register_mac() 291 if (dup) { in __mlx4_register_mac() 364 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_unregister_mac() local 375 if (dup) { in __mlx4_unregister_mac() 405 if (dup) { in __mlx4_unregister_mac() 416 if (dup) { in __mlx4_unregister_mac() [all …]
|
| /linux/drivers/pci/ |
| H A D | slot.c | 131 int len, max, dup; in make_slot_name() local 144 dup = 1; in make_slot_name() 152 if (dup == max) { in make_slot_name() 160 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
|
| /linux/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/sound/soc/renesas/ |
| H A D | rz-ssi.c | 142 } dup; member 351 is_full_duplex = ssi->dup.tx_active && ssi->dup.rx_active; in rz_ssi_start() 356 } else if (ssi->dup.one_stream_triggered) { in rz_ssi_start() 395 } else if (ssi->dup.one_stream_triggered) { in rz_ssi_start() 398 ssi->dup.one_stream_triggered = false; in rz_ssi_start() 400 ssi->dup.one_stream_triggered = true; in rz_ssi_start() 960 ssi->dup.tx_active = true; in rz_ssi_startup() 962 ssi->dup.rx_active = true; in rz_ssi_startup() 973 ssi->dup in rz_ssi_shutdown() [all...] |
| /linux/tools/perf/tests/ |
| H A D | pmu-events.c | 779 char *dup, *cur; in check_parse_id() local 789 dup = strdup(id); in check_parse_id() 790 if (!dup) in check_parse_id() 793 for (cur = strchr(dup, '@') ; cur; cur = strchr(++cur, '@')) in check_parse_id() 796 ret = __parse_events(evlist, dup, /*pmu_filter=*/NULL, error, /*fake_pmu=*/true, in check_parse_id() 798 free(dup); in check_parse_id()
|
| /linux/fs/overlayfs/ |
| H A D | params.c | 524 char *dup = NULL, *iter; in ovl_parse_param_lowerdir() local 549 dup = kstrdup(name, GFP_KERNEL); in ovl_parse_param_lowerdir() 550 if (!dup) in ovl_parse_param_lowerdir() 554 nr_lower = ovl_parse_param_split_lowerdirs(dup); in ovl_parse_param_lowerdir() 563 iter = dup; in ovl_parse_param_lowerdir() 602 kfree(dup); in ovl_parse_param_lowerdir() 606 kfree(dup); in ovl_parse_param_lowerdir()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_dir2.h | 101 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup); 106 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup, 112 struct xfs_dir2_data_unused *dup);
|
| /linux/net/netfilter/ |
| H A D | nft_set_pipapo.c | 1293 struct nft_pipapo_elem *e, *dup; local 1307 dup = pipapo_get(m, start, genmask, tstamp); 1308 if (dup) { 1312 dup_key = nft_set_ext_key(&dup->ext); 1313 if (nft_set_ext_exists(&dup->ext, NFT_SET_EXT_KEY_END)) 1314 dup_end = nft_set_ext_key_end(&dup->ext); 1320 *elem_priv = &dup->priv; 1328 dup = pipapo_get(m, end, nft_genmask_next(net), tstamp); 1329 if (dup) { 1330 *elem_priv = &dup->priv;
|
| /linux/tools/testing/vma/ |
| H A D | Makefile | 15 …/vma_init.c ../../../mm/vma_exec.c ../../../mm/vma.h include/custom.h include/dup.h include/stubs.h
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper-sgmii.c | 116 pcsx_sgmx_an_adv_reg.s.dup = 1; in __cvmx_helper_sgmii_hardware_init_one_time() 462 pcsx_anx_results_reg.s.dup; in __cvmx_helper_sgmii_link_get()
|
| /linux/tools/perf/util/ |
| H A D | data-convert-bt.c | 957 /* If dup < 0, add a prefix. Else, add _dupl_X suffix. */ 958 static char *change_name(char *name, char *orig_name, int dup) 966 if (dup >= 10) 973 if (dup < 0) 982 if (dup < 0) 985 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup); 999 int dup = 1; in event_class_add_field() local 1019 name = change_name(name, field->name, dup++); in event_class_add_field() 1021 pr_err("Failed to create dup name for '%s'\n", field->name); in event_class_add_field()
|
| /linux/tools/testing/selftests/powerpc/signal/ |
| H A D | sig_sc_double_restart.c | 120 while ((fd = dup(pipefd[0])) != 512) { in test_restart()
|
| /linux/drivers/md/bcache/ |
| H A D | util.h | 452 __label__ dup; \ 462 goto dup; \ 471 dup: \
|
| /linux/drivers/s390/net/ |
| H A D | ctcm_mpc.c | 131 __u32 ct, sw, rm, dup; in ctcmpc_dumpit() local 143 dup = 0; in ctcmpc_dumpit() 173 if (dup != 0) { in ctcmpc_dumpit() 181 dup = 0; in ctcmpc_dumpit() 184 dup++; in ctcmpc_dumpit() 199 if (dup != 0) { in ctcmpc_dumpit() 207 if (dup >= 1) { in ctcmpc_dumpit() 212 if (dup != 0) { in ctcmpc_dumpit()
|
| /linux/kernel/trace/ |
| H A D | tracing_map.h | 161 bool dup; member
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | kvm_syscalls.h | 70 int new_fd = dup(fd); in kvm_dup() 72 TEST_ASSERT(new_fd >= 0, __KVM_SYSCALL_ERROR("dup()", new_fd)); in kvm_dup()
|
| /linux/lib/ |
| H A D | btree.c | 638 unsigned long dup[MAX_KEYLEN]; in btree_merge() local 664 longcpy(dup, key, geo->keylen); in btree_merge() 665 btree_remove(victim, geo, dup); in btree_merge()
|