| /linux/security/apparmor/ |
| H A D | policy_compat.c | 161 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 D | cfg.c | 593 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 D | check_btf.c | 240 linfo = kvzalloc_objs(struct bpf_line_info, nr_linfo, in check_btf_line()
|
| H A D | const_fold.c | 245 ci_in = kvzalloc_objs(*ci_in, insn_cnt, GFP_KERNEL_ACCOUNT); in bpf_compute_const_regs()
|
| H A D | liveness.c | 169 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 D | ratelimiter.c | 179 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 D | kmalloc_objs.cocci | 22 func = "kvzalloc_objs" 130 kvzalloc_obj,kvzalloc_objs,kvzalloc_flex};
|
| /linux/net/xdp/ |
| H A D | xsk_buff_pool.c | 50 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 D | xdp_umem.c | 100 umem->pgs = kvzalloc_objs(*umem->pgs, umem->npgs, in xdp_umem_pin_pages()
|
| /linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
| H A D | rings.c | 108 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 D | qos.c | 90 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 D | bpf_jit_core.c | 75 ctx->offset = kvzalloc_objs(int, prog->len); in bpf_int_jit_compile()
|
| /linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
| H A D | rings.c | 143 tx_ring->txbufs = kvzalloc_objs(*tx_ring->txbufs, tx_ring->cnt); in nfp_nfd3_tx_ring_alloc()
|
| /linux/drivers/vdpa/mlx5/core/ |
| H A D | mr.c | 218 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 D | gntdev.c | 151 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 D | clip_tbl.c | 304 cl_list = kvzalloc_objs(struct clip_entry, clipt_size); in t4_init_clip_tbl()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_cs.c | 96 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 D | fq_impl.h | 361 fq->flows = kvzalloc_objs(fq->flows[0], fq->flows_cnt); in fq_init()
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_tx_dqo.c | 279 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 D | ttm_tt.c | 140 ttm->dma_address = kvzalloc_objs(*ttm->dma_address, ttm->num_pages); in ttm_sg_tt_alloc_page_directory()
|
| /linux/kernel/trace/ |
| H A D | trace_sched_switch.c | 447 map = kvzalloc_objs(*tgid_map, tgid_map_max + 1); in trace_alloc_tgid_map()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | icm.c | 429 table->icm = kvzalloc_objs(*table->icm, num_icm); in mlx4_init_icm_table()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | viommu.c | 333 pages = kvzalloc_objs(*pages, max_npages, GFP_KERNEL | __GFP_NOWARN); in iommufd_hw_queue_alloc_phys()
|
| /linux/lib/ |
| H A D | stackdepot.c | 263 stack_table = kvzalloc_objs(struct list_head, entries); in stack_depot_init()
|
| /linux/net/sched/ |
| H A D | sch_choke.c | 377 ntab = kvzalloc_objs(struct sk_buff *, mask + 1); in choke_change()
|