/linux/drivers/net/wireless/ti/wl1251/ |
H A D | acx.c | 20 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 …]
|
H A D | cmd.c | 177 vbm = kzalloc(sizeof(*vbm), GFP_KERNEL); in wl1251_cmd_vbm() 213 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_data_path_rx() 247 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_data_path_tx() 277 join = kzalloc(sizeof(*join), GFP_KERNEL); in wl1251_cmd_join() 320 ps_params = kzalloc(sizeof(*ps_params), GFP_KERNEL); in wl1251_cmd_ps_mode() 350 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_read_memory() 393 cmd = kzalloc(cmd_len, GFP_KERNEL); in wl1251_cmd_template_set() 424 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_scan() 491 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_trigger_scan_to()
|
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | acx.c | 31 wake_up = kzalloc(sizeof(*wake_up), GFP_KERNEL); in wl1271_acx_wake_up_conditions() 60 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1271_acx_sleep_auth() 93 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_tx_power() 120 feature = kzalloc(sizeof(*feature), GFP_KERNEL); in wl1271_acx_feature_cfg() 165 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_rx_msdu_life_time() 192 slot = kzalloc(sizeof(*slot), GFP_KERNEL); in wl1271_acx_slot() 221 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_group_address_tbl() 251 rx_timeout = kzalloc(sizeof(*rx_timeout), GFP_KERNEL); in wl1271_acx_service_period_timeout() 291 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1271_acx_rts_threshold() 319 dco = kzalloc(sizeof(*dco), GFP_KERNEL); in wl1271_acx_dco_itrim_params() [all …]
|
H A D | cmd.c | 235 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_enable() 277 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_disable() 435 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_dev() 487 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_stop_dev() 521 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_sta() 598 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_stop_sta() 645 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_ap() 740 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_stop_ap() 773 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_start_ibss() 946 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1271_cmd_data_path() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
H A D | clk_mgr.c | 154 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 167 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 177 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 187 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 211 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 225 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 253 struct clk_mgr_internal *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 280 struct clk_mgr_vgh *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 292 struct clk_mgr_dcn31 *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() 304 struct clk_mgr_dcn315 *clk_mgr = kzalloc(sizeof(*clk_mgr), GFP_KERNEL); in dc_clk_mgr_create() [all …]
|
/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | acx.c | 26 bitmap_conf = kzalloc(sizeof(*bitmap_conf), GFP_KERNEL); in wl18xx_acx_host_if_cfg_bitmap() 57 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_checksum_state() 83 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_clear_statistics() 108 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_peer_ht_operation_mode() 149 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_peer_cap() 195 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_interrupt_notify_config() 222 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_rx_ba_filter() 250 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_ap_sleep() 280 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_dynamic_fw_traces() 308 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_time_sync_cfg()
|
H A D | cmd.c | 25 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_channel_switch() 81 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_start() 108 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_stop() 140 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_smart_config_set_group_key() 170 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_set_cac() 201 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_radar_detection_debug() 227 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_dfs_master_restart()
|
/linux/scripts/coccinelle/api/alloc/ |
H A D | alloc_cast.cocci | 3 /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc. 6 //# kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc, 34 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 57 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 80 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| 97 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
|
/linux/scripts/coccinelle/api/ |
H A D | kvmalloc.cocci | 35 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 45 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 57 * T x = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 127 - E = kzalloc(size, flags); 133 - E = kzalloc(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\)); 138 - E = kzalloc(size, flags | __GFP_NOWARN); 143 - E = kzalloc(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\)); 148 - T x = kzalloc(size, flags | __GFP_NOWARN); 153 - T x = kzalloc(size, \(GFP_KERNEL\|GFP_KERNEL|__GFP_NOWARN\));
|
H A D | memdup.cocci | 23 to = \(kmalloc@p\|kzalloc@p\)(strlen(from) + 1,flag); 33 to = \(kmalloc@p\|kzalloc@p\)(x,flag); 41 - to = \(kmalloc@p\|kzalloc@p\)(size,flag); 52 * to = \(kmalloc@p\|kzalloc@p\)(size,flag);
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_vsi_vlan_lib.c | 97 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_manage_vlan_insertion() 144 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_manage_vlan_stripping() 242 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in __ice_vsi_set_inner_port_vlan() 295 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_clear_inner_port_vlan() 339 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_cfg_vlan_pruning() 385 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in ice_cfg_vlan_antispoof() 481 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_ena_outer_stripping() 532 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_dis_outer_stripping() 587 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_ena_outer_insertion() 639 ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); in ice_vsi_dis_outer_insertion() [all …]
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_private_obj.c | 53 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_layer_obj_add() 95 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_scaler_obj_add() 138 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_compiz_obj_add() 181 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_splitter_obj_add() 224 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_merger_obj_add() 268 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_improc_obj_add() 311 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_timing_ctrlr_obj_add() 355 st = kzalloc(sizeof(*st), GFP_KERNEL); in komeda_pipeline_obj_add()
|
/linux/drivers/mtd/devices/ |
H A D | ms02-nv.c | 120 mod_res = kzalloc(sizeof(*mod_res), GFP_KERNEL); in ms02nv_init_one() 141 mtd = kzalloc(sizeof(*mtd), GFP_KERNEL); in ms02nv_init_one() 144 mp = kzalloc(sizeof(*mp), GFP_KERNEL); in ms02nv_init_one() 152 diag_res = kzalloc(sizeof(*diag_res), GFP_KERNEL); in ms02nv_init_one() 165 user_res = kzalloc(sizeof(*user_res), GFP_KERNEL); in ms02nv_init_one() 178 csr_res = kzalloc(sizeof(*csr_res), GFP_KERNEL); in ms02nv_init_one()
|
/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | cmd.c | 25 ext_radio_parms = kzalloc(sizeof(*ext_radio_parms), GFP_KERNEL); in wl1271_cmd_ext_radio_parms() 66 gen_parms = kzalloc(sizeof(*gen_parms), GFP_KERNEL); in wl1271_cmd_general_parms() 133 gen_parms = kzalloc(sizeof(*gen_parms), GFP_KERNEL); in wl128x_cmd_general_parms() 194 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl1271_cmd_radio_parms() 238 radio_parms = kzalloc(sizeof(*radio_parms), GFP_KERNEL); in wl128x_cmd_radio_parms() 283 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_channel_switch()
|
/linux/sound/firewire/bebob/ |
H A D | bebob_command.c | 16 buf = kzalloc(12, GFP_KERNEL); in avc_audio_set_selector() 54 buf = kzalloc(12, GFP_KERNEL); in avc_audio_get_selector() 116 buf = kzalloc(12, GFP_KERNEL); in avc_bridgeco_get_plug_type() 152 buf = kzalloc(12, GFP_KERNEL); in avc_bridgeco_get_plug_ch_count() 222 buf = kzalloc(12, GFP_KERNEL); in avc_bridgeco_get_plug_section_type() 259 buf = kzalloc(18, GFP_KERNEL); in avc_bridgeco_get_plug_input()
|
/linux/drivers/firmware/microchip/ |
H A D | mpfs-auto-update.c | 163 kzalloc(AUTO_UPDATE_FEATURE_RESP_SIZE * sizeof(*response_msg), GFP_KERNEL); in mpfs_auto_update_verify_image() 165 kzalloc(sizeof(struct mpfs_mss_response), GFP_KERNEL); in mpfs_auto_update_verify_image() 167 kzalloc(sizeof(struct mpfs_mss_msg), GFP_KERNEL); in mpfs_auto_update_verify_image() 208 char *buffer __free(kfree) = kzalloc(erase_size, GFP_KERNEL); in mpfs_auto_update_set_image_address() 365 kzalloc(AUTO_UPDATE_FEATURE_RESP_SIZE * sizeof(*response_msg), GFP_KERNEL); in mpfs_auto_update_available() 367 kzalloc(sizeof(struct mpfs_mss_response), GFP_KERNEL); in mpfs_auto_update_available() 369 kzalloc(sizeof(struct mpfs_mss_msg), GFP_KERNEL); in mpfs_auto_update_available()
|
/linux/drivers/target/iscsi/ |
H A D | iscsi_target_auth.c | 47 challenge_asciihex = kzalloc(chap->challenge_len * 2 + 1, GFP_KERNEL); in chap_gen_challenge() 154 conn->auth_protocol = kzalloc(sizeof(struct iscsi_chap), GFP_KERNEL); in chap_server_open() 263 digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash() 269 response = kzalloc(chap->digest_size * 2 + 2, GFP_KERNEL); in chap_server_compute_hash() 275 client_digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash() 281 server_digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash() 291 initiatorchg = kzalloc(CHAP_CHALLENGE_STR_LEN, GFP_KERNEL); in chap_server_compute_hash() 297 initiatorchg_binhex = kzalloc(CHAP_CHALLENGE_STR_LEN, GFP_KERNEL); in chap_server_compute_hash()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_virt.c | 58 rep = kzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_ib_get_vf_config() 101 in = kzalloc(sizeof(*in), GFP_KERNEL); in mlx5_ib_set_vf_link_state() 132 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_ib_get_vf_stats() 160 in = kzalloc(sizeof(*in), GFP_KERNEL); in set_vf_node_guid() 184 in = kzalloc(sizeof(*in), GFP_KERNEL); in set_vf_port_guid()
|
/linux/drivers/pci/hotplug/ |
H A D | ibmphp_pci.c | 155 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() 387 io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device() 424 pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device() 438 mem_tmp = kzalloc(sizeof(*mem_tmp), GFP_KERNEL); in configure_device() 488 mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device() 651 bus_io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_bridge() 683 bus_pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_bridge() [all …]
|
/linux/drivers/clk/sunxi/ |
H A D | clk-sun8i-mbus.c | 47 div = kzalloc(sizeof(*div), GFP_KERNEL); in sun8i_a23_mbus_setup() 51 mux = kzalloc(sizeof(*mux), GFP_KERNEL); in sun8i_a23_mbus_setup() 55 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in sun8i_a23_mbus_setup()
|
/linux/drivers/clk/davinci/ |
H A D | pll.c | 247 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in davinci_pll_div_register() 254 divider = kzalloc(sizeof(*divider), GFP_KERNEL); in davinci_pll_div_register() 437 pllout = kzalloc(sizeof(*pllout), GFP_KERNEL); in davinci_pll_clk_register() 493 pllen = kzalloc(sizeof(*pllen), GFP_KERNEL); in davinci_pll_clk_register() 583 mux = kzalloc(sizeof(*mux), GFP_KERNEL); in davinci_pll_obsclk_register() 591 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in davinci_pll_obsclk_register() 600 divider = kzalloc(sizeof(*divider), GFP_KERNEL); in davinci_pll_obsclk_register() 694 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in davinci_pll_sysclk_register() 701 divider = kzalloc(sizeof(*divider), GFP_KERNEL); in davinci_pll_sysclk_register() 779 clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); in of_davinci_pll_init() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/nvdec/ |
H A D | r535.c | 58 if (!(obj = kzalloc(sizeof(*obj), GFP_KERNEL))) in r535_nvdec_obj_ctor() 93 if (!(rm = kzalloc(sizeof(*rm) + (nclass + 1) * sizeof(rm->sclass[0]), GFP_KERNEL))) in r535_nvdec_new() 104 if (!(*pnvdec = kzalloc(sizeof(**pnvdec), GFP_KERNEL))) { in r535_nvdec_new()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/ |
H A D | r535.c | 58 if (!(obj = kzalloc(sizeof(*obj), GFP_KERNEL))) in r535_nvenc_obj_ctor() 93 if (!(rm = kzalloc(sizeof(*rm) + (nclass + 1) * sizeof(rm->sclass[0]), GFP_KERNEL))) in r535_nvenc_new() 104 if (!(*pnvenc = kzalloc(sizeof(**pnvenc), GFP_KERNEL))) { in r535_nvenc_new()
|
/linux/drivers/pnp/pnpbios/ |
H A D | proc.c | 81 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()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dce110/ |
H A D | dce110_resource.c | 515 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce110_timing_generator_create() 529 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce110_stream_encoder_create() 562 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce110_hwseq_create() 607 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce110_mem_input_create() 631 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce110_transform_create() 644 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce110_ipp_create() 668 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce110_link_encoder_create() 689 kzalloc(sizeof(struct dce_panel_cntl), GFP_KERNEL); in dce110_panel_cntl_create() 708 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce110_opp_create() 723 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce110_aux_engine_create() [all …]
|