/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_ckpt.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 char src[PATH_MAX], dst[PATH_MAX]; local 1206 (void) snprintf(src, sizeof (src), "%s/%s", mp->mod_ckpt, mp->mod_name); 1207 (void) snprintf(dst, sizeof (dst), "%s-", src); 1211 if (rename(src, dst) != 0 && errno != ENOENT) 1212 fmd_error(EFMD_CKPT_DELETE, "failed to rename %s", src);
|
H A D | fmd_conf.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. 842 fmd_conf_propagate(fmd_conf_t *src, fmd_conf_t *dst, const char *scope) argument 847 (void) pthread_rwlock_rdlock(&src->cf_lock); 849 for (cdp = src->cf_defer; cdp != NULL; cdp = cdp->cd_next) { 859 (void) pthread_rwlock_unlock(&src->cf_lock);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rstat_proc.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. 1088 kstat_copy(kstat_t *src, kstat_t *dst, int fr) argument 1092 *dst = *src; 1093 if (src->ks_data != NULL) { 1094 safe_zalloc(&dst->ks_data, src->ks_data_size, 0); 1095 (void) memcpy(dst->ks_data, src->ks_data, src->ks_data_size);
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadc.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. 670 kstat_copy(const kstat_t *src, kstat_t *dst) argument 672 *dst = *src; 674 if (src->ks_data != NULL) { 675 if ((dst->ks_data = malloc(src->ks_data_size)) == NULL) 677 bcopy(src->ks_data, dst->ks_data, src->ks_data_size);
|
H A D | sar.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. 312 convert_32to64(uint64_t *dst, uint_t *src, int size) argument 315 *dst++ = (uint64_t)(*src++); 322 convert_64to32(uint_t *dst, uint64_t *src, int size) argument 325 *dst++ = (uint32_t)(*src++);
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | doorway.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. 810 dump_state(char *src, plugin_t *p, uint64_t count, char *msg) argument 828 src, p->plg_tid, count, msg,
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.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. 754 GElf_Phdr src; local 757 (void) gelf_getphdr(src_elf, (int)x, &src); 760 (void) memcpy(&dst, &src, sizeof (GElf_Phdr));
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cap.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. 519 const char *src; local 542 for (dst = path, src = dname; *src; dst++, src++) 543 *dst = *src; 567 for (_dst = dst, src = file, file = dst; *src; _dst++, src [all...] |
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | utility.c | 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 680 xcp(char *dst, char *src, off_t size) argument 689 if (dst == NULL || src == NULL) 692 if ((fd_in = open(src, O_RDONLY)) < 0) 693 die(EMSG_OPEN, src); 700 die(EMSG_MMAP, src); 711 die(EMSG_MMAP, src);
|
/illumos-gate/usr/src/cmd/tsol/tnd/ |
H A D | tnd.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. 85 int indx, tnd_tnrhdb_t *src); 87 static int update_cache_table(tsol_rhent_t *ent, tnd_tnrhdb_t *src); 97 int indx, tnd_tnrhdb_t *src); 98 static int update_cache_table_v6(tsol_rhent_t *ent, tnd_tnrhdb_t *src); 791 if (tlbt->src->visited == 0) { 866 if (tlbt->src->visited == 0) { 1170 tnd_tnrhdb_t *src) 1189 tlbt->src 1169 add_cache_entry(in_addr_t addr, char *name, int indx, tnd_tnrhdb_t *src) argument 1222 add_cache_entry_v6(in6_addr_t addr, char *name, int indx, tnd_tnrhdb_t *src) argument 1276 update_cache_table(tsol_rhent_t *ent, tnd_tnrhdb_t *src) argument 1339 update_cache_table_v6(tsol_rhent_t *ent, tnd_tnrhdb_t *src) argument 1410 walk_cache_table(in_addr_t newaddr, char *name, int indx, tnd_tnrhdb_t *src) argument 1473 walk_cache_table_v6(in6_addr_t newaddr, char *name, int indx, tnd_tnrhdb_t *src) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb.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. 1665 ilb_check(ilb_stack_t *ilbs, ill_t *ill, mblk_t *mp, in6_addr_t *src, argument 1707 if (ilb_check_conn(ilbs, l3, iph, l4, tph, src, dst, sport, dport, 1734 balanced = rule->ir_alg->ilb_alg_lb(src, sport, dst, dport, 1754 V6_MASK_COPY(*src, rule->ir_sticky_mask, addr); 1784 info.src = *src; 1818 if (ilb_conn_add(ilbs, rule, server, src, sport, dst, 1842 if (ilb_conn_add(ilbs, rule, server, src, spor [all...] |
H A D | ilb_impl.h | 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. 272 in6_addr_t src; member in struct:__anon4688
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_attr.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 uint32_t ixm_ipsec_insrc[IXA_MAX_ADDRLEN]; /* Inner src address */ 874 ixa_safe_copy(ip_xmit_attr_t *src, ip_xmit_attr_t *ixa) argument 876 bcopy(src, ixa, sizeof (*ixa));
|
H A D | ip_mroute.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. 140 #define NO_VIF MAXVIFS /* from mrouted, no route for src */ 442 mfcbp = &ipst->ips_mfcs[MFCHASH(req->src.s_addr, req->grp.s_addr)]; 444 MFCFIND(mfcbp, req->src.s_addr, req->grp.s_addr, rt); 891 "add_vif: src 0x%x enter", 898 * Needed to ensure that src isn't left over from before vif was added. 1051 "del_vif: src 0x%x\n", vifp->v_lcl_addr.s_addr); 1371 /* Initialize pkt counters per src-grp */ 1533 ipaddr_t src, ds local 2612 ipaddr_t src; local [all...] |
H A D | ip_rts.c | 515 * the supplied src address is not the loopback 554 * the supplied src address is not the loopback 802 * supplied src address is not 873 * supplied src address is not 1551 * Given two sets of metrics (src and dst), use the dst values if they are 1552 * set. If a dst value is not set but the src value is set, then we use 1553 * the src value. 1559 rts_merge_metrics(iulp_t *dst, const iulp_t *src) argument 1561 if (!src->iulp_set) 1565 dst->iulp_ssthresh = src [all...] |
H A D | ipclassifier.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. 113 * 5-tuple {src, dst, protocol, local port, remote port} 118 * For UDP connections, a 5-tuple {src, dst, protocol, local port, 161 * Lookup routine to find a exact match for {src, dst, local port, 943 ipcl_iptun_classify_v4(ipaddr_t *src, ipaddr_t *dst, ip_stack_t *ipst) argument 949 connfp = &ipst->ips_ipcl_iptun_fanout[IPCL_IPTUN_HASH(*dst, *src)]; 953 if (IPCL_IPTUN_MATCH(connp, *dst, *src)) 978 ipcl_iptun_classify_v6(in6_addr_t *src, in6_addr_t *dst, ip_stack_t *ipst) argument 984 connfp = &ipst->ips_ipcl_iptun_fanout[IPCL_IPTUN_HASH_V6(dst, src)]; [all...] |
H A D | tnet.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. 692 const void *src; local 705 src = &ipha->ipha_src; 711 src = &ip6h->ip6_src; 743 if ((src_rhtp = find_tpc(src, version, B_FALSE)) == NULL) 797 if ((src_rhtp = find_tpc(src, version, B_FALSE)) == NULL) 1733 void *src; local 1745 src = &ip6h->ip6_src; 1746 if ((src_rhtp = find_tpc(src, IPV6_VERSIO [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | merge.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. 1039 merge_types(hash_t *src, merge_cb_data_t *mcd) argument 1050 (void) hash_iter(src, merge_type_cb, mcd);
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.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. 977 rdc_merge_bitmaps(rdc_k_info_t *src, rdc_k_info_t *dst) argument 979 if (src->dcio_bitmap == NULL || dst->dcio_bitmap == NULL) 982 rdc_lor(src->dcio_bitmap, dst->dcio_bitmap, 983 min(src->bitmap_size, dst->bitmap_size));
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_dump.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. 123 caddr_t src = from, dst = to; local 126 *dst++ = *src++;
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_random.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. 631 uint8_t *src, *dst; local 682 src = (uint8_t *)×tamp; 686 dst[i] ^= src[i % sizeof (timestamp)];
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 950 /* Parameters ppairs1, ppairs - src, dst ports we want to match. */ 953 /* src, dst port, which belong to session (state entry). */ 2093 /* src(I) - pointer to source address */ 2101 static ipstate_t *fr_matchsrcdst(fin, is, src, dst, tcp, cmask) 2104 i6addr_t *src, *dst; 2156 (IP6_EQ(&is->is_src, src) || (flags & SI_W_SADDR))) { 2166 if ((IP6_EQ(&is->is_dst, src) || (flags & SI_W_DADDR)) && 2370 i6addr_t dst, src; local 2438 bzero((char *)&src, sizeof(src)); 2674 i6addr_t src, dst; local 4024 i6addr_t dst, src; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.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. 1383 mi_tpi_conn_con(MBLKP trailer_mp, char *src, t_scalar_t src_length, char *opt, argument 1392 mi_tpi_addr_and_opt(mp, src, src_length, opt, opt_length); 1398 mi_tpi_conn_ind(MBLKP trailer_mp, char *src, t_scalar_t src_length, char *opt, argument 1407 mi_tpi_addr_and_opt(mp, src, src_length, opt, opt_length); 1415 mi_tpi_extconn_ind(MBLKP trailer_mp, char *src, t_scalar_t src_length, argument 1427 mi_tpi_addr_and_opt(mp, src, src_length, opt, opt_length);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_cookie.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. 433 * Peer's original src ... 738 * 5. Peer's original src, used to confirm the validity of address. 1427 * Similar to ip_fanout_sctp, except that the src addr(s) are drawn 1444 in6_addr_t src, *srcp = &src; local 1498 ("sctp_addrlist2sctp: src=%x:%x:%x:%x, sctp=%p\n", 1499 SCTP_PRINTADDR(src), (void *)sctp)); 1511 ("sctp_addrlist2sctp: src [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.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. 1092 ipaddr_t *src; local 1323 src = (ipaddr_t *)connp->conn_ht_iphc; 1324 dst[0] = src[0]; 1325 dst[1] = src[1]; 1326 dst[2] = src[2]; 1327 dst[3] = src[3]; 1328 dst[4] = src[4]; 1329 dst[5] = src[ 3624 uint32_t *dst, *src; local [all...] |