Lines Matching defs:datap
288 mblk_t *datap;
348 while ((datap = allocb(sizeof (struct termios), BPRI_HI)) ==
365 cb = (struct termios *)datap->b_rptr;
371 datap->b_wptr += sizeof (struct termios);
372 mp->b_cont = datap;
517 mblk_t *datap;
602 if ((datap = allocb(sizeof (uchar_t), BPRI_HI)) == NULL) {
606 *(uchar_t *)datap->b_wptr = kbdd->led_state;
607 datap->b_wptr += sizeof (uchar_t);
610 mp->b_cont = datap;
615 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
619 *(int *)datap->b_wptr =
623 datap->b_wptr += sizeof (int);
626 mp->b_cont = datap;
631 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
635 *(int *)datap->b_wptr = kbdd->kbdd_translate;
636 datap->b_wptr += sizeof (int);
639 mp->b_cont = datap;
710 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
714 *(int *)datap->b_wptr = kbdd->kbdd_translatable;
715 datap->b_wptr += sizeof (int);
718 mp->b_cont = datap;
731 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
735 *(int *)datap->b_wptr = kbdd->kbdd_compat;
736 datap->b_wptr += sizeof (int);
739 mp->b_cont = datap;
791 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
795 *(int *)datap->b_wptr = 1; /* always direct */
796 datap->b_wptr += sizeof (int);
799 mp->b_cont = datap;
804 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
808 *(int *)datap->b_wptr = kbdd->kbdd_state.k_id;
809 datap->b_wptr += sizeof (int);
812 mp->b_cont = datap;
817 if ((datap = kbdd->kbdd_replypending) != NULL) {
823 freemsg(datap);
828 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
837 mp->b_cont = datap;
858 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
862 *(int *)datap->b_wptr = TICK_TO_MSEC(kbd_repeatdelay);
863 datap->b_wptr += sizeof (int);
868 mp->b_cont = datap;
895 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL) {
899 *(int *)datap->b_wptr = TICK_TO_MSEC(kbd_repeatrate);
900 datap->b_wptr += sizeof (int);
905 mp->b_cont = datap;