Lines Matching refs:len
757 uint_t len;
786 len = sizeof (ibt_hca_portinfo_t) + sgid_tbl_len + pkey_tbl_len;
787 *size_p = len;
789 p1 = kmem_zalloc(len, KM_SLEEP);
817 uint_t len;
850 len = (sizeof (ibt_hca_portinfo_t) + sgid_tbl_len + pkey_tbl_len) *
852 *size_p = len;
854 ASSERT(len == hca_devp->hd_portinfo_len);
856 p1 = kmem_zalloc(len, KM_SLEEP);
858 bcopy(sp1, p1, len); /* start with an exact copy of our cache */
911 uint_t len, sgid_tbl_len, pkey_tbl_len;
935 len = sizeof (ibt_hca_portinfo_t) + sgid_tbl_len + pkey_tbl_len;
943 sp1 = kmem_zalloc(len, KM_SLEEP);
980 kmem_free(sp1, len);
1017 uint_t len;
1039 len = (sizeof (ibt_hca_portinfo_t) + sgid_tbl_len + pkey_tbl_len) *
1042 p1 = kmem_zalloc(len, KM_SLEEP);
1046 hca_devp->hd_portinfo_len = len;
1070 kmem_free(hca_devp->hd_portinfop, len);