trialmask         317 drivers/iio/industrialio-buffer.c 	unsigned long *trialmask;
trialmask         319 drivers/iio/industrialio-buffer.c 	trialmask = kcalloc(BITS_TO_LONGS(indio_dev->masklength),
trialmask         320 drivers/iio/industrialio-buffer.c 			    sizeof(*trialmask), GFP_KERNEL);
trialmask         321 drivers/iio/industrialio-buffer.c 	if (trialmask == NULL)
trialmask         327 drivers/iio/industrialio-buffer.c 	bitmap_copy(trialmask, buffer->scan_mask, indio_dev->masklength);
trialmask         328 drivers/iio/industrialio-buffer.c 	set_bit(bit, trialmask);
trialmask         330 drivers/iio/industrialio-buffer.c 	if (!iio_validate_scan_mask(indio_dev, trialmask))
trialmask         336 drivers/iio/industrialio-buffer.c 					   trialmask, false);
trialmask         340 drivers/iio/industrialio-buffer.c 	bitmap_copy(buffer->scan_mask, trialmask, indio_dev->masklength);
trialmask         342 drivers/iio/industrialio-buffer.c 	bitmap_free(trialmask);
trialmask         347 drivers/iio/industrialio-buffer.c 	bitmap_free(trialmask);