Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/net/netfilter/
Dnfnetlink_cttimeout.c547 .attr_count = CTA_TIMEOUT_MAX,
550 .attr_count = CTA_TIMEOUT_MAX,
553 .attr_count = CTA_TIMEOUT_MAX,
556 .attr_count = CTA_TIMEOUT_MAX,
559 .attr_count = CTA_TIMEOUT_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()
372 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; in nfnetlink_rcv_batch()
376 err = nla_parse(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_batch()
Dnfnetlink_acct.c377 .attr_count = NFACCT_MAX,
380 .attr_count = NFACCT_MAX,
383 .attr_count = NFACCT_MAX,
386 .attr_count = NFACCT_MAX,
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.c3762 .attr_count = NFTA_TABLE_MAX,
3767 .attr_count = NFTA_TABLE_MAX,
3772 .attr_count = NFTA_TABLE_MAX,
3777 .attr_count = NFTA_CHAIN_MAX,
3782 .attr_count = NFTA_CHAIN_MAX,
3787 .attr_count = NFTA_CHAIN_MAX,
3792 .attr_count = NFTA_RULE_MAX,
3797 .attr_count = NFTA_RULE_MAX,
3802 .attr_count = NFTA_RULE_MAX,
3807 .attr_count = NFTA_SET_MAX,
[all …]
Dnfnetlink_queue.c1240 .attr_count = NFQA_MAX, },
1242 .attr_count = NFQA_MAX,
1245 .attr_count = NFQA_CFG_MAX,
1248 .attr_count = NFQA_MAX,
Dnf_conntrack_netlink.c3272 .attr_count = CTA_MAX,
3275 .attr_count = CTA_MAX,
3278 .attr_count = CTA_MAX,
3281 .attr_count = CTA_MAX,
3291 .attr_count = CTA_EXPECT_MAX,
3294 .attr_count = CTA_EXPECT_MAX,
3297 .attr_count = CTA_EXPECT_MAX,
Dnfnetlink_log.c942 .attr_count = NFULA_MAX, },
944 .attr_count = NFULA_CFG_MAX,
Dnft_compat.c602 .attr_count = NFTA_COMPAT_MAX,
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c1805 .attr_count = IPSET_ATTR_CMD_MAX,
1809 .attr_count = IPSET_ATTR_CMD_MAX,
1814 .attr_count = IPSET_ATTR_CMD_MAX,
1819 .attr_count = IPSET_ATTR_CMD_MAX,
1824 .attr_count = IPSET_ATTR_CMD_MAX,
1829 .attr_count = IPSET_ATTR_CMD_MAX,
1834 .attr_count = IPSET_ATTR_CMD_MAX,
1839 .attr_count = IPSET_ATTR_CMD_MAX,
1844 .attr_count = IPSET_ATTR_CMD_MAX,
1849 .attr_count = IPSET_ATTR_CMD_MAX,
[all …]
/linux-4.4.14/include/linux/netfilter/
Dnfnetlink.h21 const u_int16_t attr_count; /* number of nlattr's */ member
/linux-4.4.14/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.4.14/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()