Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/x68k/dev/
H A Devent.c72 ev->ev_q = kmem_zalloc((size_t)EV_QSIZE * sizeof(struct firm_event), in ev_init()
88 kmem_free(ev->ev_q, (size_t)EV_QSIZE * sizeof(struct firm_event)); in ev_fini()
123 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */ in ev_read()
139 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 || in ev_read()
209 kn->kn_data = (EV_QSIZE - ev->ev_get) + in filt_evread()
H A Devent_var.h50 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Dms.c427 if ((++put) % EV_QSIZE == get) { \ in ms_input()
434 if (put >= EV_QSIZE) { \ in ms_input()
H A Dkbd.c364 put = (put + 1) % EV_QSIZE; in kbdintr()
/netbsd-src/sys/arch/amiga/dev/
H A Devent.c72 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event), in ev_init()
120 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */ in ev_read()
135 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 || in ev_read()
185 kn->kn_data = (EV_QSIZE - ev->ev_get) + in filt_evread()
H A Dms.c360 if ((++put) % EV_QSIZE == get) { in msintr()
371 if (put >= EV_QSIZE) { in msintr()
380 if ((++put) % EV_QSIZE == get) { in msintr()
390 if (put >= EV_QSIZE) { in msintr()
399 if ((++put) % EV_QSIZE == get) { in msintr()
409 if (put >= EV_QSIZE) { in msintr()
H A Devent_var.h52 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Dkbd.c728 put = (put + 1) % EV_QSIZE; in kbdstuffchar()
/netbsd-src/sys/arch/atari/dev/
H A Devent.c64 #define EV_Q_ALLOCSIZE (EV_QSIZE * sizeof(struct firm_event))
121 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */ in ev_read()
136 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 || in ev_read()
185 kn->kn_data = (EV_QSIZE - ev->ev_get) + in filt_evread()
H A Dms.c220 if ((++put) % EV_QSIZE == get) { in mouse_soft()
227 if (put >= EV_QSIZE) { in mouse_soft()
235 if ((++put) % EV_QSIZE == get) { in mouse_soft()
242 if (put >= EV_QSIZE) { in mouse_soft()
301 if ((++put) % EV_QSIZE == get) { in mouse_soft()
307 if (put >= EV_QSIZE) { in mouse_soft()
H A Devent_var.h52 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Dkbd.c579 put = (put + 1) % EV_QSIZE; in kbdsoft()
/netbsd-src/sys/dev/sun/
H A Devent.c72 ev->ev_q = malloc((u_long)EV_QSIZE * sizeof(struct firm_event), in ev_init()
120 cnt = EV_QSIZE - ev->ev_get; /* events in [get..QSIZE) */ in ev_read()
138 if ((ev->ev_get = (ev->ev_get + cnt) % EV_QSIZE) != 0 || in ev_read()
191 kn->kn_data = (EV_QSIZE - ev->ev_get) + in filt_evread()
H A Dms.c336 if ((++put) % EV_QSIZE == get) { \ in ms_input()
343 if (put >= EV_QSIZE) { \ in ms_input()
H A Devent_var.h51 #define EV_QSIZE 256 /* may need tuning; this uses 2k */ macro
H A Dkbd.c797 put = (put + 1) % EV_QSIZE; in kbd_input_event()
/netbsd-src/sys/arch/sparc/dev/
H A Dms_pckbport.c241 if ((++put) % EV_QSIZE == get) { \ in ms_pckbport_input()
250 if (put >= EV_QSIZE) { \ in ms_pckbport_input()