Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c362 int attr_count = 0; in magn_3d_parse_report() local
377 attr_count++; in magn_3d_parse_report()
380 if (attr_count <= 0) { in magn_3d_parse_report()
387 attr_count); in magn_3d_parse_report()
395 _channels = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
404 st->iio_vals = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
414 i < MAGN_3D_CHANNEL_MAX && *chan_count < attr_count; in magn_3d_parse_report()
/linux-4.19.296/include/linux/netfilter/
Dnfnetlink.h24 const u_int16_t attr_count; /* number of nlattr's */ member
/linux-4.19.296/drivers/memstick/core/
Dmspro_block.c974 int cnt, rc, attr_count; in mspro_block_read_attributes() local
1012 attr_count = MSPRO_BLOCK_MAX_ATTRIBUTES; in mspro_block_read_attributes()
1014 attr_count = attr->count; in mspro_block_read_attributes()
1016 msb->attr_group.attrs = kcalloc(attr_count + 1, in mspro_block_read_attributes()
1031 for (cnt = 0; cnt < attr_count; ++cnt) { in mspro_block_read_attributes()