/src/usr.sbin/mdconfig/ |
mdconfig.c | 62 size_t blks, bytes; local in function:main 77 bytes = blks << DEV_BSHIFT; 78 if (num <= 0 || bytes >> DEV_BSHIFT != blks) { 81 md.md_size = bytes;
|
/src/tests/usr.bin/xlint/lint1/ |
msg_153.c | 17 sixteen_bytes bytes; variable in typeref:typename:sixteen_bytes 47 take_pointer_to_sixteen_bytes(&bytes);
|
/src/sys/arch/i386/stand/efiboot/ |
efichar.c | 127 int c, bytes; local in function:utf8_to_ucs2 139 bytes = 0; 148 if (bytes != 0) 152 bytes = 3; 155 bytes = 2; 158 bytes = 1; 161 bytes = 0; 165 if (bytes > 0) { 167 bytes--; 168 } else if (bytes == 0 [all...] |
/src/sys/stand/efiboot/ |
efichar.c | 127 int c, bytes; local in function:utf8_to_ucs2 139 bytes = 0; 148 if (bytes != 0) 152 bytes = 3; 155 bytes = 2; 158 bytes = 1; 161 bytes = 0; 165 if (bytes > 0) { 167 bytes--; 168 } else if (bytes == 0 [all...] |
/src/usr.sbin/makefs/ffs/ |
buf.c | 151 size_t bytes; local in function:bwrite 157 bytes = (size_t)bp->b_bcount; 160 (intmax_t)bp->b_blkno, (intmax_t) offset, bytes); 163 rv = write(bp->b_fs->fd, bp->b_data, bytes); 169 if (rv == (ssize_t)bytes)
|
/src/tests/fs/cd9660/ |
h_hexdump_r.c | 44 static unsigned char prev_bytes[16], bytes[16], zeroes[16]; variable in typeref:typename:unsigned char[16][16] 69 bytes[i] = (unsigned char)strtoumax( 97 memcpy(prev_bytes, bytes, 16);
|
/src/lib/libc/inet/ |
inet_cidr_ntop.c | 89 decoct(const u_char *src, size_t bytes, char *dst, size_t size) { 94 for (b = 1; b <= bytes; b++) { 99 if (b != bytes) { 127 size_t bytes; local in function:inet_cidr_ntop_ipv4 134 /* Find number of significant bytes in address. */ 143 bytes = (((bits <= 0) ? 1 : bits) + 7) / 8; 144 if (len > bytes) 145 bytes = len; 146 b = decoct(src, bytes, dst, size);
|
inet_net_pton.c | 55 * "size" is in bytes and describes "dst". 279 size_t bytes; local in function:inet_net_pton_ipv6 373 bytes = (bits + 7) / 8; 374 if (bytes > size) 376 memcpy(dst, tmp, bytes); 393 * "size" is in bytes and describes "dst".
|
/src/lib/libc/isc/ |
ev_streams.c | 49 static void consume(evStream *str, size_t bytes); 233 consume(evStream *str, size_t bytes) { 234 while (bytes > 0U) { 235 if (bytes < (size_t)str->iovCur->iov_len) { 236 str->iovCur->iov_len -= bytes; 238 ((u_char *)str->iovCur->iov_base + bytes); 239 str->ioDone += bytes; 240 bytes = 0; 242 bytes -= str->iovCur->iov_len; 268 /* Dribble out some bytes on the stream. (Called by evDispatch().) * 272 int bytes; local in function:writable 295 int bytes; local in function:readable [all...] |
/src/sys/ddb/ |
db_examine.c | 76 int bytes; local in function:db_examine 137 * bytes at a time into 16/size columns. This 142 bytes = 0; 148 (bytes & ~(size - 1)) + 151 db_get_value(addr + bytes, 157 bytes++; 158 if (!(bytes % size)) 161 } while ((bytes != 16) && count--); 163 for (i = 4; i >= (bytes / 4); i--) 166 while (bytes--) [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_dp_auxch.c | 72 int bytes; local in function:radeon_dp_aux_transfer_native 93 bytes = BARE_ADDRESS_SIZE; 96 bytes++; 98 bytes += msg->size; 119 AUX_SW_WR_BYTES(bytes)); 121 AUX_SW_WR_BYTES(bytes)); 154 AUX_SW_WR_BYTES(bytes) | AUX_SW_GO); 182 bytes = AUX_SW_REPLY_GET_BYTE_COUNT(tmp); 183 if (bytes) { 190 for (i = 0; i < bytes - 1; i++) [all...] |
radeon_si_dma.c | 80 unsigned bytes = count * 8; local in function:si_dma_vm_copy_pages 81 if (bytes > 0xFFFF8) 82 bytes = 0xFFFF8; 85 1, 0, 0, bytes); 91 pe += bytes; 92 src += bytes; 93 count -= bytes / 8; 105 * @incr: increase next addr by incr bytes 152 * @incr: increase next addr by incr bytes
|
/src/sys/fs/efs/ |
efs_extent.h | 29 * EFS on-disk extent descriptor (8 bytes) 41 uint8_t bytes[8]; member in union:efs_dextent::__anon0ee8471b010a 45 #define ex_bytes ex_muddle.bytes
|
/src/sys/net/ |
toeplitz.h | 35 uint16_t bytes[256]; member in struct:stoeplitz_cache 41 return (scache->bytes[byte]);
|
/src/usr.bin/rump_dhcpclient/ |
bpf.c | 166 ssize_t bytes; local in function:get_raw_packet 176 bytes = rump_sys_read(fd, iface->buffer, iface->buffer_size); 177 if (bytes == -1) 179 else if ((size_t)bytes < sizeof(packet)) 181 iface->buffer_len = bytes; 184 bytes = -1; 193 bytes = packet.bh_caplen - ETHER_HDR_LEN; 194 if (bytes > len) 195 bytes = len; 196 memcpy(data, payload, bytes); [all...] |
/src/common/lib/libc/string/ |
memset2.c | 107 * Get the number of unaligned bytes to fill in the first word. 114 * We want to clear <fill_count> trailing bytes in the word. 117 * have bits set for the bytes we won't be filling. 132 * off the bytes we are filling and then fill in those 133 * bytes with the new fill value. 142 * bytes to preserve. 148 * bytes of word. 184 * We want to clear <len> leading bytes in the word. 186 * bits, respectively. But as we want the mask of the bytes to 188 * the keep_mask will only have bits set for the bytes we won' 238 uint8_t bytes[sizeof(memword_t) * 4]; member in union:__anonc9960ea8010a [all...] |
/src/sys/dev/rasops/ |
rasops_putchar.h | 137 uint16_t bytes = width * PIXEL_BYTES; local in function:NAME 139 memcpy(hp, rp, bytes); 189 uint16_t bytes = width * PIXEL_BYTES; local in function:NAME 191 memcpy(hp, rp, bytes); 212 uint16_t bytes = width * PIXEL_BYTES; local in function:NAME 214 memcpy(hp, rp, bytes);
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_ring.c | 65 /* Discard any unused bytes beyond that submitted to hw. */ 187 unsigned int bytes) 192 if (intel_ring_update_space(ring) >= bytes) 201 if (bytes <= __intel_ring_space(target->postfix, 218 GEM_BUG_ON(ring->space < bytes); 226 const unsigned int bytes = num_dwords * sizeof(u32); local in function:intel_ring_begin 234 total_bytes = bytes + rq->reserved_space; 240 if (bytes > remain_usable) { 292 GEM_BUG_ON(ring->emit > ring->size - bytes); 293 GEM_BUG_ON(ring->space < bytes); [all...] |
/src/sys/lib/libsa/ |
byteorder.c | 42 uint8_t bytes[2]; member in union:__anonc92d9a1c010a 47 uint8_t bytes[4]; member in union:__anonc92d9a1c020a 62 un.bytes[1] = val & 0xff; 63 un.bytes[0] = (val >> 8) & 0xff; 73 un.bytes[0] = val & 0xff; 74 un.bytes[1] = (val >> 8) & 0xff; 86 return ((un.bytes[0] << 8) | 87 un.bytes[1]); 97 return ((un.bytes[1] << 8) | 98 un.bytes[0]) [all...] |
/src/sys/sys/ |
tape.h | 46 uint64_t bytes; member in struct:tape_sysctl 69 uint64_t rbytes; /* total bytes read */ 70 uint64_t wbytes; /* total bytes written */
|
/src/usr.bin/ftp/ |
progressbar.h | 51 GLOBAL off_t bytes; /* current # of bytes read */ variable in typeref:typename:GLOBAL off_t
|
/src/lib/libedit/ |
chartype.c | 150 ssize_t bytes; local in function:ct_decode_argv 170 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace); 172 if (bytes == -1) { 176 bytes++; /* include '\0' in the count */ 177 bufspace -= (size_t)bytes; 178 p += bytes;
|
/src/sys/arch/x86/x86/ |
patch.c | 168 patchbytes(void *addr, const uint8_t *bytes, size_t size) 174 ptr[i] = bytes[i]; 194 const uint8_t *bytes; local in function:x86_hotpatch_apply 219 bytes = src->saddr; 234 patchbytes(hp->addr, bytes, size);
|
/src/sys/dev/microcode/aic7xxx/ |
aicasm_insformat.h | 101 uint8_t bytes[4]; member in union:ins_formats
|
/src/sys/dev/qbus/ |
dlreg.h | 20 } bytes; member in union:w_b 29 #define dl_xbuf u_xbuf.bytes.byte_lo
|