Home
last modified time | relevance | path

Searched refs:kzalloc_objs (Results 1 – 25 of 1504) sorted by relevance

12345678910>>...61

/linux/drivers/gpu/drm/amd/amdgpu/
H A Disp_v4_1_0.c53 isp->isp_cell = kzalloc_objs(struct mfd_cell, 3, GFP_KERNEL); in isp_v4_1_0_hw_init()
62 isp->isp_res = kzalloc_objs(struct resource, num_res, GFP_KERNEL); in isp_v4_1_0_hw_init()
109 isp->isp_i2c_res = kzalloc_objs(struct resource, 1, GFP_KERNEL); in isp_v4_1_0_hw_init()
129 isp->isp_gpio_res = kzalloc_objs(struct resource, 1, GFP_KERNEL); in isp_v4_1_0_hw_init()
H A Damdgpu_acp.c263 adev->acp.acp_cell = kzalloc_objs(struct mfd_cell, 2, in acp_hw_init()
270 adev->acp.acp_res = kzalloc_objs(struct resource, 3, GFP_KERNEL); in acp_hw_init()
276 i2s_pdata = kzalloc_objs(struct i2s_platform_data, 1, in acp_hw_init()
328 adev->acp.acp_cell = kzalloc_objs(struct mfd_cell, ACP_DEVS, in acp_hw_init()
336 adev->acp.acp_res = kzalloc_objs(struct resource, 5, GFP_KERNEL); in acp_hw_init()
342 i2s_pdata = kzalloc_objs(struct i2s_platform_data, 3, in acp_hw_init()
H A Disp_v4_1_1.c262 isp->isp_cell = kzalloc_objs(struct mfd_cell, 3, GFP_KERNEL); in isp_v4_1_1_hw_init()
271 isp->isp_res = kzalloc_objs(struct resource, num_res, GFP_KERNEL); in isp_v4_1_1_hw_init()
320 isp->isp_i2c_res = kzalloc_objs(struct resource, 1, GFP_KERNEL); in isp_v4_1_1_hw_init()
339 isp->isp_gpio_res = kzalloc_objs(struct resource, 1, GFP_KERNEL); in isp_v4_1_1_hw_init()
H A Damdgpu_umc.c61 kzalloc_objs(struct eeprom_table_record, in amdgpu_umc_page_retirement_mca()
108 kzalloc_objs(struct eeprom_table_record, in amdgpu_umc_handle_bad_pages()
134 kzalloc_objs(struct eeprom_table_record, in amdgpu_umc_handle_bad_pages()
165 kzalloc_objs(struct eeprom_table_record, in amdgpu_umc_handle_bad_pages()
556 err_data.err_addr = kzalloc_objs(struct eeprom_table_record, in amdgpu_umc_lookup_bad_pages_in_a_row()
/linux/lib/
H A Dgroup_cpus.c50 masks = kzalloc_objs(cpumask_var_t, nr_node_ids, GFP_KERNEL); in alloc_node_to_cpumask()
323 clusters = kzalloc_objs(*clusters, ncluster, GFP_KERNEL); in alloc_cluster_groups()
326 cluster_groups = kzalloc_objs(struct node_groups, ncluster, GFP_KERNEL); in alloc_cluster_groups()
435 node_groups = kzalloc_objs(struct node_groups, nr_node_ids, GFP_KERNEL); in __group_cpus_evenly()
509 masks = kzalloc_objs(*masks, numgrps, GFP_KERNEL); in group_cpus_evenly()
575 masks = kzalloc_objs(*masks, numgrps, GFP_KERNEL); in group_cpus_evenly()
H A Dtest_memcat_p.c27 in0 = kzalloc_objs(*in0, INPUT_MAX, GFP_KERNEL); in test_memcat_p_init()
31 in1 = kzalloc_objs(*in1, INPUT_MAX, GFP_KERNEL); in test_memcat_p_init()
/linux/drivers/xen/
H A Darm-device.c62 gpfns = kzalloc_objs(xen_pfn_t, nr, GFP_KERNEL); in xen_map_device_mmio()
63 idxs = kzalloc_objs(xen_ulong_t, nr, GFP_KERNEL); in xen_map_device_mmio()
64 errs = kzalloc_objs(int, nr, GFP_KERNEL); in xen_map_device_mmio()
H A Dxen-front-pgdir-shbuf.c208 unmap_ops = kzalloc_objs(*unmap_ops, buf->num_pages, GFP_KERNEL); in backend_unmap()
252 map_ops = kzalloc_objs(*map_ops, buf->num_pages, GFP_KERNEL); in backend_map()
256 buf->backend_map_handles = kzalloc_objs(*buf->backend_map_handles, in backend_map()
475 buf->grefs = kzalloc_objs(*buf->grefs, buf->num_grefs, GFP_KERNEL); in alloc_storage()
/linux/drivers/base/regmap/
H A Dregmap-ram.c69 data->read = kzalloc_objs(bool, config->max_register + 1, GFP_KERNEL); in __regmap_init_ram()
73 data->written = kzalloc_objs(bool, config->max_register + 1, GFP_KERNEL); in __regmap_init_ram()
H A Dregmap-raw-ram.c126 data->read = kzalloc_objs(bool, config->max_register + 1, GFP_KERNEL); in __regmap_init_raw_ram()
130 data->written = kzalloc_objs(bool, config->max_register + 1, GFP_KERNEL); in __regmap_init_raw_ram()
/linux/kernel/rcu/
H A Drcuscale.c758 alloc_ptr = kzalloc_objs(struct kfree_obj, kfree_mult, in kfree_scale_thread()
912 kfree_reader_tasks = kzalloc_objs(kfree_reader_tasks[0], in kfree_scale_init()
1133 reader_tasks = kzalloc_objs(reader_tasks[0], nrealreaders, GFP_KERNEL); in rcu_scale_init()
1147 writer_tasks = kzalloc_objs(writer_tasks[0], nrealwriters, GFP_KERNEL); in rcu_scale_init()
1149 writer_n_durations = kzalloc_objs(*writer_n_durations, nrealwriters, in rcu_scale_init()
1151 writer_done = kzalloc_objs(writer_done[0], nrealwriters, GFP_KERNEL); in rcu_scale_init()
1160 writer_freelists = kzalloc_objs(writer_freelists[0], in rcu_scale_init()
1182 wflp->ws_mblocks = kzalloc_objs(wflp->ws_mblocks[0], in rcu_scale_init()
/linux/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c171 sgs = kzalloc_objs(*sgs, of_get_child_count(sg), GFP_KERNEL); in opal_sensor_groups_init()
193 sgs[i].sgattrs = kzalloc_objs(*sgs[i].sgattrs, nr_attrs, in opal_sensor_groups_init()
198 sgs[i].sg.attrs = kzalloc_objs(*sgs[i].sg.attrs, nr_attrs + 1, in opal_sensor_groups_init()
H A Dopal-powercap.c153 pcaps = kzalloc_objs(*pcaps, of_get_child_count(powercap), GFP_KERNEL); in opal_powercap_init()
184 pcaps[i].pattrs = kzalloc_objs(struct powercap_attr, j, in opal_powercap_init()
189 pcaps[i].pg.attrs = kzalloc_objs(struct attribute *, j + 1, in opal_powercap_init()
/linux/lib/crypto/mpi/
H A Dmpiutil.c96 p = kzalloc_objs(mpi_limb_t, nlimbs, GFP_KERNEL); in mpi_resize()
103 a->d = kzalloc_objs(mpi_limb_t, nlimbs, GFP_KERNEL); in mpi_resize()
/linux/arch/x86/platform/geode/
H A Dgeode-common.c116 swnodes = kzalloc_objs(*swnodes, n_leds, GFP_KERNEL); in geode_create_leds()
124 props = kzalloc_objs(*props, n_leds * 3, GFP_KERNEL); in geode_create_leds()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_controlq_setup.c43 cq->bi.rx_buff = kzalloc_objs(struct idpf_dma_mem *, cq->ring_size, in idpf_ctlq_alloc_bufs()
53 cq->bi.rx_buff[i] = kzalloc_objs(struct idpf_dma_mem, num, in idpf_ctlq_alloc_bufs()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_buddy.c19 buddy->bitmap = kzalloc_objs(*buddy->bitmap, buddy->max_order + 1, in mlx5dr_buddy_init()
21 buddy->num_free = kzalloc_objs(*buddy->num_free, buddy->max_order + 1, in mlx5dr_buddy_init()
/linux/drivers/edac/
H A Dedac_device.c74 dev_inst = kzalloc_objs(struct edac_device_instance, nr_instances, in edac_device_alloc_ctl_info()
81 dev_blk = kzalloc_objs(struct edac_device_block, in edac_device_alloc_ctl_info()
651 ras_attr_groups = kzalloc_objs(*ras_attr_groups, attr_gcnt + 1, in edac_dev_register()
657 ctx->scrub = kzalloc_objs(*ctx->scrub, scrub_cnt, GFP_KERNEL); in edac_dev_register()
663 ctx->mem_repair = kzalloc_objs(*ctx->mem_repair, mem_repair_cnt, in edac_dev_register()
/linux/fs/erofs/
H A Dzutil.c82 tmp_pages = kzalloc_objs(*tmp_pages, nrpages, GFP_KERNEL); in z_erofs_gbuf_growsize()
134 z_erofs_gbufpool = kzalloc_objs(*z_erofs_gbufpool, total, GFP_KERNEL); in z_erofs_gbuf_init()
140 z_erofs_rsvbuf->pages = kzalloc_objs(*z_erofs_rsvbuf->pages, in z_erofs_gbuf_init()
/linux/drivers/gpu/drm/
H A Ddrm_client_modeset.c47 client->modesets = kzalloc_objs(*client->modesets, num_crtc + 1, in drm_client_modeset_create()
62 modeset->connectors = kzalloc_objs(*modeset->connectors, in drm_client_modeset_create()
570 crtcs = kzalloc_objs(*crtcs, connector_count, GFP_KERNEL); in drm_client_pick_crtcs()
646 save_enabled = kzalloc_objs(bool, count, GFP_KERNEL); in drm_client_firmware_config()
858 crtcs = kzalloc_objs(*crtcs, connector_count, GFP_KERNEL); in drm_client_modeset_probe()
859 modes = kzalloc_objs(*modes, connector_count, GFP_KERNEL); in drm_client_modeset_probe()
860 offsets = kzalloc_objs(*offsets, connector_count, GFP_KERNEL); in drm_client_modeset_probe()
861 enabled = kzalloc_objs(bool, connector_count, GFP_KERNEL); in drm_client_modeset_probe()
/linux/drivers/platform/x86/x86-android-tablets/
H A Dcore.c450 i2c_clients = kzalloc_objs(*i2c_clients, dev_info->i2c_client_count, in x86_android_tablet_probe()
466 spi_devs = kzalloc_objs(*spi_devs, dev_info->spi_dev_count, GFP_KERNEL); in x86_android_tablet_probe()
482 pdevs = kzalloc_objs(*pdevs, dev_info->pdev_count + 1, GFP_KERNEL); in x86_android_tablet_probe()
498 serdevs = kzalloc_objs(*serdevs, dev_info->serdev_count, GFP_KERNEL); in x86_android_tablet_probe()
/linux/drivers/gpu/drm/msm/
H A Dmsm_syncobj.c22 syncobjs = kzalloc_objs(*syncobjs, nr_in_syncobjs, in msm_syncobj_parse_deps()
97 post_deps = kzalloc_objs(*post_deps, nr_syncobjs, in msm_syncobj_parse_post_deps()
/linux/lib/kunit/
H A Dexecutor.c134 filtered = kzalloc_objs(*filtered, n + 1, GFP_KERNEL); in kunit_filter_glob_tests()
182 copy = kzalloc_objs(*copy, max, GFP_KERNEL); in kunit_filter_suites()
197 parsed_filters = kzalloc_objs(*parsed_filters, filter_count, in kunit_filter_suites()
/linux/security/selinux/ss/
H A Dconditional.c337 list->nodes = kzalloc_objs(*list->nodes, len, GFP_KERNEL); in cond_read_av_list()
386 node->expr.nodes = kzalloc_objs(*node->expr.nodes, len, GFP_KERNEL); in cond_read_node()
424 p->cond_list = kzalloc_objs(*p->cond_list, len, GFP_KERNEL); in cond_read_list()
608 new->nodes = kzalloc_objs(*new->nodes, orig->len, GFP_KERNEL); in cond_dup_av_list()
634 newp->cond_list = kzalloc_objs(*newp->cond_list, origp->cond_list_len, in duplicate_policydb_cond_list()
/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.c68 pa->pa_iova = kzalloc_objs(*pa->pa_iova, len, GFP_KERNEL); in page_array_alloc()
72 pa->pa_page = kzalloc_objs(*pa->pa_page, len, GFP_KERNEL); in page_array_alloc()
326 chain->ch_ccw = kzalloc_objs(*chain->ch_ccw, len, GFP_DMA | GFP_KERNEL); in ccwchain_alloc()
330 chain->ch_pa = kzalloc_objs(*chain->ch_pa, len, GFP_KERNEL); in ccwchain_alloc()
519 idaws = kzalloc_objs(*idaws, idaw_nr, GFP_DMA | GFP_KERNEL); in get_guest_idal()

12345678910>>...61