Home
last modified time | relevance | path

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

1234567891011

/src/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mad.c45 in = kzalloc(inlen, GFP_KERNEL); in mlx5_core_mad_ifc()
46 out = kzalloc(outlen, GFP_KERNEL); in mlx5_core_mad_ifc()
H A Dmlx5_port.c1120 in = kzalloc(sz, GFP_KERNEL); in mlx5_set_dscp2prio()
1121 out = kzalloc(sz, GFP_KERNEL); in mlx5_set_dscp2prio()
1157 in = kzalloc(sz, GFP_KERNEL); in mlx5_query_dscp2prio()
1158 out = kzalloc(sz, GFP_KERNEL); in mlx5_query_dscp2prio()
1406 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_pbmc()
1423 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_set_pbmc()
1444 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_priority2buffer()
1445 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_priority2buffer()
1476 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_set_priority2buffer()
1477 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_set_priority2buffer()
H A Dmlx5_diag_cnt.c301 diag_cnt->cnt_id = kzalloc(sizeof(*diag_cnt->cnt_id) * num_counters, in get_supported_cnt_ids()
374 in = kzalloc(in_sz, GFP_KERNEL); in mlx5_diag_set_params()
435 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_diag_query_params()
487 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_diag_query_counters()
H A Dmlx5_fs_ft_pool.c29 ft_pool = kzalloc(sizeof(*ft_pool), GFP_KERNEL); in mlx5_ft_pool_init()
H A Dmlx5_vport.c741 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_query_nic_vport_mac_list()
798 in = kzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_mac_list()
853 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_query_nic_vport_vlans()
908 in = kzalloc(in_sz, GFP_KERNEL); in mlx5_modify_nic_vport_vlans()
944 out = kzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_roce_en()
1235 in = kzalloc(in_sz, GFP_KERNEL); in mlx5_query_hca_vport_pkey()
1236 out = kzalloc(out_sz, GFP_KERNEL); in mlx5_query_hca_vport_pkey()
1461 out = kzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_promisc()
1594 out = kzalloc(outlen, GFP_KERNEL); in mlx5_nic_vport_query_local_lb()
/src/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c266 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
294 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_smp_attr_node_info()
380 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc()
405 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid()
431 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey()
460 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids()
508 in_mad = kzalloc(sizeof(*in_mad), GFP_KERNEL); in mlx5_query_mad_ifc_port()
H A Dmlx5_ib_mr.c165 in = kzalloc(inlen, GFP_KERNEL); in add_keys()
176 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in add_keys()
487 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx5_ib_get_dma_mr()
491 in = kzalloc(inlen, GFP_KERNEL); in mlx5_ib_get_dma_mr()
884 mr = ibmr ? to_mmr(ibmr) : kzalloc(sizeof(*mr), GFP_KERNEL); in reg_create()
1230 mr->descs_alloc = kzalloc(size + add_size, GFP_KERNEL); in mlx5_alloc_priv_descs()
1358 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx5_ib_alloc_mr()
1362 in = kzalloc(inlen, GFP_KERNEL); in mlx5_ib_alloc_mr()
1398 mr->sig = kzalloc(sizeof(*mr->sig), GFP_KERNEL); in mlx5_ib_alloc_mr()
1489 mw = kzalloc(sizeof(*mw), GFP_KERNEL); in mlx5_ib_alloc_mw()
[all …]
/src/sys/dev/qat/qat_common/
H A Dadf_gen4_timer.c67 hb_timer_data = kzalloc(sizeof(*hb_timer_data), GFP_ATOMIC); in timer_handler()
93 int_timer = kzalloc(sizeof(*int_timer), GFP_KERNEL); in adf_int_timer_init()
H A Dadf_aer.c238 reset_data = kzalloc(sizeof(*reset_data), GFP_ATOMIC); in adf_dev_aer_schedule_reset()
302 wq_data = kzalloc(sizeof(*wq_data), GFP_ATOMIC); in adf_notify_fatal_error()
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/cyw/
H A Dcore.c69 fweh = kzalloc(struct_size(fweh, evt_handler, BRCMF_CYW_E_LAST), in brcmf_cyw_alloc_fweh_info()
88 eventmask_msg = kzalloc(msglen, GFP_KERNEL); in brcmf_cyw_activate_events()
137 mf_params = kzalloc(mf_params_len, GFP_KERNEL); in brcmf_cyw_mgmt_tx()
303 mgmt_frame = kzalloc(mgmt_frame_len, GFP_KERNEL); in brcmf_notify_auth_frame_rx()
/src/sys/compat/linuxkpi/common/src/
H A Dlinux_kobject.c42 kobj = kzalloc(sizeof(*kobj), GFP_KERNEL); in kobject_create()
78 name = kzalloc(len, GFP_KERNEL); in kobject_set_name_vargs()
249 kset = kzalloc(sizeof(*kset), GFP_KERNEL); in kset_create()
H A Dlinux_shmemfs.c73 fileobj = kzalloc(sizeof(*fileobj), GFP_KERNEL); in linux_shmem_file_setup()
/src/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c171 #define _kzalloc(size,flags) kzalloc(size,flags) in sdp_seq_open()
172 #undef kzalloc in sdp_seq_open()
173 s = kzalloc(sizeof(*s), GFP_KERNEL); in sdp_seq_open()
174 #define kzalloc(s,f) _kzalloc(s,f) in sdp_seq_open() macro
/src/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_ipsec.c186 context = kzalloc(sizeof(*context), GFP_ATOMIC); in mlx5_fpga_ipsec_sa_cmd_exec()
292 data = kzalloc(sizeof(*data) * count * 2, GFP_KERNEL); in mlx5_fpga_ipsec_counters_read()
330 fdev->ipsec = kzalloc(sizeof(*fdev->ipsec), GFP_KERNEL); in mlx5_fpga_ipsec_init()
H A Dmlx5fpga_xfer.c91 xfer_trans = kzalloc(sizeof(*xfer_trans), GFP_ATOMIC); in exec_more()
226 xfer_state = kzalloc(sizeof(*xfer_state), GFP_KERNEL); in mlx5_fpga_xfer_exec()
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/bca/
H A Dcore.c26 fweh = kzalloc(struct_size(fweh, evt_handler, BRCMF_BCA_E_LAST), in brcmf_bca_alloc_fweh_info()
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/wcc/
H A Dcore.c27 fweh = kzalloc(struct_size(fweh, evt_handler, BRCMF_WCC_E_LAST), in brcmf_wcc_alloc_fweh_info()
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dfirmware.c239 nvp->nvram = kzalloc(size, GFP_KERNEL); in brcmf_init_nvram_parser()
267 nvram = kzalloc(nvp->nvram_len + 1 + 3 + sizeof(u32), GFP_KERNEL); in brcmf_fw_strip_multi_v1()
348 nvram = kzalloc(nvp->nvram_len + 1 + 3 + sizeof(u32), GFP_KERNEL); in brcmf_fw_strip_multi_v2()
792 fwctx = kzalloc(sizeof(*fwctx), GFP_KERNEL); in brcmf_fw_get_firmwares()
852 fwreq = kzalloc(struct_size(fwreq, items, n_fwnames), GFP_KERNEL); in brcmf_fw_alloc_request()
H A Dproto.c26 proto = kzalloc(sizeof(*proto), GFP_ATOMIC); in brcmf_proto_attach()
H A Dflowring.c164 ring = kzalloc(sizeof(*ring), GFP_ATOMIC); in brcmf_flowring_create()
379 flow = kzalloc(sizeof(*flow), GFP_KERNEL); in brcmf_flowring_attach()
507 tdls_entry = kzalloc(sizeof(*tdls_entry), GFP_ATOMIC); in brcmf_flowring_add_tdls_peer()
/src/sys/contrib/dev/athk/ath12k/
H A Dreg.c121 arg = kzalloc(struct_size(arg, channel, num_channels), GFP_KERNEL); in ath12k_reg_update_chan_list()
250 regd_copy = kzalloc(regd_len, GFP_ATOMIC);
424 new_regd = kzalloc(sizeof(*new_regd) + (num_new_regd_rules *
604 tmp_regd = kzalloc(sizeof(*tmp_regd) +
/src/sys/dev/mthca/
H A Dmthca_provider.c71 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device()
144 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_port()
240 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_pkey()
269 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_gid()
485 qp = kzalloc(sizeof(*qp), GFP_KERNEL); in mthca_create_qp()
543 qp = kzalloc(sizeof(*qp), GFP_KERNEL); in mthca_create_qp()
1075 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_init_node_data()
/src/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mr.c66 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx4_ib_get_dma_mr()
147 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx4_ib_reg_user_mr()
397 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx4_ib_alloc_mr()
/src/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_kern_lib.c95 instance = kzalloc(sizeof(*instance), GFP_KERNEL); in vchiq_initialise()
427 waiter = kzalloc(sizeof(struct bulk_waiter_node), GFP_KERNEL); in vchiq_blocking_bulk_transfer()
/src/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_port_buffer.c44 out = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_buffer()
97 in = kzalloc(sz, GFP_KERNEL); in port_set_buffer()

1234567891011