Lines Matching refs:entry_attr

368 	struct nlattr *entry_attr;  in fill_res_info_entry()  local
370 entry_attr = nla_nest_start_noflag(msg, in fill_res_info_entry()
372 if (!entry_attr) in fill_res_info_entry()
381 nla_nest_end(msg, entry_attr); in fill_res_info_entry()
385 nla_nest_cancel(msg, entry_attr); in fill_res_info_entry()
734 struct nlattr *entry_attr; in fill_res_range_qp_entry() local
739 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP_ENTRY); in fill_res_range_qp_entry()
740 if (!entry_attr) in fill_res_range_qp_entry()
752 nla_nest_end(msg, entry_attr); in fill_res_range_qp_entry()
756 nla_nest_cancel(msg, entry_attr); in fill_res_range_qp_entry()
869 struct nlattr *entry_attr; in fill_stat_counter_qp_entry() local
871 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_RES_QP_ENTRY); in fill_stat_counter_qp_entry()
872 if (!entry_attr) in fill_stat_counter_qp_entry()
878 nla_nest_end(msg, entry_attr); in fill_stat_counter_qp_entry()
882 nla_nest_cancel(msg, entry_attr); in fill_stat_counter_qp_entry()
923 struct nlattr *entry_attr; in rdma_nl_stat_hwcounter_entry() local
925 entry_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_STAT_HWCOUNTER_ENTRY); in rdma_nl_stat_hwcounter_entry()
926 if (!entry_attr) in rdma_nl_stat_hwcounter_entry()
936 nla_nest_end(msg, entry_attr); in rdma_nl_stat_hwcounter_entry()
940 nla_nest_cancel(msg, entry_attr); in rdma_nl_stat_hwcounter_entry()
1493 struct nlattr *entry_attr; in res_get_common_dumpit() local
1564 entry_attr = nla_nest_start_noflag(skb, fe->entry); in res_get_common_dumpit()
1565 if (!entry_attr) { in res_get_common_dumpit()
1576 nla_nest_cancel(skb, entry_attr); in res_get_common_dumpit()
1583 nla_nest_end(skb, entry_attr); in res_get_common_dumpit()
1954 struct nlattr *entry_attr; in nldev_stat_set_counter_dynamic_doit() local
1968 nla_for_each_nested(entry_attr, tb[RDMA_NLDEV_ATTR_STAT_HWCOUNTERS], in nldev_stat_set_counter_dynamic_doit()
1970 index = nla_get_u32(entry_attr); in nldev_stat_set_counter_dynamic_doit()