Lines Matching refs:kernel_send_context
1837 thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext], in set_threshold()
1839 sc_mtu_to_threshold(dd->kernel_send_context[scontext], in set_threshold()
1842 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres); in set_threshold()
1925 if (dd->kernel_send_context[scontext]) { in pio_map_init()
1927 dd->kernel_send_context[scontext]; in pio_map_init()
1970 kfree(dd->kernel_send_context); in free_pio_map()
1971 dd->kernel_send_context = NULL; in free_pio_map()
1990 dd->kernel_send_context = kcalloc_node(dd->num_send_contexts, in init_pervl_scs()
1993 if (!dd->kernel_send_context) in init_pervl_scs()
1996 dd->kernel_send_context[0] = dd->vld[15].sc; in init_pervl_scs()
2010 dd->kernel_send_context[i + 1] = dd->vld[i].sc; in init_pervl_scs()
2016 dd->kernel_send_context[i + 1] = in init_pervl_scs()
2018 if (!dd->kernel_send_context[i + 1]) in init_pervl_scs()
2020 hfi1_init_ctxt(dd->kernel_send_context[i + 1]); in init_pervl_scs()
2038 sc_enable(dd->kernel_send_context[i + 1]); in init_pervl_scs()
2039 ctxt = dd->kernel_send_context[i + 1]->hw_context; in init_pervl_scs()
2055 sc_free(dd->kernel_send_context[i + 1]); in init_pervl_scs()
2057 kfree(dd->kernel_send_context); in init_pervl_scs()
2058 dd->kernel_send_context = NULL; in init_pervl_scs()