Searched refs:version_buf (Results 1 – 2 of 2) sorted by relevance
148 uint32_t version_buf[VCMD_PROTOCOL_VERSION_SIZE]; in virgl_vtest_negotiate_version() local176 version_buf[VCMD_PROTOCOL_VERSION_VERSION] = VTEST_PROTOCOL_VERSION; in virgl_vtest_negotiate_version()178 virgl_block_write(vws->sock_fd, &version_buf, sizeof(version_buf)); in virgl_vtest_negotiate_version()182 ret = virgl_block_read(vws->sock_fd, version_buf, sizeof(version_buf)); in virgl_vtest_negotiate_version()184 return version_buf[VCMD_PROTOCOL_VERSION_VERSION]; in virgl_vtest_negotiate_version()
96 static char version_buf[256]; in regex_version() local98 if (len <= 0 || len > sizeof(version_buf)) in regex_version()101 pcre2_config(PCRE2_CONFIG_VERSION, version_buf); in regex_version()102 return version_buf; in regex_version()