Searched refs:bytes (Results 1 - 25 of 396) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/bnu/
H A Dstatlog.c43 statlog( direction, bytes, millisecs, breakmsg)
45 unsigned long bytes;
52 /* bytes1000 = bytes * 1000; */
59 if (bytes < 1<<22)
60 bytes1000 = (bytes*1000/millisecs);
62 bytes1000 = ((bytes/millisecs)*1000);
64 (void) sprintf(text, "%s %lu / %lu.%.3lu secs, %lu bytes/sec %s",
65 direction, bytes, millisecs/1000, millisecs%1000,
92 putfilesize(bytes)
93 unsigned long bytes;
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dzalloc_protos.h32 Library void *znalloc(struct MemPool *mpool, uintptr_t bytes);
33 Library void zfree(struct MemPool *mpool, void *ptr, uintptr_t bytes);
34 Library void zextendPool(MemPool *mp, void *base, uintptr_t bytes);
H A Dzalloc.c68 * Allocation and frees of 0 bytes are valid operations.
89 znalloc(MemPool *mp, uintptr_t bytes) argument
96 bytes = (bytes + MEMNODE_SIZE_MASK) & ~MEMNODE_SIZE_MASK;
98 if (bytes == 0)
106 if (bytes <= mp->mp_Size - mp->mp_Used) {
111 if (bytes > mn->mr_Bytes)
122 if (mn->mr_Bytes == bytes) {
125 mn = (MemNode *)((char *)mn + bytes);
127 mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes;
148 zfree(MemPool *mp, void *ptr, uintptr_t bytes) argument
257 zextendPool(MemPool *mp, void *base, uintptr_t bytes) argument
[all...]
H A Dzalloc_malloc.c54 Malloc(size_t bytes, const char *file, int line) argument
59 bytes += MALLOCALIGN + 1;
61 bytes += MALLOCALIGN;
64 while ((res = znalloc(&MallocPool, bytes)) == NULL) {
65 int incr = (bytes + BLKEXTENDMASK) & ~BLKEXTENDMASK;
80 res->ga_Bytes = bytes;
82 *((signed char *)res + bytes - 1) = -2;
91 size_t bytes; local
117 bytes = res->ga_Bytes;
118 zfree(&MallocPool, res, bytes);
129 uintptr_t bytes = (uintptr_t)n1 * (uintptr_t)n2; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/demo/tcp/
H A Dtcpbytesstat.d30 @bytes[args[2]->ip_saddr, args[4]->tcp_dport] =
36 @bytes[args[2]->ip_daddr, args[4]->tcp_sport] =
43 printa(" %-32s %@16d\n", @bytes);
44 trunc(@bytes);
H A Dtcpbytes.d28 @bytes[args[2]->ip_saddr, args[4]->tcp_dport] =
34 @bytes[args[2]->ip_daddr, args[4]->tcp_sport] =
/illumos-gate/usr/src/cmd/dtrace/demo/udp/
H A Dudpbytesstat.d30 @bytes[args[2]->ip_saddr, args[4]->udp_dport] =
36 @bytes[args[2]->ip_daddr, args[4]->udp_sport] =
43 printa(" %-32s %@16d\n", @bytes);
44 trunc(@bytes);
H A Dudpbytes.d28 @bytes[args[2]->ip_saddr, args[4]->udp_dport] =
34 @bytes[args[2]->ip_daddr, args[4]->udp_sport] =
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dreadv.c27 int bytes = read(fd, vp->iov_base, vp->iov_len); local
29 if (bytes < 0)
31 count += bytes;
32 if (bytes != vp->iov_len)
/illumos-gate/usr/src/cmd/svc/startd/
H A Dproc.c45 ssize_t bytes; local
52 bytes = read(fd, &psinfo, sizeof (psinfo));
53 if (bytes == sizeof (psinfo))
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4x_standalloc.c131 vpage_from_freelist(size_t bytes) argument
137 for (i = 0; i < N_FREELIST && free_size[i] < bytes; i++)
141 dprintf("boot: failed to allocate %lu bytes from scratch "
142 "memory\n", bytes);
147 free_addr[i] += bytes;
148 free_size[i] -= bytes;
149 dprintf("reuse freed temp scratch: bytes = %lu at %p\n", bytes,
165 size_t bytes; local
172 bytes
238 resalloc(enum RESOURCES type, size_t bytes, caddr_t virthint, int align) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dpage.c50 * @bytes - the number of bytes needed.
55 rdsv3_page_remainder_alloc(struct rdsv3_scatterlist *scat, unsigned long bytes, argument
63 if (bytes >= PAGE_SIZE) {
77 page = kmem_alloc(bytes, KM_NOSLEEP);
83 rdsv3_sg_set_page(scat, page, bytes, 0);
86 RDSV3_DPRINTF5("rdsv3_page_remainder_alloc", "bytes %lu %p %u",
87 bytes, rdsv3_sg_page(scat), scat->length);
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dinfo.h36 #define rdsv3_info_copy(iter, data, bytes) \
37 (void) ddi_copyout(data, iter->addr + iter->offset, bytes, 0); \
38 iter->offset += bytes
/illumos-gate/usr/src/uts/common/sys/
H A Dmemlist_impl.h45 extern void memlist_free_block(caddr_t base, size_t bytes);
54 extern int memlist_add_span(uint64_t address, uint64_t bytes,
56 extern int memlist_delete_span(uint64_t address, uint64_t bytes,
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dos.h25 size_t bytes; /* Bytes read/written. */ member in struct:__io
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dlib_AT91RM9200.h162 unsigned int bytes) // \arg number of bytes to be received
165 pPDC->PDC_RNCR = bytes;
176 unsigned int bytes) // \arg number of bytes to be transmitted
179 pPDC->PDC_TNCR = bytes;
190 unsigned int bytes) // \arg number of bytes to be received
193 pPDC->PDC_RCR = bytes;
204 unsigned int bytes) // \ar
159 AT91F_PDC_SetNextRx( AT91PS_PDC pPDC, char *address, unsigned int bytes) argument
173 AT91F_PDC_SetNextTx( AT91PS_PDC pPDC, char *address, unsigned int bytes) argument
187 AT91F_PDC_SetRx( AT91PS_PDC pPDC, char *address, unsigned int bytes) argument
201 AT91F_PDC_SetTx( AT91PS_PDC pPDC, char *address, unsigned int bytes) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dmake_random_key.c45 unsigned char *bytes; local
66 if ((bytes = (unsigned char *) malloc(keybytes)) == NULL)
69 free(bytes);
73 random_data.data = (char *) bytes;
95 memset(bytes, 0, keybytes);
96 free(bytes);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dtohexstr.c34 * IN bytes
41 tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen) argument
49 hexstr[2 * i] = hexlist[(bytes[i] >> 4) & 0xf];
50 hexstr[2 * i + 1] = hexlist[bytes[i] & 0xf];
67 hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen) argument
73 *bytes = NULL;
120 *bytes = b;
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DOpaque.java55 byte[] bytes; field in class:Opaque
64 bytes = nb;
157 byte[] cbyte = ((Opaque)o).bytes;
161 if (cbyte.length != bytes.length) {
171 if (cbyte[i] != bytes[i]) {
182 int i, n = bytes.length;
194 str = Integer.toHexString(((int)bytes[i] & 0xFF));
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdents.c48 int getdents(fd, buf, bytes)
51 int bytes;
53 return(bc_getdents(fd, buf, bytes));
57 int bc_getdents(fd, buf, bytes)
60 int bytes;
74 nbytes = bytes; /* buffer can only be as large as user expects */
91 (int)(buf + bytes)) &&
/illumos-gate/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_8.s31 * Copy 8-byte aligned source to 8-byte aligned target in multiples of 8 bytes.
36 * o2 number of bytes to copy (must be a multiple of 8)
49 * The number of bytes to be copied is a multiple of 8.
51 * less than a few hundred bytes. Legal values are 0 to MAX_SIZE_T.
54 * Reasonable speed for a generic v9. Going for 32 bytes at a time
55 * rather than 16 bytes at a time did not result in a time saving for
56 * the number of bytes expected to be copied. No timing runs using other
59 * Even when multiples of 16 bytes were used, the savings by going for 32 bytes
78 bz,pn %xcc, .wrdbl2 ! Only 8 bytes nee
[all...]
/illumos-gate/usr/src/test/zfs-tests/cmd/readmmap/
H A Dreadmmap.c56 int fd = -1, bytes, retval = 0; local
81 bytes = write(fd, buf, size);
82 if (bytes != size) {
83 (void) printf("short write: %d != %ud\n", bytes, size);
112 bytes = pread(fd, buf, size, 0);
113 if (bytes != size) {
114 (void) printf("short read: %d != %ud\n", bytes, size);
/illumos-gate/usr/src/stand/lib/sa/
H A Dstdio.c110 int bytes; local
116 for (bytes = 0; bytes < (n - 1); ++bytes) {
117 cnt = read(stream->_file, &s[bytes], 1);
119 if (bytes != 0) {
120 s[bytes] = '\0';
128 if (bytes != 0) {
129 s[bytes] = '\0';
135 if (s[bytes]
251 ssize_t bytes, totbytes = 0; local
[all...]
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmemutils.c39 xmalloc(bytes)
40 size_t bytes;
44 cp = malloc(bytes);
/illumos-gate/usr/src/uts/sparc/os/
H A Ddoor_support.c42 char bytes[MAX(MINFRAME, MINFRAME32)]; local
61 bzero(bytes, count);
62 if (copyout(bytes, newsp, count) != 0)

Completed in 173 milliseconds

1234567891011>>