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

1 2 3 4 5 6 7 8

  /src/bin/sh/
machdep.h 47 #define SHELL_ALIGN(nbytes) (((nbytes) + SHELL_SIZE) & ~SHELL_SIZE)
  /src/lib/libc/arch/mips/gen/
cacheflush.c 37 _cacheflush(void *addr, size_t nbytes, int whichcache)
42 cfa.nbytes = nbytes;
  /src/sys/crypto/aes/arch/arm/
aes_armv8.c 126 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
130 KASSERT(nbytes % 16 == 0);
133 aesarmv8_cbc_enc(enc, in, out, nbytes, iv, nrounds);
139 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
143 KASSERT(nbytes % 16 == 0);
147 if (nbytes % 128) {
148 aesarmv8_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds);
149 in += nbytes % 128;
150 out += nbytes % 128;
151 nbytes -= nbytes % 128
    [all...]
aes_neon_subr.c 83 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
88 KASSERT(nbytes);
91 for (; nbytes; nbytes -= 16, in += 16, out += 16) {
101 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
106 KASSERT(nbytes);
107 KASSERT(nbytes % 16 == 0);
110 cv = loadblock(in + nbytes - 16);
113 if (nbytes % 32) {
114 KASSERT(nbytes % 32 == 16)
    [all...]
aes_neon_impl.c 97 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
101 if (nbytes == 0)
104 aes_neon_cbc_enc(enc, in, out, nbytes, iv, nrounds);
110 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
114 if (nbytes == 0)
117 aes_neon_cbc_dec(dec, in, out, nbytes, iv, nrounds);
123 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
127 if (nbytes == 0)
130 aes_neon_xts_enc(enc, in, out, nbytes, iv, nrounds);
136 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16]
    [all...]
  /src/sys/crypto/aes/arch/x86/
aes_ni.c 124 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
128 KASSERT(nbytes % 16 == 0);
131 aesni_cbc_enc(enc, in, out, nbytes, iv, nrounds);
137 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
141 KASSERT(nbytes % 16 == 0);
145 if (nbytes % 128) {
146 aesni_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds);
147 in += nbytes % 128;
148 out += nbytes % 128;
149 nbytes -= nbytes % 128
    [all...]
aes_sse2_subr.c 128 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
135 KASSERT(nbytes);
136 KASSERT(nbytes % 16 == 0);
144 for (; nbytes; nbytes -= 16, in += 16, out += 16) {
168 uint8_t out[static 16], size_t nbytes, uint8_t ivp[static 16],
175 KASSERT(nbytes);
176 KASSERT(nbytes % 16 == 0);
185 cv = _mm_loadu_epi8(in + nbytes - 16);
191 if (nbytes % (4*16))
    [all...]
aes_sse2_impl.c 96 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
100 if (nbytes == 0)
103 aes_sse2_cbc_enc(enc, in, out, nbytes, iv, nrounds);
109 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
113 if (nbytes == 0)
116 aes_sse2_cbc_dec(dec, in, out, nbytes, iv, nrounds);
122 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16],
126 if (nbytes == 0)
129 aes_sse2_xts_enc(enc, in, out, nbytes, tweak, nrounds);
135 uint8_t out[static 16], size_t nbytes, uint8_t tweak[static 16]
    [all...]
aes_ssse3_impl.c 89 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
93 if (nbytes == 0)
96 aes_ssse3_cbc_enc(enc, in, out, nbytes, iv, nrounds);
102 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
106 if (nbytes == 0)
109 aes_ssse3_cbc_dec(dec, in, out, nbytes, iv, nrounds);
115 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
119 if (nbytes == 0)
122 aes_ssse3_xts_enc(enc, in, out, nbytes, iv, nrounds);
128 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16]
    [all...]
aes_ssse3_subr.c 80 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
85 KASSERT(nbytes);
88 for (; nbytes; nbytes -= 16, in += 16, out += 16) {
98 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
103 KASSERT(nbytes);
104 KASSERT(nbytes % 16 == 0);
107 cv = loadblock(in + nbytes - 16);
112 if ((nbytes -= 16) == 0)
114 cv = loadblock(in + nbytes - 16)
    [all...]
aes_sse2.h 54 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t);
56 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t);
58 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t);
60 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t);
  /src/sys/arch/mips/include/
