Searched refs:param_fd (Results 1 – 2 of 2) sorted by relevance
83 int param_fd; in write_param() local86 param_fd = TEMP_FAILURE_RETRY(open(param_path, O_WRONLY | O_CLOEXEC)); in write_param()87 if (param_fd < 0) { in write_param()90 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value))); in write_param()94 close(param_fd); in write_param()
88 int param_fd; in writeModuleParam() local93 param_fd = open(filename.c_str(), O_WRONLY); in writeModuleParam()94 if (param_fd < 0) { in writeModuleParam()98 res = write(param_fd, data, strlen(data)); in writeModuleParam()102 close(param_fd); in writeModuleParam()