Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hwmon/
Dibmpowernv.c62 u32 attr_count; member
375 sensor_groups[type].attr_count++; in init_sensor_group_data()
452 sensor_groups[type].attr_count++; in populate_attr_groups()
458 sensor_groups[type].attr_count++; in populate_attr_groups()
460 sensor_groups[type].attr_count++; in populate_attr_groups()
462 sensor_groups[type].attr_count++; in populate_attr_groups()
469 sensor_groups[type].attr_count + 1, in populate_attr_groups()
476 pdata->sensors_count += sensor_groups[type].attr_count; in populate_attr_groups()
477 sensor_groups[type].attr_count = 0; in populate_attr_groups()
522 pgroup->attrs[sensor_groups[type].attr_count++] = &sdata->dev_attr.attr; in populate_sensor()
/Linux-v6.6/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c357 int attr_count = 0; in magn_3d_parse_report() local
372 attr_count++; in magn_3d_parse_report()
375 if (attr_count <= 0) { in magn_3d_parse_report()
382 attr_count); in magn_3d_parse_report()
390 _channels = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
401 ((attr_count + 1) % 2 + (attr_count + 1) / 2) * 2, in magn_3d_parse_report()
410 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
/Linux-v6.6/net/netfilter/
Dnfnetlink_cttimeout.c546 .attr_count = CTA_TIMEOUT_MAX,
552 .attr_count = CTA_TIMEOUT_MAX,
558 .attr_count = CTA_TIMEOUT_MAX,
564 .attr_count = CTA_TIMEOUT_MAX,
570 .attr_count = CTA_TIMEOUT_MAX,
Dnfnetlink_acct.c385 .attr_count = NFACCT_MAX,
391 .attr_count = NFACCT_MAX,
397 .attr_count = NFACCT_MAX,
403 .attr_count = NFACCT_MAX,
Dnfnetlink.c122 if (WARN_ON(n->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT)) in nfnetlink_subsys_register()
270 if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) { in nfnetlink_rcv_msg()
275 err = nla_parse_deprecated(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_msg()
507 if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) { in nfnetlink_rcv_batch()
513 ss->cb[cb_id].attr_count, in nfnetlink_rcv_batch()
Dnfnetlink_osf.c390 .attr_count = OSF_ATTR_MAX,
396 .attr_count = OSF_ATTR_MAX,
Dnfnetlink_cthelper.c747 .attr_count = NFCTH_MAX,
753 .attr_count = NFCTH_MAX,
759 .attr_count = NFCTH_MAX,
Dnf_tables_api.c8922 .attr_count = NFTA_TABLE_MAX,
8928 .attr_count = NFTA_TABLE_MAX,
8934 .attr_count = NFTA_TABLE_MAX,
8940 .attr_count = NFTA_TABLE_MAX,
8946 .attr_count = NFTA_CHAIN_MAX,
8952 .attr_count = NFTA_CHAIN_MAX,
8958 .attr_count = NFTA_CHAIN_MAX,
8964 .attr_count = NFTA_CHAIN_MAX,
8970 .attr_count = NFTA_RULE_MAX,
8976 .attr_count = NFTA_RULE_MAX,
[all …]
Dnfnetlink_queue.c1426 .attr_count = NFQA_MAX,
1431 .attr_count = NFQA_MAX,
1437 .attr_count = NFQA_CFG_MAX,
1443 .attr_count = NFQA_MAX,
Dnfnetlink_hook.c419 .attr_count = NFNLA_HOOK_MAX,
Dnf_conntrack_netlink.c3763 .attr_count = CTA_MAX,
3769 .attr_count = CTA_MAX,
3775 .attr_count = CTA_MAX,
3781 .attr_count = CTA_MAX,
3806 .attr_count = CTA_EXPECT_MAX,
3812 .attr_count = CTA_EXPECT_MAX,
3818 .attr_count = CTA_EXPECT_MAX,
Dnfnetlink_log.c1006 .attr_count = NFULA_MAX,
1011 .attr_count = NFULA_CFG_MAX,
Dnft_compat.c723 .attr_count = NFTA_COMPAT_MAX,
/Linux-v6.6/net/netfilter/ipset/
Dip_set_core.c2099 .attr_count = IPSET_ATTR_CMD_MAX,
2104 .attr_count = IPSET_ATTR_CMD_MAX,
2110 .attr_count = IPSET_ATTR_CMD_MAX,
2116 .attr_count = IPSET_ATTR_CMD_MAX,
2122 .attr_count = IPSET_ATTR_CMD_MAX,
2128 .attr_count = IPSET_ATTR_CMD_MAX,
2134 .attr_count = IPSET_ATTR_CMD_MAX,
2140 .attr_count = IPSET_ATTR_CMD_MAX,
2146 .attr_count = IPSET_ATTR_CMD_MAX,
2152 .attr_count = IPSET_ATTR_CMD_MAX,
[all …]
/Linux-v6.6/include/linux/netfilter/
Dnfnetlink.h30 __u16 attr_count; member
/Linux-v6.6/drivers/memstick/core/
Dmspro_block.c903 int cnt, rc, attr_count; in mspro_block_read_attributes() local
941 attr_count = MSPRO_BLOCK_MAX_ATTRIBUTES; in mspro_block_read_attributes()
943 attr_count = attr->count; in mspro_block_read_attributes()
945 msb->attr_group.attrs = kcalloc(attr_count + 1, in mspro_block_read_attributes()
960 for (cnt = 0; cnt < attr_count; ++cnt) { in mspro_block_read_attributes()
/Linux-v6.6/drivers/scsi/bfa/
Dbfa_fc.h1558 __be32 attr_count; /* # of attributes */ member
1574 __be32 attr_count; /* # of attributes */ member
Dbfa_fcs_lport.c1928 len += sizeof(rhba->hba_attr_blk.attr_count); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2155 rhba->hba_attr_blk.attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2260 len = sizeof(port_attrib->attr_count); in bfa_fcs_lport_fdmi_build_portattr_block()
2462 port_attrib->attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_portattr_block()