Home
last modified time | relevance | path

Searched refs:kvzalloc_objs (Results 1 – 25 of 77) sorted by relevance

1234

/linux/security/apparmor/
H A Dpolicy_compat.c161 table = kvzalloc_objs(struct aa_perms, state_count * 2); in compute_fperms()
185 perms = kvzalloc_objs(struct aa_perms, state_count); in compute_xmatch_perms()
260 table = kvzalloc_objs(struct aa_perms, state_count); in compute_perms()
/linux/kernel/bpf/
H A Dcfg.c593 insn_state = env->cfg.insn_state = kvzalloc_objs(int, insn_cnt, in bpf_check_cfg()
598 insn_stack = env->cfg.insn_stack = kvzalloc_objs(int, insn_cnt, in bpf_check_cfg()
695 postorder = kvzalloc_objs(int, env->prog->len, GFP_KERNEL_ACCOUNT); in bpf_compute_postorder()
696 state = kvzalloc_objs(int, env->prog->len, GFP_KERNEL_ACCOUNT); in bpf_compute_postorder()
697 stack = kvzalloc_objs(int, env->prog->len, GFP_KERNEL_ACCOUNT); in bpf_compute_postorder()
904 env->scc_info = kvzalloc_objs(*env->scc_info, next_scc_id, in bpf_compute_scc()
H A Dcheck_btf.c240 linfo = kvzalloc_objs(struct bpf_line_info, nr_linfo, in check_btf_line()
H A Dconst_fold.c245 ci_in = kvzalloc_objs(*ci_in, insn_cnt, GFP_KERNEL_ACCOUNT); in bpf_compute_const_regs()
H A Dliveness.c169 arr = kvzalloc_objs(*arr, instance->insn_cnt, in alloc_frame_masks()
1993 info = kvzalloc_objs(*info, env->subprog_cnt, GFP_KERNEL_ACCOUNT); in bpf_compute_subprog_arg_access()
1997 env->callsite_at_stack = kvzalloc_objs(*env->callsite_at_stack, insn_cnt, in bpf_compute_subprog_arg_access()
2253 state = kvzalloc_objs(*state, insn_cnt, GFP_KERNEL_ACCOUNT); in bpf_compute_live_registers()
/linux/drivers/net/wireguard/
H A Dratelimiter.c179 table_v4 = kvzalloc_objs(*table_v4, table_size); in wg_ratelimiter_init()
184 table_v6 = kvzalloc_objs(*table_v6, table_size); in wg_ratelimiter_init()
/linux/scripts/coccinelle/api/
H A Dkmalloc_objs.cocci22 func = "kvzalloc_objs"
130 kvzalloc_obj,kvzalloc_objs,kvzalloc_flex};
/linux/net/xdp/
H A Dxsk_buff_pool.c50 pool->tx_descs = kvzalloc_objs(*pool->tx_descs, nentries); in xp_alloc_tx_descs()
72 pool->heads = kvzalloc_objs(*pool->heads, umem->chunks); in xp_create_and_assign_umem()
368 dma_map->dma_pages = kvzalloc_objs(*dma_map->dma_pages, nr_pages); in xp_create_dma_map()
456 pool->dma_pages = kvzalloc_objs(*pool->dma_pages, in xp_init_dma_info()
H A Dxdp_umem.c100 umem->pgs = kvzalloc_objs(*umem->pgs, umem->npgs, in xdp_umem_pin_pages()
/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Drings.c108 tx_ring->ktxbufs = kvzalloc_objs(*tx_ring->ktxbufs, tx_ring->cnt); in nfp_nfdk_tx_ring_alloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dqos.c90 stats_list = kvzalloc_objs(*stats_list, in mlx5e_open_qos_sq()
279 sqs = kvzalloc_objs(struct mlx5e_txqsq *, qos_sqs_size); in mlx5e_qos_alloc_queues()
/linux/arch/riscv/net/
H A Dbpf_jit_core.c75 ctx->offset = kvzalloc_objs(int, prog->len); in bpf_int_jit_compile()
/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Drings.c143 tx_ring->txbufs = kvzalloc_objs(*tx_ring->txbufs, tx_ring->cnt); in nfp_nfd3_tx_ring_alloc()
/linux/drivers/vdpa/mlx5/core/
H A Dmr.c218 cmds = kvzalloc_objs(*cmds, mr->num_directs); in create_direct_keys()
290 cmds = kvzalloc_objs(*cmds, mr->num_directs); in DEFINE_FREE()
291 cmd_mem = kvzalloc_objs(*cmd_mem, mr->num_directs); in DEFINE_FREE()
/linux/drivers/xen/
H A Dgntdev.c151 add->pages = kvzalloc_objs(add->pages[0], count); in gntdev_alloc_map()
153 kvzalloc_objs(add->being_removed[0], count); in gntdev_alloc_map()
177 add->frames = kvzalloc_objs(add->frames[0], count); in gntdev_alloc_map()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.c304 cl_list = kvzalloc_objs(struct clip_entry, clipt_size); in t4_init_clip_tbl()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_cs.c96 p->relocs = kvzalloc_objs(struct radeon_bo_list, p->nrelocs); in radeon_cs_parser_relocs()
299 p->chunks = kvzalloc_objs(struct radeon_cs_chunk, p->nchunks); in radeon_cs_parser_init()
/linux/include/net/
H A Dfq_impl.h361 fq->flows = kvzalloc_objs(fq->flows[0], fq->flows_cnt); in fq_init()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c279 tx->dqo.tx_qpl_buf_next = kvzalloc_objs(tx->dqo.tx_qpl_buf_next[0], in gve_tx_qpl_buf_init()
348 tx->dqo.pending_packets = kvzalloc_objs(tx->dqo.pending_packets[0], in gve_tx_alloc_ring_dqo()
426 tx = kvzalloc_objs(struct gve_tx_ring, cfg->qcfg->max_queues); in gve_tx_alloc_rings_dqo()
/linux/drivers/gpu/drm/ttm/
H A Dttm_tt.c140 ttm->dma_address = kvzalloc_objs(*ttm->dma_address, ttm->num_pages); in ttm_sg_tt_alloc_page_directory()
/linux/kernel/trace/
H A Dtrace_sched_switch.c447 map = kvzalloc_objs(*tgid_map, tgid_map_max + 1); in trace_alloc_tgid_map()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c429 table->icm = kvzalloc_objs(*table->icm, num_icm); in mlx4_init_icm_table()
/linux/drivers/iommu/iommufd/
H A Dviommu.c333 pages = kvzalloc_objs(*pages, max_npages, GFP_KERNEL | __GFP_NOWARN); in iommufd_hw_queue_alloc_phys()
/linux/lib/
H A Dstackdepot.c263 stack_table = kvzalloc_objs(struct list_head, entries); in stack_depot_init()
/linux/net/sched/
H A Dsch_choke.c377 ntab = kvzalloc_objs(struct sk_buff *, mask + 1); in choke_change()

1234