Searched refs:trunks (Results 1 – 2 of 2) sorted by relevance
40 struct hns_roce_buf_list *trunks; in hns_roce_buf_free() local46 trunks = buf->trunk_list; in hns_roce_buf_free()47 if (trunks) { in hns_roce_buf_free()51 trunks[i].buf, trunks[i].map); in hns_roce_buf_free()53 kfree(trunks); in hns_roce_buf_free()96 trunks = kcalloc(ntrunk, sizeof(*trunks), gfp_flags); in hns_roce_buf_alloc()97 if (!trunks) { in hns_roce_buf_alloc()107 if (!trunks[i].buf) in hns_roce_buf_alloc()119 trunks[i].buf, trunks[i].map); in hns_roce_buf_alloc()121 kfree(trunks); in hns_roce_buf_alloc()[all …]
94 stations and trunks.