Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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-6.6.21/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.c8961 .attr_count = NFTA_TABLE_MAX,
8967 .attr_count = NFTA_TABLE_MAX,
8973 .attr_count = NFTA_TABLE_MAX,
8979 .attr_count = NFTA_TABLE_MAX,
8985 .attr_count = NFTA_CHAIN_MAX,
8991 .attr_count = NFTA_CHAIN_MAX,
8997 .attr_count = NFTA_CHAIN_MAX,
9003 .attr_count = NFTA_CHAIN_MAX,
9009 .attr_count = NFTA_RULE_MAX,
9015 .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.c762 .attr_count = NFTA_COMPAT_MAX,
/linux-6.6.21/net/netfilter/ipset/
Dip_set_core.c2116 .attr_count = IPSET_ATTR_CMD_MAX,
2121 .attr_count = IPSET_ATTR_CMD_MAX,
2127 .attr_count = IPSET_ATTR_CMD_MAX,
2133 .attr_count = IPSET_ATTR_CMD_MAX,
2139 .attr_count = IPSET_ATTR_CMD_MAX,
2145 .attr_count = IPSET_ATTR_CMD_MAX,
2151 .attr_count = IPSET_ATTR_CMD_MAX,
2157 .attr_count = IPSET_ATTR_CMD_MAX,
2163 .attr_count = IPSET_ATTR_CMD_MAX,
2169 .attr_count = IPSET_ATTR_CMD_MAX,
[all …]
/linux-6.6.21/include/linux/netfilter/
Dnfnetlink.h30 __u16 attr_count; member
/linux-6.6.21/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-6.6.21/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()