Home
last modified time | relevance | path

Searched refs:kzalloc (Results 1 – 25 of 3611) sorted by relevance

12345678910>>...145

/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Dacx.c20 rates = kzalloc(sizeof(*rates), GFP_KERNEL); in wl1251_acx_frame_rates()
49 mac = kzalloc(sizeof(*mac), GFP_KERNEL); in wl1251_acx_station_id()
69 default_key = kzalloc(sizeof(*default_key), GFP_KERNEL); in wl1251_acx_default_key()
97 wake_up = kzalloc(sizeof(*wake_up), GFP_KERNEL); in wl1251_acx_wake_up_conditions()
123 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1251_acx_sleep_auth()
142 rev = kzalloc(sizeof(*rev), GFP_KERNEL); in wl1251_acx_fw_version()
177 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1251_acx_tx_power()
201 feature = kzalloc(sizeof(*feature), GFP_KERNEL); in wl1251_acx_feature_cfg()
243 params = kzalloc(sizeof(*params), GFP_KERNEL); in wl1251_acx_data_path_params()
289 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1251_acx_rx_msdu_life_time()
[all …]
Dcmd.c177 vbm = kzalloc(sizeof(*vbm), GFP_KERNEL); in wl1251_cmd_vbm()
215 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_data_path_rx()
251 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_data_path_tx()
281 join = kzalloc(sizeof(*join), GFP_KERNEL); in wl1251_cmd_join()
326 ps_params = kzalloc(sizeof(*ps_params), GFP_KERNEL); in wl1251_cmd_ps_mode()
358 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_read_memory()
403 cmd = kzalloc(cmd_len, GFP_KERNEL); in wl1251_cmd_template_set()
436 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_scan()
500 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_trigger_scan_to()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dacx.c45 wake_up = kzalloc(sizeof(*wake_up), GFP_KERNEL); in wl1271_acx_wake_up_conditions()
74 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1271_acx_sleep_auth()
107 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_tx_power()
134 feature = kzalloc(sizeof(*feature), GFP_KERNEL); in wl1271_acx_feature_cfg()
179 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_rx_msdu_life_time()
206 slot = kzalloc(sizeof(*slot), GFP_KERNEL); in wl1271_acx_slot()
235 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_group_address_tbl()
265 rx_timeout = kzalloc(sizeof(*rx_timeout), GFP_KERNEL); in wl1271_acx_service_period_timeout()
305 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1271_acx_rts_threshold()
333 dco = kzalloc(sizeof(*dco), GFP_KERNEL); in wl1271_acx_dco_itrim_params()
[all …]
Dcmd.c251 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_enable()
293 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_disable()
442 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_dev()
494 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_stop_dev()
528 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_sta()
605 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_stop_sta()
652 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_ap()
747 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_stop_ap()
780 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_ibss()
952 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1271_cmd_data_path()
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl18xx/
Dacx.c40 bitmap_conf = kzalloc(sizeof(*bitmap_conf), GFP_KERNEL); in wl18xx_acx_host_if_cfg_bitmap()
71 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_checksum_state()
97 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_clear_statistics()
122 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_peer_ht_operation_mode()
163 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_peer_cap()
209 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_interrupt_notify_config()
236 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_rx_ba_filter()
264 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_ap_sleep()
294 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_dynamic_fw_traces()
322 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_time_sync_cfg()
Dcmd.c39 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_channel_switch()
95 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_start()
122 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_stop()
154 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_set_group_key()
184 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_set_cac()
215 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_radar_detection_debug()
241 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_dfs_master_restart()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_cmd.c246 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in rtw_sitesurvey_cmd()
250 psurveyPara = kzalloc(sizeof(struct sitesurvey_parm), GFP_ATOMIC); in rtw_sitesurvey_cmd()
328 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in rtw_createbss_cmd()
370 pcmd = kzalloc(sizeof(struct cmd_obj), GFP_ATOMIC); in rtw_joinbss_cmd()
494 param = kzalloc(sizeof(*param), GFP_ATOMIC); in rtw_disassoc_cmd()
503 cmdobj = kzalloc(sizeof(*cmdobj), GFP_ATOMIC); in rtw_disassoc_cmd()
530 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in rtw_setopmode_cmd()
531 psetop = kzalloc(sizeof(struct setopmode_parm), GFP_KERNEL); in rtw_setopmode_cmd()
555 ph2c = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); in rtw_setstakey_cmd()
556 psetstakey_para = kzalloc(sizeof(struct set_stakey_parm), GFP_KERNEL); in rtw_setstakey_cmd()
[all …]
/Linux-v4.19/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci2 /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc.
5 //# kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc,
33 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
56 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
79 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
96 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.c137 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_pbmc()
154 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_set_pbmc()
175 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_priority2buffer()
176 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_priority2buffer()
207 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_set_priority2buffer()
208 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_set_priority2buffer()
/Linux-v4.19/drivers/s390/cio/
Dairq.c43 airq->lsi_ptr = kzalloc(1, GFP_KERNEL); in register_adapter_interrupt()
128 iv = kzalloc(sizeof(*iv), GFP_KERNEL); in airq_iv_create()
133 iv->vector = kzalloc(size, GFP_KERNEL); in airq_iv_create()
145 iv->bitlock = kzalloc(size, GFP_KERNEL); in airq_iv_create()
151 iv->ptr = kzalloc(size, GFP_KERNEL); in airq_iv_create()
157 iv->data = kzalloc(size, GFP_KERNEL); in airq_iv_create()
/Linux-v4.19/scripts/coccinelle/api/
Dmemdup.cocci22 to = \(kmalloc@p\|kzalloc@p\)(strlen(from) + 1,flag);
32 to = \(kmalloc@p\|kzalloc@p\)(x,flag);
40 - to = \(kmalloc@p\|kzalloc@p\)(size,flag);
51 * to = \(kmalloc@p\|kzalloc@p\)(size,flag);
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dib_virt.c59 rep = kzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_ib_get_vf_config()
102 in = kzalloc(sizeof(*in), GFP_KERNEL); in mlx5_ib_set_vf_link_state()
133 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_ib_get_vf_stats()
160 in = kzalloc(sizeof(*in), GFP_KERNEL); in set_vf_node_guid()
181 in = kzalloc(sizeof(*in), GFP_KERNEL); in set_vf_port_guid()
/Linux-v4.19/drivers/mtd/devices/
Dms02-nv.c124 mod_res = kzalloc(sizeof(*mod_res), GFP_KERNEL); in ms02nv_init_one()
145 mtd = kzalloc(sizeof(*mtd), GFP_KERNEL); in ms02nv_init_one()
148 mp = kzalloc(sizeof(*mp), GFP_KERNEL); in ms02nv_init_one()
156 diag_res = kzalloc(sizeof(*diag_res), GFP_KERNEL); in ms02nv_init_one()
169 user_res = kzalloc(sizeof(*user_res), GFP_KERNEL); in ms02nv_init_one()
182 csr_res = kzalloc(sizeof(*csr_res), GFP_KERNEL); in ms02nv_init_one()
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/
Dcmd.c39 ext_radio_parms = kzalloc(sizeof(*ext_radio_parms), GFP_KERNEL); in wl1271_cmd_ext_radio_parms()
80 gen_parms = kzalloc(sizeof(*gen_parms), GFP_KERNEL); in wl1271_cmd_general_parms()
147 gen_parms = kzalloc(sizeof(*gen_parms), GFP_KERNEL); in wl128x_cmd_general_parms()
208 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl1271_cmd_radio_parms()
252 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl128x_cmd_radio_parms()
297 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_channel_switch()
/Linux-v4.19/drivers/s390/virtio/
Dvirtio_ccw.c215 info = kzalloc(sizeof(*info), GFP_KERNEL); in new_airq_info()
323 thinint_area = kzalloc(sizeof(*thinint_area), in virtio_ccw_drop_indicator()
470 ccw = kzalloc(sizeof(*ccw), GFP_DMA | GFP_KERNEL); in virtio_ccw_del_vqs()
495 info = kzalloc(sizeof(struct virtio_ccw_vq_info), GFP_KERNEL); in virtio_ccw_setup_vq()
501 info->info_block = kzalloc(sizeof(*info->info_block), in virtio_ccw_setup_vq()
585 thinint_area = kzalloc(sizeof(*thinint_area), GFP_DMA | GFP_KERNEL); in virtio_ccw_register_adapter_ind()
637 ccw = kzalloc(sizeof(*ccw), GFP_DMA | GFP_KERNEL); in virtio_ccw_find_vqs()
702 ccw = kzalloc(sizeof(*ccw), GFP_DMA | GFP_KERNEL); in virtio_ccw_reset()
726 ccw = kzalloc(sizeof(*ccw), GFP_DMA | GFP_KERNEL); in virtio_ccw_get_features()
730 features = kzalloc(sizeof(*features), GFP_DMA | GFP_KERNEL); in virtio_ccw_get_features()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dmobility.c91 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property()
102 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_dt_property()
113 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); in update_dt_property()
148 rtas_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in update_dt_node()
258 hp_elog = kzalloc(sizeof(*hp_elog), GFP_KERNEL); in prrn_update_node()
283 rtas_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_devicetree_update()
/Linux-v4.19/drivers/clk/sunxi/
Dclk-sun8i-mbus.c55 div = kzalloc(sizeof(*div), GFP_KERNEL); in sun8i_a23_mbus_setup()
59 mux = kzalloc(sizeof(*mux), GFP_KERNEL); in sun8i_a23_mbus_setup()
63 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in sun8i_a23_mbus_setup()
/Linux-v4.19/sound/firewire/bebob/
Dbebob_command.c17 buf = kzalloc(12, GFP_KERNEL); in avc_audio_set_selector()
55 buf = kzalloc(12, GFP_KERNEL); in avc_audio_get_selector()
117 buf = kzalloc(12, GFP_KERNEL); in avc_bridgeco_get_plug_type()
187 buf = kzalloc(12, GFP_KERNEL); in avc_bridgeco_get_plug_section_type()
224 buf = kzalloc(18, GFP_KERNEL); in avc_bridgeco_get_plug_input()
/Linux-v4.19/fs/btrfs/tests/
Dbtrfs-tests.c71 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info()
76 fs_info->fs_devices = kzalloc(sizeof(struct btrfs_fs_devices), in btrfs_alloc_dummy_fs_info()
82 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info()
188 cache = kzalloc(sizeof(*cache), GFP_KERNEL); in btrfs_alloc_dummy_block_group()
191 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()
/Linux-v4.19/drivers/pci/hotplug/
Drpaphp_slot.c35 slot = kzalloc(sizeof(struct slot), GFP_KERNEL); in alloc_slot_struct()
38 slot->hotplug_slot = kzalloc(sizeof(struct hotplug_slot), GFP_KERNEL); in alloc_slot_struct()
41 slot->hotplug_slot->info = kzalloc(sizeof(struct hotplug_slot_info), in alloc_slot_struct()
Dibmphp_pci.c155 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
192 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
219 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
264 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
388 io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
425 pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
439 mem_tmp = kzalloc(sizeof(*mem_tmp), GFP_KERNEL); in configure_device()
489 mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
652 bus_io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_bridge()
684 bus_pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_bridge()
[all …]
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c56 fw_debug = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_fwtrc()
62 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwtrc()
96 fw_debug = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_fwsave()
102 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwsave()
133 reg_debug = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_reg()
196 drv_info = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_drvinfo()
202 drv_info->debug_buffer = kzalloc(drv_info->buffer_len, GFP_KERNEL); in bnad_debugfs_open_drvinfo()
338 bnad->regdata = kzalloc(len << 2, GFP_KERNEL); in bnad_debugfs_write_regrd()
/Linux-v4.19/drivers/clk/renesas/
Dclk-rcar-gen2.c145 zclk = kzalloc(sizeof(*zclk), GFP_KERNEL); in cpg_z_clk_register()
174 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in cpg_rcan_clk_register()
181 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in cpg_rcan_clk_register()
217 div = kzalloc(sizeof(*div), GFP_KERNEL); in cpg_adsp_clk_register()
226 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in cpg_adsp_clk_register()
419 cpg = kzalloc(sizeof(*cpg), GFP_KERNEL); in rcar_gen2_cpg_clocks_init()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c412 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce100_timing_generator_create()
426 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce100_stream_encoder_create()
454 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce100_hwseq_create()
499 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce100_mem_input_create()
523 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce100_transform_create()
536 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce100_ipp_create()
560 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce100_link_encoder_create()
579 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce100_opp_create()
594 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce100_aux_engine_create()
614 kzalloc(sizeof(struct dce110_clk_src), GFP_KERNEL); in dce100_clock_source_create()
[all …]
/Linux-v4.19/drivers/pnp/pnpbios/
Dproc.c81 tmpbuf = kzalloc(escd.escd_size, GFP_KERNEL); in escd_proc_show()
128 node = kzalloc(node_info.max_node_size, GFP_KERNEL); in pnp_devices_proc_show()
161 node = kzalloc(node_info.max_node_size, GFP_KERNEL); in pnpbios_proc_show()
188 node = kzalloc(node_info.max_node_size, GFP_KERNEL); in pnpbios_proc_write()

12345678910>>...145