Home
last modified time | relevance | path

Searched refs:congestion_entries_shadow (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c269 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in read_cc_setting_bin()
283 memcpy(buf, ppd->congestion_entries_shadow, count); in read_cc_setting_bin()
787 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in qib_create_port_files()
850 ppd->congestion_entries_shadow) { in qib_verbs_unregister_sysfs()
H A Dqib_init.c275 ppd->congestion_entries_shadow = kzalloc(size, GFP_KERNEL); in qib_init_pportdata()
276 if (!ppd->congestion_entries_shadow) in qib_init_pportdata()
1311 kfree(dd->pport[pidx].congestion_entries_shadow); in cleanup_device_data()
1312 dd->pport[pidx].congestion_entries_shadow = NULL; in cleanup_device_data()
H A Dqib_mad.c2139 entries = ppd->congestion_entries_shadow->entries; in cc_get_congestion_setting()
2141 ppd->congestion_entries_shadow->port_control); in cc_get_congestion_setting()
2143 ppd->congestion_entries_shadow->control_map); in cc_get_congestion_setting()
2278 ppd->congestion_entries_shadow->port_control = IB_CC_CCS_PC_SL_BASED; in cc_set_congestion_control_table()
2279 ppd->congestion_entries_shadow->control_map = ppd->cc_sl_control_map; in cc_set_congestion_control_table()
2280 memcpy(ppd->congestion_entries_shadow->entries, ppd->congestion_entries, in cc_set_congestion_control_table()
2381 if (!ppd->congestion_entries_shadow || in qib_process_mad()
H A Dqib.h656 struct ib_cc_congestion_setting_attr_shadow *congestion_entries_shadow; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c258 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in cc_setting_bin_read()
272 memcpy(buf, ppd->congestion_entries_shadow, count); in cc_setting_bin_read()
290 if (!qib_cc_table_size || !ppd->congestion_entries_shadow) in qib_ccmgta_is_bin_visible()
H A Dqib_init.c275 ppd->congestion_entries_shadow = kzalloc(size, GFP_KERNEL); in qib_init_pportdata()
276 if (!ppd->congestion_entries_shadow) in qib_init_pportdata()
1310 kfree(dd->pport[pidx].congestion_entries_shadow); in cleanup_device_data()
1311 dd->pport[pidx].congestion_entries_shadow = NULL; in cleanup_device_data()
H A Dqib_mad.c2139 entries = ppd->congestion_entries_shadow->entries; in cc_get_congestion_setting()
2141 ppd->congestion_entries_shadow->port_control); in cc_get_congestion_setting()
2143 ppd->congestion_entries_shadow->control_map); in cc_get_congestion_setting()
2278 ppd->congestion_entries_shadow->port_control = IB_CC_CCS_PC_SL_BASED; in cc_set_congestion_control_table()
2279 ppd->congestion_entries_shadow->control_map = ppd->cc_sl_control_map; in cc_set_congestion_control_table()
2280 memcpy(ppd->congestion_entries_shadow->entries, ppd->congestion_entries, in cc_set_congestion_control_table()
2383 if (!ppd->congestion_entries_shadow || in qib_process_mad()
H A Dqib.h652 struct ib_cc_congestion_setting_attr_shadow *congestion_entries_shadow; member

Completed in 19 milliseconds