Searched defs:on (Results 1 - 25 of 190) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsigflag.c39 sigflag(int sig, int flag, int on) argument
46 if (on)
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmset.c36 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 Dfs3d.c47 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 Dev_files.c83 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 Dev_connects.c82 int on = 1; local
83 OKFREE(ioctl(fd, FIONBIO, (char *)&on), new);
/illumos-gate/usr/src/lib/libstmfproxy/common/
H A Dstmftransport.c79 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 Dipmp_mpathd.c56 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 Dlisten.c124 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 Dslpd.c32 * 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 Dmconnect.c81 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 Dmy3126.c125 static int my3126_set_loopback(struct cphy *cphy, int on) argument
H A Dxpak.c56 static int xpak_set_loopback(struct cphy *cphy, int on) argument
H A Dmv88x201x.c40 /* 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 Dmv88e1xxx.c258 static int mv88e1xxx_set_loopback(struct cphy *cphy, int on) argument
260 if (on)
/illumos-gate/usr/src/lib/libm/common/C/
H A Djn.c75 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 Dhercules.c173 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 Dstartup.c392 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 Dhxge_vmac.c40 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 Dlocator.c45 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 Dnetpr.c64 * 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 Dgetauditflags.c57 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 Dunix_login.c118 * 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 Dauth.c45 /* 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 Dquotaon.c42 * 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 Daggr_port.c116 * 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.

Completed in 80 milliseconds

12345678