/illumos-gate/usr/src/boot/sys/boot/userboot/test/ |
H A D | test.c | 287 test_copyin(void *arg, const void *from, uint64_t to, size_t size) argument 295 memcpy(&image[to], from, size); 300 test_copyout(void *arg, uint64_t from, void *to, size_t size) argument 303 from &= 0x7fffffff; 304 if (from > image_size) 306 if (from + size > image_size) 307 size = image_size - from; 308 memcpy(to, &image[from], size);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | deltat.c | 3 /* A Bison parser, made from ./x-deltat.y 239 /* This file comes from bison-1.28. */ 388 from coexisting. */ 422 __yy_memcpy (to, from, count) 424 char *from; 427 register char *f = from; 440 __yy_memcpy (char *to, char *from, unsigned int count) 443 register char *f = from; 524 /* semantic values from the action */ 899 /* If not already recovering from a 439 __yy_memcpy(char *to, char *from, unsigned int count) argument [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ctx.c | 17 * may be used to endorse or promote products derived from this software 289 * values parsed from UNC path (cmd) 290 * values from RC file (per-user) 291 * values from SMF (system-wide) 300 * SMF and RC file values. However, values we get from the command 302 * values from the command as "from CMD" and the RC file parser 305 * The semantics of these flags are: "This value came from the 306 * current command instance, not from sources that may apply to 307 * multiple commands." (Different from th 1024 smb_addiconvtbl(const char *to, const char *from, const uchar_t *tbl) argument [all...] |
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 72 * use them as indexes into the array returned from parse_entry(). 373 * remove any whitespace from the fields. 1420 * decode_number(): decodes a sequence of numbers from binary into ascii; 1427 * const uint8_t *: where to decode the numbers from 1434 uint8_t granularity, const uint8_t *from, char *to, int *ierrnop) 1449 for (; n_entries != 0; n_entries--, from += size) { 1454 to += sprintf(to, is_signed ? "%d" : "%u", *from); 1458 (void) memcpy(&uint16, from, 2); 1465 (void) memcpy((uchar_t *)&uint32 + 1, from, 3); 1471 (void) memcpy(&uint32, from, 1433 decode_number(uint8_t n_entries, uint8_t size, boolean_t is_signed, uint8_t granularity, const uint8_t *from, char *to, int *ierrnop) argument 1511 encode_number(uint8_t n_entries, uint8_t size, boolean_t is_signed, uint8_t granularity, const char *from, uint8_t *to, int *ierrnop) argument [all...] |
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | vdbe.c | 39 ** number, or the SQL "NULL" value. An inplicit conversion from one 50 ** in this file for details. If in doubt, do not deviate from existing 221 ** from sqliteMalloc(). This is different from Stringify() above in that 481 ** from sqliteMalloc() and p->zErrMsg is made to point to that memory. 599 ** Do not deviate from the formatting style currently in use. 607 ** the one at index P2 from the beginning of 727 ** a variable. Variables in the SQL string are number from left to 795 ** The P1-th element is removed from its current location on 905 ** are popped from th 4231 int from, to; local [all...] |
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 197 * get_tz_countries() finds the list of countries from the zone_sun.tab 199 * names from the country.tab file. It also retrieves the localized 317 /* Get country name from country.tab; get localized country name */ 444 * get_timezones_by_country() finds the list of timezones from the 1352 strip_quotes(char *from, char *to) argument 1356 while (*from != '\0') { 1357 if ((*from == '"') || (*from == '\'')) { 1362 *strip_ptr = *from; 1365 *to = *from; [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | regcomp.c | 9 * This code is derived from software contributed to Berkeley by 21 * may be used to endorse or promote products derived from this software 98 static void repeat(struct parse *p, sopno start, int from, int to); 542 pos = HERE(); /* repetion op, if any, covers from here */ 986 sopno start, /* operand from here to end of strip */ 987 int from, /* repeated from this number */ 1000 assert(from <= to); 1002 switch (REP(MAP(from), MAP(to))) { 1039 repeat(p, copy, from 985 repeat(struct parse *p, sopno start, int from, int to) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | snmplib.c | 55 * Data from the MIB is fetched based on the hints about object 56 * groups received from (possibly many threads in) the application. 96 * from snmplib.h should also be in units of 10 seconds. 103 * from the cache - which is quite a bit faster than an SNMP query - but the 338 * If this item should not be cached, fetch it directly from 357 * fetch it from the agent and populate the cache 395 * fetch_single_* to get it directly from the agent 417 * Fetch it from the agent and populate cache 459 * fetch_single_* to get it directly from the agent 482 * Fetch it from th 1087 struct sockaddr_in from; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 17 * from this software without specific prior written permission. 137 * targets obtained from the routing table, is still valid, so the 296 * we can do from here. 348 * probe targets become disjoint from the rtt probe targets. 364 * Incoming IPv4 data from wire, is received here. Called from main. 369 struct sockaddr_in from; local 391 msg.msg_name = (struct sockaddr *)&from; 392 msg.msg_namelen = sizeof (from); 413 (void) inet_ntop(AF_INET, &from 499 struct sockaddr_in6 from; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 21 * may be used to endorse or promote products derived from this software 110 uint32_t from, 127 " from %s to %s via %s life=%d\n", 128 act, naddr_ntoa(from), naddr_ntoa(to), 144 trace_act("%s Router Solic. from %s to %s via %s rsvd=%#x", 145 act, naddr_ntoa(from), naddr_ntoa(to), 333 * Switch router discovery multicast groups from soliciting 392 * If switching from client to server, get rid of old 592 * learnt from RIP (ie rts_origin = RO_RIP), bail out. 875 parse_ad(uint32_t from, argument 109 trace_rdisc(const char *act, uint32_t from, uint32_t to, struct interface *ifp, union ad_u *p, uint_t len) argument 1220 ck_icmp(const char *act, in_addr_t from, struct interface *ifp, in_addr_t to, union ad_u *p, uint_t len) argument 1262 struct sockaddr_in from; local 1435 struct sockaddr_un from; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.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. 183 struct sockaddr_storage from; local 194 fromlen = sizeof (from); 335 if ((fd = accept(s, (struct sockaddr *)&from, 346 if (getpeername(STDIN_FILENO, (struct sockaddr *)&from, 375 doit(dup(fd), &from, renvp); local 563 syslog(LOG_NOTICE, "connection from %s - " 566 syslog(LOG_NOTICE, "connection from %s (%s) - " 794 "%s from [all...] |
H A D | in.tftpd.c | 35 * University Acknowledgment- Portions of this document are derived from 105 static struct sockaddr_storage from; variable in typeref:struct:sockaddr_storage 127 struct sockaddr_storage from; /* address of client */ member in struct:delay_info 205 /* Remove the other privileges from E until we need them. */ 346 addrlen = sizeof (from); 347 if (getsockname(reqsock, (struct sockaddr *)&from, 353 switch (from.ss_family) { 363 from.ss_family); 368 (struct sockaddr *)&from, &fromlen); 382 switch (from [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_mover.c | 23 * products derived from this software without specific prior written 404 * The requested amount of data is then read from the tape device and written 880 * Do not change the mover position if we are reading from 904 * amount of data is then read from the tape device and written to the 1430 * can be written directly from user supplied location. 1526 * Reads data from the local tape device. 1616 * Copy from the data buffer first. 1702 * Reads data from the remote mover. 1768 * excess data from the seek has to be discardd. 2026 * The requested amount of data is then read from th 2208 struct sockaddr_in from; local 4050 struct sockaddr_in from; local [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | literals.h | 143 L_DECL(from); variable
|
/illumos-gate/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfglockd.c | 191 * The following is stolen from autod_nfs.c 351 * a messge has been received from daemon, note this and if the daemon 693 "duplicate '%d' request received from %d", 785 DPF((stderr, "decrement lockers from %d\n", 817 DPF((stderr, "remote unlock from %s ", dp_addr(d))); 837 DPF((stderr, "lockby enquiry from %s ", dp_addr(d))); 889 * check for response from daemons preventing this daemon 890 * from taking a write lock by not sending a grant message. 945 "%19.19s recv %-9.9s from %s (%ld)\n", ctime(&t), 949 "%19.19s recv %-9.9s from 1344 daemonaddr_t from; local [all...] |
/illumos-gate/usr/src/cmd/captoinfo/ |
H A D | captoinfo.c | 98 /* externs from libcurses.a */ 136 static int copycomments = 0; /* copy comments from tercap source */ 389 * This routine copies the set of names from the termcap entry into 943 /* so ug almost never got used. We set sg from ug */ 1026 /* them from the registers. */ 1052 char *from, *to = nextstring; local 1066 from = strval[uselevel][i]; 1074 if (ispadchar(*from)) { 1078 while (isdigit(*from) || *from [all...] |
/illumos-gate/usr/src/cmd/chmod/ |
H A D | chmod.c | 35 * University Acknowledgment- Portions of this document are derived from 725 void *to, *from; local 757 "entries from a file\n")); 773 from = (char *)to + aclp->acl_entry_size; 776 (void) memmove(to, from, len); 793 "entries from a file\n"));
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 740 fromto: from srcobject to dstobject { yyexpectaddr = 0; yycont = NULL; } 742 | from srcobject { yyexpectaddr = 0; yycont = NULL; } 745 from: IPFY_FROM { setipftype(); label 1580 { "from", IPFY_FROM },
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.c | 7 * Export of this software from the United States of America may 8 * require a specific license from the United States Government. 195 kdc_process_tgs_req(krb5_kdc_req *request, const krb5_fulladdr *from, argument 234 if the client claims to be from the local realm. 237 claim to be authenticating a client from our realm, and we'll 253 from->address)) ) 288 * it from underneath us (e.g. a cron job) 502 * ASSUMPTIONS: This procedure assumes that the transited field from 511 * ARGUMENTS: krb5_data *tgt_trans Transited field from TGT 1030 * levels and are numbered starting from [all...] |
/illumos-gate/usr/src/cmd/krb5/slave/ |
H A D | kpropd.c | 7 * Export of this software from the United States of America may require 8 * a specific license from the United States Government. It is the 34 * Export of this software from the United States of America may 35 * require a specific license from the United States Government. 372 * until infinity for an update from the master. 524 struct sockaddr_storage from; local 548 * until infinity for an update from the master. 563 fromlen = (socklen_t)sizeof (from); 564 if (getpeername(fd, (struct sockaddr *) &from, &fromlen) < 0) { 575 if (getnameinfo((struct sockaddr *)&from, fromle [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | main.c | 80 #define MSG_PROTOTYPE "## Building pkgmap from package prototype file.\n" 108 #define ERR_BUILD "unable to build pkgmap from prototype file" 171 static int slinkf(char *from, char *to); 411 * process all parameters from the pkginfo file 837 slinkf(char *from, char *to) argument 851 if (symlink(from, to)) { 907 /* Gather information from the pkginfo file */
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cmt.c | 203 * Return non-zero if thread can migrate between "from" and "to" 207 pg_cmt_can_migrate(cpu_t *from, cpu_t *to) argument 209 if (from->cpu_physid->cpu_cacheid == 326 * in the PG being promoted), and may be invoked from a context where one CPU's 799 * deconfiguring it from both lgroups and processor 824 * Remove the PG from the CPU's load balancing lineage 830 * group, and remove it's reference from it's siblings. 832 * our reference from a PG that we just eliminated. 850 * remove the CPU from all it's PGs (destroying any that become 860 * Deleting the CPU from th [all...] |
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_node.c | 104 * This tunable allows us to ignore inode numbers from rrip-1.12. 117 static int uppercase_cp(char *from, char *to, int size); 119 static int hs_iso_copy(char *from, char *to, int size); 231 * Remove from chain 274 * Get an hsnode from the front of the free list. 288 * cache), call kmem_cache_alloc to get a new hsnode from 348 * Remove an hsnode from the free list. 415 * remove from free list 481 * above). So remove from free list and 550 * from th 1135 hs_namecopy(char *from, char *to, int size, ulong_t flags) argument 1192 hs_jnamecopy(char *from, char *to, int size, int maxsize, ulong_t flags) argument 1254 uppercase_cp(char *from, char *to, int size) argument 1283 hs_joliet_cp(char *from, char *to, int size) argument 1337 hs_uppercase_copy(char *from, char *to, int size) argument 1374 hs_iso_copy(char *from, char *to, int size) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 355 * clean up the buffer and remove it from the buffer 392 /* Drop the log_buffer from the master list */ 644 * The cookie value is the one that was returned from nfslog_record_alloc(). 892 * after being pulled from the list the 987 * Renames the 'from' file to 'new'. 990 nfslog_logfile_rename(char *from, char *new) argument 994 if (error = vn_rename(from, new, UIO_SYSSPACE)) { 997 from, new); 1569 * that was done from the public file handle (not logged) and
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 109 * on exit from bcopy will no longer be seen when we later 115 cprbcopy(void *from, void *to, size_t bytes) argument 121 if (curthreadremapped || (kthrend >= (caddr_t)from && 122 kthrend < (caddr_t)from + bytes + sizeof (kthread_t) - 1)) { 123 caddr_t src = from, dst = to; 128 bcopy(from, to, bytes); 231 * is dumped to disk. We have already untagged them from regular 509 * a page-count from each range is accumulated at arg->pages. 524 * a page-count from each range is accumulated at arg->pages. 838 * this routine replaces common code from [all...] |