Lines Matching refs:kmalloc
71 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
144 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_port()
240 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_pkey()
269 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_gid()
319 context = kmalloc(sizeof *context, GFP_KERNEL); in mthca_alloc_ucontext()
382 pd = kmalloc(sizeof *pd, GFP_KERNEL); in mthca_alloc_pd()
418 ah = kmalloc(sizeof *ah, GFP_ATOMIC); in mthca_ah_create()
451 srq = kmalloc(sizeof *srq, GFP_KERNEL); in mthca_create_srq()
533 qp = kmalloc(sizeof *qp, GFP_KERNEL); in mthca_create_qp()
599 qp = kmalloc(sizeof (struct mthca_sqp), GFP_KERNEL); in mthca_create_qp()
683 cq = kmalloc(sizeof *cq, GFP_KERNEL); in mthca_create_cq()
742 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC); in mthca_alloc_resize_buf()
884 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_get_dma_mr()
926 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_reg_user_mr()
1020 fmr = kmalloc(sizeof *fmr, GFP_KERNEL); in mthca_alloc_fmr()
1130 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data()