/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_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. 346 ip_drop_output("ipIfStatsOutDiscards - invalid src", 968 ipaddr_t src; local 977 src = htonl(INADDR_LOOPBACK); 982 &src, NULL, NULL); 992 ipha->ipha_src = src; 1622 ipaddr_t src = ipha->ipha_src; local 1665 cksum += (dst >> 16) + (dst & 0xFFFF) + (src >> 16) + (src 1779 ipaddr_t src = ipha->ipha_src; local 1859 ipaddr_t src = ipha->ipha_src; local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_module.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. 240 dt_module_symgelf32(const Elf32_Sym *src, GElf_Sym *dst) argument 243 dst->st_name = src->st_name; 244 dst->st_info = src->st_info; 245 dst->st_other = src->st_other; 246 dst->st_shndx = src->st_shndx; 247 dst->st_value = src->st_value; 248 dst->st_size = src->st_size; 255 dt_module_symgelf64(const Elf64_Sym *src, GElf_Sy argument [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | auto_sense.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. 225 char *src, 2060 * Copy a string of characters from src to dst, for at 2068 char *src, 2073 while (*src == ' ' && n > 0) { 2074 src++; 2078 for (i = 0; n-- > 0 && isascii(*src) && isprint(*src); src 2066 strcopy( char *dst, char *src, int n) argument [all...] |
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.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. 699 cpc_buf_copy(cpc_t *cpc, cpc_buf_t *ds, cpc_buf_t *src) argument 701 if (ds->cb_size != src->cb_size) 704 bcopy(src->cb_data, ds->cb_data, ds->cb_size); 705 ds->cb_hrtime = src->cb_hrtime; 706 ds->cb_tick = src->cb_tick;
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Objective.java | 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. 531 Calculation src = (Calculation) calcMap.get(move.getFrom()); 551 long oldGap = Math.abs(src.getShare() - 552 src.comp.size()); 553 long newGap = Math.abs(src.getShare() - 554 (src.comp.size() - move.getQty()));
|
/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/uts/common/io/arn/ |
H A D | arn_core.h | 86 * Insert src list after dst list. reinitialize src list thereafter. 90 list_splice_tail_init(list_t *dst, list_t *src) argument 93 list_node_t *srcnode = &src->list_head; 95 ASSERT(dst->list_size == src->list_size); 96 ASSERT(dst->list_offset == src->list_offset); 98 if (list_empty(src)) 106 /* reinitialize src list */
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_cm.c | 892 struct sockaddr_in src, dest; local 924 src.sin_family = AF_INET; 925 src.sin_addr.s_addr = (uint32_t)laddr; 926 src.sin_port = (uint16_t)htons(0); 932 ret = rdma_resolve_addr(ic->i_cm_id, (struct sockaddr *)&src,
|
/illumos-gate/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_subscribe.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. 423 fmev_shdl_strdup(fmev_shdl_t hdl, char *src) argument 432 srclen = strlen(src); 439 (void) strncpy(dst, src, srclen);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | boot.c | 404 char *src = skip_to (0, arg); local 407 while (dest < linux_data_tmp_addr + LINUX_CL_END_OFFSET && *src) 408 *(dest++) = *(src++);
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | optim.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. 56 static char best(int src, int dest); 831 best(int src, int dest) argument 836 stype = nettype(src);
|
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/ |
H A D | ex_dscp.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. 57 static int (*Post_filter)(fmd_hdl_t *hdl, nvlist_t *event, const char *src); 802 etm_xport_post_filter(fmd_hdl_t *hdl, nvlist_t *event, const char *src) argument 805 return (Post_filter(hdl, event, src));
|
/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/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/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 208 flock_copyfil(lockinfo_t *src, lockinfo_t *dst) argument 212 if ((dst->lf_fd = open(src->lf_path, O_RDWR)) == -1) { 213 warn("Failed to open %s", src->lf_path);
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt.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. 308 adt_cpy_tid(au_tid_addr_t *dest, const au_tid64_addr_t *src) argument 311 (void) memcpy(dest, src, sizeof (au_tid_addr_t)); 313 dest->at_type = src->at_type; 315 dest->at_port = src->at_port.at_minor & MAXMIN32; 316 dest->at_port |= (src->at_port.at_major & MAXMAJ32) << 319 (void) memcpy(dest->at_addr, src->at_addr, 4 * sizeof (uint32_t));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 233 install(src, dest, destdir, opts) 234 char *src, *dest; 242 dest = src; 250 opts & REMOVE ? " -R" : "", src, dest); 255 rname = exptilde(target, sizeof (target), src); 294 strcpy(source, src);
|
/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);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_subrs.c | 1008 smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp, const char *src, argument 1027 error = mb_put_mem(mbp, src, size, MB_MSYSTEM); 1049 error = uconv_u8tou16((uchar_t *)src, &inlen, cbuf, &outlen, 1067 smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp, const char *src, argument 1076 len = strlen(src) + 1; 1077 error = smb_put_dmem(mbp, vcp, src, len, caseopt, NULL);
|
/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/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_hermon_hw.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. 182 uint8_t *src, *dst, *maxdst; local 332 src = (uint8_t *)(uintptr_t)sgl[i].ds_va; 339 src, maxlen); 346 src += maxlen; 353 src, len); 362 src = (uint8_t *)(uintptr_t)sgl[i].ds_va;
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.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. 383 myri10ge_submit_8rx(mcp_kreq_ether_recv_t *dst, mcp_kreq_ether_recv_t *src) argument 385 src->addr_low |= BE_32(1); 386 myri10ge_pio_copy(dst, src, 4 * sizeof (*src)); 388 myri10ge_pio_copy(dst + 4, src + 4, 4 * sizeof (*src)); 390 src->addr_low &= ~(BE_32(1)); 391 dst->addr_low = src 1711 uint16_t src, dst; local 2816 myri10ge_submit_req_backwards(myri10ge_tx_ring_t *tx, mcp_kreq_ether_send_t *src, int cnt) argument 2838 myri10ge_submit_req(myri10ge_tx_ring_t *tx, mcp_kreq_ether_send_t *src, int cnt) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/ |
H A D | nfsstat.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. 1388 nfsstat_kstat_copy(kstat_t *src, kstat_t *dst, int fr) argument 1394 *dst = *src; 1396 if (src->ks_data != NULL) { 1397 safe_zalloc(&dst->ks_data, src->ks_data_size, 0); 1398 (void) memcpy(dst->ks_data, src->ks_data, src->ks_data_size);
|
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.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. 1982 open_source(char *src) argument 1987 if ((srcfd = open(src, O_RDONLY)) == -1) { 1995 " %s: "), cmd, src); 2009 open_target_srctarg_attrdirs(char *src, char *targ) argument 2038 " directory for %s: "), cmd, src); 2055 "of file %s: "), cmd, src);
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.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. 1141 propagate_bootblock(ib_data_t *src, ib_data_t *dest, char *updt_str) argument 1143 ib_bootblock_t *src_bblock = &src->bootblock; 1146 assert(src != NULL); 1150 if (read(src->device.fd, dest->stage1, SECTOR_SIZE) != SECTOR_SIZE) { 1152 src->device.path); 1177 src->device.path, dest->device.path);
|