Home
last modified time | relevance | path

Searched refs:memset (Results 1 – 25 of 3767) sorted by relevance

12345678910>>...151

/Linux-v4.19/arch/x86/include/asm/
Dbootparam_utils.h39 memset(&boot_params->ext_ramdisk_image, 0, in sanitize_boot_params()
42 memset(&boot_params->kbd_status, 0, in sanitize_boot_params()
45 memset(&boot_params->_pad7[0], 0, in sanitize_boot_params()
48 memset(&boot_params->_pad8[0], 0, in sanitize_boot_params()
51 memset(&boot_params->_pad9[0], 0, sizeof(boot_params->_pad9)); in sanitize_boot_params()
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_mbx.c291 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_get_minidump_template()
292 memset(&mbox_sts, 0, sizeof(mbox_sts)); in qla4xxx_get_minidump_template()
322 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_req_template_size()
323 memset(&mbox_sts, 0, sizeof(mbox_sts)); in qla4xxx_req_template_size()
375 memset(mbox_cmd, 0, sizeof(mbox_cmd[0]) * MBOX_REG_COUNT); in qla4xxx_set_ifcb()
376 memset(mbox_sts, 0, sizeof(mbox_sts[0]) * MBOX_REG_COUNT); in qla4xxx_set_ifcb()
402 memset(mbox_cmd, 0, sizeof(mbox_cmd[0]) * MBOX_REG_COUNT); in qla4xxx_get_ifcb()
403 memset(mbox_sts, 0, sizeof(mbox_sts[0]) * MBOX_REG_COUNT); in qla4xxx_get_ifcb()
638 memset(&mbox_cmd, 0, sizeof(mbox_cmd)); in qla4xxx_initialize_fw_cb()
639 memset(&mbox_sts, 0, sizeof(mbox_sts)); in qla4xxx_initialize_fw_cb()
[all …]
/Linux-v4.19/arch/sh/lib/
DMakefile27 memset-y := memset.o
28 memset-$(CONFIG_CPU_SH4) := memset-sh4.o
32 lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y)
/Linux-v4.19/samples/bpf/
Dxdp_router_ipv4_user.c141 memset(&route, 0, sizeof(route)); in read_route()
286 memset(&route, 0, sizeof(route)); in read_route()
287 memset(dsts, 0, sizeof(dsts)); in read_route()
288 memset(dsts_len, 0, sizeof(dsts_len)); in read_route()
289 memset(gws, 0, sizeof(gws)); in read_route()
290 memset(ifs, 0, sizeof(ifs)); in read_route()
291 memset(&route, 0, sizeof(route)); in read_route()
317 memset(&sa, 0, sizeof(sa)); in get_route_table()
324 memset(&req, 0, sizeof(req)); in get_route_table()
333 memset(&msg, 0, sizeof(msg)); in get_route_table()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/
Ddot11d.c53 memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in dot11d_init()
54 memset(pDot11dInfo->MaxTxPwrDbmList, 0xFF, MAX_CHANNEL_NUMBER + 1); in dot11d_init()
66 memset(GET_DOT11D_INFO(ieee)->channel_map, 0, in Dot11d_Channelmap()
106 memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in Dot11d_Reset()
107 memset(pDot11dInfo->MaxTxPwrDbmList, 0xFF, MAX_CHANNEL_NUMBER + 1); in Dot11d_Reset()
124 memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in Dot11d_UpdateCountryIe()
125 memset(pDot11dInfo->MaxTxPwrDbmList, 0xFF, MAX_CHANNEL_NUMBER + 1); in Dot11d_UpdateCountryIe()
/Linux-v4.19/scripts/coccinelle/api/alloc/
Dpool_zalloc-simple.cocci2 /// Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0
26 * memset(x,0, ...);
41 - memset(x,0,...);
52 - memset(x,0,...);
67 memset(x,0, ...);
83 msg="WARNING: *_pool_zalloc should be used for %s, instead of *_pool_alloc/memset" % (x)
Dzalloc-simple.cocci2 /// Use zeroing allocator rather than allocator followed by memset with 0
40 * memset((T2)x,0,E1);
136 - memset((T2)x,0,E1);
152 memset((T2)x,0,E1);
168 msg="WARNING: kzalloc should be used for %s, instead of kmalloc/memset" % (x)
182 memset((T2)x,0,E1);
198 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
212 memset((T2)x,0,E1);
228 msg="WARNING: dma_zalloc_coherent should be used for %s, instead of dma_alloc_coherent/memset" % (x)
242 memset((T2)x,0,E1);
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dinit.c100 memset(&priv->wep_key[i], 0, sizeof(struct mwifiex_wep_key)); in mwifiex_init_priv()
108 memset(&priv->curr_bss_params, 0, sizeof(priv->curr_bss_params)); in mwifiex_init_priv()
111 memset(&priv->prev_ssid, 0, sizeof(priv->prev_ssid)); in mwifiex_init_priv()
112 memset(&priv->prev_bssid, 0, sizeof(priv->prev_bssid)); in mwifiex_init_priv()
113 memset(&priv->assoc_rsp_buf, 0, sizeof(priv->assoc_rsp_buf)); in mwifiex_init_priv()
135 memset(&priv->wpa_ie, 0, sizeof(priv->wpa_ie)); in mwifiex_init_priv()
136 memset(&priv->aes_key, 0, sizeof(priv->aes_key)); in mwifiex_init_priv()
140 memset(&priv->assoc_tlv_buf, 0, sizeof(priv->assoc_tlv_buf)); in mwifiex_init_priv()
142 memset(&priv->wps, 0, sizeof(priv->wps)); in mwifiex_init_priv()
143 memset(&priv->gen_ie_buf, 0, sizeof(priv->gen_ie_buf)); in mwifiex_init_priv()
[all …]
/Linux-v4.19/arch/arc/lib/
Dmemset.S13 ENTRY_CFI(memset)
49 END_CFI(memset)
52 ; memset: @r0 = mem, @r1 = char, @r2 = size_t
55 ; adjust bzero args to memset args
58 b memset ;tail call so need to tinker with blink
/Linux-v4.19/drivers/soc/tegra/
Dpowergate-bpmp.c47 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_set_state()
52 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_set_state()
74 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_state()
78 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_state()
80 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_get_state()
103 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_max_id()
106 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_max_id()
108 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_powergate_get_max_id()
132 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_name()
136 memset(&response, 0, sizeof(response)); in tegra_bpmp_powergate_get_name()
[all …]
/Linux-v4.19/drivers/clk/tegra/
Dclk-bpmp.c70 memset(&request, 0, sizeof(request)); in tegra_bpmp_clk_transfer()
82 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_transfer()
103 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_prepare()
116 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_unprepare()
133 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_is_prepared()
155 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_recalc_rate()
179 memset(&request, 0, sizeof(request)); in tegra_bpmp_clk_round_rate()
182 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_round_rate()
205 memset(&request, 0, sizeof(request)); in tegra_bpmp_clk_set_parent()
208 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_set_parent()
[all …]
/Linux-v4.19/drivers/ps3/
Dps3av_cmd.c163 memset(&video_init, 0, sizeof(video_init)); in ps3av_cmd_init()
177 memset(&audio_init, 0, sizeof(audio_init)); in ps3av_cmd_init()
191 memset(&av_init, 0, sizeof(av_init)); in ps3av_cmd_init()
211 memset(&av_fin, 0, sizeof(av_fin)); in ps3av_cmd_fin()
233 memset(&av_video_mute, 0, sizeof(av_video_mute)); in ps3av_cmd_av_video_mute()
258 memset(&av_video_sig, 0, sizeof(av_video_sig)); in ps3av_cmd_av_video_disable_sig()
281 memset(&tv_mute, 0, sizeof(tv_mute)); in ps3av_cmd_av_tv_mute()
303 memset(&av_event, 0, sizeof(av_event)); in ps3av_cmd_enable_event()
324 memset(&hdmi_mode, 0, sizeof(hdmi_mode)); in ps3av_cmd_av_hdmi_mode()
352 memset(av_video_cs, 0, sizeof(*av_video_cs)); in ps3av_cmd_set_av_video_cs()
[all …]
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_config.c323 memset(&mem, 0, sizeof(struct config_request)); in _config_request()
352 memset(config_page, 0, config_page_sz); in _config_request()
355 memset(mem.page, 0, min_t(u16, mem.sz, config_page_sz)); in _config_request()
399 memset(mpi_reply, 0, sizeof(Mpi2ConfigReply_t)); in _config_request()
530 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg0()
568 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg7()
605 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg10()
642 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_manufacturing_pg11()
679 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_set_manufacturing_pg11()
719 memset(&mpi_request, 0, sizeof(Mpi2ConfigRequest_t)); in mpt3sas_config_get_bios_pg2()
[all …]
/Linux-v4.19/arch/h8300/lib/
Dmemset.S14 .global memset
17 ;;void *memset(*ptr, int c, size_t count)
21 memset: label
68 bra memset
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_dbg.c20 memset(nfunc, 0, sizeof(nfunc)); in qedf_dbg_err()
45 memset(nfunc, 0, sizeof(nfunc)); in qedf_dbg_warn()
74 memset(nfunc, 0, sizeof(nfunc)); in qedf_dbg_notice()
104 memset(nfunc, 0, sizeof(nfunc)); in qedf_dbg_info()
132 memset(*buf, 0, len); in qedf_alloc_grc_dump_buf()
159 memset(event_string, 0, sizeof(event_string)); in qedf_uevent_emit()
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Ddot11d.c14 memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER + 1); in Dot11d_Init()
15 memset(pDot11dInfo->max_tx_pwr_dbm_list, 0xFF, MAX_CHANNEL_NUMBER+1); in Dot11d_Init()
28 memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER+1); in Dot11d_Reset()
29 memset(pDot11dInfo->max_tx_pwr_dbm_list, 0xFF, MAX_CHANNEL_NUMBER+1); in Dot11d_Reset()
59 memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER+1); in Dot11d_UpdateCountryIe()
60 memset(pDot11dInfo->max_tx_pwr_dbm_list, 0xFF, MAX_CHANNEL_NUMBER+1); in Dot11d_UpdateCountryIe()
/Linux-v4.19/tools/perf/arch/s390/util/
Dheader.c51 memset(manufacturer, 0, sizeof(manufacturer)); in get_cpuid()
52 memset(type, 0, sizeof(type)); in get_cpuid()
53 memset(model, 0, sizeof(model)); in get_cpuid()
54 memset(version, 0, sizeof(version)); in get_cpuid()
55 memset(authorization, 0, sizeof(authorization)); in get_cpuid()
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_virtchnl.c58 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 …]
/Linux-v4.19/net/openvswitch/
Dflow.c146 memset(ovs_stats, 0, sizeof(*ovs_stats)); in ovs_flow_stats_get()
430 memset(&key->ipv6.nd, 0, sizeof(key->ipv6.nd)); in parse_icmpv6()
487 memset(&key->ipv6.nd.target, 0, sizeof(key->ipv6.nd.target)); in parse_icmpv6()
488 memset(key->ipv6.nd.sll, 0, sizeof(key->ipv6.nd.sll)); in parse_icmpv6()
489 memset(key->ipv6.nd.tll, 0, sizeof(key->ipv6.nd.tll)); in parse_icmpv6()
530 memset(key->nsh.context, 0, in parse_nsh()
621 memset(&key->ip, 0, sizeof(key->ip)); in key_extract()
622 memset(&key->ipv4, 0, sizeof(key->ipv4)); in key_extract()
657 memset(&key->tp, 0, sizeof(key->tp)); in key_extract()
666 memset(&key->tp, 0, sizeof(key->tp)); in key_extract()
[all …]
/Linux-v4.19/drivers/scsi/bfa/
Dbfa_fcbuild.c140 memset(fchs, 0, sizeof(struct fchs_s)); in fc_gs_fchdr_build()
162 memset(fchs, 0, sizeof(struct fchs_s)); in fc_gsresp_fchdr_build()
474 memset(logo, '\0', sizeof(struct fc_logo_s)); in fc_logo_build()
487 memset(adisc, '\0', sizeof(struct fc_adisc_s)); in fc_adisc_x_build()
624 memset(acc, 0, sizeof(struct fc_els_cmd_s)); in fc_logo_acc_build()
636 memset(ls_rjt, 0, sizeof(struct fc_ls_rjt_s)); in fc_ls_rjt_build()
667 memset(els_cmd, 0, sizeof(struct fc_els_cmd_s)); in fc_ls_acc_build()
698 memset(tprlo_acc, 0, (num_pages * 16) + 4); in fc_tprlo_acc_build()
722 memset(prlo_acc, 0, (num_pages * 16) + 4); in fc_prlo_acc_build()
744 memset(rnid, 0, sizeof(struct fc_rnid_cmd_s)); in fc_rnid_build()
[all …]
/Linux-v4.19/arch/x86/lib/
Dmsr-smp.c41 memset(&rv, 0, sizeof(rv)); in rdmsr_on_cpu()
57 memset(&rv, 0, sizeof(rv)); in rdmsrl_on_cpu()
72 memset(&rv, 0, sizeof(rv)); in wrmsr_on_cpu()
88 memset(&rv, 0, sizeof(rv)); in wrmsrl_on_cpu()
106 memset(&rv, 0, sizeof(rv)); in __rwmsr_on_cpus()
178 memset(&rv, 0, sizeof(rv)); in rdmsr_safe_on_cpu()
199 memset(&rv, 0, sizeof(rv)); in wrmsr_safe_on_cpu()
215 memset(&rv, 0, sizeof(rv)); in wrmsrl_safe_on_cpu()
Dmemcpy_32.c6 #undef memset
18 __visible void *memset(void *s, int c, size_t count) in memset() function
22 EXPORT_SYMBOL(memset);
/Linux-v4.19/arch/alpha/mm/
Dinit.c80 memset((void *) EMPTY_PGT, 0, PAGE_SIZE); in __bad_pagetable()
87 memset((void *) EMPTY_PGE, 0, PAGE_SIZE); in __bad_page()
109 memset(swapper_pg_dir, 0, PAGE_SIZE); in switch_to_system_map()
184 memset(two_pages, 0, 2*PAGE_SIZE); in callback_init()
218 memset(kernel_end, 0, PAGE_SIZE); in callback_init()
259 memset((void *)ZERO_PGE, 0, PAGE_SIZE); in paging_init()
/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-dvb.c1163 memset(&sp2_config, 0, sizeof(sp2_config)); in dvb_register_ci_mac()
1167 memset(&info, 0, sizeof(struct i2c_board_info)); in dvb_register_ci_mac()
1833 memset(&info, 0, sizeof(info)); in dvb_register()
1850 memset(&info, 0, sizeof(info)); in dvb_register()
1867 memset(&si2165_pdata, 0, sizeof(si2165_pdata)); in dvb_register()
1871 memset(&info, 0, sizeof(struct i2c_board_info)); in dvb_register()
1905 memset(&info, 0, sizeof(info)); in dvb_register()
1922 memset(&info, 0, sizeof(info)); in dvb_register()
1952 memset(&ts2020_config, 0, sizeof(ts2020_config)); in dvb_register()
1955 memset(&info, 0, sizeof(struct i2c_board_info)); in dvb_register()
[all …]
/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_cmd_v5.c49 memset(&h2r_args, 0, sizeof(struct s5p_mfc_cmd_args)); in s5p_mfc_sys_init_cmd_v5()
60 memset(&h2r_args, 0, sizeof(struct s5p_mfc_cmd_args)); in s5p_mfc_sleep_cmd_v5()
69 memset(&h2r_args, 0, sizeof(struct s5p_mfc_cmd_args)); in s5p_mfc_wakeup_cmd_v5()
84 memset(&h2r_args, 0, sizeof(struct s5p_mfc_cmd_args)); in s5p_mfc_open_inst_cmd_v5()
142 memset(&h2r_args, 0, sizeof(struct s5p_mfc_cmd_args)); in s5p_mfc_close_inst_cmd_v5()

12345678910>>...151