Searched refs:table_attr (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/acpi/ |
D | sysfs.c | 324 struct acpi_table_attr *table_attr = in acpi_table_show() local 330 status = acpi_get_table(table_attr->name, table_attr->instance, in acpi_table_show() 342 struct acpi_table_attr *table_attr, in acpi_table_attr_init() argument 349 sysfs_attr_init(&table_attr->attr.attr); in acpi_table_attr_init() 350 ACPI_COPY_NAMESEG(table_attr->name, table_header->signature); in acpi_table_attr_init() 353 if (ACPI_COMPARE_NAMESEG(table_attr->name, attr->name)) in acpi_table_attr_init() 354 if (table_attr->instance < attr->instance) in acpi_table_attr_init() 355 table_attr->instance = attr->instance; in acpi_table_attr_init() 357 table_attr->instance++; in acpi_table_attr_init() 358 if (table_attr->instance > ACPI_MAX_TABLE_INSTANCES) { in acpi_table_attr_init() [all …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_restrack.c | 17 struct nlattr *table_attr; in hns_roce_fill_res_cq_entry() local 19 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_cq_entry() 20 if (!table_attr) in hns_roce_fill_res_cq_entry() 35 nla_nest_end(msg, table_attr); in hns_roce_fill_res_cq_entry() 40 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_cq_entry() 85 struct nlattr *table_attr; in hns_roce_fill_res_qp_entry() local 87 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_qp_entry() 88 if (!table_attr) in hns_roce_fill_res_qp_entry() 106 nla_nest_end(msg, table_attr); in hns_roce_fill_res_qp_entry() 111 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_qp_entry() [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/infiniband/core/ |
D | nldev.c | 401 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.1.9/net/core/ |
D | devlink.c | 3445 struct nlattr *table_attr; in devlink_dpipe_table_put() local 3449 table_attr = nla_nest_start_noflag(skb, DEVLINK_ATTR_DPIPE_TABLE); in devlink_dpipe_table_put() 3450 if (!table_attr) in devlink_dpipe_table_put() 3474 nla_nest_end(skb, table_attr); in devlink_dpipe_table_put() 3478 nla_nest_cancel(skb, table_attr); in devlink_dpipe_table_put()
|