Home
last modified time | relevance | path

Searched refs:kmalloc (Results 1 – 25 of 145) sorted by relevance

123456

/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()
H A Did_table.c101 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof(long), in c4iw_id_table_alloc()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c267 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_ext_port_caps()
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()
381 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_desc()
406 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_node_guid()
432 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_pkey()
461 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_gids()
509 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx5_query_mad_ifc_port()
H A Dmlx5_ib_doorbell.c54 page = kmalloc(sizeof(*page), GFP_KERNEL); in mlx5_ib_db_map_user()
/freebsd/sys/dev/mthca/
H A Dmthca_allocator.c93 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long), in mthca_alloc_init()
165 array->page_list = kmalloc(npage * sizeof *array->page_list, GFP_KERNEL); in mthca_array_init()
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()
238 buf->page_list = kmalloc(npages * sizeof *buf->page_list, in mthca_buf_alloc()
H A Dmthca_memfree.c147 icm = kmalloc(sizeof *icm, gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN)); in mthca_alloc_icm()
158 chunk = kmalloc(sizeof *chunk, in mthca_alloc_icm()
369 table = kmalloc(sizeof *table + num_icm * sizeof *table->icm, GFP_KERNEL); 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()
705 dev->db_tab = kmalloc(sizeof *dev->db_tab, GFP_KERNEL); in mthca_init_db_tab()
715 dev->db_tab->page = kmalloc(dev->db_tab->npages * in mthca_init_db_tab()
H A Dmthca_reset.c105 hca_header = kmalloc(256, GFP_KERNEL); in mthca_reset()
129 bridge_header = kmalloc(256, GFP_KERNEL); in mthca_reset()
H A Dmthca_provider.c72 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
145 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_port()
241 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_pkey()
270 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_gid()
686 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC); in mthca_alloc_resize_buf()
831 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_get_dma_mr()
873 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_reg_user_mr()
966 fmr = kmalloc(sizeof *fmr, GFP_KERNEL); in mthca_alloc_fmr()
1076 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h44 #define kmalloc(size, flags) lkpi_kmalloc(size, flags) macro
45 #define kvmalloc(size, flags) kmalloc(size, flags)
46 #define kvzalloc(size, flags) kmalloc(size, (flags) | __GFP_ZERO)
48 #define kzalloc(size, flags) kmalloc(size, (flags) | __GFP_ZERO)
H A Dstring.h95 dst = kmalloc(len, gfp); in kmemdup()
131 retval = kmalloc(len, gfp); in kstrdup()
144 retval = kmalloc(len + 1, gfp); in kstrndup()
H A Dkfifo.h104 (_kf)->head = kmalloc(sizeof(__typeof(*(_kf)->head)) * (_s), _gfp); \
/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/dev/rtw88/
H A Defuse.c156 phy_map = kmalloc(phy_size, GFP_KERNEL); in rtw_parse_efuse_map()
157 log_map = kmalloc(log_size, GFP_KERNEL); in rtw_parse_efuse_map()
H A Dutil.c124 stas_entry = kmalloc(sizeof(*stas_entry), GFP_ATOMIC); in rtw_collect_sta_iter()
174 vifs_entry = kmalloc(sizeof(*vifs_entry), GFP_ATOMIC); in rtw_collect_vif_iter()
/freebsd/sys/contrib/xz-embedded/linux/lib/
H A Ddecompress_unxz.c153 #undef kmalloc
157 #define kmalloc(size, flags) malloc(size) macro
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_roce_gid_mgmt.c347 work = kmalloc(sizeof(*work), GFP_ATOMIC); in roce_gid_queue_scan_event()
377 work = kmalloc(sizeof(*work), GFP_ATOMIC); in roce_gid_delete_all_event()
443 struct roce_rescan_work *work = kmalloc(sizeof(*work), GFP_KERNEL); in roce_rescan_device()
H A Dib_fmr_pool.c237 pool = kmalloc(sizeof *pool, GFP_KERNEL); in ib_create_fmr_pool()
250 kmalloc(IB_FMR_HASH_SIZE * sizeof *pool->cache_bucket, in ib_create_fmr_pool()
295 fmr = kmalloc(bytes_per_fmr, GFP_KERNEL); in ib_create_fmr_pool()
/freebsd/sys/contrib/xz-embedded/freebsd/
H A Dxz_config.h56 #define kmalloc(size, flags) xz_malloc(size) macro
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dqat.c51 *pp_mem_addr = kmalloc(size_bytes, GFP_KERNEL); in qat_mem_alloc_contig()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c296 port_gid_table->gids[free].ctx = kmalloc(sizeof(*port_gid_table->gids[free].ctx), GFP_ATOMIC); in mlx4_ib_add_gid()
314 gids = kmalloc(sizeof(*gids) * MLX4_MAX_PORT_GIDS, GFP_ATOMIC); in mlx4_ib_add_gid()
369 gids = kmalloc(sizeof(*gids) * MLX4_MAX_PORT_GIDS, GFP_ATOMIC); in mlx4_ib_del_gid()
469 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device()
602 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in ib_link_query_port()
780 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_gid()
863 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx4_ib_query_sl2vl()
917 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in __mlx4_ib_query_pkey()
1171 xrcd = kmalloc(sizeof *xrcd, GFP_KERNEL); in mlx4_ib_alloc_xrcd()
1799 ib_steering = kmalloc(sizeof(*ib_steering), GFP_KERNEL); in mlx4_ib_mcg_attach()
[all …]
H A Dmlx4_ib_doorbell.c56 page = kmalloc(sizeof *page, GFP_KERNEL); in mlx4_ib_db_map_user()
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_misc_error_stats.c79 misc_counter = kmalloc(PAGE_SIZE, GFP_KERNEL); in adf_misc_error_add_c4xxx()
/freebsd/sys/contrib/xz-embedded/userspace/
H A Dxz_config.h45 #define kmalloc(size, flags) malloc(size) macro
/freebsd/contrib/libucl/klib/
H A Dkhash.h182 #ifndef kmalloc
183 #define kmalloc(Z) malloc(Z) macro
253 new_flags = (khint32_t*)kmalloc(__ac_fsize(new_n_buckets) * sizeof(khint32_t)); \
/freebsd/sys/contrib/dev/athk/
H A Ddfs_pattern_detector.c203 cd = kmalloc(sizeof(*cd), GFP_ATOMIC); in channel_detector_create()
362 dpd = kmalloc(sizeof(*dpd), GFP_KERNEL); in dfs_pattern_detector_init()

123456