Lines Matching defs:response
109 static int finish_create(ramdisk_ioctl_config_response_t* response, char* out_path, ssize_t r) {
114 response->name[r] = 0;
117 auto cleanup = fbl::MakeAutoCall([&path, response]() {
118 snprintf(path, sizeof(path), "%s/%s", RAMCTL_PATH, response->name);
124 snprintf(path, sizeof(path), "%s/%s/%s", RAMCTL_PATH, response->name, BLOCK_EXTENSION);
145 ramdisk_ioctl_config_response_t response;
146 return finish_create(&response, out_path,
147 ioctl_ramdisk_config(fd.get(), &config, &response));
163 ramdisk_ioctl_config_response_t response;
164 return finish_create(&response, out_path,
165 ioctl_ramdisk_config(fd.get(), &config, &response));
173 ramdisk_ioctl_config_response_t response;
174 return finish_create(&response, out_path,
175 ioctl_ramdisk_config_vmo(fd.get(), &vmo, &response));