Home
last modified time | relevance | path

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

/drivers/iio/
Dindustrialio-buffer.c1444 int buffer_attrcount, in iio_buffer_register_legacy_sysfs_groups() argument
1452 attrs = kcalloc(buffer_attrcount + 1, sizeof(*attrs), GFP_KERNEL); in iio_buffer_register_legacy_sysfs_groups()
1456 memcpy(attrs, buffer_attrs, buffer_attrcount * sizeof(*attrs)); in iio_buffer_register_legacy_sysfs_groups()
1472 memcpy(attrs, &buffer_attrs[buffer_attrcount], in iio_buffer_register_legacy_sysfs_groups()
1607 int ret, i, attrn, scan_el_attrcount, buffer_attrcount; in __iio_buffer_alloc_sysfs_and_mask() local
1610 buffer_attrcount = 0; in __iio_buffer_alloc_sysfs_and_mask()
1612 while (buffer->attrs[buffer_attrcount] != NULL) in __iio_buffer_alloc_sysfs_and_mask()
1613 buffer_attrcount++; in __iio_buffer_alloc_sysfs_and_mask()
1657 attrn = buffer_attrcount + scan_el_attrcount + ARRAY_SIZE(iio_buffer_attrs); in __iio_buffer_alloc_sysfs_and_mask()
1673 sizeof(struct attribute *) * buffer_attrcount); in __iio_buffer_alloc_sysfs_and_mask()
[all …]