Lines Matching refs:kmalloc
72 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_query_device()
145 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()
417 ah = kmalloc(sizeof *ah, GFP_ATOMIC); in mthca_ah_create()
450 srq = kmalloc(sizeof *srq, GFP_KERNEL); in mthca_create_srq()
532 qp = kmalloc(sizeof *qp, GFP_KERNEL); in mthca_create_qp()
598 qp = kmalloc(sizeof (struct mthca_sqp), GFP_KERNEL); in mthca_create_qp()
682 cq = kmalloc(sizeof *cq, GFP_KERNEL); in mthca_create_cq()
741 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC); in mthca_alloc_resize_buf()
883 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_get_dma_mr()
935 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_reg_phys_mr()
946 page_list = kmalloc(npages * sizeof *page_list, GFP_KERNEL); in mthca_reg_phys_mr()
1008 mr = kmalloc(sizeof *mr, GFP_KERNEL); in mthca_reg_user_mr()
1102 fmr = kmalloc(sizeof *fmr, GFP_KERNEL); in mthca_alloc_fmr()
1224 out_mad = kmalloc(sizeof *out_mad, GFP_KERNEL); in mthca_init_node_data()