Home
last modified time | relevance | path

Searched refs:kcalloc_node (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dexp_rcv.c86 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups()
Dinit.c177 dd->rcd = kcalloc_node(dd->num_rcv_contexts, sizeof(*dd->rcd), in hfi1_create_kctxts()
452 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
458 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
Dpio.c855 sc->sr = kcalloc_node(sc->sr_size, in sc_alloc()
2030 dd->kernel_send_context = kcalloc_node(dd->num_send_contexts, in init_pervl_scs()
Dsdma.c1399 dd->per_sdma = kcalloc_node(num_engines, sizeof(*dd->per_sdma), in sdma_init()
/Linux-v5.4/drivers/usb/host/
Dxhci-mem.c642 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info()
1667 xhci->scratchpad->sp_buffers = kcalloc_node(num_sp, sizeof(void *), in scratchpad_alloc()
2155 rhub->psi = kcalloc_node(rhub->psi_count, sizeof(*rhub->psi), in xhci_add_in_port()
2226 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(rhub->ports), flags, in xhci_create_rhub_port_array()
2258 xhci->hw_ports = kcalloc_node(num_ports, sizeof(*xhci->hw_ports), in xhci_setup_port_arrays()
2269 xhci->rh_bw = kcalloc_node(num_ports, sizeof(*xhci->rh_bw), flags, in xhci_setup_port_arrays()
2297 xhci->ext_caps = kcalloc_node(cap_count, sizeof(*xhci->ext_caps), in xhci_setup_port_arrays()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c155 ndev->pkt_inq = kcalloc_node(ndev->nr_queues, in nitrox_alloc_pktin_queues()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_isr.c241 entries = kcalloc_node(msix_num_entries, sizeof(*entries), in adf_isr_alloc_msix_entry_table()
/Linux-v5.4/block/
Dblk-zoned.c407 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long), in blk_alloc_zone_bitmap()
Dblk-mq.c2111 tags->rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
2119 tags->static_rqs = kcalloc_node(nr_tags, sizeof(struct request *), in blk_mq_alloc_rq_map()
2880 q->queue_hw_ctx = kcalloc_node(q->nr_queues, sizeof(*(q->queue_hw_ctx)), in blk_mq_init_allocated_queue()
3086 set->tags = kcalloc_node(nr_hw_queues(set), sizeof(struct blk_mq_tags *), in blk_mq_alloc_tag_set()
3093 set->map[i].mq_map = kcalloc_node(nr_cpu_ids, in blk_mq_alloc_tag_set()
/Linux-v5.4/include/linux/
Dslab.h656 static inline void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) in kcalloc_node() function
/Linux-v5.4/drivers/ntb/hw/amd/
Dntb_hw_amd.c595 ndev->vec = kcalloc_node(msix_max, sizeof(*ndev->vec), in ndev_init_isr()
600 ndev->msix = kcalloc_node(msix_max, sizeof(*ndev->msix), in ndev_init_isr()
/Linux-v5.4/kernel/events/
Dring_buffer.c656 rb->aux_pages = kcalloc_node(nr_pages, sizeof(void *), GFP_KERNEL, in rb_alloc_aux()
/Linux-v5.4/lib/
Dsbitmap.c76 sb->map = kcalloc_node(sb->map_nr, sizeof(*sb->map), flags, node); in sbitmap_init_node()
/Linux-v5.4/drivers/crypto/virtio/
Dvirtio_crypto_algs.c372 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_ablkcipher_do_req()
/Linux-v5.4/drivers/ntb/hw/intel/
Dntb_hw_gen1.c381 ndev->vec = kcalloc_node(msix_max, sizeof(*ndev->vec), in ndev_init_isr()
386 ndev->msix = kcalloc_node(msix_max, sizeof(*ndev->msix), in ndev_init_isr()
/Linux-v5.4/drivers/ntb/
Dntb_transport.c1304 nt->mw_vec = kcalloc_node(mw_count, sizeof(*nt->mw_vec), in ntb_transport_probe()
1351 nt->qp_vec = kcalloc_node(qp_count, sizeof(*nt->qp_vec), in ntb_transport_probe()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_init.c1645 kcalloc_node(chunk, sizeof(rcd->rcvegrbuf[0]), in qib_setup_eagerbufs()
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dqp.c216 wss->entries = kcalloc_node(wss->num_entries, sizeof(*wss->entries), in rvt_wss_init()
1113 kcalloc_node(rvt_max_atomic(rdi), in rvt_create_qp()
/Linux-v5.4/drivers/nvme/host/
Dpci.c2783 dev->queues = kcalloc_node(max_queue_count(), sizeof(struct nvme_queue), in nvme_probe()
/Linux-v5.4/mm/
Dslab.c655 alc_ptr = kcalloc_node(nr_node_ids, sizeof(void *), gfp, node); in alloc_alien_cache()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c724 s = kcalloc_node(sw_size, nelem, GFP_KERNEL, node); in alloc_ring()