Home
last modified time | relevance | path

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

1234567

/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);
H A Did_table.c
/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/compat/linuxkpi/common/include/linux/
H A Dslab.h52 #define kzalloc(size, flags) kmalloc(size, (flags) | __GFP_ZERO)
152 kmalloc(size_t size, gfp_t flags) in kmalloc() function
170 kmalloc(sizeof(typeof(_p)), default_gfp(__VA_ARGS__))
173 kmalloc(size_mul((_n) * sizeof(typeof(_p))), default_gfp(__VA_ARGS__))
199 return (kmalloc(size * n, flags)); in kmalloc_array()
H A Dstring.h108 dst = kmalloc(len, gfp); in kmemdup()
150 retval = kmalloc(len, gfp); in kstrdup()
163 retval = kmalloc(len + 1, gfp); in kstrndup()
H A Dkfifo.h123 (_kf)->head = kmalloc(sizeof(__typeof(*(_kf)->head)) * (_s), _gfp); \
/freebsd/sys/dev/mthca/
H A Dmthca_allocator.c
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()
H A Dmthca_reset.c105 hca_header = kmalloc(256, GFP_KERNEL); in mthca_reset()
127 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()
965 fmr = kmalloc(sizeof *fmr, GFP_KERNEL); in mthca_alloc_fmr()
1075 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data()
/freebsd/sys/contrib/dev/rtw89/
H A Defuse.c280 phy_map = kmalloc(phy_size, GFP_KERNEL); in rtw89_parse_efuse_map_ax()
281 log_map = kmalloc(full_log_size, GFP_KERNEL); in rtw89_parse_efuse_map_ax()
283 dav_phy_map = kmalloc(dav_phy_size, GFP_KERNEL); in rtw89_parse_efuse_map_ax()
341 phycap_map = kmalloc(phycap_size, GFP_KERNEL); in rtw89_parse_phycap_map_ax()
H A Defuse_be.c317 log_map = kmalloc(efuse_block->size, GFP_KERNEL); in rtw89_parse_logical_efuse_block_be()
355 phy_map = kmalloc(phy_size, GFP_KERNEL); in rtw89_parse_efuse_map_be()
357 dav_phy_map = kmalloc(dav_phy_size, GFP_KERNEL); in rtw89_parse_efuse_map_be()
412 phycap_map = kmalloc(phycap_size, GFP_KERNEL); in rtw89_parse_phycap_map_be()
/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()
/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()
375 work = kmalloc(sizeof(*work), GFP_ATOMIC); in roce_gid_delete_all_event()
439 struct roce_rescan_work *work = kmalloc(sizeof(*work), GFP_KERNEL);
H A Dib_fmr_pool.c237 pool = kmalloc(sizeof *pool, GFP_KERNEL); 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.c52 *pp_mem_addr = kmalloc(size_bytes, GFP_KERNEL); in qat_mem_alloc_contig()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c292 port_gid_table->gids[free].ctx = kmalloc(sizeof(*port_gid_table->gids[free].ctx), GFP_ATOMIC); in mlx4_ib_add_gid()
455 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_device()
588 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_port_link_layer()
766 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_query_port()
835 out_mad = kmalloc(sizeof(*out_mad), GFP_KERNEL); in mlx4_ib_query_gid()
889 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_init_sl2vl_tbl()
1143 xrcd = kmalloc(sizeof *xrcd, GFP_KERNEL); in mlx4_ib_alloc_pd()
1771 ib_steering = kmalloc(sizeof(*ib_steering), GFP_KERNEL); in mlx4_ib_destroy_flow()
1908 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mlx4_ib_mcg_detach()
2595 new_counter_index = kmalloc(sizeo in mlx4_ib_add()
[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.c83 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/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c251 return (kmalloc(size, flags)); in lkpi_krealloc()
272 nptr = kmalloc(size, flags); in lkpi_krealloc()
/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)); \

1234567