/illumos-gate/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.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. 212 const greg32_t *src = &uc->uc_mcontext.gregs[0]; local 214 dst[REG_DS] = (uint16_t)src[DS]; 215 dst[REG_ES] = (uint16_t)src[ES]; 217 dst[REG_GS] = (uint16_t)src[GS]; 218 dst[REG_FS] = (uint16_t)src[FS]; 219 dst[REG_SS] = (uint16_t)src[SS]; 220 dst[REG_RSP] = (uint32_t)src[UESP]; 221 dst[REG_RFL] = src[EF 345 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst) argument [all...] |
/illumos-gate/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.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. 275 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst) argument 277 const greg_t *gregs = &src->uc_mcontext.gregs[0]; 305 ucontext_32_to_prgregs(const ucontext32_t *src, prgregset_t dst) argument 311 const greg32_t *gregs = &src->uc_mcontext.gregs[0];
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 268 copy_oid(KMF_OID *dst, KMF_OID *src) argument 272 if (dst == NULL || src == NULL) 275 dst->Data = malloc(src->Length); 279 dst->Length = src->Length; 280 (void) memcpy(dst->Data, src->Data, src->Length);
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_open.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. 93 sym_to_gelf(const Elf32_Sym *src, Elf64_Sym *dst) argument 95 dst->st_name = src->st_name; 96 dst->st_value = src->st_value; 97 dst->st_size = src->st_size; 98 dst->st_info = src->st_info; 99 dst->st_other = src->st_other; 100 dst->st_shndx = src->st_shndx; 636 const void *src; local [all...] |
/illumos-gate/usr/src/common/exacct/ |
H A D | exacct_core.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. 130 ea_cond_memcpy_at_offset(void *dst, size_t offset, size_t dstsize, void *src, argument 134 char *csrc = src; 136 if (dst == NULL || src == NULL || size == 0 || offset + size > dstsize) 495 void *src; local 660 src = &curr_obj->eo_item.ei_uint8; 664 src = &curr_obj->eo_item.ei_uint16; 666 exacct_order16(src); 669 src [all...] |
/illumos-gate/usr/src/common/nvpair/ |
H A D | fnvpair.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 fnvlist_merge(nvlist_t *dst, nvlist_t *src) argument 115 VERIFY0(nvlist_merge(dst, src, KM_SLEEP));
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | ns8390.c | 117 static void eth_pio_read(unsigned int src, unsigned char *dst, unsigned int cnt) argument 120 outb(src & 0xff, eth_asic_base + WD_GP2); 121 outb(src >> 8, eth_asic_base + WD_GP2); 127 outb(src, eth_nic_base + D8390_P0_RSAR0); 128 outb(src>>8, eth_nic_base + D8390_P0_RSAR1); 133 outb(src & 0xff, eth_asic_base + _3COM_DALSB); 134 outb(src >> 8, eth_asic_base + _3COM_DAMSB); 164 static void eth_pio_write(const unsigned char *src, unsigned int dst, unsigned int cnt) argument 202 outw(*((unsigned short *)src), eth_asic_base + ASIC_PIO); 203 src [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lz4.c | 44 const uint8_t *src = s_start; local 45 uint32_t bufsiz = (src[0] << 24) | (src[1] << 16) | (src[2] << 8) | 46 src[3];
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_nswconfig.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. 190 char *src = NSCD_NSW_SRC_NAME(srci); local 199 c = _nscd_per_src_lookup(handle, NULL, src, &handle); 206 (me, "foreign backend: _nss_%s_version = %p ", src, be_version); 218 (me, "adding backend info for <%s : %s>\n", src, dbn); 224 c = (*bf->lookup)(handle, dbn, src, &handle); 242 "for <%s : %s>\n", src, dbn); 253 "<%s : %s>\n", src, dbn); 259 "constr = %p\n", db_entry, src, db [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/ |
H A D | psvcplugin.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. 307 char src[32], dst[256]; local 324 found = sscanf(buf, "%s %s %s %s", src, src_prop, dst, 333 if ((strcmp(src, "IO_BRIDGE_PRIM_FAN") == 0) || 334 (strcmp(src, "IO_BRIDGE_SEC_FAN") == 0)) 337 /* find src node */ 338 if (src[0] == '/') { 340 err = ptree_get_node_by_path(src, &src_node); 342 init_err(NODE_NOT_FOUND_MSG, funcname, src); [all...] |
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.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. 537 prgregset_n_to_32(const prgreg_t *src, prgreg32_t *dst) argument 540 dst[GS] = src[REG_GS]; 541 dst[FS] = src[REG_FS]; 542 dst[DS] = src[REG_DS]; 543 dst[ES] = src[REG_ES]; 544 dst[EDI] = src[REG_RDI]; 545 dst[ESI] = src[REG_RSI]; 546 dst[EBP] = src[REG_RB [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_icmp.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. 910 in6_addr_t *src; local 929 src = (in6_addr_t *)&qry[1]; 930 while (srccnt > 0 && rem >= sizeof (*src)) { 931 rem -= sizeof (*src); 934 inet_ntop(AF_INET6, src, addrstr, INET6_ADDRSTRLEN)); 937 src++; 958 in6_addr_t *src; local 986 src [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf_sbd/ |
H A D | stmf_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. 67 nhconvert_8bytes(const void *src) { argument 69 mdb_nhconvert(&dest, src, 8);
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | process.c | 676 regsub(SPACE *sp, char *string, char *src) argument 692 while ((c = *src++) != '\0') { 695 else if (c == '\\' && isdigit((unsigned char)*src)) 696 no = *src++ - '0'; 700 if (c == '\\' && (*src == '\\' || *src == '&')) 701 c = *src++;
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | gelf.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. 138 gelf_update_ehdr(Elf *elf, GElf_Ehdr *src) argument 150 class = src->e_ident[EI_CLASS]; 160 (void) memcpy(d->e_ident, src->e_ident, EI_NIDENT); 161 d->e_type = src->e_type; 162 d->e_machine = src->e_machine; 163 d->e_version = src->e_version; 165 d->e_entry = (Elf32_Addr)src->e_entry; 167 d->e_phoff = (Elf32_Off)src 263 gelf_update_phdr(Elf *elf, int ndx, GElf_Phdr *src) argument 375 gelf_update_shdr(Elf_Scn *scn, GElf_Shdr *src) argument 430 gelf_xlatetof(Elf *elf, Elf_Data *dst, const Elf_Data *src, unsigned encode) argument 449 gelf_xlatetom(Elf *elf, Elf_Data *dst, const Elf_Data *src, unsigned encode) argument 510 gelf_update_sym(Elf_Data *dst, int ndx, GElf_Sym *src) argument 591 gelf_update_syminfo(Elf_Data *dst, int ndx, GElf_Syminfo *src) argument 661 gelf_update_dyn(Elf_Data *dst, int ndx, GElf_Dyn *src) argument 741 gelf_getmove(Elf_Data *src, int ndx, GElf_Move *dst) argument 781 gelf_update_move(Elf_Data *dest, int ndx, GElf_Move *src) argument 822 gelf_getrela(Elf_Data *src, int ndx, GElf_Rela *dst) argument 867 gelf_update_rela(Elf_Data *dst, int ndx, GElf_Rela *src) argument 915 gelf_getrel(Elf_Data *src, int ndx, GElf_Rel *dst) argument 958 gelf_update_rel(Elf_Data *dst, int ndx, GElf_Rel *src) argument 1053 gelf_update_cap(Elf_Data *dst, int ndx, GElf_Cap *src) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 695 char src[32], dst[32]; /* "subsystem.property" names */ local 697 snprintf(src, sizeof (src), "%s.%s", subsystem, properties[i]); 699 hal_device_copy_property(parent, src, d, dst);
|
/illumos-gate/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 200 rtrim_copy(char *src, int len) argument 205 len = strlen(src); 208 strncpy(dst, src, len);
|
/illumos-gate/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 57 rtrim_copy(char *src, int len) argument 62 len = strlen(src); 65 strncpy(dst, src, len);
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.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. 261 ilb_nat_src_t *src; local 265 if ((src = kmem_zalloc(sizeof (ilb_nat_src_t), KM_NOSLEEP)) == NULL) { 271 src->src_list[i] = ilb_find_nat_src(ilbs, &cur_addr, srv_addr, 273 if (src->src_list[i] == NULL) { 274 ilb_destroy_nat_src(&src); 283 src->num_src++; 285 *nat_src = src; 345 ilb_nat_src_t *src; local 371 ilb_alloc_nat_addr(ilb_nat_src_t *src, in6_addr_t *addr, in_port_t *port, uint16_t *nat_src_idx) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_ire.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. 1135 ip_select_route_v6(const in6_addr_t *dst, const in6_addr_t src, argument 1141 return (ip_select_route(dst, src, ixa, generationp, setsrcp, errorp,
|
H A D | ip_sadb.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. 97 ipsec_getassocbyconn(isaf_t *bucket, ip_xmit_attr_t *ixa, uint32_t *src, argument 123 * there are valid inner src and destination addresses to compare. 178 * - inner src 213 if (!IPSA_ARE_ADDR_EQUAL(src, retval->ipsa_srcaddr, af) && 334 * (Keep in mind known-src SAs are hit before zero-src SAs, 452 * From now on, only this src, dst[ports, addr], 477 IPSA_COPY_ADDR(retval->ipsa_srcaddr, src, a 510 ipsec_getassocbyspi(isaf_t *bucket, uint32_t spi, uint32_t *src, uint32_t *dst, sa_family_t af) argument [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | priocntl.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 pc_vaparm32_t *src; local 98 for (src = vaparms32.pc_parms, dst = vap->pc_parms; 99 cnt--; src++, dst++) { 100 dst->pc_key = src->pc_key; 101 dst->pc_parm = src->pc_parm;
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_util.c | 400 unsigned char *src = (unsigned char *) s2; local 403 targ[3] = src[0]; 404 targ[2] = src[1]; 405 targ[1] = src[2]; 406 targ[0] = src[3]; 408 targ[7] = src[0]; 409 targ[6] = src[1]; 410 targ[5] = src[2]; 411 targ[4] = src[3]; 412 targ[3] = src[ [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_hash.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. 321 sctp_find_conn(in6_addr_t *src, in6_addr_t *dst, uint32_t ports, argument 326 sctp = sctp_conn_match(&src, 1, dst, ports, zoneid, iraflags, sctps); 337 * This is called from sctp_fanout() with IP header src & dst addresses. 338 * First call sctp_conn_match() to get a match by passing in src & dst 359 in6_addr_t src; local 365 * If we get a match with the passed-in IP header src & dst addresses, 426 * Also do not add src address present in IP header 433 (ph + 1), &src); 484 sctp_fanout(in6_addr_t *src, in6_addr_t *dst, uint32_t ports, ip_recv_attr_t *ira, mblk_t *mp, sctp_stack_t *sctps, sctp_hdr_t *sctph) argument 535 in6_addr_t *src, *dst; local [all...] |
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_format.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. 90 void *src = sp->s_cnv_src; local 96 len = do_src(sp, src, dst, len, sp->s_cnv_src_nchan); 99 sp->s_cnv_dst = src; 110 int32_t *src = sp->s_cnv_src; local 113 *src = ddi_swap32(*src); 114 src++; 126 int8_t *src local 142 uint8_t *src = s; local 158 uint8_t *src = s; local 174 uint8_t *src = s; local 190 int16_t *src = s; local 206 int16_t *src = s; local 222 uint16_t *src = s; local 238 uint16_t *src = s; local 254 uint8_t *src = s; local 275 int32_t *src = sp->s_cnv_src; local 287 int32_t *src = sp->s_cnv_src; local 304 int32_t *src = sp->s_cnv_src; local 316 int32_t *src = sp->s_cnv_src; local 328 int32_t *src = sp->s_cnv_src; local 345 int32_t *src = sp->s_cnv_src; local 362 int32_t *src = sp->s_cnv_src; local 374 int32_t *src = sp->s_cnv_src; local 386 int32_t *src = sp->s_cnv_src; local 398 int32_t *src = sp->s_cnv_src; local 410 int32_t *src = sp->s_cnv_src; local 428 int32_t *src = sp->s_cnv_src; local 439 int32_t *src = sp->s_cnv_src; local 518 int32_t *src = sp->s_cnv_src; local 532 int32_t *src = sp->s_cnv_src; local 600 int32_t *src = sp->s_cnv_src; local [all...] |