Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_restrack.c14 struct nlattr *table_attr; in hns_roce_fill_res_cq_entry() local
16 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_cq_entry()
17 if (!table_attr) in hns_roce_fill_res_cq_entry()
32 nla_nest_end(msg, table_attr); in hns_roce_fill_res_cq_entry()
37 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_cq_entry()
64 struct nlattr *table_attr; in hns_roce_fill_res_qp_entry() local
66 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_qp_entry()
67 if (!table_attr) in hns_roce_fill_res_qp_entry()
85 nla_nest_end(msg, table_attr); in hns_roce_fill_res_qp_entry()
90 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_qp_entry()
[all …]
/linux/drivers/acpi/
H A 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/drivers/infiniband/hw/cxgb4/
H A 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/drivers/infiniband/hw/bnxt_re/
H A Dmain.c1079 struct nlattr *table_attr; in bnxt_re_fill_res_mr_entry() local
1082 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in bnxt_re_fill_res_mr_entry()
1083 if (!table_attr) in bnxt_re_fill_res_mr_entry()
1101 nla_nest_end(msg, table_attr); in bnxt_re_fill_res_mr_entry()
1105 nla_nest_cancel(msg, table_attr); in bnxt_re_fill_res_mr_entry()
1141 struct nlattr *table_attr; in bnxt_re_fill_res_cq_entry() local
1147 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in bnxt_re_fill_res_cq_entry()
1148 if (!table_attr) in bnxt_re_fill_res_cq_entry()
1160 nla_nest_end(msg, table_attr); in bnxt_re_fill_res_cq_entry()
1164 nla_nest_cancel(msg, table_attr); in bnxt_re_fill_res_cq_entry()
[all …]