Home
last modified time | relevance | path

Searched refs:NBD_MAX_STRING_SIZE (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/nbd/
H A Dclient.c294 if (len < namelen || namelen > NBD_MAX_STRING_SIZE) { in nbd_receive_list()
308 if (len > NBD_MAX_STRING_SIZE) { in nbd_receive_list()
680 assert(strnlen(export, NBD_MAX_STRING_SIZE + 1) <= NBD_MAX_STRING_SIZE); in nbd_send_meta_query()
684 assert(strnlen(query, NBD_MAX_STRING_SIZE + 1) <= NBD_MAX_STRING_SIZE); in nbd_send_meta_query()
1049 assert(info->name && strlen(info->name) <= NBD_MAX_STRING_SIZE); in nbd_receive_negotiate()
H A Dserver.c236 assert(len < NBD_MAX_STRING_SIZE); in nbd_negotiate_send_rep_verr()
389 if (len > NBD_MAX_STRING_SIZE) { in nbd_opt_read_name()
425 assert(name_len <= NBD_MAX_STRING_SIZE && desc_len <= NBD_MAX_STRING_SIZE); in nbd_negotiate_send_rep_list()
502 if (client->optlen > NBD_MAX_STRING_SIZE) { in nbd_negotiate_handle_export_name()
680 assert(len <= NBD_MAX_STRING_SIZE); in nbd_negotiate_handle_info()
846 assert(iov[1].iov_len <= NBD_MAX_STRING_SIZE); in nbd_negotiate_send_meta_context()
1000 if (len > NBD_MAX_STRING_SIZE) { in nbd_negotiate_meta_query()
1809 if (strlen(name) > NBD_MAX_STRING_SIZE) { in nbd_export_create()
1814 if (arg->description && strlen(arg->description) > NBD_MAX_STRING_SIZE) { in nbd_export_create()
/openbmc/qemu/include/block/
H A Dnbd.h309 #define NBD_MAX_STRING_SIZE 4096 macro
/openbmc/qemu/
H A Dqemu-nbd.c761 if (strlen(export_name) > NBD_MAX_STRING_SIZE) { in main()
768 if (strlen(export_description) > NBD_MAX_STRING_SIZE) { in main()
/openbmc/qemu/block/
H A Dnbd.c1871 if (s->export && strlen(s->export) > NBD_MAX_STRING_SIZE) { in nbd_process_options()
1891 if (s->x_dirty_bitmap && strlen(s->x_dirty_bitmap) > NBD_MAX_STRING_SIZE) { in nbd_process_options()