Searched refs:ccti_entries_shadow (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_init.c | 270 ppd->ccti_entries_shadow = kzalloc(size, GFP_KERNEL); in qib_init_pportdata() 271 if (!ppd->ccti_entries_shadow) in qib_init_pportdata() 282 kfree(ppd->ccti_entries_shadow); in qib_init_pportdata() 283 ppd->ccti_entries_shadow = NULL; in qib_init_pportdata() 1309 kfree(dd->pport[pidx].ccti_entries_shadow); in cleanup_device_data() 1310 dd->pport[pidx].ccti_entries_shadow = NULL; in cleanup_device_data()
|
H A D | qib_sysfs.c | 219 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()
|
H A D | qib_mad.c | 2176 (ppd->ccti_entries_shadow->ccti_last_entry + 1)/IB_CCT_ENTRIES; in cc_get_congestion_control_table() 2192 entries = &ppd->ccti_entries_shadow-> in cc_get_congestion_control_table() 2274 ppd->ccti_entries_shadow->ccti_last_entry = ppd->total_cct_entry - 1; in cc_set_congestion_control_table() 2275 memcpy(ppd->ccti_entries_shadow->entries, ppd->ccti_entries, in cc_set_congestion_control_table()
|
H A D | qib.h | 653 struct cc_table_shadow *ccti_entries_shadow; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_init.c | 270 ppd->ccti_entries_shadow = kzalloc(size, GFP_KERNEL); in qib_init_pportdata() 271 if (!ppd->ccti_entries_shadow) in qib_init_pportdata() 282 kfree(ppd->ccti_entries_shadow); in qib_init_pportdata() 283 ppd->ccti_entries_shadow = NULL; in qib_init_pportdata() 1308 kfree(dd->pport[pidx].ccti_entries_shadow); in cleanup_device_data() 1309 dd->pport[pidx].ccti_entries_shadow = NULL; in cleanup_device_data()
|
H A D | qib_sysfs.c | 223 if (!qib_cc_table_size || !ppd->ccti_entries_shadow) in cc_table_bin_read() 239 memcpy(buf, ppd->ccti_entries_shadow, count); in cc_table_bin_read()
|
H A D | qib_mad.c | 2176 (ppd->ccti_entries_shadow->ccti_last_entry + 1)/IB_CCT_ENTRIES; in cc_get_congestion_control_table() 2192 entries = &ppd->ccti_entries_shadow-> in cc_get_congestion_control_table() 2274 ppd->ccti_entries_shadow->ccti_last_entry = ppd->total_cct_entry - 1; in cc_set_congestion_control_table() 2275 memcpy(ppd->ccti_entries_shadow->entries, ppd->ccti_entries, in cc_set_congestion_control_table()
|
H A D | qib.h | 649 struct cc_table_shadow *ccti_entries_shadow; member
|
Completed in 19 milliseconds