Home
last modified time | relevance | path

Searched refs:GFP_KERNEL (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/freebsd/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()
267 out_mad = kmalloc(sizeof(*out_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()
314 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_system_image_guid()
336 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_max_pkeys()
358 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_vendor_id()
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()
[all …]
/freebsd/sys/dev/mthca/
H A Dmthca_allocator.c94 GFP_KERNEL); in mthca_alloc_init()
165 array->page_list = kmalloc(npage * sizeof *array->page_list, GFP_KERNEL); in mthca_array_init()
210 size, &t, GFP_KERNEL); in mthca_buf_alloc()
223 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); in mthca_buf_alloc()
234 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); in mthca_buf_alloc()
239 GFP_KERNEL); in mthca_buf_alloc()
249 &t, GFP_KERNEL); in mthca_buf_alloc()
H A Dmthca_provider.c71 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_device()
72 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
144 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_port()
145 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_port()
240 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_pkey()
485 qp = kzalloc(sizeof(*qp), GFP_KERNEL); in mthca_create_qp()
543 qp = kzalloc(sizeof(*qp), GFP_KERNEL); in mthca_create_qp()
831 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_get_dma_mr()
873 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_reg_user_mr()
894 pages = (u64 *) __get_free_page(GFP_KERNEL); in mthca_reg_user_mr()
[all …]
H A Dmthca_memfree.c234 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mthca_table_get()
369 table = kmalloc(sizeof *table + num_icm * sizeof *table->icm, GFP_KERNEL); in mthca_alloc_icm_table()
390 (use_lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mthca_alloc_icm_table()
531 db_tab = kmalloc(sizeof *db_tab + npages * sizeof *db_tab->page, GFP_KERNEL); in mthca_init_user_db_tab()
626 &page->mapping, GFP_KERNEL); in mthca_alloc_db()
705 dev->db_tab = kmalloc(sizeof *dev->db_tab, GFP_KERNEL); in mthca_init_db_tab()
717 GFP_KERNEL); in mthca_init_db_tab()
H A Dmthca_cmd.c559 GFP_KERNEL); in mthca_cmd_use_events()
666 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_map_cmd()
804 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_QUERY_FW()
899 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_ENABLE_LAM()
954 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_QUERY_DDR()
1060 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_QUERY_DEV_LIM()
1283 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_QUERY_ADAPTER()
1357 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_INIT_HCA()
1460 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_INIT_IB()
1514 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_SET_IB()
[all …]
H A Dmthca_mcg.c72 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in find_mgm()
131 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_multicast_attach()
224 mailbox = mthca_alloc_mailbox(dev, GFP_KERNEL); in mthca_multicast_detach()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dresource.c125 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
136 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
142 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
164 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_put_cqid()
195 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
206 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
212 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
234 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_put_qpid()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h51 #define vzalloc(size) __vmalloc(size, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, 0)
54 #define vmalloc_node(size, node) __vmalloc_node(size, GFP_KERNEL, node)
55 #define vmalloc_user(size) __vmalloc(size, GFP_KERNEL | __GFP_ZERO, 0)
56 #define vmalloc(size) __vmalloc(size, GFP_KERNEL, 0)
/freebsd/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_eswitch.c230 match_v = kzalloc(MLX5_ST_SZ_BYTES(fte_match_param), GFP_KERNEL); in esw_fdb_set_vport_rule()
231 match_c = kzalloc(MLX5_ST_SZ_BYTES(fte_match_param), GFP_KERNEL); in esw_fdb_set_vport_rule()
524 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list()
556 GFP_KERNEL); in esw_update_vport_addr_list()
809 match_v = kzalloc(MLX5_ST_SZ_BYTES(fte_match_param), GFP_KERNEL); in esw_vport_ingress_config()
810 match_c = kzalloc(MLX5_ST_SZ_BYTES(fte_match_param), GFP_KERNEL); in esw_vport_ingress_config()
865 match_v = kzalloc(MLX5_ST_SZ_BYTES(fte_match_param), GFP_KERNEL); in esw_vport_egress_config()
866 match_c = kzalloc(MLX5_ST_SZ_BYTES(fte_match_param), GFP_KERNEL); in esw_vport_egress_config()
1092 esw = kzalloc(sizeof(*esw), GFP_KERNEL); in mlx5_eswitch_init()
1099 sizeof(uintptr_t), GFP_KERNEL); in mlx5_eswitch_init()
[all …]
H A Dmlx5_alloc.c82 GFP_KERNEL); in mlx5_buf_alloc()
154 pgdir = kzalloc(sizeof(*pgdir), GFP_KERNEL); in mlx5_alloc_db_pgdir()
158 pgdir->fw_page = mlx5_fwp_alloc(dev, GFP_KERNEL, 1); in mlx5_alloc_db_pgdir()
H A Dmlx5_fs_counters.c242 bulk_query_out_tmp = kzalloc(max_out_len, GFP_KERNEL); in mlx5_fc_stats_bulk_query_size_increase()
315 counter = kzalloc(sizeof(*counter), GFP_KERNEL); in mlx5_fc_single_alloc()
361 idr_preload(GFP_KERNEL); in mlx5_fc_create_ex()
430 fc_stats->bulk_query_out = kzalloc(init_out_len, GFP_KERNEL); in mlx5_init_fc_stats()
555 bulk = kvzalloc(struct_size(bulk, fcs, bulk_len), GFP_KERNEL); in mlx5_fc_bulk_create()
560 GFP_KERNEL); in mlx5_fc_bulk_create()
H A Dmlx5_diag_cnt.c49 ptr = kmalloc(sizeof(ptr[0]) * max, GFP_KERNEL); in mlx5_sysctl_counter_id()
302 GFP_KERNEL); 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()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mr.c66 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx4_ib_get_dma_mr()
103 pages = (u64 *) __get_free_page(GFP_KERNEL); in mlx4_ib_umem_write_mtt()
147 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx4_ib_reg_user_mr()
294 mr->pages = (__be64 *)get_zeroed_page(GFP_KERNEL); in mlx4_alloc_priv_pages()
350 mw = kmalloc(sizeof(*mw), GFP_KERNEL); in mlx4_ib_alloc_mw()
397 mr = kzalloc(sizeof(*mr), GFP_KERNEL); in mlx4_ib_alloc_mr()
437 fmr = kmalloc(sizeof *fmr, GFP_KERNEL); in mlx4_ib_fmr_alloc()
H A Dmlx4_ib_srq.c132 err = mlx4_db_alloc(dev->dev, &srq->db, 0, GFP_KERNEL); in mlx4_ib_create_srq()
139 GFP_KERNEL)) { in mlx4_ib_create_srq()
164 err = mlx4_buf_write_mtt(dev->dev, &srq->mtt, &srq->buf, GFP_KERNEL); in mlx4_ib_create_srq()
169 GFP_KERNEL | __GFP_NOWARN); in mlx4_ib_create_srq()
172 GFP_KERNEL, 0 /*PAGE_KERNEL*/); in mlx4_ib_create_srq()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_umem.c118 umem = kzalloc(sizeof *umem, GFP_KERNEL); in ib_umem_get()
149 page_list = (struct page **) __get_free_page(GFP_KERNEL); in ib_umem_get()
155 vma_list = (struct vm_area_struct **) __get_free_page(GFP_KERNEL); in ib_umem_get()
170 ret = sg_alloc_table(&umem->sg_head, npages, GFP_KERNEL); in ib_umem_get()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_firmware.c76 KASSERT(gfp == GFP_KERNEL, ("%s: gfp %#x\n", __func__, gfp)); in _linuxkpi_request_firmware()
201 return (_linuxkpi_request_firmware(fw_name, fw, dev, GFP_KERNEL, false, in linuxkpi_request_firmware()
210 return (_linuxkpi_request_firmware(fw_name, fw, dev, GFP_KERNEL, false, in linuxkpi_firmware_request_nowarn()
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()
/freebsd/sys/contrib/dev/rtw89/
H A Defuse.c252 phy_map = kmalloc(phy_size, GFP_KERNEL); in rtw89_parse_efuse_map()
253 log_map = kmalloc(full_log_size, GFP_KERNEL); in rtw89_parse_efuse_map()
255 dav_phy_map = kmalloc(dav_phy_size, GFP_KERNEL); in rtw89_parse_efuse_map()
313 phycap_map = kmalloc(phycap_size, GFP_KERNEL); in rtw89_parse_phycap_map()
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Dpnvm.c242 *data = kmemdup(pnvm->data, pnvm->size, GFP_KERNEL); in iwl_pnvm_get_from_fs()
264 image = kmemdup(package->data, *len, GFP_KERNEL); in iwl_get_pnvm_image()
299 pnvm_data = kzalloc(sizeof(*pnvm_data), GFP_KERNEL); in iwl_pnvm_load_pnvm_to_trans()
342 pnvm_data = kzalloc(sizeof(*pnvm_data), GFP_KERNEL); in iwl_pnvm_load_reduce_power_to_trans()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem.c147 if ((lflags & GFP_KERNEL) == GFP_KERNEL) in spl_kvmalloc()
276 if ((lflags & GFP_KERNEL) == GFP_KERNEL)
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dctxt-info.c23 result = dma_alloc_coherent(trans->dev, size, phys, GFP_KERNEL); in _iwl_pcie_ctxt_info_dma_alloc_coherent()
102 dram->fw = kcalloc(umac_cnt + lmac_cnt, sizeof(*dram->fw), GFP_KERNEL); in iwl_pcie_init_fw_sec()
105 dram->paging = kcalloc(paging_cnt, sizeof(*dram->paging), GFP_KERNEL); in iwl_pcie_init_fw_sec()
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-drv.c286 GFP_KERNEL, drv, iwl_req_fw_callback); in iwl_request_firmware()
357 sec_memory = krealloc(img->sec, alloc_size, GFP_KERNEL); in alloc_sec_data()
422 sec = krealloc(img->sec, alloc_size, GFP_KERNEL); in iwl_store_ucode_sec()
1182 n = krealloc(pieces->dbg_mem_tlv, size, GFP_KERNEL); in iwl_parse_tlv_firmware()
1296 GFP_KERNEL); in iwl_parse_tlv_firmware()
1310 kmemdup(tlv_data, tlv_len, GFP_KERNEL); in iwl_parse_tlv_firmware()
1326 kmemdup(tlv_data, tlv_len, GFP_KERNEL); in iwl_parse_tlv_firmware()
1518 pieces = kzalloc(sizeof(*pieces), GFP_KERNEL); in iwl_req_fw_callback()
1634 GFP_KERNEL); in iwl_req_fw_callback()
1680 GFP_KERNEL); in iwl_req_fw_callback()
[all …]
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_auxbus_compat.c147 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s.%s", KBUILD_MODNAME, in auxiliary_driver_register()
150 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s", KBUILD_MODNAME); in auxiliary_driver_register()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_res.c178 GFP_KERNEL); in __alloc_pbl()
717 sgid_tbl->tbl = kcalloc(max, sizeof(*sgid_tbl->tbl), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
721 sgid_tbl->hw_id = kcalloc(max, sizeof(u32), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
725 sgid_tbl->ctx = kcalloc(max, sizeof(void *), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
729 sgid_tbl->vlan = kcalloc(max, sizeof(u8), GFP_KERNEL); in bnxt_qplib_alloc_sgid_tbl()
832 pdt->tbl = kmalloc(bytes, GFP_KERNEL); in bnxt_qplib_alloc_pd_tbl()
974 dpit->app_tbl = kzalloc(dpit->max * sizeof(void*), GFP_KERNEL); in bnxt_qplib_alloc_dpi_tbl()
985 dpit->tbl = kmalloc(bytes, GFP_KERNEL); in bnxt_qplib_alloc_dpi_tbl()
1039 &stats->dma_map, GFP_KERNEL); in bnxt_qplib_alloc_stat_mem()

12345678910>>...15