Searched refs:ioctl (Results 276 - 300 of 901) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libast/common/features/
H A Dfcntl.c36 #define ioctl ______ioctl macro
58 #undef ioctl macro
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetDeviceProductProperties.c78 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl);
H A DMP_GetTargetPortGroupProperties.c93 ioctlStatus = ioctl(g_scsi_vhci_fd, MP_CMD, &mp_ioctl);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dstart_col.c74 ioctl(cur_term->Filedes, CONIOGETDATA, &con);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_common.c158 if (ioctl(fd, DTRACEHIOC_ADDDOF, &dh) == -1) {
159 dprintf(1, "DTrace ioctl failed for DOF at %p in %s", dof,
162 dprintf(1, "DTrace ioctl succeeded for DOF at %p in %s\n", dof,
/illumos-gate/usr/src/lib/libuuid/common/
H A Detheraddr.c79 if (ioctl(s, SIOCGARP, (caddr_t)&ar) < 0) {
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_unbind.c122 if (ioctl(fd, I_FLUSH, FLUSHRW) < 0) {
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_v.c136 if(ioctl(0, TIOCGWINSZ, &jwin) != -1) {
157 if(ioctl(0, TIOCGWINSZ, &jwin) != -1) {
177 if (ioctl(0, TIOCSWINSZ, &jwin) == -1) {
181 ioctl(0, TIOCSWINSZ, &jwin);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm.c147 if ((rv = ioctl(ksslfd, cmd, buf)) < 0) {
160 perror("ioctl failure");
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/
H A Dsppptun.c146 * Issue a STREAMS I_STR ioctl and fetch the result. Returns -1 on
159 if (ioctl(fd, I_STR, &str) == -1) {
249 if (ioctl(devfd, I_PUSH, PPP_TUN_NAME) == -1) {
297 if ((muxid = ioctl(muxfd, I_PLINK, devfd)) == -1) {
366 if (ioctl(muxfd, I_PUNLINK, pti.pti_muxid) < 0) {
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c110 ioctl(fd, DTRACEIOC | ioc, addr);
/illumos-gate/usr/src/cmd/sdpadm/
H A Dsdpadm.c135 if (ioctl(fd, I_STR, &stri) >= 0) {
149 perror("ioctl failed");
/illumos-gate/usr/src/cmd/addbadsec/
H A Daddbadsec.c169 if ((ioctl(devfd, DKIOCGGEOM, &dkg)) == -1) {
176 if (ioctl(devfd, DKIOCGEXTVTOC, &vtoc) == -1) {
254 if (ioctl(devfd, DKIOCADDBAD, NULL) == -1) {
353 * Build and execute the uscsi ioctl
373 * Execute the ioctl
375 if (ioctl(devfd, USCSICMD, &ucmd) == -1)
/illumos-gate/usr/src/cmd/avs/sv/
H A Dsvboot.c162 if (ioctl(fd, SVIOC_LIST, &svl) < 0)
350 if (ioctl(fd, SVIOC_ENABLE, &svc) < 0) {
459 if (ioctl(fd, SVIOC_DISABLE, &svc) < 0) {
526 if (ioctl(fd, SVIOC_UNLOAD, &rc) < 0)
/illumos-gate/usr/src/cmd/hal/probing/network-printer/
H A Dprobe-network-printer.c24 #include <sys/ioctl.h>
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dbiz22.c106 (void) ioctl(FD, TCFLSH, TCOFLUSH);
/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c148 if (ioctl(input_fd, TIFIOCGSTATE, &tstate) < 0) {
171 if (ioctl(input_fd, TIFIOCGHEADER, addr) != 0) {
197 if (ioctl(input_fd, TIFIOCGBLOCK, &ioctl_arg) < 0) {
231 if (ioctl(input_fd, TIFIOCGFWZONE, &ioctl_arg) < 0) {
/illumos-gate/usr/src/cmd/tsol/atohexlabel/
H A Datohexlabel.c134 (void) ioctl(STDIN_FILENO, I_FLUSH, FLUSHR);
/illumos-gate/usr/src/cmd/tsol/hextoalabel/
H A Dhextoalabel.c134 (void) ioctl(STDIN_FILENO, I_FLUSH, FLUSHR);
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kunbind.c58 #include <sys/ioctl.h>
88 * send the ioctl request and wait
H A Dt_kgtstate.c59 #include <sys/ioctl.h>
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Darp.c50 #include <sys/ioctl.h>
285 if (ioctl(s, SIOCSXARP, (caddr_t)&ar) < 0) {
326 if (ioctl(s, SIOCGXARP, (caddr_t)&ar) < 0) {
392 if (ioctl(s, SIOCDXARP, (caddr_t)&ar) < 0) {
/illumos-gate/usr/src/common/ficl/ficlplatform/
H A Dpager.c69 if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_row == 0) {
/illumos-gate/usr/src/common/ficl/
H A Dmain.c96 if (ioctl(1, TIOCGWINSZ, &ws) != -1) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dforeachaddr.c116 * This uses the SIOCGIFCONF, SIOCGIFFLAGS, and SIOCGIFADDR ioctl's.
150 ret = ioctl (s, SIOCGLIFCONF, (char *)&lifc);
231 code = ioctl (P.sock, SIOCGLIFNUM, &P.lifnum);
233 Tperror ("ioctl(SIOCGLIFNUM)");
261 /* ioctl unknown to lclint */
262 if (ioctl (P.sock, SIOCGLIFFLAGS, (char *)&lifreq) < 0) {
263 Tperror ("ioctl(SIOCGLIFFLAGS)");

Completed in 128 milliseconds

<<11121314151617181920>>