Home
last modified time | relevance | path

Searched refs:nbd_write (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/nbd/
H A Dnbd-internal.h69 static inline int nbd_write(QIOChannel *ioc, const void *buffer, size_t size, in nbd_write() function
H A Dserver.c212 return nbd_write(client->ioc, &rep, sizeof(rep), errp); in nbd_negotiate_send_rep_len()
242 if (nbd_write(client->ioc, msg, len, errp) < 0) { in nbd_negotiate_send_rep_verr()
433 if (nbd_write(ioc, &len, sizeof(len), errp) < 0) { in nbd_negotiate_send_rep_list()
438 if (nbd_write(ioc, name, name_len, errp) < 0) { in nbd_negotiate_send_rep_list()
443 if (nbd_write(ioc, desc, desc_len, errp) < 0) { in nbd_negotiate_send_rep_list()
533 ret = nbd_write(client->ioc, buf, len, errp); in nbd_negotiate_handle_export_name()
561 if (nbd_write(client->ioc, &info, sizeof(info), errp) < 0) { in nbd_negotiate_send_info()
564 if (nbd_write(client->ioc, buf, length, errp) < 0) { in nbd_negotiate_send_info()
1418 if (nbd_write(client->ioc, buf, 18, errp) < 0) { in nbd_negotiate()
H A Dclient.c84 if (nbd_write(ioc, &req, sizeof(req), errp) < 0) { in nbd_send_option_request()
89 if (len && nbd_write(ioc, (char *) data, len, errp) < 0) { in nbd_send_option_request()
957 if (nbd_write(ioc, &clientflags, sizeof(clientflags), errp) < 0) { in nbd_start_negotiate()
1401 return nbd_write(ioc, buf, len, NULL); in nbd_send_request()