/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1201 struct node *src; local 1214 src = infop->anp->u.arrow.lhs; 1217 if (src->t == T_ARROW) { 1218 hmatch(infop, src->u.arrow.rhs, dst); 1220 itree_np2nork(src->u.arrow.nnp), 1221 itree_np2nork(src->u.arrow.knp)); 1222 dst = src->u.arrow.rhs; 1223 src 1477 struct node *src, *dst, *slst, *dlst, *arrownp, *oldarrownp; local [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 92 const pool_elem_t *src; member in struct:query_obj 1263 * Now check to see if the src element is correct. If no src 1266 if (qo->src) { 1271 if (parent == (pool_knl_elem_t *)qo->src) 1314 pool_knl_exec_query(const pool_conf_t *conf, const pool_elem_t *src, argument 1329 qo.src = src; 1852 pool_knl_res_transfer(pool_resource_t *src, pool_resource_t *tgt, uint64_t size) argument 1861 pool_knl_res_xtransfer(pool_resource_t *src, pool_resource_t *tgt, pool_component_t **rl) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 3342 char *src; local 3346 src = sl->sl_data_filename; 3348 src = sl->sl_meta_filename; 3350 if (SBD_IS_ZVOL(src) != 0) { 3353 src += 14; /* Past /dev/zvol/dsk/ */ 3354 if (*src == '/') 3355 src++; /* or /dev/zvol/rdsk/ */ 3356 p = (char *)kmem_alloc(strlen(src) [all...] |
/illumos-gate/usr/src/cmd/ptools/pargs/ |
H A D | pargs.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 170 unctrl_str_strict_ascii(const char *src, int escape_slash, int *unprintable) argument 173 uc = ucp = safe_zalloc((strlen(src) * 4) + 1); 174 while ((c = *src++) != '\0') { 207 unctrl_str(const char *src, int escape_slash, int *unprintable) argument 213 size_t srcbufsz = strlen(src) + 1; 220 if ((srclen = mbstowcs(wide_src, src, srcbufsz - 1)) == (size_t)-1) { 232 return (unctrl_str_strict_ascii(src, escape_slash, 335 quote_string_ascii(pargs_data_t *datap, char *src) argument 392 quote_string(pargs_data_t *datap, char *src) argument [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 166 const char *src, *dst; local 174 src = ne->ne_name + strlen(ne->ne_name) - 1; 176 for (count = 0; src >= ne->ne_name && dst >= path; 177 src--, dst--, count++) 178 if (*src != *dst) 1323 nvlist_t *raw, *src, *dst; local 1385 src = fnvpair_value_nvlist(elem); 1387 name = fnvlist_lookup_string(src, ZPOOL_CONFIG_POOL_NAM [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/ |
H A D | dns-sd.c | 577 const char *src = *srcp; local 578 while (*src != '.' || --labels > 0) 580 if (*src == '\\') *dst++ = *src++; // Make sure "\." doesn't confuse us 581 if (!*src || dst >= lim) return -1; 582 *dst++ = *src++; 583 if (!*src || dst >= lim) return -1; 586 *srcp = src + 1; // skip over final dot
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 135 static int gzip_compress(void *src, size_t srclen, void *dst, 137 static int lzma_compress(void *src, size_t srclen, void *dst, 170 gzip_compress(void *src, size_t srclen, void *dst, size_t *dstlen, int level) argument 193 if ((*compress2p)(dst, (ulong_t *)dstlen, src, srclen, level) != 0) 222 lzma_compress(void *src, size_t srclen, void *dst, argument 267 src, srclen, &props, dstp, &outpropssize, 0, NULL,
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 131 struct nss_src_state *src; /* Pointer to array[max_src] */ member in struct:nss_db_state 763 struct nss_src_state *src = &s->src[n_src]; local 768 if (src->n_dormant > 0) { 769 src->n_dormant--; 770 src->n_active++; 772 be = src->dormant.single; 774 be = src 841 struct nss_src_state *src = &s->src[n_src]; local 937 _nss_src_state_destr(struct nss_src_state *src, int max_dormant) argument [all...] |
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 144 typedef size_t zio_compress_func_t(void *src, void *dst, 146 typedef int zio_decompress_func_t(void *src, void *dst, 149 extern int gzip_decompress(void *src, void *dst, 314 zio_decompress_data(int cpfunc, void *src, uint64_t srcsize, argument 331 return (ci->ci_decompress(src, dest, srcsize, destsize, ci->ci_level)); 508 uint64_t *p, *src, pcount __attribute__((unused)), ccount, i; local 511 pcount = rm->rm_col[VDEV_RAIDZ_P].rc_size / sizeof (src[0]); 514 src 535 uint64_t *p, *q, *src, pcnt, ccnt, mask, i; local 587 uint64_t *p, *q, *r, *src, pcnt, ccnt, mask, i; local 950 uint8_t *src; local [all...] |
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1535 copy_scn(Shdr *src, vnode_t *src_vp, Shdr *dst, vnode_t *dst_vp, Off *doffset, argument 1539 size_t len, n = src->sh_size; 1544 if (vn_rdwr(UIO_READ, src_vp, buf, len, src->sh_offset + off, 1560 *doffset += src->sh_size;
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 2651 lwpsinfo_kto32(const struct lwpsinfo *src, struct lwpsinfo32 *dest) argument 2655 PR_COPY_FIELD(src, dest, pr_flag); 2656 PR_COPY_FIELD(src, dest, pr_lwpid); 2657 PR_IGNORE_FIELD(src, dest, pr_addr); 2658 PR_IGNORE_FIELD(src, dest, pr_wchan); 2659 PR_COPY_FIELD(src, dest, pr_stype); 2660 PR_COPY_FIELD(src, dest, pr_state); 2661 PR_COPY_FIELD(src, des 2678 psinfo_kto32(const struct psinfo *src, struct psinfo32 *dest) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ipnet/ |
H A D | ipnet.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1070 ipnet_accept(ipnet_t *ipnet, hook_pkt_observe_t *hdr, ipnet_addrp_t *src, argument 1078 srctype = ipnet_get_addrtype(ipnet, src); 1090 ipnet_addrtype_t, srctype, ipnet_addrp_t *, src, 1146 ipnet_loaccept(ipnet_t *ipnet, hook_pkt_observe_t *hdr, ipnet_addrp_t *src, argument 1179 ipnet_addrp_t src; local 1185 src.iap_family = hdr->hpo_family; 1189 src.iap_addr4 = &((ipha_t *)(netmp->b_rptr))->ipha_src; 1192 src 2287 ipnet_addrp_t src; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | lofi.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 231 static int gzip_decompress(void *src, size_t srclen, void *dst, 234 static int lzma_decompress(void *src, size_t srclen, void *dst, 1244 gzip_decompress(void *src, size_t srclen, void *dst, argument 1249 if (z_uncompress(dst, dstlen, src, srclen) != Z_OK) 1257 lzma_decompress(void *src, size_t srclen, void *dst, argument 1265 actual_src = (void *)((Byte *)src + LZMA_HEADER_SIZE); 1269 (const Byte *)src, LZMA_PROPS_SIZE, LZMA_FINISH_ANY, &status,
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_io.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 821 const char *src = ctime(tmp); local 826 if (src == NULL) 830 *dst++ = src[i]; /* Copy the 4-digit year */ 833 *dst++ = src[i]; /* Copy month, day, and h:m:s */
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1568 core_phdr_to_gelf(const Elf32_Phdr *src, GElf_Phdr *dst) argument 1570 dst->p_type = src->p_type; 1571 dst->p_flags = src->p_flags; 1572 dst->p_offset = (Elf64_Off)src->p_offset; 1573 dst->p_vaddr = (Elf64_Addr)src->p_vaddr; 1574 dst->p_paddr = (Elf64_Addr)src->p_paddr; 1575 dst->p_filesz = (Elf64_Xword)src->p_filesz; 1576 dst->p_memsz = (Elf64_Xword)src 1581 core_shdr_to_gelf(const Elf32_Shdr *src, GElf_Shdr *dst) argument [all...] |
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 969 z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) argument 974 if ((ret = uncompress(dst, &len, src, srclen)) == Z_OK) 981 z_compress_level(void *dst, size_t *dstlen, const void *src, size_t srclen, argument 987 if ((ret = compress2(dst, &len, src, srclen, level)) == Z_OK)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | exec.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1550 stk_getptr(uarg_t *args, char *src, char **dst) argument 1556 error = fulword(src, &ptr); 1560 error = fuword32(src, &ptr);
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | forth.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1666 void *dest, *src; local 1672 src = (void *)POP(DS); 1674 memmove(dest, src, len);
|
/illumos-gate/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 672 hsp_attr_t *src = data; local 676 dst->associated_id = src->associated_id; 677 dst->type = src->type; 687 if (src->type == HSP_TYPE_LOCAL) { 690 src->associated_id); 711 arraypart_attr_t *src = data; local 715 dst->disk_id = src->disk_id; 716 dst->offset = src 760 property_attr_t *src = data, *dst = attr; local [all...] |
/illumos-gate/usr/src/common/mpi/ |
H A D | mpi.c | 3048 mp_digit *src, *dst; local 3063 src = dst + p; 3065 *dst++ = *src++;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 1555 uint32_t src, dst; local 1578 src = get_ipsrc(bp); 1591 notice("%s fragment from %I->%I: %8.*B", cp, src, dst, 1604 src, get_sport(bp), dst, get_dport(bp), 1608 src, dst, len, bp);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 493 {"src", TOK_SRCADDR, NEXTADDR}, 1183 * src: points to the SADB source address extension 1199 struct sadb_address *src, struct sadb_address *dst, 1214 * Okay, now we have "src", "dst", and maybe "proxy" reassigned 1221 if (src != NULL) { 1222 sin6 = (struct sockaddr_in6 *)(src + 1); 1240 * DELETE is different, because you can leave either "src" or "dst" 1263 * Fill in the src sockadd 1197 doaddresses(uint8_t sadb_msg_type, uint8_t sadb_msg_satype, int cmd, struct hostent *srchp, struct hostent *dsthp, struct sadb_address *src, struct sadb_address *dst, boolean_t unspec_src, uint64_t *buffer, int buffer_size, uint32_t spi, char *ebuf) argument 1648 struct sadb_address *src = NULL, *dst = NULL; local 2977 struct sadb_address *src = NULL, *dst = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 281 static void save_string(char **dst, char *src); 1053 save_string(char **dst, char *src) argument 1056 *dst = strdup(src); 2077 * src address of incoming or outgoing packets. 2476 * src address of incoming or outgoing packets. 2643 struct sockaddr *dst = NULL, *gate = NULL, *mask = NULL, *src = NULL; local 2689 src = sa; 2709 if (src != NULL && rtm->rtm_flags & RTF_SETSRC) 2710 (void) printf(" setsrc: %s\n", routename(src));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1204 tg_node_t *node, *src; local 1218 src = &tg_node[tg_nnodes + tg_nanchored++]; 1219 src->tgn_base = addr; 1220 src->tgn_limit = addr + size; 1221 src->tgn_type = type; 1260 edge->tge_src = src; 1262 edge->tge_nextout = src->tgn_outgoing; 1263 src 2029 tg_node_t *src = NULL; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 5583 int src = -1, dst = -1; local 5594 src = safeopen((char *)source, O_RDONLY, 0, sff); 5595 if (src < 0) 5599 if (fstat(src, &st) < 0) 5611 while ((readlen = read(src, &buf, sizeof(buf))) > 0) 5631 if (close(src) < 0) 5633 src = -1; 5636 src = -1; 5650 if (src >= 0) 5651 (void) close(src); [all...] |