HomeSort by: relevance | last modified time | path
    Searched refs:bytes (Results 1 - 25 of 399) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/m68k/m68k/
sunos_sigcode.s 48 movl 12(%sp),%a0 | signal handler addr (4 bytes)
49 jsr (%a0) | call signal handler (2 bytes)
50 addql #4,%sp | pop signal number (2 bytes)
51 trap #1 | special syscall entry (2 bytes)
52 movl %d0,4(%sp) | save errno (4 bytes)
53 moveq #1,%d0 | syscall == exit (2 bytes)
54 trap #0 | exit(errno) (2 bytes)
  /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/lib/libc/gen/
humanize_number.c 47 humanize_number(char *buf, size_t len, int64_t bytes,
94 if (bytes < 0) {
97 if (-bytes < INT64_MAX / 100)
98 bytes *= -100;
100 bytes = -bytes;
107 if (bytes < INT64_MAX / 100)
108 bytes *= 100;
146 for (i = 0; bytes >= max - 50 && i < maxscale; i++)
147 bytes /= divisor
    [all...]
  /src/sys/rump/librump/rumpkern/
hyperentropy.c 42 feedrandom(size_t bytes, void *cookie __unused)
47 rnddata = kmem_intr_alloc(bytes, KM_SLEEP);
49 while (n < bytes) {
50 if (rumpuser_getrandom(rnddata + n, bytes - n,
54 n += MIN(nread, bytes - n);
59 kmem_intr_free(rnddata, bytes);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dmub/inc/
dmub_types.h 43 #define dmub_memcpy(dest, source, bytes) memcpy((dest), (source), (bytes))
47 #define dmub_memset(dest, val, bytes) memset((dest), (val), (bytes))
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_onetimeauth/poly1305/donna/
poly1305_donna.c 16 unsigned long long bytes)
24 if (want > bytes) {
25 want = bytes;
30 bytes -= want;
41 if (bytes >= poly1305_block_size) {
42 unsigned long long want = (bytes & ~(poly1305_block_size - 1));
46 bytes -= want;
50 if (bytes) {
51 for (i = 0; i < bytes; i++) {
54 st->leftover += bytes;
    [all...]
  /src/sys/dev/scsipi/
scsipiconf.h 75 u_int8_t bytes[15]; member in struct:scsipi_generic
569 struct scsi_sense_data scsi_sense; /* 32 bytes */
581 * as the bytes in the tag message.
771 _lto2b(u_int32_t val, u_int8_t *bytes)
774 bytes[0] = (val >> 8) & 0xff;
775 bytes[1] = val & 0xff;
779 _lto3b(u_int32_t val, u_int8_t *bytes)
782 bytes[0] = (val >> 16) & 0xff;
783 bytes[1] = (val >> 8) & 0xff;
784 bytes[2] = val & 0xff
    [all...]
  /src/sys/kern/
subr_humanize.c 39 * snprintf() `bytes' into `buf', reformatting it so that the number,
40 * plus a possible `x' + suffix extension) fits into len bytes (including
42 * Returns the number of bytes stored in buf, or -1 if there was a problem.
44 * bytes result
52 humanize_number(char *buf, size_t len, uint64_t bytes, const char *suffix,
80 b10 = bytes/10;
85 * but bytes might be ~0 - there is no bigger
87 * the "bytes >= umax" test below
94 for (i = 0; bytes >= umax && prefixes[i + 1]; i++)
95 bytes /= divisor
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
mmio.c 66 void *p_data, unsigned int bytes, bool read)
81 bytes);
84 bytes);
89 memcpy(p_data, pt, bytes);
91 memcpy(pt, p_data, bytes);
102 * @bytes: access data length
108 void *p_data, unsigned int bytes)
115 failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, true);
122 if (WARN_ON(bytes > 8))
128 if (WARN_ON(bytes != 4 && bytes != 8)
    [all...]
mmio.h 92 void *p_data, unsigned int bytes);
94 void *p_data, unsigned int bytes);
97 void *p_data, unsigned int bytes);
99 void *p_data, unsigned int bytes);
105 void *pdata, unsigned int bytes, bool is_read);
108 void *p_data, unsigned int bytes);
page_track.h 37 u64 gpa, void *data, int bytes);
59 void *data, unsigned int bytes);
cfg_space.c 51 * 256 bytes.)
67 * @bytes: number of bytes
74 u8 *src, unsigned int bytes)
80 for (; i < bytes && (off + i < sizeof(pci_cfg_space_rw_bmp)); i++) {
97 if (i < bytes)
98 memcpy(cfg_base + off + i, src + i, bytes - i);
106 * @bytes: number of bytes to read
112 void *p_data, unsigned int bytes)
    [all...]
  /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/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/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/usr.sbin/altq/altqstat/
qdisc_jobs.c 132 (sp->arrivalbusy.bytes == 0)?
133 0:(double)(100.*sp->dropcnt.bytes/(double)(sp->arrivalbusy.bytes)),
135 (sp->arrivalbusy.bytes == 0 || (&new[i-1])->dropcnt.bytes == 0)?
136 0:(double)(sp->dropcnt.bytes*(&new[i-1])->arrivalbusy.bytes)
137 /(double)(sp->arrivalbusy.bytes*(&new[i-1])->dropcnt.bytes)):-1.0,
138 (sp->rout.bytes > 0)
    [all...]
qdisc_fifoq.c 74 printf(" xmit:%llu pkts (%llu bytes) drop:%llu pkts (%llu bytes)\n",
76 (ull)get_stats.xmit_cnt.bytes,
78 (ull)get_stats.drop_cnt.bytes);
80 rate2str(calc_rate(get_stats.xmit_cnt.bytes,
83 last_bytes = get_stats.xmit_cnt.bytes;
  /src/sys/dev/dec/
dzreg.h 34 } bytes; member in union:w_b
47 #define dz_tcr u_tcr.bytes.byte_lo /* tx enable bits */
48 #define dz_dtr u_tcr.bytes.byte_hi /* DTR status bits */
49 #define dz_ring u_msr.bytes.byte_lo /* RI status bits */
50 #define dz_dcd u_msr.bytes.byte_hi /* DCD status bits */
51 #define dz_tbuf u_tdr.bytes.byte_lo /* transmit character */
52 #define dz_break u_tdr.bytes.byte_hi /* BREAK set/clr bits */
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_fifo.c 215 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes)
223 return ((max - next_cmd) + (stop - min) <= bytes);
227 uint32_t bytes, bool interruptible,
246 if (!vmw_fifo_is_full(dev_priv, bytes))
257 !vmw_fifo_is_full(dev_priv, bytes));
262 !vmw_fifo_is_full(dev_priv, bytes));
292 uint32_t bytes, bool interruptible,
299 if (likely(!vmw_fifo_is_full(dev_priv, bytes))) {
306 ret = vmw_fifo_wait_noirq(dev_priv, bytes,
318 !vmw_fifo_is_full(dev_priv, bytes));
591 uint32_t bytes = sizeof(u32) + sizeof(*cmd_fence); local in function:vmw_fifo_send_fence
    [all...]
  /src/sys/dev/qbus/
dlreg.h 20 } bytes; member in union:w_b
29 #define dl_xbuf u_xbuf.bytes.byte_lo
  /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...]
  /src/sys/arch/hpc/stand/hpcboot/
file_fat.cpp 86 FatFile::read(void *buf, size_t bytes, off_t ofs)
92 ReadFile(_handle, buf, bytes, &readed, 0);
98 FatFile::write(const void *buf, size_t bytes, off_t ofs)
104 WriteFile(_handle, buf, bytes, &wrote, 0);
  /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/lib/libc/arch/mips/string/
bzero.S 54 PTR_SUBU a3, zero, a0 # compute # bytes to word align address
59 SWHI zero, 0(a0) # clear 1, 2, or 3 bytes to align
65 sll a3, a3, 3 # bits to bytes
68 REG_SRLV a2, a2, a3 # we want to keep the MSB bytes
71 REG_SLLV a2, a2, a3 # we want to keep the LSB bytes
75 and v0, v0, a2 # clear the bytes
91 PTR_ADDU a0, a0, 1 # clear bytes

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 91011>>