/illumos-gate/usr/src/cmd/saf/ |
H A D | pmadm.c | 112 int ret; /* return code from check_version */ 423 int ret; /* return code from check_version */ 448 * treat the case of 1 PM as a degenerate case of a list of PMs from a 645 register char *from; /* working pointer */ local 698 from = buf; 705 p = strchr(from, DELIMC); 706 for ( ; from <= p; ) 707 *to++ = *from++; 713 p = strchr(from, DELIMC); 714 for ( ; from < 1213 register char *from; /* working pointer */ local [all...] |
/illumos-gate/usr/src/cmd/sed/ |
H A D | defs.h | 6 * This code is derived from software contributed to Berkeley by 18 * may be used to endorse or promote products derived from this software 80 char from[MB_LEN_MAX]; member in struct:s_tr::trmulti
|
/illumos-gate/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 129 * To reduce the potential for deadlock conditions that can arise from 319 * If the high pc address has been initialized from a previous run, 320 * and the new entry is different from the original then a new library 465 * o On initialization from one of the bndr() functions. 470 * address is known but the `from' isn't. The call graph entry 480 plt_cg_interp(uint_t ndx, caddr_t from, caddr_t to) argument 486 * If the from address is outside of the address range being profiled, 489 if (from != PRF_UNKNOWN) { 490 if ((from > Hpc) || (from < Lp 641 caddr_t from; local [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | server.c | 68 #define STRDUP_OR_FAIL(to, from) \ 69 if ((from) == NULL) \ 72 if ((to = strdup(from)) == NULL) \ 76 #define STRDUP_CHECK(to, from) \ 77 if ((from) != NULL) { \ 78 to = strdup(from); \ 321 * - nldap or mixed mode. Got winname from nldap lookup. 373 * - nldap mode. Got winname and sid from AD lookup. Lookup nldap 1027 copy_string(char **to, char *from) argument 1029 if (EMPTY_STRING(from)) { 1043 copy_id(idmap_id *to, idmap_id *from) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 817 * To add stats from one mib2_tcp_t to another. Static fields are not added. 821 tcp_add_mib(mib2_tcp_t *from, mib2_tcp_t *to) argument 823 to->tcpActiveOpens += from->tcpActiveOpens; 824 to->tcpPassiveOpens += from->tcpPassiveOpens; 825 to->tcpAttemptFails += from->tcpAttemptFails; 826 to->tcpEstabResets += from->tcpEstabResets; 827 to->tcpInSegs += from->tcpInSegs; 828 to->tcpOutSegs += from->tcpOutSegs; 829 to->tcpRetransSegs += from->tcpRetransSegs; 830 to->tcpOutRsts += from 958 tcp_add_stats(tcp_stat_counter_t *from, tcp_stat_t *to) argument [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | sbp2_driver.c | 175 bcopy_swap32(uint32_t *from, uint32_t *to, int count) argument 183 data = *from++; 211 * vid/pid/rev can be derived from Config ROM textual descriptors 642 * typically from interrupt handler. Just wake the thread to do the actual work.
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_format.c | 610 * Finally convert samples from internal 24 bit format to target format 669 audio_cnv_func_t from; member in struct:audio_format_info 746 converter = info->from; 823 * much data from being queued up.
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | pmap.c | 113 * bpmap_delport: deletes an existing entry from the list. Caution - don't 163 * (from dlboot_inet.c) (kernel) 164 * Convert a port number from a sockaddr_in expressed 328 * Code adapted from bpmap_rmtcall() in dlboot_inet.c (kernel) 343 struct sockaddr_in *from, /* filled in w/ responder's port/addr */ 349 struct rmtcallres pmap_r; /* results from pmap call */ 351 struct rpcb_rmtcallres rpcb_r; /* results from rpcb call */ 366 xdr_rmtcallres, (caddr_t)&pmap_r, rexmit, wait, to, from, 396 xdr_rpcb_rmtcallres, (caddr_t)&rpcb_r, rexmit, wait, to, from, 424 struct sockaddr_in *to, struct sockaddr_in *from) 332 bpmap_rmtcall( rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, xdrproc_t in_xdr, caddr_t args, xdrproc_t out_xdr, caddr_t ret, int rexmit, int wait, struct sockaddr_in *to, struct sockaddr_in *from, uint_t auth) argument 423 bpmap_getport(rpcprog_t prog, rpcvers_t vers, enum clnt_stat *rpc_stat, struct sockaddr_in *to, struct sockaddr_in *from) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/boston/os/ |
H A D | boston.c | 158 * We need this driver to handle events from the RMC when state 175 * The load_platform_drivers(void) is called from post_startup() 263 * This platform hook gets called from mc_add_mem_unum_label() in the mc-us3i 350 * Differentiate a panic reboot from a non-panic reboot in the 429 * Macro for extracting the CPU number from the CPU id 513 * Return latency between "from" and "to" lgroups 524 plat_lgrp_latency(void *from, void *to) argument 531 if (lgrp_optimizations() && (from != to || from ==
|
/illumos-gate/usr/src/uts/sun4u/seattle/os/ |
H A D | seattle.c | 160 * We need this driver to handle events from the RMC when state 178 * The load_platform_drivers(void) is called from post_startup() 266 * This platform hook gets called from mc_add_mem_unum_label() in the mc-us3i 352 * Differentiate a panic reboot from a non-panic reboot in the 431 * Macro for extracting the CPU number from the CPU id 515 * Return latency between "from" and "to" lgroups 526 plat_lgrp_latency(void *from, void *to) argument 533 if (lgrp_optimizations() && (from != to || from ==
|
/illumos-gate/usr/src/uts/common/sys/lvm/ |
H A D | md_rename.h | 77 #define MDRNM_SELF_UPDATE_FROM_UP "rename svc: self update from up" 79 #define MDRNM_SELF_UPDATE_FROM_DOWN "rename svc: self update from down" 128 } from, to; member in struct:md_rename_transaction 157 /* Externals from md_rename.c */
|
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 32 * - Thread Safe. libzfs_core is accessible concurrently from multiple 52 * to/from the kernel ioctls. There is generally a 1:1 correspondence 448 * If "from" is NULL, a full (non-incremental) stream will be sent. 449 * If "from" is non-NULL, it must be the full name of a snapshot or 450 * bookmark to send an incremental from (e.g. "pool/fs@earlier_snap" or 469 lzc_send(const char *snapname, const char *from, int fd, argument 472 return (lzc_send_resume(snapname, from, fd, flags, 0, 0)); 476 lzc_send_resume(const char *snapname, const char *from, int fd, argument 484 if (from != NULL) 485 fnvlist_add_string(args, "fromsnap", from); 517 lzc_send_space(const char *snapname, const char *from, enum lzc_send_flags flags, uint64_t *spacep) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 30 * derived from devinfo nodes. These routines do some of the 149 * If there is a DI_SLOTPROP of the form SlotX (ie set up from 151 * DI_PHYSPROP (which is set up from the PCIe slotcap reg). 291 * We must have a reg prop and from it we extract the bus #, 382 did_did_link_set(did_t *from, did_t *to) argument 384 assert(from != NULL && to != NULL); 385 from->dp_link = to; 389 did_did_chain_set(did_t *from, did_t *to) argument 391 assert(from != NULL && to != NULL); 392 from [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem.c | 99 topo_mod_dprintf(mod, "failed to get dimms from the PRI/MD\n"); 242 uint64_t from, to; local 246 for (from = 1; from <= MEM_PHYS_ADDRESS_LIMIT; from <<= 1) { 247 if ((from & mask) == 0) { 248 if ((from & paddr) != 0) 258 * removes from the physical address those bits which select a DIMM or set 267 uint64_t from, to; local 269 from [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | doupdate.c | 179 * Clear from the start of the current row to bottom of screen. 295 * Delete some characters from the terminal for this region 384 int from; local 386 for (from = 1, to = 1; from < nRegions; ) { 387 if ((regions[from].type == REGION_COMMON) && 388 (regions[from].size < JUMP_SIZE)) { 392 regions[to - 1].size += regions[from].size; 396 if (++from < nRegions) 397 regions[to - 1].size += regions[from 613 lines_replace(int from, int to_1) argument 624 lines_delete(int from, int to_1) argument 661 lines_insert(int from, int to_1) argument [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_subr.c | 132 Copy(unsigned char *to, unsigned char *from, int size) argument 137 *to++ = *from++; 142 copyw(line *to, line *from, int size) argument 147 *to++ = *from++; 152 copywR(line *to, line *from, int size) argument 156 to[size] = from[size]; 827 * Return the column number that results from being in column col and
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Objective.java | 315 * which are heavily loaded. The weighting is determined from the 501 * share. The current difference from desired is already 614 * The FromResult is the quotient when a cpu is taken from it. 645 void setFromResult(double from) { argument 646 FromResult = from; 945 * to, from and without any move. 1010 * If it is a cpu from a locality group we have already seen, 1011 * then we can retrieve the results from the pset results map. 1187 * If the move is from the examined element, then 1228 * from [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rtquery.c | 21 * may be used to endorse or promote products derived from this software 377 struct sockaddr_in from; local 431 msg.msg_name = &from; 441 msg.msg_namelen = sizeof (from); 461 if (sp->addr.s_addr == from.sin_addr.s_addr) 467 sp->addr = from.sin_addr; 477 rip_input(&from, cc, ifindex); 497 * or we have heard from all hosts 552 rip_input(struct sockaddr_in *from, int size, uint_t ifindex) argument 572 if (!nflag && (hp = gethostbyaddr((char *)&from [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rwhod.c | 31 * Portions of this source code were derived from Berkeley 4.3 BSD 32 * under license from the Regents of the University of California. 84 * rwhod reports from all multicast-capable interfaces. If a <ttl> argument 85 * is given, it accepts multicast reports from only one interface, the one 88 * unicast reports from all interfaces. Thus, this program will hear the 150 struct sockaddr_in from; local 256 socklen_t len = sizeof (from); 259 (struct sockaddr *)&from, &len); 265 if (from.sin_port != sp->s_port) { 266 syslog(LOG_WARNING, "main: %d: bad from por [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 56 * strtots(to, from): convert a char string 'from' into a tchar buffer 'to'. 67 strtots(tchar *to, char *from) argument 74 i = mbstotcs(NOSTR, from, 0); 82 i = mbstotcs(to, from, INT_MAX); 90 tstostr(char *to, tchar *from) argument 102 /* Get sum of byte counts for each char in from. */ 104 ptc = from; 116 ptc = from; 130 * mbstotcs(to, from, tosiz 140 mbstotcs(tchar *to, char *from, int tosize) argument [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | optim.c | 44 static char *arpafix(char name[], char from[]); 46 static char *makeremote(char name[], char from[]); 76 netmap(char name[], char from[]) argument 81 if (debug) fprintf(stderr, "netmap(name '%s', from '%s')\n", name, from); 82 if (strlen(from) == 0) 83 return(name); /* "from" is empty - can't do anything */ 85 if (strcmp(from, name) == 0) 86 return(name); /* "from" and "name" are the same, do nothing */ 93 return(arpafix(name, from)); 296 arpafix(char name[], char from[]) argument 346 makeremote(char name[], char from[]) argument [all...] |
/illumos-gate/usr/src/cmd/man/ |
H A D | makewhatis.c | 15 * derived from this software without specific prior written permission 67 /* Remove the last amount characters from the sbuf */ 72 typedef char *edited_copy(char *from, char *to, int length); 242 * Strip any of a set of chars from the end of the sbuf. 368 * Remove trailing spaces from a string, returning a pointer to just 430 de_nroff_copy(char *from, char *to, int fromlen) argument 432 char *from_end = &from[fromlen]; 434 while (from < from_end) { 435 switch (*from) { 437 switch (*++from) { [all...] |
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 48 * q exit from program 58 * cpp copy from file to file 122 /* decoded diff cmd- left side from to; right side from, to */ 746 cpp(char *from, FILE *fromdes, FILE *todes) argument 750 if ((fromdes = fopen(from, "r")) == NULL) 752 "cpp: Cannot open %s"), from);
|
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | mail.local.c | 128 char *from; local 134 from = NULL; 154 if (from != NULL) { 158 from = optarg; 193 * If from not specified, use the name from getlogin() if the 194 * uid matches, otherwise, use the name from the password file 198 if (!from && (!(from = getlogin()) || 199 !(pw = getpwnam(from)) || p [all...] |
H A D | vacation.c | 49 * a -f flag from. Otherwise, the user must be careful 53 * the user to collect the vacation message from. 118 char *from; local 248 from = sender; 252 /* read message from standard input (just from line) */ 253 from = getfrom(&shortfrom); 268 printf("Sending %s to %s\n", buf, from); 271 sendmessage(buf, from, myname); 368 * GETFROM -- read message from standar [all...] |