Home
last modified time | relevance | path

Searched refs:ccti_entries_shadow (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_init.c277 ppd->ccti_entries_shadow = kzalloc(size, GFP_KERNEL); in qib_init_pportdata()
278 if (!ppd->ccti_entries_shadow) { in qib_init_pportdata()
297 kfree(ppd->ccti_entries_shadow); in qib_init_pportdata()
298 ppd->ccti_entries_shadow = NULL; in qib_init_pportdata()
1363 kfree(dd->pport[pidx].ccti_entries_shadow); in cleanup_device_data()
1364 dd->pport[pidx].ccti_entries_shadow = NULL; in cleanup_device_data()
Dqib_sysfs.c219 if (!qib_cc_table_size || !ppd->ccti_entries_shadow) in read_cc_table_bin()
235 memcpy(buf, ppd->ccti_entries_shadow, count); in read_cc_table_bin()
Dqib_mad.c2180 (ppd->ccti_entries_shadow->ccti_last_entry + 1)/IB_CCT_ENTRIES; in cc_get_congestion_control_table()
2196 entries = &ppd->ccti_entries_shadow-> in cc_get_congestion_control_table()
2278 ppd->ccti_entries_shadow->ccti_last_entry = ppd->total_cct_entry - 1; in cc_set_congestion_control_table()
2279 memcpy(ppd->ccti_entries_shadow->entries, ppd->ccti_entries, in cc_set_congestion_control_table()
Dqib.h670 struct cc_table_shadow *ccti_entries_shadow; member