Home
last modified time | relevance | path

Searched refs:table_attr (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_restrack.c15 struct nlattr *table_attr; in hns_roce_fill_res_cq_entry() local
17 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_cq_entry()
18 if (!table_attr) in hns_roce_fill_res_cq_entry()
33 nla_nest_end(msg, table_attr); in hns_roce_fill_res_cq_entry()
38 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_cq_entry()
65 struct nlattr *table_attr; in hns_roce_fill_res_qp_entry() local
67 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_qp_entry()
68 if (!table_attr) in hns_roce_fill_res_qp_entry()
86 nla_nest_end(msg, table_attr); in hns_roce_fill_res_qp_entry()
91 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_qp_entry()
[all …]
/linux-6.6.21/drivers/acpi/
Dsysfs.c325 struct acpi_table_attr *table_attr = in acpi_table_show() local
331 status = acpi_get_table(table_attr->name, table_attr->instance, in acpi_table_show()
343 struct acpi_table_attr *table_attr, in acpi_table_attr_init() argument
350 sysfs_attr_init(&table_attr->attr.attr); in acpi_table_attr_init()
351 ACPI_COPY_NAMESEG(table_attr->name, table_header->signature); in acpi_table_attr_init()
354 if (ACPI_COMPARE_NAMESEG(table_attr->name, attr->name)) in acpi_table_attr_init()
355 if (table_attr->instance < attr->instance) in acpi_table_attr_init()
356 table_attr->instance = attr->instance; in acpi_table_attr_init()
358 table_attr->instance++; in acpi_table_attr_init()
359 if (table_attr->instance > ACPI_MAX_TABLE_INSTANCES) { in acpi_table_attr_init()
[all …]
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Drestrack.c84 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()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Drestrack.c143 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 …]
/linux-6.6.21/drivers/infiniband/core/
Dnldev.c401 struct nlattr *table_attr; in fill_res_info() local
407 table_attr = nla_nest_start_noflag(msg, RDMA_NLDEV_ATTR_RES_SUMMARY); in fill_res_info()
408 if (!table_attr) in fill_res_info()
420 nla_nest_end(msg, table_attr); in fill_res_info()
424 nla_nest_cancel(msg, table_attr); in fill_res_info()
765 struct nlattr *table_attr; in fill_res_srq_qps() local
769 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP); in fill_res_srq_qps()
770 if (!table_attr) in fill_res_srq_qps()
806 nla_nest_end(msg, table_attr); in fill_res_srq_qps()
813 nla_nest_cancel(msg, table_attr); in fill_res_srq_qps()
[all …]
/linux-6.6.21/net/devlink/
Ddpipe.c159 struct nlattr *table_attr; in devlink_dpipe_table_put() local
163 table_attr = nla_nest_start_noflag(skb, DEVLINK_ATTR_DPIPE_TABLE); in devlink_dpipe_table_put()
164 if (!table_attr) in devlink_dpipe_table_put()
188 nla_nest_end(skb, table_attr); in devlink_dpipe_table_put()
192 nla_nest_cancel(skb, table_attr); in devlink_dpipe_table_put()