Home
last modified time | relevance | path

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

12345678910>>...16

/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 …]
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dresource.c119 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
130 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
136 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
158 entry = kmalloc(sizeof *entry, GFP_KERNEL);
189 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
200 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
206 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
228 entry = kmalloc(sizeof *entry, GFP_KERNEL);
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dgfp.h69 #define GFP_KERNEL M_WAITOK macro
70 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
87 #define default_gfp(...) __default_gfp(, ##__VA_ARGS__, GFP_KERNEL)
H A Dslab.h72 #define vzalloc(size) __vmalloc(size, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, 0)
75 #define vmalloc_node(size, node) __vmalloc_node(size, GFP_KERNEL, node)
76 #define vmalloc_user(size) __vmalloc(size, GFP_KERNEL | __GFP_ZERO, 0)
77 #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/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dacpi.c25 settings->board_type = devm_kasprintf(dev, GFP_KERNEL, in brcmf_acpi_probe()
37 char *antenna_sku = devm_kzalloc(dev, 3, GFP_KERNEL); in brcmf_acpi_probe()
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()
519 data = kmalloc(data_len, GFP_KERNEL); in brcmf_fw_nvram_from_efi()
662 ret = kasprintf(GFP_KERNEL, "%s.%s%s", base, board_type, suffix); in brcm_alt_fw_path()
742 fwctx->dev, GFP_KERNEL, fwctx, in brcmf_fw_request_done_alt_path()
754 fwctx->dev, GFP_KERNEL, fwctx, in brcmf_fw_request_done_alt_path()
807 fwctx->dev, GFP_KERNEL, fwctx, in brcmf_fw_get_firmwares()
812 fwctx->dev, GFP_KERNEL, fwctx, in brcmf_fw_get_firmwares()
H A Dof.c40 cc = devm_kzalloc(dev, struct_size(cc, table, count), GFP_KERNEL); in brcmf_of_get_country_codes()
107 board_type = devm_kstrdup(dev, tmp, GFP_KERNEL); in brcmf_of_probe()
/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()
/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/contrib/dev/broadcom/brcm80211/brcmfmac/cyw/
H A Dcore.c87 eventmask_msg = kzalloc(msglen, GFP_KERNEL); in brcmf_cyw_activate_events()
136 mf_params = kzalloc(mf_params_len, GFP_KERNEL); in brcmf_cyw_mgmt_tx()
191 GFP_KERNEL); in brcmf_cyw_mgmt_tx()
265 err = cfg80211_external_auth_request(ifp->ndev, &params, GFP_KERNEL); in brcmf_cyw_notify_ext_auth_req()
302 mgmt_frame = kzalloc(mgmt_frame_len, GFP_KERNEL); in brcmf_notify_auth_frame_rx()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_firmware.c77 KASSERT(gfp == GFP_KERNEL, ("%s: gfp %#x\n", __func__, gfp)); in _linuxkpi_request_firmware()
202 return (_linuxkpi_request_firmware(fw_name, fw, dev, GFP_KERNEL, false, in linuxkpi_request_firmware()
211 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/openzfs/module/os/linux/spl/
H A Dspl-kmem.c145 if ((lflags & GFP_KERNEL) == GFP_KERNEL) in spl_kvmalloc()
273 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()
1170 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in tx_add_reqid_ip_rules()
1305 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in tx_add_policy()
1388 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_add_policy()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dnan.c101 conf->vendor_elems_len, GFP_KERNEL); in iwl_mld_nan_config()
234 cfg80211_nan_cluster_joined(wdev, cluster_id, new_cluster, GFP_KERNEL); in iwl_mld_handle_nan_cluster_notif()
298 cfg80211_next_nan_dw_notif(wdev, chan, GFP_KERNEL); in iwl_mld_handle_nan_dw_end_notif()
/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>>...16