/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmtrace.c | 39 static char* trstrcpy(char* to, const char* from, int endc) argument 41 static char* trstrcpy(to, from, endc) 43 const char* from; 48 n = strlen(from); 49 memcpy(to,from,n); 104 Vmalloc_t* vm; /* region call was made from */
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | lgrpplat.c | 69 * manage a copy-rename operation during DR, which moves memory from one 234 * Return latency between "from" and "to" lgroups 235 * If "from" or "to" is LGRP_NONE, then just return latency within other 242 lgrp_plat_latency(lgrp_handle_t from, lgrp_handle_t to) argument 245 return (plat_lgrp_latency(from, to));
|
/illumos-gate/usr/src/uts/sun4u/chicago/os/ |
H A D | chicago.c | 188 * Macro for extracting the CPU number from the CPU id 271 * Return latency between "from" and "to" lgroups 282 plat_lgrp_latency(lgrp_handle_t from, lgrp_handle_t to) argument 289 if (lgrp_optimizations() && (from != to || 290 from == LGRP_DEFAULT_HANDLE || to == LGRP_DEFAULT_HANDLE))
|
/illumos-gate/usr/src/uts/sun4u/enchilada/os/ |
H A D | enchilada.c | 116 * can cause data corruption. Will be invoked from the IDE HBA driver for 235 * Macro for extracting the CPU number from the CPU id 319 * Return latency between "from" and "to" lgroups 330 plat_lgrp_latency(lgrp_handle_t from, lgrp_handle_t to) argument 337 if (lgrp_optimizations() && (from != to || 338 from == LGRP_DEFAULT_HANDLE || to == LGRP_DEFAULT_HANDLE))
|
/illumos-gate/usr/src/uts/sun4u/schumacher/os/ |
H A D | schumacher.c | 104 * can cause data corruption. Will be invoked from the IDE HBA driver for 218 * Macro for extracting the CPU number from the CPU id 302 * Return latency between "from" and "to" lgroups 313 plat_lgrp_latency(lgrp_handle_t from, lgrp_handle_t to) argument 320 if (lgrp_optimizations() && (from != to || 321 from == LGRP_DEFAULT_HANDLE || to == LGRP_DEFAULT_HANDLE))
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | archdep.c | 120 * Hop from interrupt stack to thread stack. 316 * Hop from interrupt stack to thread stack. 399 * Generate a stack backtrace from a saved register set. 428 * beyond the original request from the available virtual memory arena. 455 kcopy_nta(const void *from, void *to, size_t count, int dummy) argument 457 return (kcopy(from, to, count));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 35 * Portions of this source code were derived from Berkeley 4.3 BSD 36 * under license from the Regents of the University of California. 217 * Check out the packet to see if it came from us. This logic is necessary 232 struct sockaddr_in *from; local 256 /* The following are from RFC1700 */ 283 from = (struct sockaddr_in *)msg->msg_name; 296 Printf("packet too short (%d bytes) from %s\n", cc, 297 pr_name((char *)&from->sin_addr, AF_INET)); 325 Printf("packet too short (%d bytes) from %s\n", 326 cc, pr_name((char *)&from [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 235 * Look up the macro at *p called by "from", 236 * or as a line macro if from == TOKEN_NONE. 239 lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) argument 247 if (from == TOKEN_NONE || mdoc_macros[from].flags & MDOC_PARSED) {
|
/illumos-gate/usr/src/common/ficl/ |
H A D | fileaccess.c | 125 char *from; local 137 from = (char *)malloc(length + 1); 138 memcpy(from, address, length); 139 from[length] = 0; 141 pushIor(vm, !rename(from, to)); 143 free(from);
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | inflate.c | 18 * - Change inffast.c entry and loop from avail_in >= 7 to >= 6 19 * - Remove unnecessary second byte pull from length extra in inffast.c 43 * - Move a comment on output buffer sizes from inffast.c to inflate.c 65 * - Changed loops from while (1) or do {} while (1) to for (;;), again to 153 /* extract wrap request from windowBits parameter */ 253 fixed code decoding. Normally this returns fixed tables from inffixed.h. 375 upon return from inflate(), and since all distances after the first 32K of 469 /* Restore state from registers in inflate() */ 487 /* Get a byte of input into the bit accumulator, or return from inflate() 498 not enough available input to do that, then return from inflat 617 unsigned char FAR *from; /* where to copy match bytes from */ local [all...] |
/illumos-gate/usr/src/boot/sys/amd64/include/pc/ |
H A D | bios.h | 100 size_t offset; /* offset from anchor (may be negative) */ 105 u_int from; /* shouldn't be below 0xe0000 */ member in struct:bios_oem_range
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_headers.c | 272 sip_dup_header(_sip_header_t *from) argument 277 hdr_size = from->sip_hdr_end - from->sip_hdr_start; 281 if (from->sip_header_state == SIP_HEADER_DELETED_VAL) { 283 sip_copy_values(to->sip_hdr_start, from); 285 (void) memcpy(to->sip_hdr_start, from->sip_hdr_start, hdr_size); 288 to->sip_header_functions = from->sip_header_functions; 370 * Copy all "header_name" headers from _old_msg to _new_msg 399 * Copy header_name from _old_msg to _new_msg with extra_parm. 425 * Copy all headers from old_ms [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | rcfile.c | 17 * may be used to endorse or promote products derived from this software 346 char *from; local 349 from = (home_nsmbrc) ? 361 " in %s from %s\n", 363 rsp->rs_name, from); 371 "set_value: applying %s=%s in %s from %s\n", 372 rkp->rk_name, ptr, rsp->rs_name, from); 668 /* Error from fopen. strerror is OK. */
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/ |
H A D | vfscanf.c | 123 static int from; /* token type we've come from */ variable 127 * Convert formatted input from given input. 140 long unsigned number; /* return value from getnumber */ 145 from = 'X'; 150 if (from == 'X') { 165 switch (from) { 170 from = 'E'; 174 from = 'X'; 180 switch (from) { [all...] |
/illumos-gate/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 210 * Remove given lgroup from parent lgroup(s) 240 * Prune any CPUs not in given array from specified lgroup 266 * Remove all CPUs from lgroup 274 * Remove any CPUs from lgroup not in given list of CPUs 339 * Remove any CPUs not in caller's pset from lgroup hierarchy 354 * Change lgroup bitmask from just reflecting lgroups overlapping 367 * Remove empty lgroups from lgroup hierarchy, removing it from its 494 * Change lgroup bitmask from just reflecting lgroups 552 * Get view of lgroup hierarchy from snapsho 1108 lgrp_latency(lgrp_id_t from, lgrp_id_t to) argument 1131 lgrp_latency_cookie(lgrp_cookie_t cookie, lgrp_id_t from, lgrp_id_t to, lgrp_lat_between_t between) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 34 * University Acknowledgment- Portions of this document are derived from 121 struct sockaddr_in6 from; local 175 fromlen = (socklen_t)sizeof (from); 178 (struct sockaddr *)&from, &fromlen); 185 sin6.sin6_port = from.sin6_port; /* added */ 188 /* should verify packet came from server */ 248 struct sockaddr_in6 from; local 303 fromlen = (socklen_t)sizeof (from); 305 (struct sockaddr *)&from, &fromlen); 312 sin6.sin6_port = from [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 30 * Portions of this source code were derived from Berkeley 4.3 BSD 31 * under license from the Regents of the University of California. 113 struct sockaddr_storage from; local 118 fromlen = (socklen_t)sizeof (from); 119 if (getpeername(0, (struct sockaddr *)&from, &fromlen) < 0) { 130 doit(0, &from); 529 * rexec_conv - This is the conv (conversation) function called from 531 * or garner information from the user.
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | input.c | 21 * may be used to endorse or promote products derived from this software 60 struct sockaddr_in *from; local 64 from = (struct sockaddr_in *)msg->msg_name; 66 /* First see if this packet came from a remote gateway. */ 67 if (findremote && ((ifp = findremoteif(from->sin_addr.s_addr)) != NULL)) 71 * It did not come from a remote gateway. Determine which 85 if (ifp1->int_addr == from->sin_addr.s_addr) 89 on_net(from->sin_addr.s_addr, ifp1->int_net, 105 return (iflookup(from->sin_addr.s_addr)); 114 struct sockaddr_in from; local 154 input(struct sockaddr_in *from, struct interface *ifp, struct rip *rip, int cc) argument 1266 get_peer_info(in_addr_t from) argument 1371 ck_passwd(struct interface *aifp, struct rip *rip, uint8_t *lim, in_addr_t from, struct msg_limit *use_authp) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 21 * or promote products derived from this software without specific prior 391 * Returns REPLY_GOT_TARGET if the reply comes from the target 412 Printf("Truncated message: msg_flags 0x%x from %s\n", 422 Printf("packet too short (%d bytes) from %s\n", 516 Printf("\n%d bytes from %s to ", cc, 648 print_addr6(uchar_t *buf, int cc, struct sockaddr *from) argument 651 struct sockaddr_in6 *from_in6 = (struct sockaddr_in6 *)from;
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.misc.c | 292 copy(tchar *to, tchar *from, int size) argument 297 *to++ = *from++; 494 * can be a memory block returned indirectly from
|
/illumos-gate/usr/src/cmd/diff3/ |
H A D | diff3prog.c | 52 struct range {int from, to; }; member in struct:range 54 * from is first in range of changed lines 56 * from = to = line after point of insertion 111 static int skip(int i, int from, char *pr); 175 * pick up the line numbers of all changes from 220 dd[i].old.from = a; 222 dd[i].new.from = c; 225 dd[i].old.from = dd[i-1].old.to; 226 dd[i].new.from = dd[i-1].new.to; 288 d1->old.from, d 450 skip(int i, int from, char *pr) argument [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd2.c | 35 * University Acknowledgment- Portions of this document are derived from 190 register char *from; local 194 from = striphosts(nameof(&message[*msgvec-1], 0)); 196 from = nameof(&message[*msgvec-1]); 198 getrecf(from, recfile, 1, sizeof (recfile)); 390 * Snarf the file from the end of the command line and 435 * Process line from left-to-right, 1 char at a time. 672 * Remove a list of fields from the retain list. 792 * Remove a list of fields from the ignore list.
|
H A D | names.c | 36 * University Acknowledgment- Portions of this document are derived from 98 * Extract a list of names from a line, 99 * and make a list of names from it. 194 * and remove them from the recipient list. 337 * In days of old we removed the entry from the 438 * fixed level to keep things from going haywire. 676 * Remove all of the duplicates from the passed name list by 802 * Delete the given name from a namelist. 834 mapf(register struct name *np, char *from) argument 838 if (debug) fprintf(stderr, "mapf %lx, %s\n", (long)np, from); [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_data.c | 24 * products derived from this software without specific prior written 653 * from a remote mover. 982 * from a remote mover. 1236 * Accept a data connection from a remote mover. 1254 struct sockaddr_in from; local 1256 from_len = sizeof (from); 1257 session->ns_data.dd_sock = accept(fd, (struct sockaddr *)&from, 1263 ntohs(from.sin_port), 1264 inet_ntoa(IN_ADDR(from.sin_addr.s_addr))); 1279 session->ns_data.dd_data_addr.tcp_ip_v3 = from [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | check.c | 473 check_propnames(enum nodetype t, struct node *np, int from, int to) argument 498 if (!from) { 501 "from flag", 513 if (!from) 516 "from flag", 527 if (!from) { 530 "from flag", 536 if (!from && !to) 538 "%s has error without from or to flags", 543 if (from) { [all...] |