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

12

/osnet-11/usr/src/lib/libc/port/gen/
H A Dsigflag.c39 sigflag(int sig, int flag, int on) argument
46 if (on)
/osnet-11/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)
/osnet-11/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;
/osnet-11/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);
H A Dctl_clnt.c144 * create, condition, and connect to a listener on the control port.
153 static const int on = 1; local
189 (const char *)&on, sizeof on) != 0) {
312 /* Since there are some trans, make sure timer is successfully "on". */
H A Dctl_srvr.c167 * create, condition, and start a listener on the control port.
177 static const int on = 1; local
233 (const char *)&on, sizeof on) != 0) {
/osnet-11/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));
/osnet-11/usr/src/grub/grub2/grub-core/term/i386/pc/
H A Dconsole.c84 * Put the character C on the console. Because GRUB wants to write a
157 * void grub_console_setcursor (int on)
165 int on)
182 regs.ecx = on ? console_cursor_shape : 0x2000;
164 grub_console_setcursor(struct grub_term_output *term __attribute__ ((unused)), int on) argument
H A Dvga_text.c135 int on)
139 if (on)
134 grub_vga_text_setcursor(struct grub_term_output *term __attribute__ ((unused)), int on) argument
/osnet-11/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));
/osnet-11/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) {
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dconsole.c145 /* XXX: For some reason ncurses on xterm does not return
209 int on)
211 curs_set (on ? 1 : 0);
208 grub_ncurses_setcursor(struct grub_term_output *term __attribute__ ((unused)), int on) argument
/osnet-11/usr/src/grub/grub2/grub-core/term/efi/
H A Dconsole.c274 int on)
282 efi_call_2 (o->enable_cursor, o, on);
273 grub_console_setcursor(struct grub_term_output *term __attribute__ ((unused)), int on) argument
/osnet-11/usr/src/grub/grub2/grub-core/term/ieee1275/
H A Dofconsole.c41 /* Use serial colors as they are default on most firmwares and some firmwares
116 int on)
118 grub_terminfo_setcursor (term, on);
124 if (on)
125 grub_ieee1275_interpret ("cursor-on", 0);
149 * use this trick to re-open the output device (but we avoid doing this on
115 grub_ofconsole_setcursor(struct grub_term_output *term, int on) argument
/osnet-11/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;
/osnet-11/usr/src/lib/libc/port/threads/
H A Dsigaction.c79 * on __lwp_park() then remove ourself from the sleep queue so
231 * zero and a deferred signal has been recorded on the current thread.
233 * The kernel has all signals blocked on this lwp, but our value of
261 * in _libc_sigaction(). However, we may be on a user-level
263 * might attempt to sleep on a different sleep queue and
266 * If we are on a sleep queue we will remove ourself from
326 * might recycle our frame. We want to keep it on the
514 * on return from a signal handler via the passed ucontext_t.)
519 set_setcontext_enforcement(int on) argument
521 setcontext_enforcement = on;
[all...]
/osnet-11/usr/src/lib/libsocket/inet/
H A Drcmd.c300 * data on this connection at this point,
427 int on = 1; local
448 if (setsockopt(s, SOL_SOCKET, SO_EXCLBIND, &on, sizeof (on)) < 0) {
477 if (setsockopt(s, IPPROTO_TCP, TCP_ANONPRIVBIND, &on,
478 sizeof (on)) < 0) {
/osnet-11/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c51 * and replies can be variable-length, they are prefixed on "the wire"
60 * 32-bit aligned but it is poor taste to rely on this.
67 * but it is poor taste to rely on this.
93 * output: dhcp_ipc_request_t *: the request on success, NULL on failure
127 * output: dhcp_ipc_reply_t *: the reply on success, NULL on failure
183 * output: int: DHCP_IPC_SUCCESS on success, DHCP_IPC_E_* otherwise
235 * output: int: 0 on success, DHCP_IPC_E_* otherwise
261 * output: int: 0 on succes
372 int fd, on, retval; local
423 int on = 1; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dromfs.c195 grub_properly_aligned_t *on; local
197 on = name;
201 grub_free (on);
/osnet-11/usr/src/grub/grub2/grub-core/term/
H A Dterminfo.c94 * - /usr/share/terminfo is 6.3M on my system.
95 * - /usr/share/terminfo is not on most users boot partition.
325 grub_terminfo_setcursor (struct grub_term_output *term, const int on)
330 if (on)
596 they are not used on terminfo terminals.
324 grub_terminfo_setcursor(struct grub_term_output *term, const int on) argument
/osnet-11/usr/src/lib/libwrap/
H A Doptions.c26 * exit(), or the inetd may loop on an UDP request.
109 #define EXPAND_ARG (1<<4) /* do %x expansion on argument */
352 static int on = 1; local
355 (char *) &on, sizeof(on)) < 0)
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dargs.c136 * This routine turns options on and off
593 * Print option settings on standard output
601 int on; local
632 on = !!is_option(&oflags,value);
638 on = !on;
643 sfprintf(sfstdout, "%s%s\n", on ? "" : "no", name);
646 sfprintf(sfstdout, "%s%-*s", on ? "" : "no", on ? c : (c-2), name);
673 on
[all...]
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_net.c33 * slp_uc_tcp_send: enqueues a message on the TCP transaction thread's
120 * This call returns as soon as the message has been enqueued on 'tcp_q'.
451 * on 'tcp_q' for new messages. If no message appear after 30 seconds,
555 /* If all TCP transactions on this handle are complete, send notice */
689 * Sets the address on 'sin', sets the flag in the message header,
693 * to which we should send. Returns err != SLP_OK only on catastrophic
860 /* set required options on all configured fds */
863 const int on = 1; local
866 (void *) &on, sizeof (on)) <
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/
H A Defi.c124 grub_efi_set_text_mode (int on) argument
138 new_mode = on ? GRUB_EFI_SCREEN_TEXT : GRUB_EFI_SCREEN_GRAPHICS;

Completed in 76 milliseconds

12