Lines Matching defs:req

1402 	mblk_t		*req;
1417 req = mkiocb(CONSSETKBDTYPE);
1418 if (req == NULL) {
1424 req->b_cont = allocb(sizeof (int), BPRI_MED);
1425 if (req->b_cont == NULL) {
1426 freemsg(req);
1434 *(int *)req->b_cont->b_wptr = KB_USB;
1435 req->b_cont->b_wptr += sizeof (int);
1439 if (putq(lowque, req) != 1) {
1440 freemsg(req);
1552 mblk_t *req;
1563 req = mkiocb(KIOCTRANS);
1564 if (req == NULL) {
1568 req->b_cont = allocb(sizeof (int), BPRI_MED);
1569 if (req->b_cont == NULL) {
1570 freemsg(req);
1575 *(int *)req->b_cont->b_wptr = TR_UNTRANS_EVENT;
1576 req->b_cont->b_wptr += sizeof (int);
1581 if (putq(lowerque, req) != 1) {
1582 freemsg(req);
1627 mblk_t *req;
1638 req = mkiocb(KIOCLAYOUT);
1639 if (req == NULL) {
1643 req->b_cont = allocb(sizeof (int), BPRI_MED);
1644 if (req->b_cont == NULL) {
1645 freemsg(req);
1651 if (putq(lqs->lqs_queue, req) != 1) {
1652 freemsg(req);
1697 mblk_t *req;
1722 if ((req = conskbd_alloc_firm_event(
1728 req);
1733 req);
1735 freemsg(req);
1752 req = mkiocb(KIOCGLED);
1754 req = mkiocb(KIOCSLED);
1756 if (req) {
1757 req->b_cont = allocb(sizeof (uchar_t), BPRI_MED);
1758 if (req->b_cont) {
1760 *(uchar_t *)req->b_cont->b_wptr =
1762 req->b_cont->b_wptr += sizeof (uchar_t);
1767 if (putq(lqs->lqs_queue, req) == 1) {
1770 freemsg(req);
1774 freemsg(req);
2131 mblk_t *req;
2145 req = mkiocb(KIOCSLED);
2147 if (!req) {
2151 req->b_cont = allocb(sizeof (uchar_t), BPRI_MED);
2152 if (!req->b_cont) {
2153 freemsg(req);
2156 *(uchar_t *)req->b_cont->b_wptr = led_state;
2157 req->b_cont->b_wptr += sizeof (uchar_t);
2158 if (putq(lqs->lqs_queue, req) != 1)
2159 freemsg(req);