sysarch.h 39 size_t nbytes; member in struct:mips_cacheflush_args
45 size_t nbytes; member in struct:mips_cachectl_args
  /src/usr.bin/hexdump/
odsyntax.c 60 int nbytes; member in struct:odformat
224 int nbytes = 0; local in function:posixtypes
232 nbytes = 1;
238 nbytes = sizeof(float);
241 nbytes = sizeof(double);
244 nbytes = sizeof(long double);
253 nbytes = strtol(type_string, &tmp, 10);
256 nbytes = 8;
265 nbytes = sizeof(char);
268 nbytes = sizeof(short)
    [all...]
  /src/lib/libc/string/
swab.c 39 swab(const void *__restrict src, void *__restrict dst, ssize_t nbytes)
48 if (nbytes <= 1)
52 * Round nbytes/2 down; we ignore the last byte altogether if
53 * nbytes is odd. This way, if the destination array is
57 for (n = nbytes/2; n --> 0; p += 2, q += 2) {
  /src/sys/external/bsd/drm2/include/linux/
kfifo.h 75 _init_kfifo(struct kfifo_meta *meta, size_t nbytes)
81 meta->kfm_nbytes = nbytes;
97 _kfifo_alloc(struct kfifo_meta *meta, void *bufp, size_t nbytes, gfp_t gfp)
101 buf = kmalloc(nbytes, gfp);
108 _init_kfifo(meta, nbytes);
139 const size_t nbytes = meta->kfm_nbytes; local in function:_kfifo_len
141 return (head <= tail ? tail - head : nbytes + tail - head);
157 const size_t nbytes = meta->kfm_nbytes; local in function:_kfifo_out_peek
164 if (size <= nbytes - head) {
167 } else if (size <= nbytes + tail - head)
192 const size_t nbytes = meta->kfm_nbytes; local in function:_kfifo_out
230 const size_t nbytes = meta->kfm_nbytes; local in function:_kfifo_in
    [all...]
  /src/sbin/nvmectl/
humanize_bignum.c 107 BIGNUM *nbytes = NULL, *max = NULL; local in function:humanize_bignum
113 if ((nbytes = BN_dup(bytes)) == NULL)
149 if (BN_is_negative(nbytes)) {
152 BN_set_negative(nbytes, 0);
159 BN_mul(t1, nbytes, BN_value_100(), NULL);
160 BN_swap(nbytes, t1);
195 for (i = 0; BN_cmp(nbytes, max) >= 0 && i < maxscale; i++) {
196 if (BN_div(t1, t2, nbytes, divisor, NULL) == 0)
198 BN_swap(nbytes, t1);
209 if (BN_div(t1, t2, nbytes, divisor, NULL) == 0
    [all...]
  /src/lib/libc/compat/sys/
compat_getdirentries.c 51 getdirentries(int fd, char *buf, int nbytes, long *basep)
54 return getdents(fd, buf, (size_t)nbytes);
  /src/tools/compat/
pread.c 39 ssize_t pread(int d, void *buf, size_t nbytes, off_t offset) {
47 nr = read(d, buf, nbytes);
pwrite.c 39 ssize_t pwrite(int d, const void *buf, size_t nbytes, off_t offset) {
47 nw = write(d, buf, nbytes);
  /src/sys/external/bsd/drm2/drm/
drm_gem_vm.c 69 size_t nbytes, int prot, struct uvm_object **uobjp, voff_t *uoffsetp,
74 KASSERT(nbytes > 0);
76 ret = drm_gem_mmap_object(dev, byte_offset, nbytes, prot, uobjp,
83 return drm_legacy_mmap_object(dev, byte_offset, nbytes, prot, uobjp,
88 drm_gem_mmap_object(struct drm_device *dev, off_t byte_offset, size_t nbytes,
93 KASSERT(nbytes > 0);
96 ret = drm_gem_mmap_object_locked(dev, byte_offset, nbytes, prot,
105 size_t nbytes, int prot __unused, struct uvm_object **uobjp,
110 const unsigned long npages = (nbytes >> PAGE_SHIFT);
118 KASSERT(nbytes == (npages << PAGE_SHIFT))
    [all...]
  /src/usr.bin/bdes/
bdes.c 713 register int nbytes; /* number of bytes to read */ local in function:cfbenc
721 nbytes = fbbits / 8;
725 for (bn = 1; (n = READ(ibuf, nbytes)) == nbytes; bn++) {
728 for (n = 0; n < 8 - nbytes; n++)
729 UCHAR(ivec, n) = UCHAR(ivec, n+nbytes);
730 for (n = 0; n < nbytes; n++)
731 UCHAR(ivec, 8-nbytes+n) = ibuf[n] ^ UCHAR(msgbuf, n);
732 WRITE(&CHAR(ivec, 8-nbytes), nbytes);
756 register int nbytes; \/* number of bytes to read *\/ local in function:cfbdec
802 register int nbytes; \/* number of bytes to read *\/ local in function:cfbaenc
849 register int nbytes; \/* number of bytes to read *\/ local in function:cfbadec
897 register int nbytes; \/* number of bytes to read *\/ local in function:ofbenc
943 register int nbytes; \/* number of bytes to read *\/ local in function:ofbdec
992 register int nbytes; \/* number of bytes to read *\/ local in function:cfbauth
    [all...]
  /src/sys/crypto/aes/
aes_bear.c 157 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
164 KASSERT(nbytes % 16 == 0);
167 if (nbytes == 0)
182 for (; nbytes; nbytes -= 16, in += 16, out += 16) {
218 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
225 KASSERT(nbytes % 16 == 0);
228 if (nbytes == 0)
241 cv0 = le32dec(in + nbytes - 16 + 4*0);
242 cv1 = le32dec(in + nbytes - 16 + 4*1)
    [all...]
  /src/sys/arch/mips/mips/
sys_machdep.c 76 error = mips_user_cacheflush(p, cfua.va, cfua.nbytes,
86 error = mips_user_cachectl(p, ccua.va, ccua.nbytes, ccua.ctl);
102 mips_user_cacheflush(struct proc *p, vaddr_t va, size_t nbytes, int whichcache)
130 for (base = (void*) addr; nbytes > 0; base += len, nbytes -= len) {
152 mips_user_cachectl(struct proc *p, vaddr_t va, size_t nbytes, int cachectlval)
  /src/sys/crypto/chacha/arch/arm/
chacha_neon_impl.c 78 chacha_stream_neon_impl(uint8_t *restrict s, size_t nbytes, uint32_t blkno,
85 chacha_stream_neon(s, nbytes, blkno, nonce, key, nr);
90 chacha_stream_xor_neon_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
98 chacha_stream_xor_neon(c, p, nbytes, blkno, nonce, key, nr);
103 xchacha_stream_neon_impl(uint8_t *restrict s, size_t nbytes, uint32_t blkno,
110 xchacha_stream_neon(s, nbytes, blkno, nonce, key, nr);
115 xchacha_stream_xor_neon_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
123 xchacha_stream_xor_neon(c, p, nbytes, blkno, nonce, key, nr);
  /src/sys/crypto/chacha/arch/x86/
chacha_sse2_impl.c 72 chacha_stream_sse2_impl(uint8_t *restrict s, size_t nbytes, uint32_t blkno,
79 chacha_stream_sse2(s, nbytes, blkno, nonce, key, nr);
84 chacha_stream_xor_sse2_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
92 chacha_stream_xor_sse2(c, p, nbytes, blkno, nonce, key, nr);
97 xchacha_stream_sse2_impl(uint8_t *restrict s, size_t nbytes, uint32_t blkno,
104 xchacha_stream_sse2(s, nbytes, blkno, nonce, key, nr);
109 xchacha_stream_xor_sse2_impl(uint8_t *c, const uint8_t *p, size_t nbytes,
117 xchacha_stream_xor_sse2(c, p, nbytes, blkno, nonce, key, nr);

Completed in 20 milliseconds

1 2 3 4 5 6 7 8