Searched defs:from (Results 151 - 175 of 283) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_page.c15 * This code is derived from software contributed to Berkeley by
31 * may be used to endorse or promote products derived from this software
563 u_int8_t *from; local
569 from = (u_int8_t *)p + HOFFSET(p);
570 memmove(from - newbytes, from, movebytes);
834 * Since we just deleted a pair from the master page, anything
881 * removing from the entry. Normally, we can simply substract
882 * the number of bytes we are replacing (dbt->dlen) from the
1003 * there. This is called on two different occasions. On one (from replpai
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dutilities.c104 char *from, *to; local
108 resolve(fp, &fromfd, &from);
117 if ((pathend = strrchr(from, '/')) != NULL) {
118 strncpy(tobuf, from, pathend - from + 1);
119 tobuf[pathend - from + 1] = NULL;
127 if (renameat(fromfd, from, tofd, to) < 0) {
131 from, to, strerror(saverr));
134 vprintf(stdout, gettext("rename %s to %s\n"), from, to);
278 /* No trailing \0 from readlin
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c17 * from this software without specific prior written permission.
23 /* derived from @(#)rcmd.c 5.17 (Berkeley) 6/27/88 */
93 struct sockaddr_storage from; local
246 s3 = accept(s2, (struct sockaddr *)&from, &len);
254 if (SOCK_FAMILY(from) == AF_INET) {
255 if (!anyport && SOCK_PORT(from) >= IPPORT_RESERVED) {
266 SOCK_FAMILY(from));
281 /* Get ticket from credentials cache or kdc */
349 " sent from server: %s\n"),
582 * If there is stored data from
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c39 * University Acknowledgment- Portions of this document are derived from
233 /* rename all entries from CURRENT to BACKUP */
458 * otherwise if statd_call_statd was successful, remove from backup.
485 * from recovering the same host twice (as symlink and
675 /* remove name from BACKUP */
678 /* remove entry from recovery_q */
770 * Deletes name from specified list (namepp).
796 * Finds name from specified list (namep).
880 * Moves the file specified by `from' to `to' only if the
882 * why we don't just do a rename(2)). If `from' i
893 char from[MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice.c185 /** Merge all properties from source where the key starts with
190 * @param source Device to retrieve properties from
859 hal_device_copy_property (HalDevice *from_device, const char *from, HalDevice *to_device, const char *to) argument
865 if (hal_device_has_property (from_device, from)) {
866 switch (hal_device_property_get_type (from_device, from)) {
869 to_device, to, hal_device_property_get_string (from_device, from));
873 to_device, to, hal_device_property_get_int (from_device, from));
877 to_device, to, hal_device_property_get_uint64 (from_device, from));
881 to_device, to, hal_device_property_get_bool (from_device, from));
885 to_device, to, hal_device_property_get_double (from_device, from));
[all...]
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c1050 wstr2str(wchar_t *from, int alloc) argument
1057 ret = p = xmalloc(wcslen(from) * mb_cur_max + 1);
1059 while (bsiz < (wcslen(from) * mb_cur_max + 1)) {
1069 while (*from) {
1072 if (*from & INVALID_CHAR) {
1073 *p = (char)(*from & ~INVALID_CHAR);
1076 if ((len = wctomb(p, *from)) == -1) {
1077 *p = (char)*from;
1082 from++;
1085 while (*from)
1094 str2wstr(char *from, int alloc) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c142 * now. Otherwise this function has been called before, but from a
143 * different plt (ie. from another shared object). In that case
212 elf_bndr(Rt_map *lmp, ulong_t pltndx, caddr_t from) argument
250 EC_NATPTR(lmp), EC_XWORD(pltndx), EC_NATPTR(from));
338 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)),
346 * we searched for the symbol), so sorting starts from the last
483 * Determine from our knowledege of the relocation range and
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c122 * now. Otherwise this function has been called before, but from a
123 * different plt (ie. from another shared object). In that case
193 elf_bndr(Rt_map *lmp, ulong_t reloff, caddr_t from) argument
230 EC_NATPTR(lmp), EC_XWORD(reloff), EC_NATPTR(from));
317 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)),
325 * we searched for the symbol), so sorting starts from the last
461 * Determine from our knowledege of the relocation range and
911 * linker, so the interpreter's address will differ from /usr/lib/ld.so.1.
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c266 * now. Otherwise this function has been called before, but from a
267 * different plt (ie. from another shared object). In that case
350 elf_bndr(Rt_map *lmp, ulong_t pltoff, caddr_t from) argument
380 * Must calculate true plt relocation address from reloc.
386 * plt relocation entry from the start of them given by JMPREL(lm).
401 EC_NATPTR(lmp), EC_XWORD(pltoff), EC_NATPTR(from));
493 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)),
500 * we searched for the symbol), so sorting starts from the last
610 * Determine from ou
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c300 * ! store dyn_data ptr on frame (from %g1)
414 * now. Otherwise this function has been called before, but from a
415 * different plt (ie. from another shared object). In that case
477 elf_bndr(Rt_map *lmp, ulong_t pltoff, caddr_t from) argument
508 * Must calculate true plt relocation address from reloc.
514 * plt relocation entry from the start of them given by JMPREL(lm).
542 EC_NATPTR(lmp), EC_XWORD(pltoff), EC_NATPTR(from));
636 DBG_CALL(Dbg_bind_global(lmp, (Addr)from, (Off)(from - ADDR(lmp)),
644 * we searched for the symbol), so sorting starts from th
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_dev.c1027 * detached from the file descriptor, released
1105 * value (as returned from nsc_strhash()) against the pathname of
1397 * Get value from device.
1512 * Returns result from function or 0 if not available.
1760 * The file descriptor is removed from the chain and free'd
1797 * _nsc_relink_fd (nsc_fd_t *fd, nsc_fd_t **from,
1802 * Remove the file descriptor from the 'from' chain and
1808 _nsc_relink_fd(nsc_fd_t *fd, nsc_fd_t **from, nsc_fd_t **to, nsc_iodev_t *iodev) argument
1818 for (fdp = from; *fd
[all...]
/illumos-gate/usr/src/stand/lib/sock/
H A Dsock_test.c237 struct sockaddr *from, socklen_t *fromlen)
240 return (recvfrom(sd, buf, len, flags, from, fromlen));
527 printf("@ Accept succeeded from %s:%d. Socket descriptor saved\n",
668 struct sockaddr_in from; local
686 fromlen = sizeof (from);
688 (struct sockaddr *)&from, &fromlen)) <= 0) {
696 printf("@ Bytes received from %s/%d: %d\n",
697 inet_ntoa(from.sin_addr), ntohs(from.sin_port), ret);
236 st_local_recvfrom(int sd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen) argument
H A Dsocket.c273 * Generate a network-order source port from the privileged range if
511 * Read up to `nbyte' of data from socket `s' into `buf'; if non-zero,
541 * Write up to `nbyte' bytes of data from `buf' to the address pointed to
788 * Receive messages from a connectionless socket. Legal flags are 0 and
794 recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, argument
845 /* Remove unknown inetgrams from the head of inq. Can this happen? */
885 if (from != NULL && fromlen != NULL) {
888 /* Need to copy from the socket's remote address. */
889 bcopy(&(sockets[sock_id].remote), from, MIN(*fromlen,
897 bcopy((caddr_t)&(icp->igm_saddr), (caddr_t)from,
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dlgrp_topo.c89 * Add "from" lgroup resources to "to" lgroup resources
92 lgrp_rsets_add(klgrpset_t *from, klgrpset_t *to) argument
97 klgrpset_or(to[i], from[i]);
102 * Copy "from" lgroup resources to "to" lgroup resources
105 lgrp_rsets_copy(klgrpset_t *from, klgrpset_t *to) argument
110 to[i] = from[i];
115 * Delete given lgroup ID from lgroup resource set of specified lgroup
239 klgrpset_t from; local
242 klgrpset_clear(from);
243 klgrpset_add(from, lgrpi
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c84 Map_t from; member in struct:Conv_s
244 if ((cc->from.index = _win_codeset(f)) < 0)
249 error(DEBUG_TRACE, "AHA#%d _win_iconv_open f=0x%04x t=0x%04x\n", __LINE__, cc->from.index, cc->to.index);
272 error(DEBUG_TRACE, "AHA#%d _win_iconv from=0x%04x to=0x%04x\n", __LINE__, cc->from.index, cc->to.index);
274 if (cc->from.index == cc->to.index)
289 * from => ucs-2
294 if ((tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)*fn, (LPWSTR)*tb, *tn)) && tz <= *tn)
311 while (!(tz = MultiByteToWideChar(cc->from.index, 0, (LPCSTR)*fb, (int)fz, (LPWSTR)*tb, 0)))
335 if (cc->from
[all...]
/illumos-gate/usr/src/uts/sun4u/cherrystone/os/
H A Dcherrystone.c86 /* Function definitions from this point forward. */
209 * from which the key switch position is read.
364 * Decode the board number from the MC portid. Assumes
405 * Otherwise, we load the values from a magic address in
432 * extracted information about each board's memory from the memory
506 * Return latency between "from" and "to" lgroups
517 plat_lgrp_latency(lgrp_handle_t from, lgrp_handle_t to) argument
524 if (lgrp_optimizations() && (from != to ||
525 from == LGRP_DEFAULT_HANDLE || to == LGRP_DEFAULT_HANDLE))
557 * This platform hook gets called from mc_add_mem_unum_labe
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc129 /* Remove extra ../ constructs if we are reading from a report file */
148 /* If the current_names vector is full we patch in the one from */
185 * member_start Points to "member.o" from above string.
630 /* was discovered from this run (read from a tmp file) */
631 /* or was from discovered from the original .make.state */
789 /* Reading report file from programs that reports */
791 /* read from this reportfile we clear all old */
1549 * Given a file name compose a relative path name from i
1561 wchar_t *from; local
[all...]
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmisc.cc669 * append_string(from, to, length)
674 * from The source (C style) string
676 * length The length of the from string
681 append_string(register wchar_t *from, register String to, register int length) argument
684 length = wcslen(from);
695 (void) wcsncpy(to->text.p, from, length);
701 wchar_t * get_wstring(char *from) { argument
702 if(from == NULL) {
706 wchar_t * wcbuf = ALLOC_WC(strlen(from) + 1);
707 mbstowcs(wcbuf, from, strle
712 append_string(register char *from, register String to, register int length) argument
793 append_char(wchar_t from, register String to) argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c43 * may be used to endorse or promote products derived from this software
836 struct sockaddr_storage from; local
958 fromlen = sizeof(from);
960 (struct sockaddr *)&from, &fromlen);
980 * response from old query, ignore it.
991 !res_ourserver_p(statp, (struct sockaddr *)&from)) {
993 * response from wrong server? ignore it.
1040 /* don't retry if called from dig */
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c40 struct phyint *pi, struct sockaddr_in6 *from);
43 int len, struct sockaddr_in6 *from);
46 int len, struct sockaddr_in6 *from, boolean_t loopback);
48 struct sockaddr_in6 *from, boolean_t loopback);
54 uchar_t *opt, struct sockaddr_in6 *from,
58 struct sockaddr_in6 *from, boolean_t loopback,
61 struct sockaddr_in6 *from);
63 struct sockaddr_in6 *from, int isrouter);
67 int len, struct sockaddr_in6 *from);
74 const struct sockaddr_in6 *from, in
98 struct sockaddr_in6 from; local
287 incoming_rs(struct phyint *pi, struct nd_router_solicit *rs, int len, struct sockaddr_in6 *from) argument
433 incoming_ra(struct phyint *pi, struct nd_router_advert *ra, int len, struct sockaddr_in6 *from, boolean_t loopback) argument
591 incoming_prefix_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback) argument
793 incoming_prefix_addrconf(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback) argument
887 incoming_prefix_addrconf_process(struct phyint *pi, struct prefix *pr, uchar_t *opt, struct sockaddr_in6 *from, boolean_t loopback, boolean_t new_prefix) argument
1150 incoming_mtu_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from) argument
1206 incoming_lla_opt(struct phyint *pi, uchar_t *opt, struct sockaddr_in6 *from, int isrouter) argument
1267 verify_ra_consistency(struct phyint *pi, struct nd_router_advert *ra, int len, struct sockaddr_in6 *from) argument
1491 verify_opt_len(struct nd_opt_hdr *opt, int optlen, struct phyint *pi, struct sockaddr_in6 *from) argument
1531 update_ra_flag(const struct phyint *pi, const struct sockaddr_in6 *from, int isrouter) argument
[all...]
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c79 string2auth(const char *from, ns_auth_t *na) argument
81 if (from == NULL) {
90 if (strcasecmp(from, "simple") == 0) {
95 } else if (strcasecmp(from, "sasl/CRAM-MD5") == 0) {
100 } else if (strcasecmp(from, "sasl/DIGEST-MD5") == 0) {
105 } else if (strcasecmp(from, "sasl/GSSAPI") == 0) {
111 } else if (strcasecmp(from, "tls:simple") == 0) {
116 } else if (strcasecmp(from, "tls:sasl/CRAM-MD5") == 0) {
121 } else if (strcasecmp(from, "tls:sasl/DIGEST-MD5") == 0) {
129 from);
[all...]
/illumos-gate/usr/src/uts/sun4u/daktari/os/
H A Ddaktari.c198 * from which the key switch position is read.
356 * Decode the board number from the MC portid. Assumes
397 * Otherwise, we load the values from a magic address in
425 * extracted information about each board's memory from the memory
498 * Return latency between "from" and "to" lgroups
509 plat_lgrp_latency(lgrp_handle_t from, lgrp_handle_t to) argument
516 if (lgrp_optimizations() && (from != to ||
517 from == LGRP_DEFAULT_HANDLE || to == LGRP_DEFAULT_HANDLE))
548 * This platform hook gets called from mc_add_mem_unum_label() in the mc-us3
/illumos-gate/usr/src/lib/libscf/common/
H A Dnotify_params.c89 { "from-uninitialized", SCF_TRANS(SCF_STATE_UNINIT, 0) },
91 { "from-maintenance", SCF_TRANS(SCF_STATE_MAINT, 0) },
93 { "from-offline", SCF_TRANS(SCF_STATE_OFFLINE, 0) },
95 { "from-disabled", SCF_TRANS(SCF_STATE_DISABLED, 0) },
97 { "from-online", SCF_TRANS(SCF_STATE_ONLINE, 0) },
99 { "from-degraded", SCF_TRANS(SCF_STATE_DEGRADED, 0) },
188 * Get the pg from the running snapshot of the instance (composed or not)
724 * if this is output from
937 * Populate scf_values_t structure with values from prop
1024 * Add values from propert
1816 char *from; /* from state */ local
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_lan_hmc.c17 contributors may be used to endorse or promote products derived from
101 * the driver's provided input, as well as information from the HMC itself
102 * loaded from NVRAM.
249 * i40e_remove_pd_page - Remove a page from the page descriptor table
275 * i40e_remove_sd_bp - remove a backing page from a segment descriptor
405 /* remove the backing pages from pd_idx1 to i */
434 /* cleanup for sd entries from j to sd_idx */
663 * removed from the OS.
757 * @ce_info: a description of the struct to be read from
758 * @src: the struct to be read from
765 u8 *from, *dest; local
805 u8 *from, *dest; local
849 u8 *from, *dest; local
901 u8 *from, *dest; local
[all...]
/illumos-gate/usr/src/common/ficl/
H A Ddictionary.c25 * I am interested in hearing from anyone who uses Ficl. If you have
67 * from the dictionary list. Assumes that there is a smudged
113 * dictionary. If nficlCells < 0 , removes space from the dictionary.
162 char *from = (char *)data; local
170 *here++ = *from++;

Completed in 358 milliseconds

1234567891011>>