Searched refs:table_attr (Results 1 – 5 of 5) sorted by relevance
/drivers/acpi/ |
D | sysfs.c | 345 struct acpi_table_attr *table_attr = in acpi_table_show() local 351 status = acpi_get_table(table_attr->name, table_attr->instance, in acpi_table_show() 363 struct acpi_table_attr *table_attr, in acpi_table_attr_init() argument 370 sysfs_attr_init(&table_attr->attr.attr); in acpi_table_attr_init() 371 ACPI_COPY_NAMESEG(table_attr->name, table_header->signature); in acpi_table_attr_init() 374 if (ACPI_COMPARE_NAMESEG(table_attr->name, attr->name)) in acpi_table_attr_init() 375 if (table_attr->instance < attr->instance) in acpi_table_attr_init() 376 table_attr->instance = attr->instance; in acpi_table_attr_init() 378 table_attr->instance++; in acpi_table_attr_init() 379 if (table_attr->instance > ACPI_MAX_TABLE_INSTANCES) { in acpi_table_attr_init() [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | restrack.c | 84 struct nlattr *table_attr; in fill_stat_mr_entry() local 89 table_attr = nla_nest_start(msg, in fill_stat_mr_entry() 92 if (!table_attr) in fill_stat_mr_entry() 106 nla_nest_end(msg, table_attr); in fill_stat_mr_entry() 110 nla_nest_cancel(msg, table_attr); in fill_stat_mr_entry() 126 struct nlattr *table_attr; in fill_res_mr_entry() local 131 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_mr_entry() 132 if (!table_attr) in fill_res_mr_entry() 143 nla_nest_end(msg, table_attr); in fill_res_mr_entry() 147 nla_nest_cancel(msg, table_attr); in fill_res_mr_entry()
|
/drivers/infiniband/hw/cxgb4/ |
D | restrack.c | 143 struct nlattr *table_attr; in c4iw_fill_res_qp_entry() local 150 table_attr = nla_nest_start_noflag(msg, RDMA_NLDEV_ATTR_DRIVER); in c4iw_fill_res_qp_entry() 151 if (!table_attr) in c4iw_fill_res_qp_entry() 182 nla_nest_end(msg, table_attr); in c4iw_fill_res_qp_entry() 186 nla_nest_cancel(msg, table_attr); in c4iw_fill_res_qp_entry() 199 struct nlattr *table_attr; in c4iw_fill_res_cm_id_entry() local 216 table_attr = nla_nest_start_noflag(msg, RDMA_NLDEV_ATTR_DRIVER); in c4iw_fill_res_cm_id_entry() 217 if (!table_attr) in c4iw_fill_res_cm_id_entry() 260 nla_nest_end(msg, table_attr); in c4iw_fill_res_cm_id_entry() 265 nla_nest_cancel(msg, table_attr); in c4iw_fill_res_cm_id_entry() [all …]
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_restrack.c | 85 struct nlattr *table_attr; in hns_roce_fill_res_cq_entry() local 99 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_cq_entry() 100 if (!table_attr) { in hns_roce_fill_res_cq_entry() 110 nla_nest_end(msg, table_attr); in hns_roce_fill_res_cq_entry() 116 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_cq_entry()
|
/drivers/infiniband/core/ |
D | nldev.c | 390 struct nlattr *table_attr; in fill_res_info() local 396 table_attr = nla_nest_start_noflag(msg, RDMA_NLDEV_ATTR_RES_SUMMARY); in fill_res_info() 397 if (!table_attr) in fill_res_info() 409 nla_nest_end(msg, table_attr); in fill_res_info() 413 nla_nest_cancel(msg, table_attr); in fill_res_info() 751 struct nlattr *table_attr; in fill_stat_counter_qps() local 756 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP); in fill_stat_counter_qps() 757 if (!table_attr) in fill_stat_counter_qps() 773 nla_nest_end(msg, table_attr); in fill_stat_counter_qps() 778 nla_nest_cancel(msg, table_attr); in fill_stat_counter_qps() [all …]
|