Home
last modified time | relevance | path

Searched refs:GFP_KERNEL (Results 1 – 25 of 357) 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()
381 out_mad = kmalloc(sizeof(*out_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()
406 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid()
[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()
241 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_pkey()
269 in_mad = kzalloc(sizeof *in_mad, GFP_KERNEL); in mthca_query_gid()
270 out_mad = kmalloc(sizeof *out_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()
[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/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/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_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()
H A Dmlx5_eswitch.c228 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in esw_fdb_set_vport_rule()
358 esw_uc = l2addr_hash_add(hash, mac, struct esw_uc_addr, GFP_KERNEL); in esw_add_uc_addr()
417 esw_mc = l2addr_hash_add(hash, mac, struct esw_mc_addr, GFP_KERNEL); in esw_add_mc_addr()
521 mac_list = kcalloc(size, ETH_ALEN, GFP_KERNEL); in esw_update_vport_addr_list()
553 GFP_KERNEL); in esw_update_vport_addr_list()
808 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in esw_vport_ingress_config()
855 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in esw_vport_egress_config()
1070 esw = kzalloc(sizeof(*esw), GFP_KERNEL); in mlx5_eswitch_init()
1077 sizeof(uintptr_t), GFP_KERNEL); in mlx5_eswitch_init()
1091 GFP_KERNEL); in mlx5_eswitch_init()
/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/iwlwifi/fw/
H A Dpnvm.c255 *data = kvmemdup(pnvm->data, pnvm->size, GFP_KERNEL); in iwl_get_pnvm_image()
279 *len, GFP_KERNEL); in iwl_pnvm_load_pnvm_to_trans()
318 pnvm_data = kzalloc(sizeof(*pnvm_data), GFP_KERNEL); in iwl_pnvm_load_pnvm_to_trans()
361 pnvm_data = kzalloc(sizeof(*pnvm_data), GFP_KERNEL); in iwl_pnvm_load_reduce_power_to_trans()
/freebsd/sys/contrib/dev/rtw89/
H A Defuse.c257 phy_map = kmalloc(phy_size, GFP_KERNEL); in rtw89_parse_efuse_map()
258 log_map = kmalloc(full_log_size, GFP_KERNEL); in rtw89_parse_efuse_map()
260 dav_phy_map = kmalloc(dav_phy_size, GFP_KERNEL); in rtw89_parse_efuse_map()
318 phycap_map = kmalloc(phycap_size, GFP_KERNEL); in rtw89_parse_phycap_map()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem.c144 if ((lflags & GFP_KERNEL) == GFP_KERNEL) in spl_kvmalloc()
272 if ((lflags & GFP_KERNEL) == GFP_KERNEL)
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec_fs.c313 flow_group_in = kvzalloc(inlen, GFP_KERNEL); in ipsec_miss_create()
314 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in ipsec_miss_create()
415 reformatbf = kzalloc(bfflen, GFP_KERNEL); in setup_pkt_transport_reformat()
534 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_add_rule()
742 in = kvzalloc(MLX5_ST_SZ_BYTES(create_flow_group_in), GFP_KERNEL); in ipsec_tx_create_roce()
804 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in tx_create_kspi_bypass_rules()
1130 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in tx_add_kspi_rule()
1165 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in tx_add_reqid_ip_rules()
1291 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in tx_add_policy()
1369 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_add_policy()
[all …]
/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.c291 GFP_KERNEL, drv, iwl_req_fw_callback); in iwl_request_firmware()
362 sec_memory = krealloc(img->sec, alloc_size, GFP_KERNEL); in alloc_sec_data()
427 sec = krealloc(img->sec, alloc_size, GFP_KERNEL); in iwl_store_ucode_sec()
1181 n = krealloc(pieces->dbg_mem_tlv, size, GFP_KERNEL); in iwl_parse_tlv_firmware()
1191 drv->fw.iml = kmemdup(tlv_data, tlv_len, GFP_KERNEL); in iwl_parse_tlv_firmware()
1295 GFP_KERNEL); in iwl_parse_tlv_firmware()
1309 kmemdup(tlv_data, tlv_len, GFP_KERNEL); in iwl_parse_tlv_firmware()
1323 kmemdup(tlv_data, tlv_len, GFP_KERNEL); in iwl_parse_tlv_firmware()
1377 sec = kcalloc(pieces->img[type].sec_counter, sizeof(*sec), GFP_KERNEL); in iwl_alloc_ucode()
1517 pieces = kzalloc(sizeof(*pieces), 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()

12345678910>>...15