Lines Matching refs:buf

460 			   char *buf)  in config_show()  argument
468 len += snprintf(buf, PAGE_SIZE, in config_show()
472 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
476 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
482 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
486 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
490 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
494 len += snprintf(buf+len, PAGE_SIZE - len, in config_show()
570 const char *buf, size_t count) in trigger_config_store() argument
658 const char *buf, size_t count) in config_test_driver_store() argument
669 copied = config_copy_test_driver_name(config, buf, count); in config_test_driver_store()
693 char *buf) in config_test_driver_show() argument
698 return config_test_show_str(&test_dev->config_mutex, buf, in config_test_driver_show()
705 const char *buf, size_t count) in config_test_fs_store() argument
716 copied = config_copy_test_fs(config, buf, count); in config_test_fs_store()
724 char *buf) in config_test_fs_show() argument
729 return config_test_show_str(&test_dev->config_mutex, buf, in config_test_fs_show()
845 const char *buf, size_t count) in reset_store() argument
873 const char *buf, size_t size, in test_dev_config_update_uint_sync() argument
881 ret = kstrtouint(buf, 10, &val); in test_dev_config_update_uint_sync()
907 const char *buf, size_t size, in test_dev_config_update_uint_range() argument
915 ret = kstrtouint(buf, 10, &val); in test_dev_config_update_uint_range()
931 const char *buf, size_t size, in test_dev_config_update_int() argument
937 ret = kstrtoint(buf, 10, &val); in test_dev_config_update_int()
949 char *buf, in test_dev_config_show_int() argument
958 return snprintf(buf, PAGE_SIZE, "%d\n", val); in test_dev_config_show_int()
962 char *buf, in test_dev_config_show_uint() argument
971 return snprintf(buf, PAGE_SIZE, "%u\n", val); in test_dev_config_show_uint()
976 const char *buf, size_t count) in test_result_store() argument
981 return test_dev_config_update_int(test_dev, buf, count, in test_result_store()
987 const char *buf, size_t count) in config_num_threads_store() argument
992 return test_dev_config_update_uint_sync(test_dev, buf, count, in config_num_threads_store()
999 char *buf) in config_num_threads_show() argument
1004 return test_dev_config_show_int(test_dev, buf, config->num_threads); in config_num_threads_show()
1010 const char *buf, size_t count) in config_test_case_store() argument
1015 return test_dev_config_update_uint_range(test_dev, buf, count, in config_test_case_store()
1023 char *buf) in config_test_case_show() argument
1028 return test_dev_config_show_uint(test_dev, buf, config->test_case); in config_test_case_show()
1034 char *buf) in test_result_show() argument
1039 return test_dev_config_show_int(test_dev, buf, config->test_result); in test_result_show()