Searched refs:NBD_MAX_STRING_SIZE (Results 1 – 5 of 5) sorted by relevance
294 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()
236 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()
309 #define NBD_MAX_STRING_SIZE 4096 macro
761 if (strlen(export_name) > NBD_MAX_STRING_SIZE) { in main()768 if (strlen(export_description) > NBD_MAX_STRING_SIZE) { in main()
1871 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()