| /src/external/cddl/osnet/dist/lib/libzfs/common/ |
| libzfs_compat.h | 38 #define ioctl(fd, ioc, zc) zcmd_ioctl((fd), (ioc), (zc))
|
| /src/usr.sbin/bootp/common/ |
| getif.c | 69 struct strioctl ioc; local 70 ioc.ic_cmd = SIOCGIFCONF; 71 ioc.ic_timout = 0; 72 ioc.ic_len = sizeof(ifreq); 73 ioc.ic_dp = (char *) ifreq; 74 m = ioctl(s, I_STR, (char *) &ioc); 75 ifconf.ifc_len = ioc.ic_len;
|
| /src/sys/arch/atari/stand/loadkmap/ |
| loadkmap.c | 49 int ioc; local 51 ioc = set_sysmap ? ITEIOCSSKMAP : ITEIOCSKMAP; 55 if (ioctl(0, ioc, buf) == 0) {
|
| /src/external/cddl/osnet/dist/lib/libzfs_core/common/ |
| libzfs_core_compat.c | 33 lzc_compat_pre(zfs_cmd_t *zc, zfs_ioc_t *ioc, nvlist_t **source) 47 vecnum = *ioc; 60 *ioc = ZFS_IOC_CREATE; 154 lzc_compat_post(zfs_cmd_t *zc, const zfs_ioc_t ioc) 159 switch (ioc) { 171 lzc_compat_outnvl(zfs_cmd_t *zc, const zfs_ioc_t ioc, nvlist_t **outnvl) 178 switch (ioc) {
|
| libzfs_core.c | 129 lzc_ioctl(zfs_ioc_t ioc, const char *name, 150 error = lzc_compat_pre(&zc, &ioc, &source); 175 while (ioctl(g_fd, ioc, &zc) != 0) { 197 lzc_compat_post(&zc, ioc); 205 lzc_compat_outnvl(&zc, ioc, resultp);
|
| /src/usr.sbin/btattach/ |
| btattach.c | 411 uart_getc(int fd, struct iovec *iov, int ioc, size_t *count) 428 while (ioc > 0) { 438 ioc--; 448 uart_recv_pkt(int fd, struct iovec *iov, int ioc) 457 type = uart_getc(fd, iov, ioc, &count); 460 (void)uart_getc(fd, iov, ioc, &count); /* event */ 461 want = uart_getc(fd, iov, ioc, &count); 465 (void)uart_getc(fd, iov, ioc, &count); /* handle LSB */ 466 (void)uart_getc(fd, iov, ioc, &count); /* handle MSB */ 467 want = uart_getc(fd, iov, ioc, &count) | /* LSB * [all...] |
| /src/sys/dev/ |
| efi.c | 238 efi_ioctl_got_table(struct efi_get_table_ioc *ioc, void *ptr, size_t len) 244 ioc->table_len = len; 249 return copyout(ptr, ioc->buf, MIN(ioc->buf_len, len)); 253 efi_ioctl_get_esrt(struct efi_get_table_ioc *ioc, 282 return efi_ioctl_got_table(ioc, tab, len); 286 efi_ioctl_get_table(struct efi_get_table_ioc *ioc) 303 status = efi_ops->efi_gettab(&ioc->uuid, &addr); 319 if (memcmp(&ioc->uuid, &(struct uuid)EFI_SYSTEM_RESOURCE_TABLE_GUID, 320 sizeof(ioc->uuid)) == 0) [all...] |
| /src/sys/arch/sgimips/ioc/ |
| ioc.c | 1 /* $NetBSD: ioc.c,v 1.14 2023/12/20 15:29:07 thorpej Exp $ */ 36 * ip20/22/24 I/O Controller (IOC) 40 __KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.14 2023/12/20 15:29:07 thorpej Exp $"); 60 #include <sgimips/ioc/iocreg.h> 61 #include <sgimips/ioc/iocvar.h> 77 CFATTACH_DECL_NEW(ioc, sizeof(struct ioc_softc), 124 /* Reset IOC */ 153 * pckbc, zstty, and lpt should attach under the IOC. This begs the 154 * question of how we sort things out with ip20, which has no IOC. 156 * the IOC [all...] |
| oioc.c | 35 * So, we'll call ourselves 'Old IOC' and hope that there wasn't an even older 52 #include <sgimips/ioc/oiocreg.h> 53 #include <sgimips/ioc/oiocvar.h> 112 printf("\noioc0: Old SGI IOC%d\n", oiocrev);
|
| if_le_oioc.c | 61 #include <sgimips/ioc/oiocvar.h> 62 #include <sgimips/ioc/oiocreg.h> 99 bus_space_handle_t sc_maph; /* ioc<->lance page map regs */ 194 aprint_error(": failed to allocate ioc<->lance buffer space, " 199 /* Use IOC to map the physical memory into the Ethernet chip's space. */
|
| oiocsc.c | 59 #include <sgimips/ioc/oiocreg.h> 60 #include <sgimips/ioc/oiocvar.h>
|
| /src/external/cddl/osnet/dist/lib/pyzfs/common/ |
| ioctl.c | 63 ioctl_with_cmdstr(int ioc, zfs_cmd_t *zc) 69 err = ioctl(zfsdevfd, ioc, zc); 201 ioctl_with_dstnv(int ioc, zfs_cmd_t *zc) 212 if (ioctl(zfsdevfd, ioc, zc) == 0) { 232 int ioc; local 247 ioc = ZFS_IOC_SNAPSHOT_LIST_NEXT; 249 ioc = ZFS_IOC_DATASET_LIST_NEXT; 251 nvl = ioctl_with_dstnv(ioc, &zc);
|
| /src/sys/arch/sgimips/ |
| Makefile | 15 ${SYSDIR}/arch/sgimips/ioc/*.[ch] \
|
| /src/sbin/ifconfig/ |
| lagg.c | 399 enum lagg_ioctl ioc; local 421 ioc = LAGGIOC_NOCMD; 425 ioc = LAGGIOC_ADDPORT; 427 ioc = LAGGIOC_DELPORT; 432 ioc = LAGGIOC_SETPORTPRI; 436 if (ioc != LAGGIOC_NOCMD) { 437 req->lrq_ioctl = ioc; 440 warn("cmd=%d", ioc);
|
| /src/external/bsd/ipf/dist/ |
| ip_fil.c | 536 int left, ioc, num, offset; local 542 ioc = 0; 546 while ((left > 0) && (ioc < uio->uio_iovcnt)) { 547 io = uio->uio_iov + ioc; 554 ioc++; 562 ioc++;
|
| /src/sys/arch/sgimips/hpc/ |
| button.c | 47 #include <sgimips/ioc/iocreg.h>
|
| hpc.c | 56 #include <sgimips/ioc/iocreg.h>
|
| pi1ppc.c | 58 #include <sgimips/ioc/iocreg.h> 114 /* no-ops, do any IOC machines have ECP/EPP-capable ports? */ 735 /* if we are writing the ctl reg, adjust PC style -> IOC style */
|
| /src/external/bsd/pcc/dist/pcc/f77/fcom/ |
| io.c | 72 #define V(z) ioc[z].iocval 81 } ioc[ ] = variable in typeref:struct:ioclist 108 #define NIOS (sizeof(ioc)/sizeof(struct ioclist) - 1) 340 if(toklen==(int)strlen(ioc[i].iocname) && eqn(toklen, token, ioc[i].iocname)) { 341 if(ioc[i].iotype & mask) 348 err1("invalid control %s for statement", ioc[found].iocname); 387 iocp = & ioc[n]; 785 err1("impossible inquire parameter %s", ioc[i].iocname);
|
| /src/external/bsd/iscsi/dist/src/initiator/ |
| iscsi-initiator.c | 318 uint32_t ioc; local 324 ioc = request / SGsize; 325 if ((ioc * SGsize) < request) 326 ioc++; 327 if ((iov = iscsi_malloc(ioc * sizeof(*iov))) == NULL) { 332 for (i = 0 ; i < ioc ; i++) { 334 if (i == (ioc - 1)) { /* last one */ 341 if (sgblockop(tv.v[t].target, tv.v[t].lun, offset / tv.v[t].blocksize, (length / tv.v[t].blocksize), tv.v[t].blocksize, (uint8_t *) iov, ioc, writing) != 0) {
|
| /src/sys/arch/sgimips/sgimips/ |
| console.c | 53 #include <sgimips/ioc/iocreg.h>
|
| /src/sys/dev/ic/ |
| mfi.c | 1098 * Allocate DMA memory mapping for MPI2 IOC Init descriptor, 1106 "unable to allocate thunderbolt IOC init memory"); 3052 /* Get the physical address of the mpi2 ioc init command */ 3060 aprint_error_dev(sc->sc_dev, "failed to send IOC init2 " 3505 struct mfi_ioc_packet *ioc = data; local 3513 sc = device_lookup_private(&mfi_cd, ioc->mfi_adapter_no); 3529 if (ioc->mfi_sge_count > MAX_IOCTL_SGE) 3536 memcpy(ccb->ccb_frame, ioc->mfi_frame.raw, 3542 (sizeof(union mfi_sgl) * ioc->mfi_sge_count) + 3543 ioc->mfi_sgl_off [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| zfs_ioctl.c | 59 * zfs_ioc_t ioc 5816 zfs_ioctl_register_legacy(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, 5820 zfs_ioc_vec_t *vec = &zfs_ioc_vec[ioc - ZFS_IOC_FIRST]; 5822 ASSERT3U(ioc, >=, ZFS_IOC_FIRST); 5823 ASSERT3U(ioc, <, ZFS_IOC_LAST); 5839 zfs_ioctl_register(const char *name, zfs_ioc_t ioc, zfs_ioc_func_t *func, 5844 zfs_ioc_vec_t *vec = &zfs_ioc_vec[ioc - ZFS_IOC_FIRST]; 5846 ASSERT3U(ioc, >=, ZFS_IOC_FIRST); 5847 ASSERT3U(ioc, <, ZFS_IOC_LAST); 5864 zfs_ioctl_register_pool(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func [all...] |