Lines Matching defs:query
87 * Information required to evaluate qualifying elements for a query
714 pool_query_t query = {0};
734 if (ioctl(prov->pkc_fd, POOL_QUERY, &query) < 0) {
738 if ((query.pq_io_buf = calloc(1,
739 (query.pq_io_bufsize < KERNEL_SNAPSHOT_BUF_SZ) ?
740 query.pq_io_bufsize * 2 : query.pq_io_bufsize)) == NULL) {
744 if (ioctl(prov->pkc_fd, POOL_QUERY, &query) < 0) {
745 free(query.pq_io_buf);
750 query.pq_io_bufsize = 0;
751 query.pq_io_buf = NULL;
755 if (ea_unpack_object(&ep, EUP_NOALLOC, query.pq_io_buf,
756 query.pq_io_bufsize) != EO_GROUP) {
757 free(query.pq_io_buf);
767 free(query.pq_io_buf);
772 free(query.pq_io_buf);
1242 * Callback used to build the result set for a query. Each invocation will
1309 * Execute the supplied query and return a result set which contains
2618 * Allocate a result set. The Result Set stores the result of a query.