Searched refs:EV_QSIZE (Results 1 - 17 of 17) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/
H A Devent_var.h49 /* EV_QSIZE should be a power of two so that `%' is fast */
50 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Devent.c70 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event),
118 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */
133 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 ||
183 kn->kn_data = (EV_QSIZE - ev->ev_get) +
H A Dms.c408 if ((++put) % EV_QSIZE == get) { \
415 if (put >= EV_QSIZE) { \
H A Dkbd.c344 put = (put + 1) % EV_QSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/
H A Devent_var.h51 /* EV_QSIZE should be a power of two so that `%' is fast */
52 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Devent.c72 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event),
120 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */
135 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 ||
184 kn->kn_data = (EV_QSIZE - ev->ev_get) +
H A Dms.c207 if ((++put) % EV_QSIZE == get) {
214 if (put >= EV_QSIZE) {
221 if ((++put) % EV_QSIZE == get) {
228 if (put >= EV_QSIZE) {
284 if ((++put) % EV_QSIZE == get) {
290 if (put >= EV_QSIZE) {
H A Dkbd.c520 put = (put + 1) % EV_QSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/
H A Devent_var.h51 /* EV_QSIZE should be a power of two so that `%' is fast */
52 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Devent.c72 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event),
120 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */
135 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 ||
185 kn->kn_data = (EV_QSIZE - ev->ev_get) +
H A Dms.c350 if ((++put) % EV_QSIZE == get) {
361 if (put >= EV_QSIZE) {
370 if ((++put) % EV_QSIZE == get) {
380 if (put >= EV_QSIZE) {
389 if ((++put) % EV_QSIZE == get) {
399 if (put >= EV_QSIZE) {
H A Dkbd.c717 put = (put + 1) % EV_QSIZE;
/netbsd-6-1-5-RELEASE/sys/dev/sun/
H A Devent_var.h50 /* EV_QSIZE should be a power of two so that `%' is fast */
51 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Devent.c72 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event),
120 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */
138 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 ||
191 kn->kn_data = (EV_QSIZE - ev->ev_get) +
H A Dms.c326 if ((++put) % EV_QSIZE == get) { \
333 if (put >= EV_QSIZE) { \
H A Dkbd.c784 put = (put + 1) % EV_QSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/
H A Dms_pckbport.c241 if ((++put) % EV_QSIZE == get) { \
250 if (put >= EV_QSIZE) { \

Completed in 207 milliseconds