/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
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 …]
|
D | cmd.c | 177 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() 503 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl1251_cmd_trigger_scan_to()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_cmd.c | 249 ph2c = kzalloc(sizeof(*ph2c), GFP_ATOMIC); in rtw_sitesurvey_cmd() 253 psurveyPara = kzalloc(sizeof(*psurveyPara), GFP_ATOMIC); in rtw_sitesurvey_cmd() 334 pcmd = kzalloc(sizeof(*pcmd), GFP_ATOMIC); in rtw_createbss_cmd() 377 pcmd = kzalloc(sizeof(*pcmd), GFP_ATOMIC); in rtw_joinbss_cmd() 508 param = kzalloc(sizeof(*param), GFP_ATOMIC); in rtw_disassoc_cmd() 517 cmdobj = kzalloc(sizeof(*cmdobj), GFP_ATOMIC); in rtw_disassoc_cmd() 544 ph2c = kzalloc(sizeof(*ph2c), GFP_KERNEL); in rtw_setopmode_cmd() 545 psetop = kzalloc(sizeof(*psetop), GFP_KERNEL); in rtw_setopmode_cmd() 569 ph2c = kzalloc(sizeof(*ph2c), GFP_KERNEL); in rtw_setstakey_cmd() 570 psetstakey_para = kzalloc(sizeof(*psetstakey_para), GFP_KERNEL); in rtw_setstakey_cmd() [all …]
|
/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/ |
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\|
|
/kernel/linux/linux-5.10/scripts/coccinelle/api/ |
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);
|
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\));
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
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() 231 digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash() 237 response = kzalloc(chap->digest_size * 2 + 2, GFP_KERNEL); in chap_server_compute_hash() 243 client_digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash() 249 server_digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash() 259 initiatorchg = kzalloc(CHAP_CHALLENGE_STR_LEN, GFP_KERNEL); in chap_server_compute_hash() 265 initiatorchg_binhex = kzalloc(CHAP_CHALLENGE_STR_LEN, GFP_KERNEL); in chap_server_compute_hash()
|
/kernel/linux/linux-5.10/fs/btrfs/tests/ |
D | btrfs-tests.c | 93 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in btrfs_alloc_dummy_device() 112 struct btrfs_fs_info *fs_info = kzalloc(sizeof(struct btrfs_fs_info), in btrfs_alloc_dummy_fs_info() 117 fs_info->fs_devices = kzalloc(sizeof(struct btrfs_fs_devices), in btrfs_alloc_dummy_fs_info() 125 fs_info->super_copy = kzalloc(sizeof(struct btrfs_super_block), in btrfs_alloc_dummy_fs_info() 209 cache = kzalloc(sizeof(*cache), GFP_KERNEL); in btrfs_alloc_dummy_block_group() 212 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl), in btrfs_alloc_dummy_block_group()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
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()
|
/kernel/linux/linux-5.10/drivers/clk/imx/ |
D | clk-composite-7ulp.c | 38 mux = kzalloc(sizeof(*mux), GFP_KERNEL); in imx7ulp_clk_hw_composite() 48 fd = kzalloc(sizeof(*fd), GFP_KERNEL); in imx7ulp_clk_hw_composite() 65 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in imx7ulp_clk_hw_composite()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | ib_virt.c | 59 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() 183 in = kzalloc(sizeof(*in), GFP_KERNEL); in set_vf_port_guid()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | hmdfs_client.c | 38 struct open_request *open_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_open() 79 struct release_request *release_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_send_close() 101 kzalloc(sizeof(struct fsync_request), GFP_KERNEL); in hmdfs_send_fsync() 129 struct readpage_request *read_data = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_readpage() 357 struct writepage_request *write_data = kzalloc(send_len, GFP_NOFS); in hmdfs_client_writepage() 419 struct readdir_request *req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_readdir() 462 struct mkdir_request *mkdir_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_mkdir() 509 struct create_request *create_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_create() 555 struct rmdir_request *rmdir_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_rmdir() 584 struct unlink_request *unlink_req = kzalloc(send_len, GFP_KERNEL); in hmdfs_client_start_unlink() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
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()
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
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() 186 buf = kzalloc(12, GFP_KERNEL); in avc_bridgeco_get_plug_section_type() 223 buf = kzalloc(18, GFP_KERNEL); in avc_bridgeco_get_plug_input()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | airq.c | 47 airq->lsi_ptr = kzalloc(1, GFP_KERNEL); in register_adapter_interrupt() 133 iv = kzalloc(sizeof(*iv), GFP_KERNEL); in airq_iv_create() 163 iv->bitlock = kzalloc(size, GFP_KERNEL); in airq_iv_create() 169 iv->ptr = kzalloc(size, GFP_KERNEL); in airq_iv_create() 175 iv->data = kzalloc(size, GFP_KERNEL); in airq_iv_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
D | vkms_plane.c | 25 vkms_state = kzalloc(sizeof(*vkms_state), GFP_KERNEL); in vkms_plane_duplicate_state() 29 composer = kzalloc(sizeof(*composer), GFP_KERNEL); in vkms_plane_duplicate_state() 72 vkms_state = kzalloc(sizeof(*vkms_state), GFP_KERNEL); in vkms_plane_reset() 189 plane = kzalloc(sizeof(*plane), GFP_KERNEL); in vkms_plane_init()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
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() 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
D | bnad_debugfs.c | 48 fw_debug = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_fwtrc() 54 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwtrc() 88 fw_debug = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_fwsave() 94 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwsave() 125 reg_debug = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_reg() 188 drv_info = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_drvinfo() 194 drv_info->debug_buffer = kzalloc(drv_info->buffer_len, GFP_KERNEL); in bnad_debugfs_open_drvinfo() 330 bnad->regdata = kzalloc(len << 2, GFP_KERNEL); in bnad_debugfs_write_regrd()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 470 kzalloc(sizeof(struct dce110_timing_generator), GFP_KERNEL); in dce100_timing_generator_create() 484 kzalloc(sizeof(struct dce110_stream_encoder), GFP_KERNEL); in dce100_stream_encoder_create() 512 struct dce_hwseq *hws = kzalloc(sizeof(struct dce_hwseq), GFP_KERNEL); in dce100_hwseq_create() 565 struct dce_mem_input *dce_mi = kzalloc(sizeof(struct dce_mem_input), in dce100_mem_input_create() 589 kzalloc(sizeof(struct dce_transform), GFP_KERNEL); in dce100_transform_create() 602 struct dce_ipp *ipp = kzalloc(sizeof(struct dce_ipp), GFP_KERNEL); in dce100_ipp_create() 625 kzalloc(sizeof(struct dce110_link_encoder), GFP_KERNEL); in dce100_link_encoder_create() 646 kzalloc(sizeof(struct dce_panel_cntl), GFP_KERNEL); in dce100_panel_cntl_create() 665 kzalloc(sizeof(struct dce110_opp), GFP_KERNEL); in dce100_opp_create() 680 kzalloc(sizeof(struct aux_engine_dce110), GFP_KERNEL); in dce100_aux_engine_create() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | mobility.c | 96 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property() 107 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_dt_property() 118 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); in update_dt_property() 154 rtas_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in update_dt_node() 266 rtas_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in pseries_devicetree_update()
|