/src/sys/kern/ |
tty_conf.c | 121 #define TTYLDISC_ISSTATIC(disc) \ 122 ((disc) == &termios_disc || (disc) == &ntty_disc) 124 #define TTYLDISC_HOLD(disc) \ 126 if (! TTYLDISC_ISSTATIC(disc)) { \ 127 KASSERT((disc)->l_refcnt != UINT_MAX); \ 128 (disc)->l_refcnt++; \ 132 #define TTYLDISC_RELE(disc) \ 134 if (! TTYLDISC_ISSTATIC(disc)) { \ 135 KASSERT((disc)->l_refcnt != 0); 180 struct linesw *disc; local in function:ttyldisc_lookup_locked 197 struct linesw *disc; local in function:ttyldisc_lookup 215 struct linesw *disc; local in function:ttyldisc_lookup_bynum [all...] |
/src/usr.sbin/mmcformat/ |
uscsi_subr.c | 78 uscsi_open(struct uscsi_dev *disc) 82 disc->fhandle = open(disc->dev_name, O_RDWR, 0); /* no create */ 83 if (disc->fhandle<0) { 88 if (fstat(disc->fhandle, &dstat) < 0) { 90 uscsi_close(disc); 99 uscsi_close(struct uscsi_dev * disc) 101 close(disc->fhandle); 102 disc->fhandle = -1; 109 uscsi_command(int flags, struct uscsi_dev *disc, [all...] |
uscsilib.h | 95 extern int uscsi_command(int flags, struct uscsi_dev *disc,
|
/src/sys/dev/scsipi/ |
scsi_message.h | 42 #define MSG_IDENTIFY(lun, disc) \ 43 (MSG_IDENTIFYFLAG | ((disc) ? MSG_IDENTIFY_DISCFLAG : 0) | (lun))
|
/src/sys/compat/sunos/ |
sunos_ioctl.c | 434 int disc; local in function:sunos_sys_ioctl 436 if ((error = copyin(SCARG(uap, data), (void *)&disc, 437 sizeof disc)) != 0) 441 if (disc == 2) 442 disc = 0; 444 if (disc) { 449 error = (*ctl)(fp, TIOCSETD, &disc);
|
/src/sys/compat/sunos32/ |
sunos32_ioctl.c | 484 int disc; local in function:sunos32_sys_ioctl 486 if ((error = copyin(SCARG_P32(uap, data), &disc, 487 sizeof disc)) != 0) 491 if (disc == 2) 492 disc = 0; 494 if (disc) 497 return sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCSETD, &disc, l);
|
/src/sys/compat/ultrix/ |
ultrix_ioctl.c | 487 int disc; local in function:ultrix_sys_ioctl 489 error = copyin(SCARG(&ap, data), &disc, sizeof disc); 494 if (disc == 2) 495 disc = 0; 497 if (disc) 500 return ultrix_do_ioctl(SCARG(&ap, fd), TIOCSETD, &disc, l);
|
/src/sys/arch/x86/x86/ |
hyperv.c | 209 uint64_t disc, ret, tsc; local in function:hyperv_tc64_tsc 217 "=d" (ret), "=a" (disc) :
|