/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | sigflag.c | 39 sigflag(int sig, int flag, int on) argument 46 if (on)
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmset.c | 36 int vmset(reg Vmalloc_t* vm, int flags, int on) argument 38 int vmset(vm, flags, on) 39 reg Vmalloc_t* vm; /* region being worked on */ 41 int on; /* !=0 if turning on, else turning off */ 47 if(flags == 0 && on == 0) 61 if(on)
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | fs3d.c | 47 static char on[] = FS3D_on; local 61 if (mount(on, val, FS3D_VIEW|FS3D_GET|FS3D_SIZE(sizeof(val)), NiL)) 67 if (!strcmp(v, on)) 81 v = on;
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_files.c | 83 int on = 1; local 84 OK(ioctl(fd, FIONBIO, (char *)&on)); 115 * result and the caller decides to evSelectFD() on some descriptor. 136 /* Turn on the appropriate bits in the {rd,wr,ex}Next fd_set's. */
|
H A D | ev_connects.c | 82 int on = 1; local 83 OKFREE(ioctl(fd, FIONBIO, (char *)&on), new);
|
/illumos-gate/usr/src/lib/libstmfproxy/common/ |
H A D | stmftransport.c | 79 int on = 1; local 92 if (setsockopt(sfd, SOL_SOCKET, SO_REUSEADDR, &on, 93 sizeof (on)) < 0) {
|
/illumos-gate/usr/src/lib/libipmp/common/ |
H A D | ipmp_mpathd.c | 56 int on = 1; local 67 * accepts requests on loopback, this is sufficient for security). 68 * If not, drive on since MI_QUERY and MI_PING commands are allowed 71 (void) setsockopt(fd, IPPROTO_TCP, TCP_ANONPRIVBIND, &on, sizeof (on));
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | listen.c | 124 int on; local 139 on = 1; 140 if (setsockopt(*sockfd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof (on))) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/slpd/ |
H A D | slpd.c | 32 * at boot time, and listens for any incoming SLP messages only on 170 const int on = 1; local 191 (void) setsockopt(lfd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof (on));
|
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 81 int on = 1; local 157 (void) setsockopt(s, SOL_SOCKET, SO_KEEPALIVE, (char *)&on, 158 sizeof (on));
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | my3126.c | 125 static int my3126_set_loopback(struct cphy *cphy, int on) argument
|
H A D | xpak.c | 56 static int xpak_set_loopback(struct cphy *cphy, int on) argument
|
H A D | mv88x201x.c | 40 /* Setup the LED registers so we can turn on/off. 156 static int mv88x201x_set_loopback(struct cphy *cphy, int on) argument 172 /* Turn on/off Link LED */ 237 /* Allows for Link,Ack LED turn on/off */
|
H A D | mv88e1xxx.c | 258 static int mv88e1xxx_set_loopback(struct cphy *cphy, int on) argument 260 if (on)
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | jn.c | 75 GENERIC z, w, ox, on; local 81 ox = x; on = (GENERIC)n; 91 return (_SVID_libm_err(on, ox, 38)); 234 GENERIC a, b, temp = 0, ox, on; local 236 ox = x; on = (GENERIC)n; 251 return (_SVID_libm_err(on, ox, 39));
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | hercules.c | 173 hercules_setcursor (int on) argument 179 outb (HERCULES_DATA_REG, on ? 0 : (1 << 5)); 181 herc_cursor_state = on;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | startup.c | 392 int on = 1; local 441 if (setsockopt(sock, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, (char *)&on, 448 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *)&on, 449 sizeof (on)) < 0) { 498 * transmitted on the wrong interface. resetup_listen_sock
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_vmac.c | 40 hxge_status_t hxge_set_promisc(p_hxge_t hxgep, boolean_t on); 139 * rejection on minimum sized packets. 176 /* Based on speed */ 338 hxge_set_promisc(p_hxge_t hxgep, boolean_t on) argument 342 HXGE_DEBUG_MSG((hxgep, MAC_CTL, "==> hxge_set_promisc: on %d", on)); 344 hxgep->filter.all_phys_cnt = ((on) ? 1 : 0); 353 if (on) 365 "Unable to set promisc (%d)", on));
|
/illumos-gate/usr/src/cmd/locator/ |
H A D | locator.c | 45 int new_state; /* 0 = logical off, 1 = logical on */ 46 char *on; /* Logical on value for State */ member in struct:locator_info 81 new_state = (locator_info->new_state) ? locator_info->on : 121 if (strcmp(state, locator_info->on) == 0) 122 display_state = gettext("on"); 169 locator_info->on = locator_on; 171 locator_info->on = "ON";
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | netpr.c | 64 * net_open() opens a tcp connection to the printer port on the host specified 177 int on = 1; local 427 /* Set SO_KEEPALIVE on socket to keep open */ 429 (char *)&on, sizeof (on))) < 0) {
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | getauditflags.c | 57 short on[MAXEVENT+1]; member in struct:list 73 * input: masks->as_success - audit on success 74 * masks->as_failure - audit on failure 104 lists[mask_num].on[i] = -1; 124 * find turned-on events - if on, store index of event 137 lists[COMMON].on[lists[COMMON].count++] = i; 143 lists[SUCCESS].on[lists[SUCCESS].count++] = i; 153 lists[FAILURE].on[lists[FAILURE].count++] = i; 294 event_class[lists[COMMON].on[ [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | unix_login.c | 118 * Check for user being able to run on this machine. 127 char *error; /* filled in on return */ 128 char *shell; /* filled in on return */ 129 char *dir; /* filled in on return */ 213 * returns 1 on error, 0 if OK 220 int on = 1; local 272 ioctl(Master, FIONBIO, &on);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | auth.c | 45 /* based on @(#)auth.c 8.1 (Berkeley) 6/4/93 */ 90 static int auth_onoff(const char *type, boolean_t on); 242 * - a valid authentication type, turns support on / off 250 auth_onoff(const char *type, boolean_t on) argument 256 (void) printf(on ? 276 if (on) 289 auth_togdebug(int on) argument 291 if (on < 0) 294 auth_debug_mode = on > 0 ? B_TRUE : B_FALSE; 304 * each authentication type, depencing on th [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 42 * Turn quota on/off for a filesystem. 222 * Loop through mnttab, if a file system gets turned on or off 261 printf("%s: quotas turned on\n", mntp->mnt_mountp); 271 oneof(char *target, char **olistp, int on) argument 273 int n = on;
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_port.c | 116 * The reference on the port is used for aggr_port_delete() to 118 * on the grp is used for aggr_grp_delete() to wait for the thread 164 * depends on link notifications to attach ports whose link is up. 519 aggr_port_promisc(aggr_port_t *port, boolean_t on) argument 525 if (on == port->lp_promisc_on) 529 if (on) { 544 port->lp_promisc_on = on; 613 * the port's promiscous mode. (Note that we turn on the promiscous 624 * enabled on this port, and add this address to the end of the list.
|