Lines Matching refs:strioc

243 	struct strioctl strioc;  in xpg4_fixup()  local
270 strioc.ic_cmd = PTSSTTY; in xpg4_fixup()
271 strioc.ic_timout = 0; in xpg4_fixup()
272 strioc.ic_len = 0; in xpg4_fixup()
273 strioc.ic_dp = NULL; in xpg4_fixup()
275 (void) strdoioctl(stp, &strioc, FNATIVE, K_TO_K, crp, &rval); in xpg4_fixup()
3285 struct strioctl strioc; in strioctl() local
3425 strioc.ic_cmd = cmd; in strioctl()
3426 strioc.ic_timout = INFTIM; in strioctl()
3436 strioc.ic_len = sizeof (int); in strioctl()
3437 strioc.ic_dp = (char *)&native_arg; in strioctl()
3438 return (strdoioctl(stp, &strioc, flag, in strioctl()
3445 strioc.ic_len = sizeof (struct termio); in strioctl()
3446 strioc.ic_dp = (char *)arg; in strioctl()
3447 return (strdoioctl(stp, &strioc, flag, in strioctl()
3453 strioc.ic_len = sizeof (struct termios); in strioctl()
3454 strioc.ic_dp = (char *)arg; in strioctl()
3455 return (strdoioctl(stp, &strioc, flag, in strioctl()
3459 strioc.ic_len = sizeof (struct termcb); in strioctl()
3460 strioc.ic_dp = (char *)arg; in strioctl()
3461 return (strdoioctl(stp, &strioc, flag, in strioctl()
3465 strioc.ic_len = sizeof (struct sgttyb); in strioctl()
3466 strioc.ic_dp = (char *)arg; in strioctl()
3467 return (strdoioctl(stp, &strioc, flag, in strioctl()
3486 strioc.ic_len = sizeof (char); in strioctl()
3487 strioc.ic_dp = (char *)arg; in strioctl()
3488 return (strdoioctl(stp, &strioc, flag, in strioctl()
3492 strioc.ic_len = sizeof (struct winsize); in strioctl()
3493 strioc.ic_dp = (char *)arg; in strioctl()
3494 return (strdoioctl(stp, &strioc, flag, in strioctl()
3498 strioc.ic_len = sizeof (struct ttysize); in strioctl()
3499 strioc.ic_dp = (char *)arg; in strioctl()
3500 return (strdoioctl(stp, &strioc, flag, in strioctl()
3515 strioc.ic_len = sizeof (int); in strioctl()
3516 strioc.ic_dp = (char *)arg; in strioctl()
3517 return (strdoioctl(stp, &strioc, flag, in strioctl()
3522 strioc.ic_len = sizeof (struct kiockey); in strioctl()
3523 strioc.ic_dp = (char *)arg; in strioctl()
3524 return (strdoioctl(stp, &strioc, flag, in strioctl()
3529 strioc.ic_len = sizeof (struct kiockeymap); in strioctl()
3530 strioc.ic_dp = (char *)arg; in strioctl()
3531 return (strdoioctl(stp, &strioc, flag, in strioctl()
3536 strioc.ic_len = sizeof (char); in strioctl()
3537 strioc.ic_dp = (char *)arg; in strioctl()
3538 return (strdoioctl(stp, &strioc, flag, in strioctl()
3542 strioc.ic_len = sizeof (Ms_parms); in strioctl()
3543 strioc.ic_dp = (char *)arg; in strioctl()
3544 return (strdoioctl(stp, &strioc, flag, in strioctl()
3549 strioc.ic_len = sizeof (struct vuid_addr_probe); in strioctl()
3550 strioc.ic_dp = (char *)arg; in strioctl()
3551 return (strdoioctl(stp, &strioc, flag, in strioctl()
3583 strioc.ic_len = 0; in strioctl()
3584 strioc.ic_dp = (char *)arg; in strioctl()
3585 return (strdoioctl(stp, &strioc, flag, in strioctl()
3593 strioc.ic_cmd = cmd; in strioctl()
3594 strioc.ic_timout = INFTIM; in strioctl()
3595 strioc.ic_len = TRANSPARENT; in strioctl()
3596 strioc.ic_dp = (char *)&arg; in strioctl()
3598 return (strdoioctl(stp, &strioc, flag, copyflag, crp, rvalp)); in strioctl()
3611 error = strcopyin_strioctl((void *)arg, &strioc, flag, in strioctl()
3616 if ((strioc.ic_len < 0) || (strioc.ic_timout < -1)) in strioctl()
3619 access = job_control_type(strioc.ic_cmd); in strioctl()
3640 switch (strioc.ic_cmd) { in strioctl()
3650 error = strdoioctl(stp, &strioc, flag, copyflag, crp, rvalp); in strioctl()
3652 error = strcopyout_strioctl(&strioc, (void *)arg, in strioctl()
4566 strioc.ic_cmd = -1; /* The unsupported ioctl */ in strioctl()
4567 strioc.ic_timout = 0; in strioctl()
4568 strioc.ic_len = 0; in strioctl()
4569 strioc.ic_dp = NULL; in strioctl()
4570 (void) strdoioctl(stp, &strioc, flag, K_TO_K, crp, rvalp); in strioctl()
4600 strioc.ic_cmd = -1; /* The unsupported ioctl */ in strioctl()
4601 strioc.ic_timout = 0; in strioctl()
4602 strioc.ic_len = 0; in strioctl()
4603 strioc.ic_dp = NULL; in strioctl()
4604 (void) strdoioctl(stp, &strioc, flag, K_TO_K, crp, rvalp); in strioctl()
5991 struct strioctl *strioc, in strdoioctl() argument
6017 "strdoioctl:stp %p strioc %p", stp, strioc); in strdoioctl()
6018 if (strioc->ic_len == TRANSPARENT) { /* send arg in M_DATA block */ in strdoioctl()
6020 strioc->ic_len = sizeof (intptr_t); in strdoioctl()
6023 if (strioc->ic_len < 0 || (strmsgsz > 0 && strioc->ic_len > strmsgsz)) in strdoioctl()
6033 iocbp->ioc_count = strioc->ic_len; in strdoioctl()
6034 iocbp->ioc_cmd = strioc->ic_cmd; in strdoioctl()
6059 if ((error = putiocd(bp, strioc->ic_dp, id, crp)) != 0) { in strdoioctl()
6217 (strioc->ic_timout ? in strdoioctl()
6218 strioc->ic_timout * 1000 : STRTIMOUT), sigflag); in strdoioctl()
6338 if (error = getiocd(bp, strioc->ic_dp, copyflag)) in strdoioctl()
6343 strioc->ic_len = len; in strdoioctl()
6345 strioc->ic_len = (int)iocbp->ioc_count; in strdoioctl()