Home
last modified time | relevance | path

Searched refs:attr_count (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/drivers/hwmon/
Dibmpowernv.c62 u32 attr_count; member
300 sensor_groups[type].attr_count++; in populate_attr_groups()
306 sensor_groups[type].attr_count++; in populate_attr_groups()
314 (sensor_groups[type].attr_count + 1), in populate_attr_groups()
320 pdata->sensors_count += sensor_groups[type].attr_count; in populate_attr_groups()
321 sensor_groups[type].attr_count = 0; in populate_attr_groups()
412 pgroups[type]->attrs[sensor_groups[type].attr_count++] = in create_device_attrs()
430 pgroups[type]->attrs[sensor_groups[type].attr_count++] = in create_device_attrs()
/linux-4.1.27/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c312 int attr_count = 0; in magn_3d_parse_report() local
327 attr_count++; in magn_3d_parse_report()
330 if (attr_count <= 0) { in magn_3d_parse_report()
337 attr_count); in magn_3d_parse_report()
345 _channels = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
354 st->iio_vals = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
364 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
/linux-4.1.27/net/netfilter/
Dnfnetlink_cttimeout.c518 .attr_count = CTA_TIMEOUT_MAX,
521 .attr_count = CTA_TIMEOUT_MAX,
524 .attr_count = CTA_TIMEOUT_MAX,
527 .attr_count = CTA_TIMEOUT_MAX,
530 .attr_count = CTA_TIMEOUT_MAX,
Dnfnetlink_acct.c375 .attr_count = NFACCT_MAX,
378 .attr_count = NFACCT_MAX,
381 .attr_count = NFACCT_MAX,
384 .attr_count = NFACCT_MAX,
Dnfnetlink.c191 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; in nfnetlink_rcv_msg()
196 err = nla_parse(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_msg()
366 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; in nfnetlink_rcv_batch()
370 err = nla_parse(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_batch()
Dnfnetlink_cthelper.c629 .attr_count = NFCTH_MAX,
632 .attr_count = NFCTH_MAX,
635 .attr_count = NFCTH_MAX,
Dxt_osf.c140 .attr_count = OSF_ATTR_MAX,
145 .attr_count = OSF_ATTR_MAX,
Dnf_tables_api.c3694 .attr_count = NFTA_TABLE_MAX,
3699 .attr_count = NFTA_TABLE_MAX,
3704 .attr_count = NFTA_TABLE_MAX,
3709 .attr_count = NFTA_CHAIN_MAX,
3714 .attr_count = NFTA_CHAIN_MAX,
3719 .attr_count = NFTA_CHAIN_MAX,
3724 .attr_count = NFTA_RULE_MAX,
3729 .attr_count = NFTA_RULE_MAX,
3734 .attr_count = NFTA_RULE_MAX,
3739 .attr_count = NFTA_SET_MAX,
[all …]
Dnfnetlink_queue_core.c1181 .attr_count = NFQA_MAX, },
1183 .attr_count = NFQA_MAX,
1186 .attr_count = NFQA_CFG_MAX,
1189 .attr_count = NFQA_MAX,
Dnf_conntrack_netlink.c3138 .attr_count = CTA_MAX,
3141 .attr_count = CTA_MAX,
3144 .attr_count = CTA_MAX,
3147 .attr_count = CTA_MAX,
3157 .attr_count = CTA_EXPECT_MAX,
3160 .attr_count = CTA_EXPECT_MAX,
3163 .attr_count = CTA_EXPECT_MAX,
Dnfnetlink_log.c921 .attr_count = NFULA_MAX, },
923 .attr_count = NFULA_CFG_MAX,
Dnft_compat.c600 .attr_count = NFTA_COMPAT_MAX,
/linux-4.1.27/net/netfilter/ipset/
Dip_set_core.c1760 .attr_count = IPSET_ATTR_CMD_MAX,
1764 .attr_count = IPSET_ATTR_CMD_MAX,
1769 .attr_count = IPSET_ATTR_CMD_MAX,
1774 .attr_count = IPSET_ATTR_CMD_MAX,
1779 .attr_count = IPSET_ATTR_CMD_MAX,
1784 .attr_count = IPSET_ATTR_CMD_MAX,
1789 .attr_count = IPSET_ATTR_CMD_MAX,
1794 .attr_count = IPSET_ATTR_CMD_MAX,
1799 .attr_count = IPSET_ATTR_CMD_MAX,
1804 .attr_count = IPSET_ATTR_CMD_MAX,
[all …]
/linux-4.1.27/include/linux/netfilter/
Dnfnetlink.h21 const u_int16_t attr_count; /* number of nlattr's */ member
/linux-4.1.27/drivers/memstick/core/
Dmspro_block.c985 int cnt, rc, attr_count; in mspro_block_read_attributes() local
1023 attr_count = MSPRO_BLOCK_MAX_ATTRIBUTES; in mspro_block_read_attributes()
1025 attr_count = attr->count; in mspro_block_read_attributes()
1027 msb->attr_group.attrs = kcalloc(attr_count + 1, in mspro_block_read_attributes()
1043 for (cnt = 0; cnt < attr_count; ++cnt) { in mspro_block_read_attributes()
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_fc.h1580 __be32 attr_count; /* # of attributes */ member
1596 __be32 attr_count; /* # of attributes */ member
Dbfa_fcs_lport.c1919 len += sizeof(rhba->hba_attr_blk.attr_count); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2146 rhba->hba_attr_blk.attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2248 len = sizeof(port_attrib->attr_count); in bfa_fcs_lport_fdmi_build_portattr_block()
2450 port_attrib->attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_portattr_block()