| /src/sys/arch/m68k/m68k/ |
| H A D | 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/ |
| H A D | byteorder.c | 42 uint8_t bytes[2]; member in union:__anonadce8042010a 47 uint8_t bytes[4]; member in union:__anonadce8042020a 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[ [all...] |
| /src/lib/libc/gen/ |
| H A D | humanize_number.c | 47 humanize_number(char *buf, size_t len, int64_t bytes, argument 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 / [all...] |
| /src/sys/rump/librump/rumpkern/ |
| H A D | hyperentropy.c | 42 feedrandom(size_t bytes, void *cookie __unused) argument 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/ |
| H A D | 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/ |
| H A D | 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; 15 poly1305_update(poly1305_state_internal_t * st,const unsigned char * m,unsigned long long bytes) argument [all...] |
| /src/sys/dev/scsipi/ |
| H A D | 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) argument 774 bytes[0] = (val >> 8) & 0xff; 775 bytes[1] = val & 0xff; 779 _lto3b(u_int32_t val, u_int8_t *bytes) argument 782 bytes[0] = (val >> 16) & 0xff; 783 bytes[1] = (val >> 8) & 0xff; 784 bytes[ 788 _lto4b(u_int32_t val,u_int8_t * bytes) argument 798 _lto8b(u_int64_t val,u_int8_t * bytes) argument 812 _2btol(const u_int8_t * bytes) argument 822 _3btol(const u_int8_t * bytes) argument 833 _4btol(const u_int8_t * bytes) argument 845 _5btol(const u_int8_t * bytes) argument 858 _8btol(const u_int8_t * bytes) argument 874 _lto2l(u_int32_t val,u_int8_t * bytes) argument 882 _lto3l(u_int32_t val,u_int8_t * bytes) argument 891 _lto4l(u_int32_t val,u_int8_t * bytes) argument 901 _2ltol(const u_int8_t * bytes) argument 911 _3ltol(const u_int8_t * bytes) argument 922 _4ltol(const u_int8_t * bytes) argument [all...] |
| /src/sys/kern/ |
| H A D | 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, argument 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 / 104 format_bytes(char * buf,size_t len,uint64_t bytes) argument [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| H A D | 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 ! 65 failsafe_emulate_mmio_rw(struct intel_vgpu * vgpu,u64 pa,void * p_data,unsigned int bytes,bool read) argument 107 intel_vgpu_emulate_mmio_read(struct intel_vgpu * vgpu,u64 pa,void * p_data,unsigned int bytes) argument 179 intel_vgpu_emulate_mmio_write(struct intel_vgpu * vgpu,u64 pa,void * p_data,unsigned int bytes) argument [all...] |
| H A D | 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);
|
| H A D | page_track.h | 37 u64 gpa, void *data, int bytes); 59 void *data, unsigned int bytes);
|
| H A D | 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) 73 vgpu_pci_cfg_mem_write(struct intel_vgpu * vgpu,unsigned int off,u8 * src,unsigned int bytes) argument 111 intel_vgpu_emulate_cfg_read(struct intel_vgpu * vgpu,unsigned int offset,void * p_data,unsigned int bytes) argument 180 emulate_pci_command_write(struct intel_vgpu * vgpu,unsigned int offset,void * p_data,unsigned int bytes) argument 211 emulate_pci_rom_bar_write(struct intel_vgpu * vgpu,unsigned int offset,void * p_data,unsigned int bytes) argument 225 emulate_pci_bar_write(struct intel_vgpu * vgpu,unsigned int offset,void * p_data,unsigned int bytes) argument 302 intel_vgpu_emulate_cfg_write(struct intel_vgpu * vgpu,unsigned int offset,void * p_data,unsigned int bytes) argument [all...] |
| /src/sys/arch/i386/stand/efiboot/ |
| H A D | 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 [all...] |
| /src/sys/stand/efiboot/ |
| H A D | 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 [all...] |
| /src/sys/fs/efs/ |
| H A D | efs_extent.h | 29 * EFS on-disk extent descriptor (8 bytes) 41 uint8_t bytes[8]; member in union:efs_dextent::__anon2dad6bc1010a 45 #define ex_bytes ex_muddle.bytes
|
| /src/tests/usr.bin/xlint/lint1/ |
| H A D | 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/ |
| H A D | 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 > [all...] |
| H A D | 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/ |
| H A D | 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/ |
| H A D | vmwgfx_fifo.c | 215 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) argument 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)); 226 vmw_fifo_wait_noirq(struct vmw_private * dev_priv,uint32_t bytes,bool interruptible,unsigned long timeout) argument 291 vmw_fifo_wait(struct vmw_private * dev_priv,uint32_t bytes,bool interruptible,unsigned long timeout) argument 347 vmw_local_fifo_reserve(struct vmw_private * dev_priv,uint32_t bytes) argument 434 vmw_fifo_reserve_dx(struct vmw_private * dev_priv,uint32_t bytes,int ctx_id) argument 454 vmw_fifo_res_copy(struct vmw_fifo_state * fifo_state,u32 * fifo_mem,uint32_t next_cmd,uint32_t max,uint32_t min,uint32_t bytes) argument 475 vmw_fifo_slow_copy(struct vmw_fifo_state * fifo_state,u32 * fifo_mem,uint32_t next_cmd,uint32_t max,uint32_t min,uint32_t bytes) argument 495 vmw_local_fifo_commit(struct vmw_private * dev_priv,uint32_t bytes) argument 545 vmw_fifo_commit(struct vmw_private * dev_priv,uint32_t bytes) argument 560 vmw_fifo_commit_flush(struct vmw_private * dev_priv,uint32_t bytes) argument 591 uint32_t bytes = sizeof(u32) + sizeof(*cmd_fence); local in function:vmw_fifo_send_fence [all...] |
| /src/sys/dev/qbus/ |
| H A D | 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/ |
| H A D | 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 [all...] |
| /src/sys/arch/hpc/stand/hpcboot/ |
| H A D | file_fat.cpp | 86 FatFile::read(void *buf, size_t bytes, off_t ofs) argument 92 ReadFile(_handle, buf, bytes, &readed, 0); 98 FatFile::write(const void *buf, size_t bytes, off_t ofs) argument 104 WriteFile(_handle, buf, bytes, &wrote, 0);
|
| /src/usr.sbin/mdconfig/ |
| H A D | 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/ |
| H A D | 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
|