Home | History | Annotate | Download | only in libublock

Lines Matching full:out_buf

37 	char *out_buf;
130 char *out_buf;
142 out_buf = (char *)(out_h + 1);
144 out_h->status = (ub_ctx->ops->read)(out_buf, in_h->length, in_h->offset);
189 void *out_buf;
207 out_buf = out_h + 1;
231 result = (handle_fn)(ub_ctx, in_buf, in_buf_len, out_buf, &out_buf_len);
239 void *out_buf, size_t out_size)
247 assert(out_buf);
253 result = ublock_handle_request(ub_ctx, in_buf, in_len, out_buf, &out_len);
257 out_wrote = write(ub_ctx->fd, out_buf, out_len);
285 ub_ctx->out_buf, ub_ctx->max_buf);
343 char *in_buf, *out_buf;
350 in_buf = out_buf = NULL;
360 out_buf = malloc(size);
361 if (!(in_buf && out_buf)) {
377 result = ublock_do_request(ub_ctx, in_buf, size, out_buf, size);
389 free(out_buf);
390 out_buf = NULL;
393 ub_ctx->out_buf = malloc(ub_ctx->max_buf);
394 if (!(ub_ctx->in_buf && ub_ctx->out_buf)) {
409 if (ub_ctx->out_buf)
410 free(ub_ctx->out_buf);
417 if (out_buf)
418 free(out_buf);