Symbol: curs
games/hack/hack.do_name.c
107
curs(cx,cy+2);
games/hack/hack.do_name.c
85
curs(cx,cy+2);
games/hack/hack.h
616
void curs(int, int);
games/hack/hack.pager.c
195
curs(1, ROWNO+4);
games/hack/hack.pager.c
203
curs(1, LI);
games/hack/hack.pager.c
210
curs(1, ROWNO+4);
games/hack/hack.pager.c
234
curs(1, ROWNO+4);
games/hack/hack.pager.c
313
curs(lth, curline);
games/hack/hack.pager.c
320
curs(lth, curline);
games/hack/hack.pri.c
242
curs(x,y);
games/hack/hack.pri.c
320
curs(xmin,y+2);
games/hack/hack.pri.c
336
curs(1,ROWNO+3);
games/hack/hack.pri.c
345
curs(u.ux, u.uy+2);
games/hack/hack.pri.c
720
curs(i,ROWNO+2);
games/hack/hack.pri.c
84
curs(u.ux-1, u.uy+1);
games/hack/hack.pri.c
87
curs(u.ux-1, u.uy+2);
games/hack/hack.pri.c
90
curs(u.ux-1, u.uy+3);
games/hack/hack.rip.c
92
curs(1, 8);
games/hack/hack.termcap.c
196
curs(x, y);
games/hack/hack.termcap.c
263
curs(cx, cy);
games/hack/hack.termcap.c
282
curs(1, 1); /* using UP ... */
games/hack/hack.termcap.c
330
curs(cx, cy);
games/hack/hack.topl.c
144
curs(tlx,tly);
games/hack/hack.topl.c
156
curs(tlx, tly);
sys/arch/amd64/amd64/powernow-k8.c
347
int curs, needtran;
sys/arch/amd64/amd64/powernow-k8.c
359
curs = k8pnow_acpi_states(nstate, pss, npss, status);
sys/arch/amd64/amd64/powernow-k8.c
362
if (curs < 0) {
sys/arch/amd64/amd64/powernow-k8.c
367
curs = ((perflevel * npss) + 1) / 101;
sys/arch/amd64/amd64/powernow-k8.c
368
if (curs >= npss)
sys/arch/amd64/amd64/powernow-k8.c
369
curs = npss - 1;
sys/arch/amd64/amd64/powernow-k8.c
373
ctrl = pss[curs].pss_ctrl;
sys/arch/amd64/amd64/powernow-k8.c
384
k8pnow_transition(nstate, curs);
sys/arch/amd64/amd64/powernow-k8.c
393
int curs;
sys/arch/amd64/amd64/powernow-k8.c
402
curs = k8pnow_acpi_states(cstate, pss, cstate->n_states, status);
sys/arch/amd64/amd64/powernow-k8.c
403
ctrl = pss[curs].pss_ctrl;
sys/arch/i386/i386/powernow-k7.c
335
int curs;
sys/arch/i386/i386/powernow-k7.c
343
curs = k7pnow_acpi_states(cstate, pss, npss, status);
sys/arch/i386/i386/powernow-k7.c
344
ctrl = pss[curs].pss_ctrl;
sys/arch/i386/i386/powernow-k7.c
352
int curs;
sys/arch/i386/i386/powernow-k7.c
361
curs = k7pnow_acpi_states(cstate, pss, cstate->n_states, status);
sys/arch/i386/i386/powernow-k7.c
373
ctrl = pss[curs].pss_ctrl;
sys/arch/i386/i386/powernow-k8.c
400
int curs;
sys/arch/i386/i386/powernow-k8.c
408
curs = k8pnow_acpi_states(cstate, pss, npss, status);
sys/arch/i386/i386/powernow-k8.c
409
ctrl = pss[curs].pss_ctrl;
sys/arch/i386/i386/powernow-k8.c
423
int curs;
sys/arch/i386/i386/powernow-k8.c
432
curs = k8pnow_acpi_states(cstate, pss, cstate->n_states, status);
sys/arch/i386/i386/powernow-k8.c
433
ctrl = pss[curs].pss_ctrl;
sys/arch/sparc64/dev/creator.c
222
struct wsdisplay_cursor *curs;
sys/arch/sparc64/dev/creator.c
264
curs = (struct wsdisplay_cursor *)data;
sys/arch/sparc64/dev/creator.c
265
if (curs->which & WSDISPLAY_CURSOR_DOCUR)
sys/arch/sparc64/dev/creator.c
266
curs->enable = sc->sc_curs_enabled;
sys/arch/sparc64/dev/creator.c
267
if (curs->which & WSDISPLAY_CURSOR_DOPOS) {
sys/arch/sparc64/dev/creator.c
268
curs->pos.x = sc->sc_curs_pos.x;
sys/arch/sparc64/dev/creator.c
269
curs->pos.y = sc->sc_curs_pos.y;
sys/arch/sparc64/dev/creator.c
271
if (curs->which & WSDISPLAY_CURSOR_DOHOT) {
sys/arch/sparc64/dev/creator.c
272
curs->hot.x = sc->sc_curs_hot.x;
sys/arch/sparc64/dev/creator.c
273
curs->hot.y = sc->sc_curs_hot.y;
sys/arch/sparc64/dev/creator.c
275
if (curs->which & WSDISPLAY_CURSOR_DOCMAP) {
sys/arch/sparc64/dev/creator.c
276
curs->cmap.index = 0;
sys/arch/sparc64/dev/creator.c
277
curs->cmap.count = 2;
sys/arch/sparc64/dev/creator.c
284
error = copyout(r, curs->cmap.red, sizeof(r));
sys/arch/sparc64/dev/creator.c
287
error = copyout(g, curs->cmap.green, sizeof(g));
sys/arch/sparc64/dev/creator.c
290
error = copyout(b, curs->cmap.blue, sizeof(b));
sys/arch/sparc64/dev/creator.c
294
if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) {
sys/arch/sparc64/dev/creator.c
297
curs->size.x = sc->sc_curs_size.x;
sys/arch/sparc64/dev/creator.c
298
curs->size.y = sc->sc_curs_size.y;
sys/arch/sparc64/dev/creator.c
300
error = copyout(sc->sc_curs_image, curs->image, l);
sys/arch/sparc64/dev/creator.c
303
error = copyout(sc->sc_curs_mask, curs->mask, l);
sys/arch/sparc64/dev/creator.c
320
curs = (struct wsdisplay_cursor *)data;
sys/arch/sparc64/dev/creator.c
321
return (creator_setcursor(sc, curs));
sys/arch/sparc64/dev/creator.c
341
creator_setcursor(struct creator_softc *sc, struct wsdisplay_cursor *curs)
sys/arch/sparc64/dev/creator.c
351
if (curs->which & WSDISPLAY_CURSOR_DOCMAP) {
sys/arch/sparc64/dev/creator.c
352
if (curs->cmap.count < 2)
sys/arch/sparc64/dev/creator.c
354
error = copyin(curs->cmap.red, r, sizeof(r));
sys/arch/sparc64/dev/creator.c
357
error = copyin(curs->cmap.green, g, sizeof(g));
sys/arch/sparc64/dev/creator.c
360
error = copyin(curs->cmap.blue, b, sizeof(b));
sys/arch/sparc64/dev/creator.c
365
if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) {
sys/arch/sparc64/dev/creator.c
366
if (curs->size.x > CREATOR_CURS_MAX ||
sys/arch/sparc64/dev/creator.c
367
curs->size.y > CREATOR_CURS_MAX)
sys/arch/sparc64/dev/creator.c
369
imcount = (curs->size.x * curs->size.y) / NBBY;
sys/arch/sparc64/dev/creator.c
370
error = copyin(curs->image, image, imcount);
sys/arch/sparc64/dev/creator.c
373
error = copyin(curs->mask, mask, imcount);
sys/arch/sparc64/dev/creator.c
382
if (curs->which & WSDISPLAY_CURSOR_DOCUR)
sys/arch/sparc64/dev/creator.c
383
sc->sc_curs_enabled = curs->enable;
sys/arch/sparc64/dev/creator.c
384
if (curs->which & WSDISPLAY_CURSOR_DOPOS) {
sys/arch/sparc64/dev/creator.c
385
sc->sc_curs_pos.x = curs->pos.x;
sys/arch/sparc64/dev/creator.c
386
sc->sc_curs_pos.y = curs->pos.y;
sys/arch/sparc64/dev/creator.c
388
if (curs->which & WSDISPLAY_CURSOR_DOHOT) {
sys/arch/sparc64/dev/creator.c
389
sc->sc_curs_hot.x = curs->hot.x;
sys/arch/sparc64/dev/creator.c
390
sc->sc_curs_hot.y = curs->hot.y;
sys/arch/sparc64/dev/creator.c
392
if (curs->which & WSDISPLAY_CURSOR_DOCMAP) {
sys/arch/sparc64/dev/creator.c
396
if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) {
sys/arch/sparc64/dev/creator.c
397
sc->sc_curs_size.x = curs->size.x;
sys/arch/sparc64/dev/creator.c
398
sc->sc_curs_size.y = curs->size.y;
sys/arch/sparc64/dev/creator.c
403
creator_updatecursor(sc, curs->which);
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
511
void ttm_bo_lru_cursor_fini(struct ttm_bo_lru_cursor *curs);
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
514
ttm_bo_lru_cursor_init(struct ttm_bo_lru_cursor *curs,
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
518
struct ttm_buffer_object *ttm_bo_lru_cursor_first(struct ttm_bo_lru_cursor *curs);
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
520
struct ttm_buffer_object *ttm_bo_lru_cursor_next(struct ttm_bo_lru_cursor *curs);
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
527
ttm_bo_lru_cursor_init(curs, man, arg),
sys/dev/pci/drm/include/drm/ttm/ttm_bo.h
528
struct ttm_bo_lru_cursor *curs, struct ttm_resource_manager *man,
sys/dev/pci/drm/ttm/ttm_bo_util.c
1001
res = ttm_resource_manager_next(&curs->res_curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
1007
if (ttm_lru_walk_trylock(curs, bo))
sys/dev/pci/drm/ttm/ttm_bo_util.c
1013
if (curs->needs_unlock)
sys/dev/pci/drm/ttm/ttm_bo_util.c
1021
ret = ttm_lru_walk_ticketlock(curs, bo);
sys/dev/pci/drm/ttm/ttm_bo_util.c
1030
curs->bo = bo;
sys/dev/pci/drm/ttm/ttm_bo_util.c
1034
ttm_bo_lru_cursor_cleanup_bo(curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
1054
struct ttm_buffer_object *ttm_bo_lru_cursor_next(struct ttm_bo_lru_cursor *curs)
sys/dev/pci/drm/ttm/ttm_bo_util.c
1056
return __ttm_bo_lru_cursor_next(curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
1068
struct ttm_buffer_object *ttm_bo_lru_cursor_first(struct ttm_bo_lru_cursor *curs)
sys/dev/pci/drm/ttm/ttm_bo_util.c
1070
ttm_bo_lru_cursor_cleanup_bo(curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
1071
return __ttm_bo_lru_cursor_next(curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
827
static bool ttm_lru_walk_trylock(struct ttm_bo_lru_cursor *curs,
sys/dev/pci/drm/ttm/ttm_bo_util.c
830
struct ttm_operation_ctx *ctx = curs->arg->ctx;
sys/dev/pci/drm/ttm/ttm_bo_util.c
832
curs->needs_unlock = false;
sys/dev/pci/drm/ttm/ttm_bo_util.c
835
curs->needs_unlock = true;
sys/dev/pci/drm/ttm/ttm_bo_util.c
847
static int ttm_lru_walk_ticketlock(struct ttm_bo_lru_cursor *curs,
sys/dev/pci/drm/ttm/ttm_bo_util.c
850
struct ttm_lru_walk_arg *arg = curs->arg;
sys/dev/pci/drm/ttm/ttm_bo_util.c
860
curs->needs_unlock = true;
sys/dev/pci/drm/ttm/ttm_bo_util.c
930
static void ttm_bo_lru_cursor_cleanup_bo(struct ttm_bo_lru_cursor *curs)
sys/dev/pci/drm/ttm/ttm_bo_util.c
932
struct ttm_buffer_object *bo = curs->bo;
sys/dev/pci/drm/ttm/ttm_bo_util.c
935
if (curs->needs_unlock)
sys/dev/pci/drm/ttm/ttm_bo_util.c
938
curs->bo = NULL;
sys/dev/pci/drm/ttm/ttm_bo_util.c
947
void ttm_bo_lru_cursor_fini(struct ttm_bo_lru_cursor *curs)
sys/dev/pci/drm/ttm/ttm_bo_util.c
949
spinlock_t *lru_lock = &curs->res_curs.man->bdev->lru_lock;
sys/dev/pci/drm/ttm/ttm_bo_util.c
951
ttm_bo_lru_cursor_cleanup_bo(curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
953
ttm_resource_cursor_fini(&curs->res_curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
969
ttm_bo_lru_cursor_init(struct ttm_bo_lru_cursor *curs,
sys/dev/pci/drm/ttm/ttm_bo_util.c
973
memset(curs, 0, sizeof(*curs));
sys/dev/pci/drm/ttm/ttm_bo_util.c
974
ttm_resource_cursor_init(&curs->res_curs, man);
sys/dev/pci/drm/ttm/ttm_bo_util.c
975
curs->arg = arg;
sys/dev/pci/drm/ttm/ttm_bo_util.c
977
return curs;
sys/dev/pci/drm/ttm/ttm_bo_util.c
982
__ttm_bo_lru_cursor_next(struct ttm_bo_lru_cursor *curs)
sys/dev/pci/drm/ttm/ttm_bo_util.c
984
spinlock_t *lru_lock = &curs->res_curs.man->bdev->lru_lock;
sys/dev/pci/drm/ttm/ttm_bo_util.c
987
struct ttm_lru_walk_arg *arg = curs->arg;
sys/dev/pci/drm/ttm/ttm_bo_util.c
988
bool first = !curs->bo;
sys/dev/pci/drm/ttm/ttm_bo_util.c
990
ttm_bo_lru_cursor_cleanup_bo(curs);
sys/dev/pci/drm/ttm/ttm_bo_util.c
998
res = ttm_resource_manager_first(&curs->res_curs);
sys/dev/sbus/cgsix.c
248
struct wsdisplay_cursor *curs;
sys/dev/sbus/cgsix.c
298
curs = (struct wsdisplay_cursor *)data;
sys/dev/sbus/cgsix.c
299
return (cgsix_setcursor(sc, curs));
sys/dev/sbus/cgsix.c
301
curs = (struct wsdisplay_cursor *)data;
sys/dev/sbus/cgsix.c
302
if (curs->which & WSDISPLAY_CURSOR_DOCUR)
sys/dev/sbus/cgsix.c
303
curs->enable = sc->sc_curs_enabled;
sys/dev/sbus/cgsix.c
304
if (curs->which & WSDISPLAY_CURSOR_DOPOS) {
sys/dev/sbus/cgsix.c
305
curs->pos.x = sc->sc_curs_pos.x;
sys/dev/sbus/cgsix.c
306
curs->pos.y = sc->sc_curs_pos.y;
sys/dev/sbus/cgsix.c
308
if (curs->which & WSDISPLAY_CURSOR_DOHOT) {
sys/dev/sbus/cgsix.c
309
curs->hot.x = sc->sc_curs_hot.x;
sys/dev/sbus/cgsix.c
310
curs->hot.y = sc->sc_curs_hot.y;
sys/dev/sbus/cgsix.c
312
if (curs->which & WSDISPLAY_CURSOR_DOCMAP) {
sys/dev/sbus/cgsix.c
313
curs->cmap.index = 0;
sys/dev/sbus/cgsix.c
314
curs->cmap.count = 2;
sys/dev/sbus/cgsix.c
321
error = copyout(r, curs->cmap.red, sizeof(r));
sys/dev/sbus/cgsix.c
324
error = copyout(g, curs->cmap.green, sizeof(g));
sys/dev/sbus/cgsix.c
327
error = copyout(b, curs->cmap.blue, sizeof(b));
sys/dev/sbus/cgsix.c
331
if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) {
sys/dev/sbus/cgsix.c
334
curs->size.x = sc->sc_curs_size.x;
sys/dev/sbus/cgsix.c
335
curs->size.y = sc->sc_curs_size.y;
sys/dev/sbus/cgsix.c
337
error = copyout(sc->sc_curs_image, curs->image, l);
sys/dev/sbus/cgsix.c
340
error = copyout(sc->sc_curs_mask, curs->mask, l);
sys/dev/sbus/cgsix.c
373
cgsix_setcursor(struct cgsix_softc *sc, struct wsdisplay_cursor *curs)
sys/dev/sbus/cgsix.c
383
if (curs->which & WSDISPLAY_CURSOR_DOCMAP) {
sys/dev/sbus/cgsix.c
384
if (curs->cmap.count < 2)
sys/dev/sbus/cgsix.c
386
error = copyin(curs->cmap.red, r, sizeof(r));
sys/dev/sbus/cgsix.c
389
error = copyin(curs->cmap.green, g, sizeof(g));
sys/dev/sbus/cgsix.c
392
error = copyin(curs->cmap.blue, b, sizeof(b));
sys/dev/sbus/cgsix.c
397
if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) {
sys/dev/sbus/cgsix.c
398
if (curs->size.x > CG6_MAX_CURSOR ||
sys/dev/sbus/cgsix.c
399
curs->size.y > CG6_MAX_CURSOR)
sys/dev/sbus/cgsix.c
401
imcount = (curs->size.x * curs->size.y) / NBBY;
sys/dev/sbus/cgsix.c
402
error = copyin(curs->image, image, imcount);
sys/dev/sbus/cgsix.c
405
error = copyin(curs->mask, mask, imcount);
sys/dev/sbus/cgsix.c
415
if (curs->which & WSDISPLAY_CURSOR_DOCUR)
sys/dev/sbus/cgsix.c
416
sc->sc_curs_enabled = curs->enable;
sys/dev/sbus/cgsix.c
417
if (curs->which & WSDISPLAY_CURSOR_DOPOS) {
sys/dev/sbus/cgsix.c
418
sc->sc_curs_pos.x = curs->pos.x;
sys/dev/sbus/cgsix.c
419
sc->sc_curs_pos.y = curs->pos.y;
sys/dev/sbus/cgsix.c
421
if (curs->which & WSDISPLAY_CURSOR_DOHOT) {
sys/dev/sbus/cgsix.c
422
sc->sc_curs_hot.x = curs->hot.x;
sys/dev/sbus/cgsix.c
423
sc->sc_curs_hot.y = curs->hot.y;
sys/dev/sbus/cgsix.c
425
if (curs->which & WSDISPLAY_CURSOR_DOCMAP) {
sys/dev/sbus/cgsix.c
429
if (curs->which & WSDISPLAY_CURSOR_DOSHAPE) {
sys/dev/sbus/cgsix.c
430
sc->sc_curs_size.x = curs->size.x;
sys/dev/sbus/cgsix.c
431
sc->sc_curs_size.y = curs->size.y;
sys/dev/sbus/cgsix.c
436
cgsix_updatecursor(sc, curs->which);