Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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.c121 if (WARN_ON(n->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT)) in nfnetlink_subsys_register()
269 if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) { in nfnetlink_rcv_msg()
274 err = nla_parse_deprecated(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_msg()
506 if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) { in nfnetlink_rcv_batch()
512 ss->cb[cb_id].attr_count, in nfnetlink_rcv_batch()
Dnfnetlink_osf.c382 .attr_count = OSF_ATTR_MAX,
388 .attr_count = OSF_ATTR_MAX,
Dnfnetlink_cthelper.c747 .attr_count = NFCTH_MAX,
753 .attr_count = NFCTH_MAX,
759 .attr_count = NFCTH_MAX,
Dnfnetlink_queue.c1405 .attr_count = NFQA_MAX,
1410 .attr_count = NFQA_MAX,
1416 .attr_count = NFQA_CFG_MAX,
1422 .attr_count = NFQA_MAX,
Dnfnetlink_hook.c364 .attr_count = NFNLA_HOOK_MAX,
Dnf_tables_api.c8313 .attr_count = NFTA_TABLE_MAX,
8319 .attr_count = NFTA_TABLE_MAX,
8325 .attr_count = NFTA_TABLE_MAX,
8331 .attr_count = NFTA_CHAIN_MAX,
8337 .attr_count = NFTA_CHAIN_MAX,
8343 .attr_count = NFTA_CHAIN_MAX,
8349 .attr_count = NFTA_RULE_MAX,
8355 .attr_count = NFTA_RULE_MAX,
8361 .attr_count = NFTA_RULE_MAX,
8367 .attr_count = NFTA_SET_MAX,
[all …]
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.c998 .attr_count = NFULA_MAX,
1003 .attr_count = NFULA_CFG_MAX,
Dnft_compat.c720 .attr_count = NFTA_COMPAT_MAX,
/linux-6.1.9/net/netfilter/ipset/
Dip_set_core.c2085 .attr_count = IPSET_ATTR_CMD_MAX,
2090 .attr_count = IPSET_ATTR_CMD_MAX,
2096 .attr_count = IPSET_ATTR_CMD_MAX,
2102 .attr_count = IPSET_ATTR_CMD_MAX,
2108 .attr_count = IPSET_ATTR_CMD_MAX,
2114 .attr_count = IPSET_ATTR_CMD_MAX,
2120 .attr_count = IPSET_ATTR_CMD_MAX,
2126 .attr_count = IPSET_ATTR_CMD_MAX,
2132 .attr_count = IPSET_ATTR_CMD_MAX,
2138 .attr_count = IPSET_ATTR_CMD_MAX,
[all …]
/linux-6.1.9/include/linux/netfilter/
Dnfnetlink.h30 __u16 attr_count; member
/linux-6.1.9/drivers/memstick/core/
Dmspro_block.c936 int cnt, rc, attr_count; in mspro_block_read_attributes() local
974 attr_count = MSPRO_BLOCK_MAX_ATTRIBUTES; in mspro_block_read_attributes()
976 attr_count = attr->count; in mspro_block_read_attributes()
978 msb->attr_group.attrs = kcalloc(attr_count + 1, in mspro_block_read_attributes()
993 for (cnt = 0; cnt < attr_count; ++cnt) { in mspro_block_read_attributes()
/linux-6.1.9/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()