/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-event_queue.c | 55 int evb; in efix_init_pending() local 59 for (evb = 0; evb < evb_max; ++evb) { in efix_init_pending() 60 ev = pt_evq_enqueue(&efix->evq, (enum pt_event_binding) evb); in efix_init_pending() 89 static struct ptunit_result enqueue_null(enum pt_event_binding evb) in enqueue_null() argument 93 ev = pt_evq_enqueue(NULL, evb); in enqueue_null() 99 static struct ptunit_result dequeue_null(enum pt_event_binding evb) in dequeue_null() argument 103 ev = pt_evq_dequeue(NULL, evb); in dequeue_null() 110 enum pt_event_binding evb) in dequeue_empty() argument 114 ev = pt_evq_dequeue(&efix->evq, evb); in dequeue_empty() 121 enum pt_event_binding evb) in evq_empty() argument [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_event_queue.c | 67 enum pt_event_binding evb) in pt_evq_enqueue() argument 74 if (evb_max <= evb) in pt_evq_enqueue() 77 begin = evq->begin[evb]; in pt_evq_enqueue() 78 idx = evq->end[evb]; in pt_evq_enqueue() 93 evq->end[evb] = end; in pt_evq_enqueue() 95 return pt_event_init(&evq->queue[evb][idx]); in pt_evq_enqueue() 99 enum pt_event_binding evb) in pt_evq_dequeue() argument 106 if (evb_max <= evb) in pt_evq_dequeue() 109 begin = evq->begin[evb]; in pt_evq_dequeue() 110 end = evq->end[evb]; in pt_evq_dequeue() [all …]
|
/freebsd/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_event_queue.h | 77 * Adds a new event to @evq for binding @evb. 80 * Returns NULL if @evq is NULL or @evb is invalid. 84 enum pt_event_binding evb); 89 * Removes the first event for binding @evb from @evq. 92 * Returns NULL if @evq is NULL or @evb is invalid. 96 enum pt_event_binding evb); 100 * Removes all events for binding @evb from @evq. 103 * Returns -pte_internal if @evq is NULL or @evb is invalid. 106 enum pt_event_binding evb); 110 * Check if @evq for binding @evb is empty. [all …]
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_buffer.c | 176 struct evbuffer *evb = evbuffer_new(); in test_evbuffer() local 181 evbuffer_validate(evb); in test_evbuffer() 182 evbuffer_add_printf(evb, "%s/%d", "hello", 1); in test_evbuffer() 183 evbuffer_validate(evb); in test_evbuffer() 185 tt_assert(evbuffer_get_length(evb) == 7); in test_evbuffer() 186 tt_assert(!memcmp((char*)EVBUFFER_DATA(evb), "hello/1", 1)); in test_evbuffer() 188 evbuffer_add_buffer(evb, evb_two); in test_evbuffer() 189 evbuffer_validate(evb); in test_evbuffer() 191 evbuffer_drain(evb, strlen("hello/")); in test_evbuffer() 192 evbuffer_validate(evb); in test_evbuffer() [all …]
|
H A D | bench_http.c | 59 struct evbuffer *evb = evbuffer_new(); in http_basic_cb() local 61 evbuffer_add(evb, content, content_len); in http_basic_cb() 64 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_basic_cb() 66 evbuffer_free(evb); in http_basic_cb() 73 struct evbuffer *evb = evbuffer_new(); in http_ref_cb() local 75 evbuffer_add_reference(evb, content, content_len, NULL, NULL); in http_ref_cb() 78 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_ref_cb() 80 evbuffer_free(evb); in http_ref_cb()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_buffer.c | 176 struct evbuffer *evb = evbuffer_new(); in test_evbuffer() local 181 evbuffer_validate(evb); in test_evbuffer() 182 evbuffer_add_printf(evb, "%s/%d", "hello", 1); in test_evbuffer() 183 evbuffer_validate(evb); in test_evbuffer() 185 tt_assert(evbuffer_get_length(evb) == 7); in test_evbuffer() 186 tt_assert(!memcmp((char*)EVBUFFER_DATA(evb), "hello/1", 1)); in test_evbuffer() 188 evbuffer_add_buffer(evb, evb_two); in test_evbuffer() 189 evbuffer_validate(evb); in test_evbuffer() 191 evbuffer_drain(evb, strlen("hello/")); in test_evbuffer() 192 evbuffer_validate(evb); in test_evbuffer() [all …]
|
H A D | bench_http.c | 59 struct evbuffer *evb = evbuffer_new(); in http_basic_cb() local 61 evbuffer_add(evb, content, content_len); in http_basic_cb() 64 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_basic_cb() 66 evbuffer_free(evb); in http_basic_cb() 73 struct evbuffer *evb = evbuffer_new(); in http_ref_cb() local 75 evbuffer_add_reference(evb, content, content_len, NULL, NULL); in http_ref_cb() 78 evhttp_send_reply(req, HTTP_OK, "Everything is fine", evb); in http_ref_cb() 80 evbuffer_free(evb); in http_ref_cb()
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | mediatek.yaml | 22 - mediatek,mt2701-evb 27 - mediatek,mt2712-evb 44 - mediatek,mt6592-evb 48 - mediatek,mt6755-evb 52 - mediatek,mt6765-evb 56 - mediatek,mt6779-evb 60 - mediatek,mt6795-evb 66 - mediatek,mt6797-evb 130 - mediatek,mt8173-evb 134 - mediatek,mt8183-evb [all...] |
H A D | realtek.yaml | 21 - realtek,horseradish # Realtek Horseradish EVB 49 - realtek,lion-skin # Realtek Lion Skin EVB 55 - realtek,mjolnir # Realtek Mjolnir EVB
|
H A D | rockchip.yaml | 100 - description: Cool Pi Compute Module 5(CM5) EVB 103 - coolpi,pi-cm5-evb 794 - const: rockchip,px3-evb 800 - const: rockchip,px30-evb 805 - const: rockchip,px5-evb 816 - const: rockchip,rk3036-evb 821 - const: rockchip,rk3128-evb 826 - const: rockchip,rk3228-evb 831 - const: rockchip,rk3229-evb 837 - rockchip,rk3288-evb [all...] |
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | qcs404-evb-1000.dts | 8 #include "qcs404-evb.dtsi" 11 model = "Qualcomm Technologies, Inc. QCS404 EVB 1000"; 12 compatible = "qcom,qcs404-evb-1000", "qcom,qcs404-evb",
|
H A D | qcs404-evb-4000.dts | 9 #include "qcs404-evb.dtsi" 12 model = "Qualcomm Technologies, Inc. QCS404 EVB 4000"; 13 compatible = "qcom,qcs404-evb-4000", "qcom,qcs404-evb",
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-ast2600-evb-a1.dts | 4 #include "aspeed-ast2600-evb.dts" 7 model = "AST2600 A1 EVB"; 8 compatible = "aspeed,ast2600-evb-a1", "aspeed,ast2600-evb", "aspeed,ast2600";
|
H A D | aspeed-ast2600-evb.dts | 10 model = "AST2600 EVB"; 11 compatible = "aspeed,ast2600-evb", "aspeed,ast2600"; 299 * The signal voltage of sdhci0 and sdhci1 on AST2600-A2 EVB is able to be 301 * In the reference design, GPIOV0 of AST2600-A2 EVB is connected to the 309 * AST2600-A2 EVB also supports toggling signal voltage for sdhci1.
|
/freebsd/sys/contrib/device-tree/src/arm/allwinner/ |
H A D | sun7i-a20-olimex-som204-evb-emmc.dts | 3 * Device Tree Source for A20-SOM204-EVB-eMMC Board 10 #include "sun7i-a20-olimex-som204-evb.dts" 13 model = "Olimex A20-SOM204-EVB-eMMC"; 14 compatible = "olimex,a20-olimex-som204-evb-emmc", "allwinner,sun7i-a20";
|
H A D | sun7i-a20-olimex-som-evb-emmc.dts | 3 * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board 10 #include "sun7i-a20-olimex-som-evb.dts" 14 model = "Olimex A20-Olimex-SOM-EVB-eMMC"; 15 compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20";
|
H A D | sun7i-a20-olimex-som204-evb.dts | 3 * Device Tree Source for A20-SOM204-EVB Board 19 model = "Olimex A20-SOM204-EVB"; 20 compatible = "olimex,a20-olimex-som204-evb", "allwinner,sun7i-a20"; 50 label = "a20-som204-evb:green:stat"; 56 label = "a20-som204-evb:green:led1"; 62 label = "a20-som204-evb:yellow:led2";
|
/freebsd/contrib/ntp/sntp/libevent/sample/ |
H A D | http-server.c | 184 struct evbuffer *evb = NULL; in send_document_cb() local 237 evb = evbuffer_new(); in send_document_cb() 272 evbuffer_add_printf(evb, in send_document_cb() 293 evbuffer_add_printf(evb, in send_document_cb() 301 evbuffer_add_printf(evb, "</ul></body></html>\n"); in send_document_cb() 326 evbuffer_add_file(evb, fd, 0, st.st_size); in send_document_cb() 329 evhttp_send_reply(req, 200, "OK", evb); in send_document_cb() 342 if (evb) in send_document_cb() 343 evbuffer_free(evb); in send_document_cb()
|
/freebsd/contrib/libevent/sample/ |
H A D | http-server.c | 184 struct evbuffer *evb = NULL; in send_document_cb() local 237 evb = evbuffer_new(); in send_document_cb() 272 evbuffer_add_printf(evb, in send_document_cb() 293 evbuffer_add_printf(evb, in send_document_cb() 301 evbuffer_add_printf(evb, "</ul></body></html>\n"); in send_document_cb() 326 evbuffer_add_file(evb, fd, 0, st.st_size); in send_document_cb() 329 evhttp_send_reply(req, 200, "OK", evb); in send_document_cb() 342 if (evb) in send_document_cb() 343 evbuffer_free(evb); in send_document_cb()
|
/freebsd/sys/contrib/device-tree/Bindings/arm/aspeed/ |
H A D | aspeed.yaml | 36 - aspeed,ast2500-evb 75 - aspeed,ast2600-evb 76 - aspeed,ast2600-evb-a1
|
/freebsd/sys/contrib/device-tree/src/arm/mediatek/ |
H A D | mt6592-evb.dts | 12 model = "mt6592 evb"; 13 compatible = "mediatek,mt6592-evb", "mediatek,mt6592";
|
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
H A D | mt6779-evb.dts | 12 model = "MediaTek MT6779 EVB"; 14 compatible = "mediatek,mt6779-evb", "mediatek,mt6779";
|
H A D | mt6755-evb.dts | 11 model = "MediaTek MT6755 EVB"; 13 compatible = "mediatek,mt6755-evb", "mediatek,mt6755";
|
/freebsd/sys/contrib/device-tree/src/arm/socionext/ |
H A D | milbeaut-m10v-evb.dts | 7 model = "Socionext M10V EVB"; 8 compatible = "socionext,milbeaut-m10v-evb", "socionext,sc2000a";
|
/freebsd/sys/modules/dtb/allwinner/ |
H A D | Makefile | 13 allwinner/sun7i-a20-olimex-som-evb.dts \ 42 ${DTBDIR}/sun7i-a20-olimex-som-evb.dtb ${DTBDIR}/olimex-a20-som-evb.dtb \
|