Searched refs:table_attr (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/infiniband/hw/cxgb4/ |
D | restrack.c | 145 struct nlattr *table_attr; in fill_res_qp_entry() local 152 table_attr = nla_nest_start_noflag(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_qp_entry() 153 if (!table_attr) in fill_res_qp_entry() 184 nla_nest_end(msg, table_attr); in fill_res_qp_entry() 188 nla_nest_cancel(msg, table_attr); in fill_res_qp_entry() 202 struct nlattr *table_attr; in fill_res_ep_entry() local 219 table_attr = nla_nest_start_noflag(msg, RDMA_NLDEV_ATTR_DRIVER); in fill_res_ep_entry() 220 if (!table_attr) in fill_res_ep_entry() 263 nla_nest_end(msg, table_attr); in fill_res_ep_entry() 268 nla_nest_cancel(msg, table_attr); in fill_res_ep_entry() [all …]
|
/Linux-v5.4/drivers/infiniband/hw/hns/ |
D | hns_roce_restrack.c | 86 struct nlattr *table_attr; in hns_roce_fill_res_cq_entry() local 100 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_cq_entry() 101 if (!table_attr) in hns_roce_fill_res_cq_entry() 107 nla_nest_end(msg, table_attr); in hns_roce_fill_res_cq_entry() 113 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_cq_entry()
|
/Linux-v5.4/drivers/infiniband/core/ |
D | nldev.c | 372 struct nlattr *table_attr; in fill_res_info() local 378 table_attr = nla_nest_start_noflag(msg, RDMA_NLDEV_ATTR_RES_SUMMARY); in fill_res_info() 379 if (!table_attr) in fill_res_info() 391 nla_nest_end(msg, table_attr); in fill_res_info() 395 nla_nest_cancel(msg, table_attr); in fill_res_info() 691 struct nlattr *table_attr; in fill_stat_counter_qps() local 696 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP); in fill_stat_counter_qps() 717 nla_nest_end(msg, table_attr); in fill_stat_counter_qps() 722 nla_nest_cancel(msg, table_attr); in fill_stat_counter_qps() 754 struct nlattr *table_attr; in fill_stat_counter_hwcounters() local [all …]
|
/Linux-v5.4/net/core/ |
D | devlink.c | 1785 struct nlattr *table_attr; in devlink_dpipe_table_put() local 1789 table_attr = nla_nest_start_noflag(skb, DEVLINK_ATTR_DPIPE_TABLE); in devlink_dpipe_table_put() 1790 if (!table_attr) in devlink_dpipe_table_put() 1814 nla_nest_end(skb, table_attr); in devlink_dpipe_table_put() 1818 nla_nest_cancel(skb, table_attr); in devlink_dpipe_table_put()
|