| /linux/fs/xfs/libxfs/ |
| H A D | xfs_dir2_data.c | 25 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 …]
|
| 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/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 = kcalloc(info->n_functions, in gcov_info_dup() 303 if (!dup->functions) in gcov_info_dup() [all …]
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | ksm.rst | 59 的影响,高比值可能意味着稳定节点dup中存在碎片,这可以通过在ksmd中引入碎片算 60 法来解决,该算法将rmap项从一个稳定节点dup重定位到另一个稳定节点dup,以便释放 61 那些仅包含极少rmap项的稳定节点"dup",但这可能会增加ksmd进程的CPU使用率,并可
|
| /linux/drivers/isdn/mISDN/ |
| H A D | dsp_hwec.c | 54 char *dup, *next, *tok, *name, *val; in dsp_hwec_enable() local 57 dup = next = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable() 58 if (!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/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 | 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/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/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/mm/ |
| H A D | ksm.c | 527 static __always_inline bool is_stable_node_dup(struct ksm_stable_node *dup) in is_stable_node_dup() argument 529 return dup->head == STABLE_NODE_DUP_HEAD; in is_stable_node_dup() 532 static inline void stable_node_chain_add_dup(struct ksm_stable_node *dup, in stable_node_chain_add_dup() argument 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() 538 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup() 542 static inline void __stable_node_dup_del(struct ksm_stable_node *dup) in __stable_node_dup_del() argument 544 VM_BUG_ON(!is_stable_node_dup(dup)); in __stable_node_dup_del() 545 hlist_del(&dup->hlist_dup); in __stable_node_dup_del() 549 static inline void stable_node_dup_del(struct ksm_stable_node *dup) in stable_node_dup_del() argument [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/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/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/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/sound/soc/renesas/ |
| H A D | rz-ssi.c | 140 } dup; member 338 is_full_duplex = ssi->dup.tx_active && ssi->dup.rx_active; in rz_ssi_start() 343 } else if (ssi->dup.one_stream_triggered) { in rz_ssi_start() 382 } else if (ssi->dup.one_stream_triggered) { in rz_ssi_start() 385 ssi->dup.one_stream_triggered = false; in rz_ssi_start() 387 ssi->dup.one_stream_triggered = true; in rz_ssi_start() 930 ssi->dup.tx_active = true; in rz_ssi_startup() 932 ssi->dup.rx_active = true; in rz_ssi_startup() 943 ssi->dup.tx_active = false; in rz_ssi_shutdown() 945 ssi->dup.rx_active = false; in rz_ssi_shutdown()
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_si_intf.c | 1892 struct smi_info *new_smi, *dup; in ipmi_si_add_smi() local 1925 dup = find_dup_si(new_smi); in ipmi_si_add_smi() 1926 if (dup) { in ipmi_si_add_smi() 1928 dup->io.addr_source == SI_SMBIOS) { in ipmi_si_add_smi() 1930 dev_info(dup->io.dev, in ipmi_si_add_smi() 1933 cleanup_one_si(dup); in ipmi_si_add_smi() 2152 bool dup = false; in init_ipmi_si() local 2166 dup = true; in init_ipmi_si() 2170 if (!dup) in init_ipmi_si() 2178 bool dup = false; in init_ipmi_si() local [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 | 505 char *dup = NULL, *iter; in ovl_parse_param_lowerdir() local 530 dup = kstrdup(name, GFP_KERNEL); in ovl_parse_param_lowerdir() 531 if (!dup) in ovl_parse_param_lowerdir() 535 nr_lower = ovl_parse_param_split_lowerdirs(dup); in ovl_parse_param_lowerdir() 544 iter = dup; in ovl_parse_param_lowerdir() 583 kfree(dup); in ovl_parse_param_lowerdir() 587 kfree(dup); in ovl_parse_param_lowerdir()
|
| /linux/net/netfilter/ |
| H A D | nft_set_pipapo.c | 1295 struct nft_pipapo_elem *e, *dup; local 1309 dup = pipapo_get(m, start, genmask, tstamp); 1310 if (dup) { 1314 dup_key = nft_set_ext_key(&dup->ext); 1315 if (nft_set_ext_exists(&dup->ext, NFT_SET_EXT_KEY_END)) 1316 dup_end = nft_set_ext_key_end(&dup->ext); 1322 *elem_priv = &dup->priv; 1330 dup = pipapo_get(m, end, nft_genmask_next(net), tstamp); 1331 if (dup) { 1332 *elem_priv = &dup->priv;
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_core.c | 696 memcpy(&fte->act_dests, &fte->dup->act_dests, sizeof(fte->act_dests)); in switch_to_pending_act_dests() 699 fte->dup->children.next, in switch_to_pending_act_dests() 700 fte->dup->children.prev); in switch_to_pending_act_dests() 731 if (fte->dup && !list_empty(&fte->dup->children)) { in del_hw_fte() 774 kvfree(fte->dup); in del_sw_fte() 1190 if (!fte->dup || list_empty(&fte->dup->children)) in rule_is_pending() 1193 list_for_each_entry(iter, &fte->dup->children, list) { in rule_is_pending() 1219 act_dests = &fte->dup->act_dests; in _mlx5_modify_rule_destination() 2177 struct fs_fte_dup *dup; in add_rule_dup_match_fte() local 2180 if (!fte->dup) { in add_rule_dup_match_fte() [all …]
|
| /linux/fs/exfat/ |
| H A D | misc.c | 200 void exfat_chain_dup(struct exfat_chain *dup, struct exfat_chain *ec) in exfat_chain_dup() argument 202 return exfat_chain_set(dup, ec->dir, ec->size, ec->flags); in exfat_chain_dup()
|
| /linux/tools/perf/util/ |
| H A D | data-convert-bt.c | 946 static char *change_name(char *name, char *orig_name, int dup) 954 if (dup >= 10) 961 if (dup < 0) 970 if (dup < 0) 973 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup); 987 int dup = 1; in event_class_add_field() local 1007 name = change_name(name, field->name, dup++); in event_class_add_field()
|
| /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()
|