/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
D | ql4_mbx.c | 290 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_get_minidump_template() 291 memset(&mbox_sts, 0, sizeof(mbox_sts)); in qla4xxx_get_minidump_template() 321 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_req_template_size() 322 memset(&mbox_sts, 0, sizeof(mbox_sts)); in qla4xxx_req_template_size() 374 memset(mbox_cmd, 0, sizeof(mbox_cmd[0]) * MBOX_REG_COUNT); in qla4xxx_set_ifcb() 375 memset(mbox_sts, 0, sizeof(mbox_sts[0]) * MBOX_REG_COUNT); in qla4xxx_set_ifcb() 401 memset(mbox_cmd, 0, sizeof(mbox_cmd[0]) * MBOX_REG_COUNT); in qla4xxx_get_ifcb() 402 memset(mbox_sts, 0, sizeof(mbox_sts[0]) * MBOX_REG_COUNT); in qla4xxx_get_ifcb() 637 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_initialize_fw_cb() 638 memset(&mbox_sts, 0, sizeof(mbox_sts)); in qla4xxx_initialize_fw_cb() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp.c | 101 memset(input, 0, sizeof(union mod_hdcp_transition_input)); in execution() 198 memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication)); in reset_authentication() 199 memset(&hdcp->state, 0, sizeof(struct mod_hdcp_state)); in reset_authentication() 212 memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication)); in reset_authentication() 213 memset(&hdcp->state, 0, sizeof(struct mod_hdcp_state)); in reset_authentication() 217 memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication)); in reset_authentication() 218 memset(&hdcp->state, 0, sizeof(struct mod_hdcp_state)); in reset_authentication() 234 memset(output, 0, sizeof(struct mod_hdcp_output)); in reset_connection() 244 memset(&hdcp->connection, 0, sizeof(hdcp->connection)); in reset_connection() 263 memset(&output, 0, sizeof(output)); in mod_hdcp_setup() [all …]
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | bpf.c | 83 memset(&attr, '\0', sizeof(attr)); in bpf_create_map_xattr() 163 memset(&attr, '\0', sizeof(attr)); in bpf_create_map_in_map_node() 208 memset(nrecord + expected_rec_size, 0, in alloc_zero_tailing_info() 232 memset(&attr, 0, sizeof(attr)); in bpf_load_program_xattr() 336 memset(&load_attr, 0, sizeof(struct bpf_load_program_attr)); in bpf_load_program() 355 memset(&attr, 0, sizeof(attr)); in bpf_verify_program() 375 memset(&attr, 0, sizeof(attr)); in bpf_map_update_elem() 388 memset(&attr, 0, sizeof(attr)); in bpf_map_lookup_elem() 400 memset(&attr, 0, sizeof(attr)); in bpf_map_lookup_elem_flags() 413 memset(&attr, 0, sizeof(attr)); in bpf_map_lookup_and_delete_elem() [all …]
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_router_ipv4_user.c | 157 memset(&route, 0, sizeof(route)); in read_route() 302 memset(&route, 0, sizeof(route)); in read_route() 303 memset(dsts, 0, sizeof(dsts)); in read_route() 304 memset(dsts_len, 0, sizeof(dsts_len)); in read_route() 305 memset(gws, 0, sizeof(gws)); in read_route() 306 memset(ifs, 0, sizeof(ifs)); in read_route() 307 memset(&route, 0, sizeof(route)); in read_route() 333 memset(&sa, 0, sizeof(sa)); in get_route_table() 340 memset(&req, 0, sizeof(req)); in get_route_table() 349 memset(&msg, 0, sizeof(msg)); in get_route_table() [all …]
|
/kernel/linux/linux-5.10/arch/sh/lib/ |
D | Makefile | 27 memset-y := memset.o 28 memset-$(CONFIG_CPU_SH4) := memset-sh4.o 32 lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y)
|
/kernel/linux/linux-5.10/lib/ |
D | test_user_copy.c | 81 memset(kmem, 0x0, size); in test_check_nonzero_user() 123 memset(umem_src, 0x3e, size); in test_copy_struct_from_user() 133 memset(kmem, 0x0, size); in test_copy_struct_from_user() 144 memset(expected + usize, 0x0, ksize - usize); in test_copy_struct_from_user() 146 memset(kmem, 0x0, size); in test_copy_struct_from_user() 156 memset(kmem, 0x0, size); in test_copy_struct_from_user() 168 memset(kmem, 0x0, size); in test_copy_struct_from_user() 213 memset(kmem, 0x3a, PAGE_SIZE * 2); in test_user_copy_init() 216 memset(kmem, 0x0, PAGE_SIZE); in test_user_copy_init() 257 memset(kmem, 0x5a, PAGE_SIZE); in test_user_copy_init() [all …]
|
/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/ |
D | zalloc-simple.cocci | 3 /// Use zeroing allocator rather than allocator followed by memset with 0 41 * memset((T2)x,0,E1); 128 - memset((T2)x,0,E1); 138 - memset((T2)x, 0, E2); 154 memset((T2)x,0,E1); 170 msg="WARNING: kzalloc should be used for %s, instead of kmalloc/memset" % (x) 184 memset((T2)x,0,E1); 200 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x) 214 memset((T2)x,0,E2); 230 msg="WARNING: dma_alloc_coherent used in %s already zeroes out memory, so memset is not needed" % (… [all …]
|
D | pool_zalloc-simple.cocci | 3 /// Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0 27 * memset(x,0, ...); 42 - memset(x,0,...); 53 - memset(x,0,...); 68 memset(x,0, ...); 84 msg="WARNING: *_pool_zalloc should be used for %s, instead of *_pool_alloc/memset" % (x)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 17 memset(ext, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci() 18 memset(msk, 0, sizeof(struct nfp_flower_meta_tci)); in nfp_flower_compile_meta_tci() 82 memset(ext, 0, sizeof(struct nfp_flower_mac_mpls)); in nfp_flower_compile_mac() 83 memset(msk, 0, sizeof(struct nfp_flower_mac_mpls)); in nfp_flower_compile_mac() 148 memset(ext, 0, sizeof(struct nfp_flower_tp_ports)); in nfp_flower_compile_tport() 149 memset(msk, 0, sizeof(struct nfp_flower_tp_ports)); in nfp_flower_compile_tport() 262 memset(ext, 0, sizeof(struct nfp_flower_vlan)); in nfp_flower_compile_vlan() 263 memset(msk, 0, sizeof(struct nfp_flower_vlan)); in nfp_flower_compile_vlan() 283 memset(ext, 0, sizeof(struct nfp_flower_ipv4)); in nfp_flower_compile_ipv4() 284 memset(msk, 0, sizeof(struct nfp_flower_ipv4)); in nfp_flower_compile_ipv4() [all …]
|
/kernel/linux/linux-5.10/scripts/coccinelle/api/ |
D | kfree_sensitive.cocci | 3 /// Use kfree_sensitive, kvfree_sensitive rather than memset or 20 # kmalloc_oob_in_memset uses memset to explicitly trigger out-of-bounds access 32 \(memset@ok\|memzero_explicit@ok\)(...); 42 * memset@m((T)E, 0, ...); 75 - memset@m((T)E, 0, size); 91 msg = "WARNING opportunity for kfree_sensitive/kvfree_sensitive (memset at line %s)" 99 msg = "WARNING opportunity for kfree_sensitive/kvfree_sensitive (memset at line %s)"
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
D | dot11d.c | 46 memset(dot11d_info->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in dot11d_init() 47 memset(dot11d_info->max_tx_power_list, 0xFF, MAX_CHANNEL_NUMBER + 1); in dot11d_init() 59 memset(GET_DOT11D_INFO(ieee)->channel_map, 0, in dot11d_channel_map() 99 memset(dot11d_info->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in dot11d_reset() 100 memset(dot11d_info->max_tx_power_list, 0xFF, MAX_CHANNEL_NUMBER + 1); in dot11d_reset() 117 memset(dot11d_info->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in dot11d_update_country() 118 memset(dot11d_info->max_tx_power_list, 0xFF, MAX_CHANNEL_NUMBER + 1); in dot11d_update_country()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | init.c | 99 memset(&priv->wep_key[i], 0, sizeof(struct mwifiex_wep_key)); in mwifiex_init_priv() 107 memset(&priv->curr_bss_params, 0, sizeof(priv->curr_bss_params)); in mwifiex_init_priv() 110 memset(&priv->prev_ssid, 0, sizeof(priv->prev_ssid)); in mwifiex_init_priv() 111 memset(&priv->prev_bssid, 0, sizeof(priv->prev_bssid)); in mwifiex_init_priv() 112 memset(&priv->assoc_rsp_buf, 0, sizeof(priv->assoc_rsp_buf)); in mwifiex_init_priv() 134 memset(&priv->wpa_ie, 0, sizeof(priv->wpa_ie)); in mwifiex_init_priv() 135 memset(&priv->aes_key, 0, sizeof(priv->aes_key)); in mwifiex_init_priv() 139 memset(&priv->assoc_tlv_buf, 0, sizeof(priv->assoc_tlv_buf)); in mwifiex_init_priv() 141 memset(&priv->wps, 0, sizeof(priv->wps)); in mwifiex_init_priv() 142 memset(&priv->gen_ie_buf, 0, sizeof(priv->gen_ie_buf)); in mwifiex_init_priv() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | tcp_hdr_options.c | 178 memset(sk_fds, -1, sizeof(*sk_fds)); in sk_fds_connect() 298 memset(&skel->bss->passive_synack_out, 0, optsize); in reset_test() 299 memset(&skel->bss->passive_fin_out, 0, optsize); in reset_test() 301 memset(&skel->bss->passive_estab_in, 0, optsize); in reset_test() 302 memset(&skel->bss->passive_fin_in, 0, optsize); in reset_test() 304 memset(&skel->bss->active_syn_out, 0, optsize); in reset_test() 305 memset(&skel->bss->active_fin_out, 0, optsize); in reset_test() 307 memset(&skel->bss->active_estab_in, 0, optsize); in reset_test() 308 memset(&skel->bss->active_fin_in, 0, optsize); in reset_test() 315 memset(&exp_passive_estab_in, 0, optsize); in reset_test() [all …]
|
/kernel/linux/linux-5.10/arch/arc/lib/ |
D | memset.S | 10 ENTRY_CFI(memset) 46 END_CFI(memset) 49 ; memset: @r0 = mem, @r1 = char, @r2 = size_t 52 ; adjust bzero args to memset args 55 b memset ;tail call so need to tinker with blink
|
/kernel/linux/linux-5.10/drivers/soc/tegra/ |
D | powergate-bpmp.c | 39 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_set_state() 44 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_set_state() 66 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_state() 70 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_state() 72 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_get_state() 95 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_max_id() 98 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_max_id() 100 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_get_max_id() 124 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_name() 128 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_name() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | isys_init.c | 37 memset(&backend_ch0, 0, sizeof(backend_channel_cfg_t)); in ia_css_isys_init() 38 memset(&backend_ch1, 0, sizeof(backend_channel_cfg_t)); in ia_css_isys_init() 39 memset(&targetB, 0, sizeof(targetB)); in ia_css_isys_init() 40 memset(&targetC, 0, sizeof(targetC)); in ia_css_isys_init()
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
D | clk-bpmp.c | 67 memset(&request, 0, sizeof(request)); in tegra_bpmp_clk_transfer() 79 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_transfer() 100 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_prepare() 113 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_unprepare() 130 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_is_prepared() 152 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_recalc_rate() 176 memset(&request, 0, sizeof(request)); in tegra_bpmp_clk_round_rate() 179 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_round_rate() 202 memset(&request, 0, sizeof(request)); in tegra_bpmp_clk_set_parent() 205 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_set_parent() [all …]
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | flow.c | 133 memset(ovs_stats, 0, sizeof(*ovs_stats)); in ovs_flow_stats_get() 415 memset(&key->ipv6.nd, 0, sizeof(key->ipv6.nd)); in parse_icmpv6() 472 memset(&key->ipv6.nd.target, 0, sizeof(key->ipv6.nd.target)); in parse_icmpv6() 473 memset(key->ipv6.nd.sll, 0, sizeof(key->ipv6.nd.sll)); in parse_icmpv6() 474 memset(key->ipv6.nd.tll, 0, sizeof(key->ipv6.nd.tll)); in parse_icmpv6() 515 memset(key->nsh.context, 0, in parse_nsh() 543 memset(&key->ip, 0, sizeof(key->ip)); in key_extract_l3l4() 544 memset(&key->ipv4, 0, sizeof(key->ipv4)); in key_extract_l3l4() 563 memset(&key->tp, 0, sizeof(key->tp)); in key_extract_l3l4() 580 memset(&key->tp, 0, sizeof(key->tp)); in key_extract_l3l4() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | mremap_dontunmap.c | 79 memset(page_buffer, byte, page_size); in check_region_contains_byte() 107 memset(source_mapping, 'a', num_pages * page_size); in mremap_dontunmap_simple() 143 memset(dest_mapping, 'X', num_pages * page_size); in mremap_dontunmap_simple_fixed() 149 memset(source_mapping, 'a', num_pages * page_size); in mremap_dontunmap_simple_fixed() 199 memset(source_mapping, 'a', num_pages * page_size); in mremap_dontunmap_partial_mapping() 251 memset(source_mapping, 'a', 5 * page_size); in mremap_dontunmap_partial_mapping_overwrite() 257 memset(dest_mapping, 'X', 10 * page_size); in mremap_dontunmap_partial_mapping_overwrite()
|
/kernel/linux/linux-5.10/drivers/ps3/ |
D | ps3av_cmd.c | 151 memset(&video_init, 0, sizeof(video_init)); in ps3av_cmd_init() 165 memset(&audio_init, 0, sizeof(audio_init)); in ps3av_cmd_init() 179 memset(&av_init, 0, sizeof(av_init)); in ps3av_cmd_init() 199 memset(&av_fin, 0, sizeof(av_fin)); in ps3av_cmd_fin() 221 memset(&av_video_mute, 0, sizeof(av_video_mute)); in ps3av_cmd_av_video_mute() 246 memset(&av_video_sig, 0, sizeof(av_video_sig)); in ps3av_cmd_av_video_disable_sig() 269 memset(&tv_mute, 0, sizeof(tv_mute)); in ps3av_cmd_av_tv_mute() 291 memset(&av_event, 0, sizeof(av_event)); in ps3av_cmd_enable_event() 312 memset(&hdmi_mode, 0, sizeof(hdmi_mode)); in ps3av_cmd_av_hdmi_mode() 340 memset(av_video_cs, 0, sizeof(*av_video_cs)); in ps3av_cmd_set_av_video_cs() [all …]
|
/kernel/linux/linux-5.10/arch/h8300/lib/ |
D | memset.S | 14 .global memset symbol 17 ;;void *memset(*ptr, int c, size_t count) 21 memset: label 68 bra memset
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
D | dot11d.c | 14 memset(dot11d_info->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in rtl8192u_dot11d_init() 15 memset(dot11d_info->max_tx_pwr_dbm_list, 0xFF, MAX_CHANNEL_NUMBER + 1); in rtl8192u_dot11d_init() 28 memset(dot11d_info->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in dot11d_reset() 29 memset(dot11d_info->max_tx_pwr_dbm_list, 0xFF, MAX_CHANNEL_NUMBER + 1); in dot11d_reset() 59 memset(dot11d_info->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in dot11d_update_country_ie() 60 memset(dot11d_info->max_tx_pwr_dbm_list, 0xFF, MAX_CHANNEL_NUMBER + 1); in dot11d_update_country_ie()
|
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/ |
D | mpt3sas_config.c | 315 memset(&mem, 0, sizeof(struct config_request)); in _config_request() 344 memset(config_page, 0, config_page_sz); in _config_request() 347 memset(mem.page, 0, min_t(u16, mem.sz, config_page_sz)); in _config_request() 374 memset(ioc->config_cmds.reply, 0, sizeof(Mpi2ConfigReply_t)); in _config_request() 510 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg0() 548 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg7() 585 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg10() 622 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg11() 659 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_set_manufacturing_pg11() 695 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_bios_pg2() [all …]
|
/kernel/linux/linux-5.10/drivers/base/power/ |
D | qos-test.c | 16 memset(&req1, 0, sizeof(req1)); in freq_qos_test_min() 17 memset(&req2, 0, sizeof(req2)); in freq_qos_test_min() 44 memset(&req1, 0, sizeof(req1)); in freq_qos_test_maxdef() 45 memset(&req2, 0, sizeof(req2)); in freq_qos_test_maxdef() 85 memset(&req, 0, sizeof(req)); in freq_qos_test_readd()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_virtchnl.c | 58 memset(vchnl_msg, 0, sizeof(*vchnl_msg)); in vchnl_vf_send_get_ver_req() 84 memset(vchnl_msg, 0, sizeof(*vchnl_msg)); in vchnl_vf_send_get_hmc_fcn_req() 110 memset(vchnl_msg, 0, sizeof(*vchnl_msg)); in vchnl_vf_send_get_pe_stats_req() 141 memset(vchnl_msg, 0, sizeof(*vchnl_msg)); in vchnl_vf_send_add_hmc_objs_req() 142 memset(add_hmc_obj, 0, sizeof(*add_hmc_obj)); in vchnl_vf_send_add_hmc_objs_req() 179 memset(vchnl_msg, 0, sizeof(*vchnl_msg)); in vchnl_vf_send_del_hmc_objs_req() 180 memset(add_hmc_obj, 0, sizeof(*add_hmc_obj)); in vchnl_vf_send_del_hmc_objs_req() 209 memset(resp_buffer, 0, sizeof(*resp_buffer)); in vchnl_pf_send_get_ver_resp() 235 memset(resp_buffer, 0, sizeof(*resp_buffer)); in vchnl_pf_send_get_hmc_fcn_resp() 263 memset(resp_buffer, 0, sizeof(*resp_buffer)); in vchnl_pf_send_get_pe_stats_resp() [all …]
|