1# nbd/client.c 2nbd_send_option_request(uint32_t opt, const char *name, uint32_t len) "Sending option request %" PRIu32" (%s), len %" PRIu32 3nbd_receive_option_reply(uint32_t option, const char *optname, uint32_t type, const char *typename, uint32_t length) "Received option reply %" PRIu32" (%s), type %" PRIu32" (%s), len %" PRIu32 4nbd_reply_err_unsup(uint32_t option, const char *name) "server doesn't understand request %" PRIu32 " (%s), attempting fallback" 5nbd_opt_go_start(const char *name) "Attempting NBD_OPT_GO for export '%s'" 6nbd_opt_go_success(void) "Export is good to go" 7nbd_opt_go_info_unknown(int info, const char *name) "Ignoring unknown info %d (%s)" 8nbd_opt_go_info_block_size(uint32_t minimum, uint32_t preferred, uint32_t maximum) "Block sizes are 0x%" PRIx32 ", 0x%" PRIx32 ", 0x%" PRIx32 9nbd_receive_query_exports_start(const char *wantname) "Querying export list for '%s'" 10nbd_receive_query_exports_success(const char *wantname) "Found desired export name '%s'" 11nbd_receive_starttls_new_client(void) "Setting up TLS" 12nbd_receive_starttls_tls_handshake(void) "Starting TLS handshake" 13nbd_receive_negotiate(void *tlscreds, const char *hostname) "Receiving negotiation tlscreds=%p hostname=%s" 14nbd_receive_negotiate_magic(uint64_t magic) "Magic is 0x%" PRIx64 15nbd_receive_negotiate_server_flags(uint32_t globalflags) "Global flags are 0x%" PRIx32 16nbd_receive_negotiate_default_name(void) "Using default NBD export name \"\"" 17nbd_receive_negotiate_size_flags(uint64_t size, uint16_t flags) "Size is %" PRIu64 ", export flags 0x%" PRIx16 18nbd_init_set_socket(void) "Setting NBD socket" 19nbd_init_set_block_size(unsigned long block_size) "Setting block size to %lu" 20nbd_init_set_size(unsigned long sectors) "Setting size to %lu block(s)" 21nbd_init_trailing_bytes(int ignored_bytes) "Ignoring trailing %d bytes of export" 22nbd_init_set_readonly(void) "Setting readonly attribute" 23nbd_init_finish(void) "Negotiation ended" 24nbd_client_loop(void) "Doing NBD loop" 25nbd_client_loop_ret(int ret, const char *error) "NBD loop returned %d: %s" 26nbd_client_clear_queue(void) "Clearing NBD queue" 27nbd_client_clear_socket(void) "Clearing NBD socket" 28nbd_send_request(uint64_t from, uint32_t len, uint64_t handle, uint16_t flags, uint16_t type, const char *name) "Sending request to server: { .from = %" PRIu64", .len = %" PRIu32 ", .handle = %" PRIu64 ", .flags = 0x%" PRIx16 ", .type = %" PRIu16 " (%s) }" 29nbd_receive_simple_reply(int32_t error, const char *errname, uint64_t handle) "Got simple reply: { .error = %" PRId32 " (%s), handle = %" PRIu64" }" 30nbd_receive_structured_reply_chunk(uint16_t flags, uint16_t type, const char *name, uint64_t handle, uint32_t length) "Got structured reply chunk: { flags = 0x%" PRIx16 ", type = %d (%s), handle = %" PRIu64 ", length = %" PRIu32 " }" 31 32# nbd/common.c 33nbd_unknown_error(int err) "Squashing unexpected error %d to EINVAL" 34 35# nbd/server.c 36nbd_negotiate_send_rep_len(uint32_t opt, const char *optname, uint32_t type, const char *typename, uint32_t len) "Reply opt=%" PRIu32 " (%s), type=%" PRIu32 " (%s), len=%" PRIu32 37nbd_negotiate_send_rep_err(const char *msg) "sending error message \"%s\"" 38nbd_negotiate_send_rep_list(const char *name, const char *desc) "Advertising export name '%s' description '%s'" 39nbd_negotiate_handle_export_name(void) "Checking length" 40nbd_negotiate_handle_export_name_request(const char *name) "Client requested export '%s'" 41nbd_negotiate_send_info(int info, const char *name, uint32_t length) "Sending NBD_REP_INFO type %d (%s) with remaining length %" PRIu32 42nbd_negotiate_handle_info_requests(int requests) "Client requested %d items of info" 43nbd_negotiate_handle_info_request(int request, const char *name) "Client requested info %d (%s)" 44nbd_negotiate_handle_info_block_size(uint32_t minimum, uint32_t preferred, uint32_t maximum) "advertising minimum 0x%" PRIx32 ", preferred 0x%" PRIx32 ", maximum 0x%" PRIx32 45nbd_negotiate_handle_starttls(void) "Setting up TLS" 46nbd_negotiate_handle_starttls_handshake(void) "Starting TLS handshake" 47nbd_negotiate_options_flags(uint32_t flags) "Received client flags 0x%" PRIx32 48nbd_negotiate_options_check_magic(uint64_t magic) "Checking opts magic 0x%" PRIx64 49nbd_negotiate_options_check_option(uint32_t option, const char *name) "Checking option %" PRIu32 " (%s)" 50nbd_negotiate_begin(void) "Beginning negotiation" 51nbd_negotiate_old_style(uint64_t size, unsigned flags) "advertising size %" PRIu64 " and flags 0x%x" 52nbd_negotiate_new_style_size_flags(uint64_t size, unsigned flags) "advertising size %" PRIu64 " and flags 0x%x" 53nbd_negotiate_success(void) "Negotiation succeeded" 54nbd_receive_request(uint32_t magic, uint16_t flags, uint16_t type, uint64_t from, uint32_t len) "Got request: { magic = 0x%" PRIx32 ", .flags = 0x%" PRIx16 ", .type = 0x%" PRIx16 ", from = %" PRIu64 ", len = %" PRIu32 " }" 55nbd_blk_aio_attached(const char *name, void *ctx) "Export %s: Attaching clients to AIO context %p\n" 56nbd_blk_aio_detach(const char *name, void *ctx) "Export %s: Detaching clients from AIO context %p\n" 57nbd_co_send_simple_reply(uint64_t handle, uint32_t error, const char *errname, int len) "Send simple reply: handle = %" PRIu64 ", error = %" PRIu32 " (%s), len = %d" 58nbd_co_send_structured_done(uint64_t handle) "Send structured reply done: handle = %" PRIu64 59nbd_co_send_structured_read(uint64_t handle, uint64_t offset, void *data, size_t size) "Send structured read data reply: handle = %" PRIu64 ", offset = %" PRIu64 ", data = %p, len = %zu" 60nbd_co_send_structured_read_hole(uint64_t handle, uint64_t offset, size_t size) "Send structured read hole reply: handle = %" PRIu64 ", offset = %" PRIu64 ", len = %zu" 61nbd_co_send_structured_error(uint64_t handle, int err, const char *errname, const char *msg) "Send structured error reply: handle = %" PRIu64 ", error = %d (%s), msg = '%s'" 62nbd_co_receive_request_decode_type(uint64_t handle, uint16_t type, const char *name) "Decoding type: handle = %" PRIu64 ", type = %" PRIu16 " (%s)" 63nbd_co_receive_request_payload_received(uint64_t handle, uint32_t len) "Payload received: handle = %" PRIu64 ", len = %" PRIu32 64nbd_co_receive_request_cmd_write(uint32_t len) "Reading %" PRIu32 " byte(s)" 65nbd_trip(void) "Reading request" 66