Home | History | Annotate | Download | only in strace

Lines Matching refs:code

11  * 1. Redistributions of source code must retain the above copyright
38 * program `ioctlsort', such that the list is sorted by the `code' field.
76 unsigned long code1 = ((struct ioctlent *) a)->code;
77 unsigned long code2 = ((struct ioctlent *) b)->code;
82 ioctl_lookup(code)
83 long code;
87 ioent.code = code;
89 ioent.code &= (_IOC_NRMASK<<_IOC_NRSHIFT) | (_IOC_TYPEMASK<<_IOC_TYPESHIFT);
94 if ((--iop)->code != ioent.code) {
105 long code;
107 code = (iop++)->code;
108 if (iop < ioctlent + nioctlents && iop->code == code)
114 ioctl_decode(tcp, code, arg)
116 long code, arg;
118 switch ((code >> 8) & 0xff) {
128 return term_ioctl(tcp, code, arg);
137 return sock_ioctl(tcp, code, arg);
145 return proc_ioctl(tcp, code, arg);
150 return stream_ioctl(tcp, code, arg);
154 return rtc_ioctl(tcp, code, arg);
157 return block_ioctl(tcp, code, arg);
160 return scsi_ioctl(tcp, code, arg);