Searched refs:buffer_attrcount (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/iio/ |
D | industrialio-buffer.c | 1441 int buffer_attrcount, in iio_buffer_register_legacy_sysfs_groups() argument 1449 attrs = kcalloc(buffer_attrcount + 1, sizeof(*attrs), GFP_KERNEL); in iio_buffer_register_legacy_sysfs_groups() 1453 memcpy(attrs, buffer_attrs, buffer_attrcount * sizeof(*attrs)); in iio_buffer_register_legacy_sysfs_groups() 1469 memcpy(attrs, &buffer_attrs[buffer_attrcount], in iio_buffer_register_legacy_sysfs_groups() 1604 int ret, i, attrn, scan_el_attrcount, buffer_attrcount; in __iio_buffer_alloc_sysfs_and_mask() local 1607 buffer_attrcount = 0; in __iio_buffer_alloc_sysfs_and_mask() 1609 while (buffer->attrs[buffer_attrcount] != NULL) in __iio_buffer_alloc_sysfs_and_mask() 1610 buffer_attrcount++; in __iio_buffer_alloc_sysfs_and_mask() 1654 attrn = buffer_attrcount + scan_el_attrcount + ARRAY_SIZE(iio_buffer_attrs); in __iio_buffer_alloc_sysfs_and_mask() 1670 sizeof(struct attribute *) * buffer_attrcount); in __iio_buffer_alloc_sysfs_and_mask() [all …]
|