Searched refs:buf_dir_name (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/tools/iio/ |
D | iio_generic_buffer.c | 264 static char *buf_dir_name = NULL; variable 284 if (buf_dir_name) { in cleanup() 285 ret = write_sysfs_int("enable", buf_dir_name, 0); in cleanup() 597 ret = asprintf(&buf_dir_name, in main() 604 if (stat(buf_dir_name, &st)) { in main() 606 buf_dir_name, errno, strerror(errno)); in main() 612 fprintf(stderr, "File '%s' is not a directory\n", buf_dir_name); in main() 663 ret = write_sysfs_int("length", buf_dir_name, buf_len); in main() 668 ret = write_sysfs_int("enable", buf_dir_name, 1); in main() 672 buf_dir_name, strerror(-ret)); in main() [all …]
|