Searched refs:buffer_attrcount (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/iio/ |
D | industrialio-buffer.c | 1454 int buffer_attrcount, in iio_buffer_register_legacy_sysfs_groups() argument 1462 attrs = kcalloc(buffer_attrcount + 1, sizeof(*attrs), GFP_KERNEL); in iio_buffer_register_legacy_sysfs_groups() 1466 memcpy(attrs, buffer_attrs, buffer_attrcount * sizeof(*attrs)); in iio_buffer_register_legacy_sysfs_groups() 1482 memcpy(attrs, &buffer_attrs[buffer_attrcount], in iio_buffer_register_legacy_sysfs_groups() 1617 int ret, i, attrn, scan_el_attrcount, buffer_attrcount; in __iio_buffer_alloc_sysfs_and_mask() local 1620 buffer_attrcount = 0; in __iio_buffer_alloc_sysfs_and_mask() 1622 while (buffer->attrs[buffer_attrcount] != NULL) in __iio_buffer_alloc_sysfs_and_mask() 1623 buffer_attrcount++; in __iio_buffer_alloc_sysfs_and_mask() 1667 attrn = buffer_attrcount + scan_el_attrcount + ARRAY_SIZE(iio_buffer_attrs); in __iio_buffer_alloc_sysfs_and_mask() 1683 sizeof(struct attribute *) * buffer_attrcount); in __iio_buffer_alloc_sysfs_and_mask() [all …]
|