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

/linux-4.4.14/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c312 int attr_count = 0; magn_3d_parse_report() local
327 attr_count++; magn_3d_parse_report()
330 if (attr_count <= 0) { magn_3d_parse_report()
337 attr_count); magn_3d_parse_report()
345 _channels = devm_kcalloc(&pdev->dev, attr_count, magn_3d_parse_report()
354 st->iio_vals = devm_kcalloc(&pdev->dev, attr_count, magn_3d_parse_report()
364 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; magn_3d_parse_report()
/linux-4.4.14/drivers/hwmon/
H A Dibmpowernv.c62 u32 attr_count; member in struct:sensor_group
300 sensor_groups[type].attr_count++; for_each_child_of_node()
306 sensor_groups[type].attr_count++; for_each_child_of_node()
314 (sensor_groups[type].attr_count + 1),
320 pdata->sensors_count += sensor_groups[type].attr_count;
321 sensor_groups[type].attr_count = 0;
412 pgroups[type]->attrs[sensor_groups[type].attr_count++] = for_each_child_of_node()
430 pgroups[type]->attrs[sensor_groups[type].attr_count++] = for_each_child_of_node()
/linux-4.4.14/include/linux/netfilter/
H A Dnfnetlink.h21 const u_int16_t attr_count; /* number of nlattr's */ member in struct:nfnl_callback
/linux-4.4.14/net/netfilter/
H A Dnfnetlink_acct.c377 .attr_count = NFACCT_MAX,
380 .attr_count = NFACCT_MAX,
383 .attr_count = NFACCT_MAX,
386 .attr_count = NFACCT_MAX,
H A 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,
H A Dnfnetlink.c191 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; nfnetlink_rcv_msg()
196 err = nla_parse(cda, ss->cb[cb_id].attr_count, nfnetlink_rcv_msg()
372 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; nfnetlink_rcv_batch()
376 err = nla_parse(cda, ss->cb[cb_id].attr_count, nfnetlink_rcv_batch()
H A Dnfnetlink_cthelper.c629 .attr_count = NFCTH_MAX,
632 .attr_count = NFCTH_MAX,
635 .attr_count = NFCTH_MAX,
H A Dxt_osf.c140 .attr_count = OSF_ATTR_MAX,
145 .attr_count = OSF_ATTR_MAX,
H A Dnfnetlink_queue.c1240 .attr_count = NFQA_MAX, },
1242 .attr_count = NFQA_MAX,
1245 .attr_count = NFQA_CFG_MAX,
1248 .attr_count = NFQA_MAX,
H A 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,
3812 .attr_count = NFTA_SET_MAX,
3817 .attr_count = NFTA_SET_MAX,
3822 .attr_count = NFTA_SET_ELEM_LIST_MAX,
3827 .attr_count = NFTA_SET_ELEM_LIST_MAX,
3832 .attr_count = NFTA_SET_ELEM_LIST_MAX,
H A 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,
H A Dnfnetlink_log.c942 .attr_count = NFULA_MAX, },
944 .attr_count = NFULA_CFG_MAX,
H A Dnft_compat.c602 .attr_count = NFTA_COMPAT_MAX,
/linux-4.4.14/net/netfilter/ipset/
H A 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,
1854 .attr_count = IPSET_ATTR_CMD_MAX,
1859 .attr_count = IPSET_ATTR_CMD_MAX,
1864 .attr_count = IPSET_ATTR_CMD_MAX,
1869 .attr_count = IPSET_ATTR_CMD_MAX,
/linux-4.4.14/drivers/memstick/core/
H A Dmspro_block.c985 int cnt, rc, attr_count; mspro_block_read_attributes() local
1023 attr_count = MSPRO_BLOCK_MAX_ATTRIBUTES; mspro_block_read_attributes()
1025 attr_count = attr->count; mspro_block_read_attributes()
1027 msb->attr_group.attrs = kcalloc(attr_count + 1, mspro_block_read_attributes()
1043 for (cnt = 0; cnt < attr_count; ++cnt) { mspro_block_read_attributes()
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfa_fc.h1580 __be32 attr_count; /* # of attributes */ member in struct:fdmi_hba_attr_s
1596 __be32 attr_count; /* # of attributes */ member in struct:fdmi_port_attr_s
H A Dbfa_fcs_lport.c1919 len += sizeof(rhba->hba_attr_blk.attr_count); bfa_fcs_lport_fdmi_build_rhba_pyld()
2146 rhba->hba_attr_blk.attr_count = cpu_to_be32(count); bfa_fcs_lport_fdmi_build_rhba_pyld()
2248 len = sizeof(port_attrib->attr_count); bfa_fcs_lport_fdmi_build_portattr_block()
2450 port_attrib->attr_count = cpu_to_be32(count); bfa_fcs_lport_fdmi_build_portattr_block()

Completed in 1371 milliseconds