Lines Matching refs:strioc
3195 struct strioctl strioc; in strioctl() local
3335 strioc.ic_cmd = cmd; in strioctl()
3336 strioc.ic_timout = INFTIM; in strioctl()
3346 strioc.ic_len = sizeof (int); in strioctl()
3347 strioc.ic_dp = (char *)&native_arg; in strioctl()
3348 return (strdoioctl(stp, &strioc, flag, in strioctl()
3355 strioc.ic_len = sizeof (struct termio); in strioctl()
3356 strioc.ic_dp = (char *)arg; in strioctl()
3357 return (strdoioctl(stp, &strioc, flag, in strioctl()
3363 strioc.ic_len = sizeof (struct termios); in strioctl()
3364 strioc.ic_dp = (char *)arg; in strioctl()
3365 return (strdoioctl(stp, &strioc, flag, in strioctl()
3369 strioc.ic_len = sizeof (struct termcb); in strioctl()
3370 strioc.ic_dp = (char *)arg; in strioctl()
3371 return (strdoioctl(stp, &strioc, flag, in strioctl()
3375 strioc.ic_len = sizeof (struct sgttyb); in strioctl()
3376 strioc.ic_dp = (char *)arg; in strioctl()
3377 return (strdoioctl(stp, &strioc, flag, in strioctl()
3396 strioc.ic_len = sizeof (char); in strioctl()
3397 strioc.ic_dp = (char *)arg; in strioctl()
3398 return (strdoioctl(stp, &strioc, flag, in strioctl()
3402 strioc.ic_len = sizeof (struct winsize); in strioctl()
3403 strioc.ic_dp = (char *)arg; in strioctl()
3404 return (strdoioctl(stp, &strioc, flag, in strioctl()
3408 strioc.ic_len = sizeof (struct ttysize); in strioctl()
3409 strioc.ic_dp = (char *)arg; in strioctl()
3410 return (strdoioctl(stp, &strioc, flag, in strioctl()
3424 strioc.ic_len = sizeof (int); in strioctl()
3425 strioc.ic_dp = (char *)arg; in strioctl()
3426 return (strdoioctl(stp, &strioc, flag, in strioctl()
3431 strioc.ic_len = sizeof (struct kiockey); in strioctl()
3432 strioc.ic_dp = (char *)arg; in strioctl()
3433 return (strdoioctl(stp, &strioc, flag, in strioctl()
3438 strioc.ic_len = sizeof (struct kiockeymap); in strioctl()
3439 strioc.ic_dp = (char *)arg; in strioctl()
3440 return (strdoioctl(stp, &strioc, flag, in strioctl()
3445 strioc.ic_len = sizeof (char); in strioctl()
3446 strioc.ic_dp = (char *)arg; in strioctl()
3447 return (strdoioctl(stp, &strioc, flag, in strioctl()
3451 strioc.ic_len = sizeof (Ms_parms); in strioctl()
3452 strioc.ic_dp = (char *)arg; in strioctl()
3453 return (strdoioctl(stp, &strioc, flag, in strioctl()
3458 strioc.ic_len = sizeof (struct vuid_addr_probe); in strioctl()
3459 strioc.ic_dp = (char *)arg; in strioctl()
3460 return (strdoioctl(stp, &strioc, flag, in strioctl()
3491 strioc.ic_len = 0; in strioctl()
3492 strioc.ic_dp = (char *)arg; in strioctl()
3493 return (strdoioctl(stp, &strioc, flag, in strioctl()
3501 strioc.ic_cmd = cmd; in strioctl()
3502 strioc.ic_timout = INFTIM; in strioctl()
3503 strioc.ic_len = TRANSPARENT; in strioctl()
3504 strioc.ic_dp = (char *)&arg; in strioctl()
3506 return (strdoioctl(stp, &strioc, flag, copyflag, crp, rvalp)); in strioctl()
3519 error = strcopyin_strioctl((void *)arg, &strioc, flag, in strioctl()
3524 if ((strioc.ic_len < 0) || (strioc.ic_timout < -1)) in strioctl()
3527 access = job_control_type(strioc.ic_cmd); in strioctl()
3548 switch (strioc.ic_cmd) { in strioctl()
3558 error = strdoioctl(stp, &strioc, flag, copyflag, crp, rvalp); in strioctl()
3560 error = strcopyout_strioctl(&strioc, (void *)arg, in strioctl()
4440 strioc.ic_cmd = -1; /* The unsupported ioctl */ in strioctl()
4441 strioc.ic_timout = 0; in strioctl()
4442 strioc.ic_len = 0; in strioctl()
4443 strioc.ic_dp = NULL; in strioctl()
4444 (void) strdoioctl(stp, &strioc, flag, K_TO_K, crp, rvalp); in strioctl()
4474 strioc.ic_cmd = -1; /* The unsupported ioctl */ in strioctl()
4475 strioc.ic_timout = 0; in strioctl()
4476 strioc.ic_len = 0; in strioctl()
4477 strioc.ic_dp = NULL; in strioctl()
4478 (void) strdoioctl(stp, &strioc, flag, K_TO_K, crp, rvalp); in strioctl()
5865 struct strioctl *strioc, in strdoioctl() argument
5891 "strdoioctl:stp %p strioc %p", stp, strioc); in strdoioctl()
5892 if (strioc->ic_len == TRANSPARENT) { /* send arg in M_DATA block */ in strdoioctl()
5894 strioc->ic_len = sizeof (intptr_t); in strdoioctl()
5897 if (strioc->ic_len < 0 || (strmsgsz > 0 && strioc->ic_len > strmsgsz)) in strdoioctl()
5907 iocbp->ioc_count = strioc->ic_len; in strdoioctl()
5908 iocbp->ioc_cmd = strioc->ic_cmd; in strdoioctl()
5933 if ((error = putiocd(bp, strioc->ic_dp, id, crp)) != 0) { in strdoioctl()
6091 (strioc->ic_timout ? in strdoioctl()
6092 strioc->ic_timout * 1000 : STRTIMOUT), sigflag); in strdoioctl()
6212 if (error = getiocd(bp, strioc->ic_dp, copyflag)) in strdoioctl()
6217 strioc->ic_len = len; in strdoioctl()
6219 strioc->ic_len = (int)iocbp->ioc_count; in strdoioctl()