Lines Matching refs:kmalloc
69 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
141 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_port()
236 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_pkey()
265 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_gid()
315 context = kmalloc(sizeof *context, GFP_KERNEL); in mthca_alloc_ucontext()
378 pd = kmalloc(sizeof *pd, GFP_KERNEL); in mthca_alloc_pd()
413 ah = kmalloc(sizeof *ah, GFP_ATOMIC); in mthca_ah_create()
446 srq = kmalloc(sizeof *srq, GFP_KERNEL); in mthca_create_srq()
528 qp = kmalloc(sizeof *qp, GFP_KERNEL); in mthca_create_qp()
594 qp = kmalloc(sizeof (struct mthca_sqp), GFP_KERNEL); in mthca_create_qp()
674 cq = kmalloc(sizeof *cq, GFP_KERNEL); in mthca_create_cq()
733 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC); in mthca_alloc_resize_buf()
875 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_get_dma_mr()
927 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_reg_phys_mr()
938 page_list = kmalloc(npages * sizeof *page_list, GFP_KERNEL); in mthca_reg_phys_mr()
1000 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_reg_user_mr()
1094 fmr = kmalloc(sizeof *fmr, GFP_KERNEL); in mthca_alloc_fmr()
1216 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data()