Lines Matching defs:code
324 uint_t code;
1621 ioctl_ioccom(char *buf, size_t size, uint_t code, int nbytes, int x, int y)
1625 if (code & IOC_VOID)
1627 else if ((code & IOC_INOUT) == IOC_INOUT)
1630 inoutstr = code & IOC_IN ? "W" : "R";
1642 ioctlname(private_t *pri, uint_t code)
1648 if (code == ip->code) {
1661 int c_hi = code >> 24;
1662 int c_mid = (code >> 16) & 0xff;
1663 int c_mid_nm = (code >> 16);
1664 int c_lo = (code >> 8) & 0xff;
1665 int c_lo_nm = code >> 8;
1672 c_hi, c_mid, c_lo, code & 0xff);
1677 code & 0xff);
1680 c_lo_nm, code & 0xff);
1681 else if (code & (IOC_VOID|IOC_INOUT))
1683 code, c_mid, c_lo, code & 0xff);
1685 (void) sprintf(pri->code_buf, "0x%.4X", code);
1694 ioctldatastruct(uint_t code)
1700 if (code == ip->code) {
1710 fcntlname(int code)
1714 if (code >= FCNTLMIN && code <= FCNTLMAX)
1715 str = FCNTLname[code-FCNTLMIN];
1720 sfsname(int code)
1724 if (code >= SYSFSMIN && code <= SYSFSMAX)
1725 str = SYSFSname[code-SYSFSMIN];
1731 si86name(int code)
1736 switch (code) {
1794 utscode(int code)
1798 switch (code) {
1808 rctlsyscode(int code)
1811 switch (code) {
1880 sconfname(int code)
1884 if (code >= SCONFMIN && code <= SCONFMAX)
1885 str = SCONFname[code-SCONFMIN];
1890 pathconfname(int code)
1894 if (code >= PATHCONFMIN && code <= PATHCONFMAX)
1895 str = PATHCONFname[code-PATHCONFMIN];