Searched refs:src (Results 301 - 325 of 1056) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c8 * 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.
83 di_devtype_get(topo_mod_t *mp, di_node_t src, char **devtype) argument
94 if (di_bytes_get(mp, src, DI_DEVTYPPROP, &sz, &buf) == 0) {
129 di_physlotinfo_get(topo_mod_t *mp, di_node_t src, int *slotnum, char **slotname) argument
139 (void) di_uintprop_get(mp, src, DI_PHYSPROP, (uint_t *)slotnum);
146 if (di_bytes_get(mp, src, DI_SLOTPROP, &sz, &buf) == 0 &&
185 __func__, src);
189 __func__, src, DI_SLOTPROP);
198 __func__, src);
210 di_slotinfo_get(topo_mod_t *mp, di_node_t src, int *nslots, slotnm_t **slotnames) argument
269 did_create(topo_mod_t *mp, di_node_t src, int ibrd, int ibrdge, int irc, int ibus) argument
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dstringrp.c190 const char *src = string; /* A pointer into the input string */ local
193 while(*src) {
194 if(!escaped && *src == '\\') {
196 src++;
199 *dst++ = *src++;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetut.c8 * 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.
103 utmp_frec2api(const struct futmp *src, struct utmp *dst) argument
105 if (src == NULL)
108 (void) strncpy(dst->ut_user, src->ut_user, sizeof (dst->ut_user));
109 (void) strncpy(dst->ut_line, src->ut_line, sizeof (dst->ut_line));
110 (void) memcpy(dst->ut_id, src->ut_id, sizeof (dst->ut_id));
111 dst->ut_pid = src->ut_pid;
112 dst->ut_type = src->ut_type;
113 dst->ut_exit.e_termination = src
119 utmp_api2frec(const struct utmp *src, struct futmp *dst) argument
[all...]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dmemmove.s8 * 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.
53 andcc %i1, 3, %i5 ! is src word aligned
55 cmp %i5, 2 ! is src half-word aligned
57 cmp %i5, 3 ! src is byte aligned
60 stb %i3, [%i0] ! move a byte to align src
67 s2algn: lduh [%i1], %i3 ! know src is 2 byte alinged
88 dec 4, %i3 ! avoid reading beyond tail of src
109 dec 4, %i3 ! avoid reading beyond tail of src
132 dec 4, %i3 ! avoid reading beyond tail of src
[all...]
H A Dstrcpy.s8 * 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.
65 sub %o1, %o0, %o3 ! src - dst
66 andcc %o1, 3, %o4 ! src word aligned ?
70 cmp %o4, 2 ! src halfword aligned
72 ldub [%o2 + %o3], %o1 ! src[0]
78 inc %o2 ! src++, dst++
81 lduh [%o2 + %o3], %o1 ! src[]
89 add %o2, 2, %o2 ! src += 2, dst += 2
100 lduw [%o2 + %o3], %o1 ! src wor
[all...]
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dmemmove.s8 * 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.
53 andcc %i1, 3, %i5 ! is src word aligned
55 cmp %i5, 2 ! is src half-word aligned
57 cmp %i5, 3 ! src is byte aligned
60 stb %i3, [%i0] ! move a byte to align src
67 s2algn: lduh [%i1], %i3 ! know src is 2 byte alinged
88 dec 4, %i3 ! avoid reading beyond tail of src
109 dec 4, %i3 ! avoid reading beyond tail of src
132 dec 4, %i3 ! avoid reading beyond tail of src
[all...]
H A Dstrncpy.s8 * 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.
60 ! This implementation works by first aligning the src ptr and
71 add %o1, %o2, %o3 ! src = src + n
75 sub %o4, 8, %o4 ! bytes until src aligned
78 ldub [%o3 + %g4], %o1 ! src[]
79 stb %o1, [%o2 + %g4] ! dst[] = src[]
80 addcc %g4, 1, %g4 ! src++, dst++, n--
82 tst %o1 ! end of src reache
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dtty.c9 * 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.
50 static char *readtty(char pr[], char src[]);
173 readtty(char pr[], char src[]) argument
189 if (src != NOSTR && (int)strlen(src) > LINESIZE - 2) {
191 return(src);
195 return(src);
196 cp2 = src==NOSTR ? "" : src;
563 readtty(char pr[], char src[]) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename.kshlib8 # 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.
68 function rename_dataset # src dest
70 typeset src=$1
73 log_must zfs rename $src $dest
76 # Verify src name no longer in use
78 log_mustnot datasetexists $src
114 function cmp_data #<$1 src data, $2 tgt data>
116 typeset src=$1
119 cmp $src
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_buf.c9 * 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.
127 const dt_buf_t *src, size_t align)
129 if (dst->dbu_err == 0 && src->dbu_err != 0) {
130 (void) dt_set_errno(dtp, src->dbu_err);
131 dst->dbu_err = src->dbu_err;
133 dt_buf_write(dtp, dst, src->dbu_buf,
134 (size_t)(src->dbu_ptr - src->dbu_buf), align);
126 dt_buf_concat(dtrace_hdl_t *dtp, dt_buf_t *dst, const dt_buf_t *src, size_t align) argument
/illumos-gate/usr/src/uts/common/syscall/
H A Dstatvfs.c8 * 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.
58 #define STATVFSCOPY(dst, src) \
59 (dst)->f_bsize = (src)->f_bsize; \
60 (dst)->f_frsize = (src)->f_frsize; \
61 (dst)->f_blocks = (src)->f_blocks; \
62 (dst)->f_bfree = (src)->f_bfree; \
63 (dst)->f_bavail = (src)->f_bavail; \
64 (dst)->f_files = (src)->f_files; \
65 (dst)->f_ffree = (src)
[all...]
/illumos-gate/usr/src/uts/intel/fs/proc/
H A Dprmachdep.c8 * 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.
119 prgregset_32ton(klwp_t *lwp, prgregset32_t src, prgregset_t dst) argument
126 dst[REG_DS] = (uint16_t)src[DS];
127 dst[REG_ES] = (uint16_t)src[ES];
129 dst[REG_GS] = (uint16_t)src[GS];
130 dst[REG_FS] = (uint16_t)src[FS];
131 dst[REG_SS] = (uint16_t)src[SS];
132 dst[REG_RSP] = (uint32_t)src[UESP];
134 (rp->r_ps & ~PSL_USERMASK) | (src[EF
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dhandlers.c8 * 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.
42 #define STRCPYLIM(dst, src, str) strcpy_limit(dst, src, sizeof (dst), str)
497 gethm(char *src, int *hour, int *min) argument
499 if (sscanf(src, "%d:%d", hour, min) != 2) {
500 mesg(MERR, "bad time format (%s)\n", src);
508 strcpy_limit(char *dst, char *src, size_t limit, char *info) argument
510 if (strlcpy(dst, src, limit) >= limit)
511 mesg(MEXIT, "%s is too long (%s)\n", info, src);
558 devpath(char **destp, char *src, int *errp) argument
613 char *src, *first, **destp; local
740 char *rp, *src; local
814 scan_int(char *src, int *dst) argument
831 scan_float(char *src, float *dst) argument
891 char *src, *err_fmt = NULL, *mnttab = MNTTAB; local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_grc3.c8 * 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.
204 grc3_upsample_##QUAL(grc3state_t *grc, const int32_t *src, \
214 src += offset; \
232 history[0] = history[-GRC3_MAXHISTORY] = (*src); \
237 src += inc; \
247 grc3_dnsample_##QUAL(grc3state_t *grc, const int32_t *src, \
258 src += offset; \
282 _grc_sat31((*src), sat); \
287 src
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dlinux.c249 rdata[0].src = LINUX_BZIMAGE_ADDR;
252 rdata[1].src = linux_data_tmp_addr;
256 rdata[2].src = 0;
260 rdata[0].src = linux_data_tmp_addr;
264 rdata[1].src = 0;
284 char *src, *dst; local
340 src = arg;
342 if (src != NULL) {
343 while (*src != 0 && dst < (char *)
345 *(dst++) = *(src
[all...]
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_kstat.c9 * 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.
149 kstat_clone(kstat_t *src, kstat_t *dst, int fr) argument
153 *dst = *src;
154 if (src->ks_data != NULL) {
155 dst->ks_data = ZALLOC(src->ks_data_size);
156 (void) memcpy(dst->ks_data, src->ks_data, src->ks_data_size);
164 * Erase the data from 'src'.
167 kstat_erase(kstat_t *src) argument
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dblk_common.c8 * 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.
155 blkif_x86_32_request_t *src);
157 blkif_x86_64_request_t *src);
160 blkif_response_t *src);
162 blkif_response_t *src);
795 blkif_request_t *src; local
806 src = xvdi_ring_get_request(ring->ri_ring);
807 if (src == NULL) {
814 bcopy(src, re
874 blk_ring_response_put(blk_ring_t ring, blkif_response_t *src) argument
919 blk_ring_request_32(blkif_request_t *dst, blkif_x86_32_request_t *src) argument
938 blk_ring_request_64(blkif_request_t *dst, blkif_x86_64_request_t *src) argument
957 blk_ring_response_32(blkif_x86_32_response_t *dst, blkif_response_t *src) argument
969 blk_ring_response_64(blkif_x86_64_response_t *dst, blkif_response_t *src) argument
[all...]
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c8 * 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.
47 * usr/src/lib/libc/port/gen/strlcpy.c
48 * usr/src/lib/libc/port/gen/strcat.c
53 strlcpy(char *dst, const char *src, size_t len) argument
55 size_t slen = strlen(src);
65 (void) memcpy(dst, src, copied);
73 strlcat(char *dst, const char *src, size_t dstsize) argument
78 size_t l2 = strlen(src);
88 (void) memcpy(dst + l1, src, copie
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c166 ctl_sa_copy(const struct sockaddr *src, struct sockaddr *dst) { argument
167 switch (src->sa_family) {
170 *((const struct sockaddr_in6 *)src);
174 *((const struct sockaddr_in *)src);
179 *((const struct sockaddr_un *)src);
183 *dst = *src;
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsec_defs.h9 * 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.
103 #define GSS_COPY_BUFFER(dest, src) { \
104 (dest).length = (src).length; \
105 (dest).value = (src).value; }
107 #define GSS_DUP_BUFFER(dest, src) { \
108 (dest).length = (src).length; \
110 bcopy((src).value, (dest).value, (dest).length); }
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c153 * make a canonical copy of domain name "src"
166 ns_makecanon(const char *src, char *dst, size_t dstsize) { argument
167 size_t n = strlen(src);
173 strcpy(dst, src);
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem_stand.c9 * 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.
105 stand_parent_alloc(vmem_t *src, size_t size, int vmflags) argument
113 if ((ret = vmem_alloc(src, size, VM_NOSLEEP)) != NULL) {
135 if ((ret = _vmem_extend_alloc(src, sr->sr_curtop, chksize, size,
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dutf8.c199 _UTF8_mbsnrtowcs(wchar_t *_RESTRICT_KYWD dst, const char **_RESTRICT_KYWD src, argument
210 s = *src;
262 *src = s;
265 *src = s + nms;
268 *src = NULL;
276 *src = s;
347 _UTF8_wcsnrtombs(char *_RESTRICT_KYWD dst, const wchar_t **_RESTRICT_KYWD src, argument
363 s = *src;
391 *src = s;
399 *src
[all...]
/illumos-gate/usr/src/common/lzma/
H A DLzmaDec.h178 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
195 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
216 SZ_ERROR_INPUT_EOF - It needs more bytes in input buffer (src).
219 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
/illumos-gate/usr/src/cmd/cdrw/
H A Dcopycd.c8 * 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.
195 cd_device *src; local
217 src = get_device(copy_src, p);
218 if (src == NULL) {
225 src = target;
228 (void) check_device(src, CHECK_TYPE_NOT_CDROM | CHECK_NO_MEDIA |
232 get_media_type(src->d_fd);
235 if (!read_toc(src->d_fd, 0, 0, 4, toc)) {
251 if (!build_track_info(src,
[all...]

Completed in 171 milliseconds

<<11121314151617181920>>