Searched refs:param_fd (Results 1 – 2 of 2) sorted by relevance
86 int param_fd; in write_param() local89 param_fd = TEMP_FAILURE_RETRY(open(param_path, O_WRONLY)); in write_param()90 if (param_fd < 0) { in write_param()93 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value))); in write_param()97 close(param_fd); in write_param()
82 int param_fd; in writeModuleParam() local87 param_fd = open(filename.c_str(), O_WRONLY); in writeModuleParam()88 if (param_fd < 0) { in writeModuleParam()92 res = write(param_fd, data, strlen(data)); in writeModuleParam()96 close(param_fd); in writeModuleParam()