Home
last modified time | relevance | path

Searched refs:qbuf (Results 1 – 24 of 24) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_query.c37 struct gfx10_sh_query_buffer *qbuf = in emit_shader_query() local
39 qbuf->head += sizeof(struct gfx10_sh_query_buffer_mem); in emit_shader_query()
47 struct gfx10_sh_query_buffer *qbuf = first; in gfx10_release_query_buffers() local
49 first = list_entry(qbuf->list.next, struct gfx10_sh_query_buffer, list); in gfx10_release_query_buffers()
53 qbuf->refcount--; in gfx10_release_query_buffers()
54 if (qbuf->refcount) in gfx10_release_query_buffers()
57 if (qbuf->list.next == &sctx->shader_query_buffers) in gfx10_release_query_buffers()
59 if (qbuf->list.prev == &sctx->shader_query_buffers) in gfx10_release_query_buffers()
62 list_del(&qbuf->list); in gfx10_release_query_buffers()
63 si_resource_reference(&qbuf->buf, NULL); in gfx10_release_query_buffers()
[all …]
Dsi_query.c523 struct si_query_buffer *qbuf = prev; in si_query_buffer_destroy() local
525 si_resource_reference(&qbuf->buf, NULL); in si_query_buffer_destroy()
526 FREE(qbuf); in si_query_buffer_destroy()
536 struct si_query_buffer *qbuf = buffer->previous; in si_query_buffer_reset() local
537 buffer->previous = qbuf->previous; in si_query_buffer_reset()
540 buffer->buf = qbuf->buf; /* move ownership */ in si_query_buffer_reset()
541 FREE(qbuf); in si_query_buffer_reset()
566 struct si_query_buffer *qbuf = MALLOC_STRUCT(si_query_buffer); in si_query_buffer_alloc() local
567 memcpy(qbuf, buffer, sizeof(*qbuf)); in si_query_buffer_alloc()
568 buffer->previous = qbuf; in si_query_buffer_alloc()
[all …]
Dsi_perfcounter.c416 for (struct si_query_buffer *qbuf = &query->buffer; qbuf; qbuf = qbuf->previous) { in si_pc_query_get_result() local
422 map = sctx->ws->buffer_map(sctx->ws, qbuf->buf->buf, NULL, usage); in si_pc_query_get_result()
424 map = si_buffer_map(sctx, qbuf->buf, usage); in si_pc_query_get_result()
429 while (results_base != qbuf->results_end) { in si_pc_query_get_result()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_query.c490 struct r600_query_buffer *qbuf = prev; in r600_query_hw_destroy() local
492 r600_resource_reference(&qbuf->buf, NULL); in r600_query_hw_destroy()
493 FREE(qbuf); in r600_query_hw_destroy()
789 struct r600_query_buffer *qbuf = MALLOC_STRUCT(r600_query_buffer); in r600_query_hw_emit_start() local
790 *qbuf = query->buffer; in r600_query_hw_emit_start()
792 query->buffer.previous = qbuf; in r600_query_hw_emit_start()
916 struct r600_query_buffer *qbuf; in r600_emit_query_predication() local
952 for (qbuf = &query->buffer; qbuf; qbuf = qbuf->previous) { in r600_emit_query_predication()
954 uint64_t va_base = qbuf->buf->gpu_address; in r600_emit_query_predication()
956 while (results_base < qbuf->results_end) { in r600_emit_query_predication()
[all …]
/third_party/node/deps/cares/src/lib/
Dares_query.c109 unsigned char *qbuf; in ares_query() local
114 status = ares_create_query(name, dnsclass, type, channel->next_id, rd, &qbuf, in ares_query()
118 if (qbuf != NULL) ares_free(qbuf); in ares_query()
129 ares_free_string(qbuf); in ares_query()
137 ares_send(channel, qbuf, qlen, qcallback, qquery); in ares_query()
138 ares_free_string(qbuf); in ares_query()
Dares_send.c29 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
74 query->qid = DNS_HEADER_QID(qbuf); in ares_send()
83 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
87 query->qbuf = query->tcpbuf + 2; in ares_send()
Dares_process.c81 static int same_questions(const unsigned char *qbuf, int qlen,
596 if ((q->qid == id) && same_questions(q->qbuf, q->qlen, abuf, alen)) in process_answer()
622 query->qbuf = query->tcpbuf + 2; in process_answer()
861 if (socket_write(channel, server->udp_socket, query->qbuf, query->qlen) == -1) in ares__send_query()
1244 static int same_questions(const unsigned char *qbuf, int qlen, in same_questions() argument
1261 q.qdcount = DNS_HEADER_QDCOUNT(qbuf); in same_questions()
1267 q.p = qbuf + HFIXEDSZ; in same_questions()
1271 if (ares_expand_name(q.p, qbuf, qlen, &q.name, &q.namelen) in same_questions()
1275 if (q.p + QFIXEDSZ > qbuf + qlen) in same_questions()
Dares_private.h225 const unsigned char *qbuf; member
/third_party/libuv/test/
Dtest-shutdown-simultaneous.c30 static uv_buf_t qbuf; variable
98 ASSERT_EQ(qbuf.len, uv_try_write((uv_stream_t*) &tcp, &qbuf, 1)); in connect_cb()
113 qbuf.base = "QQSS"; in TEST_IMPL()
114 qbuf.len = 4; in TEST_IMPL()
Dtest-shutdown-eof.c32 static uv_buf_t qbuf; variable
104 uv_write(&write_req, (uv_stream_t*) &tcp, &qbuf, 1, NULL); in connect_cb()
157 qbuf.base = "Q"; in TEST_IMPL()
158 qbuf.len = 1; in TEST_IMPL()
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dres_mkquery.c27 const char qbuf[] = "\0\1\0\0\0\0\0\0"; variable
49 result = memcmp(buf + 4, qbuf, sizeof(qbuf) - 1); in res_mkquery_0100()
/third_party/toybox/toys/pending/
Dhost.c76 unsigned char qbuf[280], *p; in host_main() local
119 qlen = res_mkquery(0, name, 1, type, 0, 0, 0, qbuf, sizeof(qbuf)); in host_main()
132 send(s, qbuf, qlen, 0); in host_main()
134 } else alen = res_send(qbuf, qlen, abuf, abuf_len); in host_main()
/third_party/musl/src/network/
Dlookup_name.c144 unsigned char qbuf[2][280], abuf[2][512]; in name_from_dns() local
145 const unsigned char *qp[2] = { qbuf[0], qbuf[1] }; in name_from_dns()
158 0, 0, 0, qbuf[nq], sizeof *qbuf); in name_from_dns()
161 qbuf[nq][3] = 0; /* don't need AD flag */ in name_from_dns()
/third_party/musl/porting/linux/user/src/network/
Dlookup_name.c160 unsigned char qbuf[2][280], abuf[2][512]; local
161 const unsigned char *qp[2] = { qbuf[0], qbuf[1] };
178 0, 0, 0, qbuf[nq], sizeof *qbuf);
181 qbuf[nq][3] = 0; /* don't need AD flag */
/third_party/openssl/test/
Decdsatest.c77 unsigned char *pbuf = NULL, *qbuf = NULL, *message = NULL; in x9_62_tests() local
124 || !TEST_ptr(qbuf = OPENSSL_hexstr2buf(ecdsa_cavs_kats[n].Q, &q_len)) in x9_62_tests()
126 || !TEST_mem_eq(qbuf, q_len, pbuf, p_len)) in x9_62_tests()
149 OPENSSL_free(qbuf); in x9_62_tests()
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/
Dres_send.c26 const char qbuf[] = "\0\1\0\0\0\0\0\0"; variable
/third_party/node/deps/cares/include/
Dares.h415 const unsigned char *qbuf,
/third_party/gstreamer/gstplugins_good/
DNEWS1966 - v4l2bufferpool: Fix race condition between qbuf and pool streamoff
DChangeLog583 v4l2bufferpool: Fix race condition between qbuf and pool streamoff
9959 With every qbuf, the kernel receives a new DMABUF for the specified index.
23522 v4l2bufferpool: Don't drop buffer ref on qbuf
28285 gstv4l2bufferpool: lock flush_stop against regular qbuf
50765 qbuf/dqbuf.
83518 qbuf for the v4l2sink for now.
93940 after the buffer is qbuf'd or pushed onto the queue of available buffers..
/third_party/gstreamer/gst_libav/
DNEWS1966 - v4l2bufferpool: Fix race condition between qbuf and pool streamoff
/third_party/gstreamer/gstplugins_bad/
DNEWS1966 - v4l2bufferpool: Fix race condition between qbuf and pool streamoff
/third_party/gstreamer/gstreamer/
DNEWS1966 - v4l2bufferpool: Fix race condition between qbuf and pool streamoff
/third_party/gstreamer/gstplugins_base/
DNEWS1966 - v4l2bufferpool: Fix race condition between qbuf and pool streamoff
/third_party/node/deps/cares/
DCHANGES3207 the data pointed to; to allow for this, qbuf also needs updating.