Lines Matching refs:mybuf
523 char mybuf[GEOM_MAXINPLEN]; in tty3270_write_proc() local
530 mycount = MIN(count, sizeof mybuf - 1); in tty3270_write_proc()
531 if (copy_from_user(mybuf, buffer, mycount) != 0) in tty3270_write_proc()
533 mybuf[mycount] = '\0'; in tty3270_write_proc()
552 if ((rc = tty3270_aid_set(tubp, mybuf, mycount + 1))) in tty3270_write_proc()
554 if ((rc = tty3270_rcl_set(tubp, mybuf, mycount + 1))) in tty3270_write_proc()
556 if ((rc = tty3270_scl_set(tubp, mybuf, mycount + 1))) in tty3270_write_proc()
565 } else if (strncmp(mybuf, "index=", 6) == 0) { in tty3270_write_proc()
566 tty3270_proc_index = simple_strtoul(mybuf + 6, 0,0); in tty3270_write_proc()
568 } else if (strncmp(mybuf, "data=", 5) == 0) { in tty3270_write_proc()
569 tty3270_proc_data = simple_strtoul(mybuf + 5, 0, 0); in tty3270_write_proc()
571 } else if (strncmp(mybuf, "misc=", 5) == 0) { in tty3270_write_proc()
572 tty3270_proc_misc = simple_strtoul(mybuf + 5, 0, 0); in tty3270_write_proc()
574 } else if (strncmp(mybuf, "what=", 5) == 0) { in tty3270_write_proc()
575 if (strcmp(mybuf+5, "bogus") == 0) in tty3270_write_proc()
577 else if (strncmp(mybuf+5, "config", 6) == 0) in tty3270_write_proc()