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

1 2 3

  /src/lib/libc/net/
if_nameindex.c 91 size_t nbytes, ni; local in function:__weak_alias
103 nbytes = 0;
107 nbytes += strlen(ifa->ifa_name) + 1;
117 cp = malloc((ni + 1) * sizeof(struct if_nameindex) + nbytes);
  /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
netbsd32_machdep.h 74 netbsd32_size_t nbytes; member in struct:mips_cacheflush_args32
80 netbsd32_size_t nbytes; member in struct:mips_cachectl_args32
  /src/lib/libc/db/recno/
rec_delete.c 156 uint32_t nbytes; local in function:__rec_dleaf
174 nbytes = NRLEAF(rl);
181 memmove(from + nbytes, from, (size_t)((char *)to - from));
182 h->upper += nbytes;
189 ip[0] += nbytes;
193 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
rec_put.c 200 uint32_t nbytes; local in function:__rec_iput
259 nbytes = NRLEAFDBT(data->size);
260 if ((uint32_t) (h->upper - h->lower) < nbytes + sizeof(indx_t)) {
261 status = __bt_split(t, h, NULL, data, dflags, nbytes,
273 h->linp[idx] = h->upper -= nbytes;
  /src/sys/dev/ic/
amdccp.c 77 const size_t nbytes = MIN(bytes_wanted, sizeof(buf)); local in function:amdccp_rnd_callback
78 const size_t nwords = howmany(nbytes, sizeof(buf[0]));
  /src/sys/external/bsd/drm2/drm/
drm_scatter.c 149 const size_t nbytes = PAGE_ALIGN(size); local in function:drm_sg_alloc_mem
150 const size_t npages = nbytes >> PAGE_SHIFT;
169 error = -bus_dmamem_alloc(sg->sg_tag, nbytes, PAGE_SIZE, 0,
185 error = -bus_dmamem_map(sg->sg_tag, sg->sg_segs, nsegs, nbytes,
190 sg->sg_size = nbytes;
196 error = -bus_dmamap_create(sg->sg_tag, nbytes, nsegs, nbytes, 0,
205 error = -bus_dmamap_load(sg->sg_tag, sg->sg_map, sg->virtual, nbytes,
  /src/tests/fs/hfs/
t_pathconvert.c 40 int offset, nbytes; local in function:ATF_TC_BODY
60 RL(nbytes = rump_sys_getdents(dirfd, buf, sizeof buf));
62 for (offset = 0; offset < nbytes; offset += dirent->d_reclen) {
  /src/sys/arch/x68k/stand/libsa/
fd.c 98 int error, nbytes; local in function:fdstrategy
105 nbytes = howmany(size, 128 << sc->fmt.minsec.N)
120 nbytes,
123 nbytes = 0;
130 *rsize = nbytes;
  /src/lib/libc/db/btree/
bt_put.c 78 uint32_t nbytes, temp; local in function:__bt_put
204 nbytes = NBLEAFDBT(key->size, data->size);
205 if ((uint32_t)h->upper - (uint32_t)h->lower < nbytes + sizeof(indx_t)) {
207 data, dflags, nbytes, (u_int)idx)) != RET_SUCCESS)
217 h->linp[idx] = h->upper -= nbytes;
271 uint32_t nbytes; local in function:bt_fast
285 nbytes = NBLEAFDBT(key->size, data->size);
286 if ((uint32_t)h->upper - (uint32_t)h->lower < nbytes + sizeof(indx_t))
bt_delete.c 472 uint32_t nbytes; local in function:__bt_dleaf
492 nbytes = NBLEAF(bl);
494 memmove(from + nbytes, from, (size_t)((char *)(void *)to - from));
495 h->upper += nbytes;
501 ip[0] += nbytes;
503 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
bt_split.c 92 uint32_t n, nbytes, nksize = 0; /* pacify gcc */ local in function:__bt_split
182 nbytes = NBINTERNAL(bi->ksize);
186 nbytes = NBINTERNAL(bl->ksize);
199 if (n < nbytes) {
201 bt_pfxsaved += nbytes - n;
203 nbytes = n;
211 nbytes = NRINTERNAL;
218 if ((uint32_t)h->upper - (uint32_t)h->lower < nbytes + sizeof(indx_t)) {
221 bt_root(t, h, &l, &r, &skip, nbytes) :
222 bt_page(t, h, &l, &r, &skip, nbytes);
540 uint32_t nbytes; local in function:bt_broot
623 uint32_t nbytes; local in function:bt_psplit
    [all...]
  /src/libexec/lfs_cleanerd/
cleaner.h 8 u_int32_t nbytes; member in struct:clfs_seguse
  /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/sys/net/npf/
npf_if.c 81 const size_t nbytes = sizeof(npf_ifmap_t) * NPF_MAX_IFMAP; local in function:npf_ifmap_init
87 npf->ifmap = kmem_zalloc(nbytes, KM_SLEEP);
96 const size_t nbytes = sizeof(npf_ifmap_t) * NPF_MAX_IFMAP; local in function:npf_ifmap_fini
98 kmem_free(npf->ifmap, nbytes);
  /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/gen/
wordexp.c 96 size_t nwords, nbytes; /* Number of words, bytes from child */ local in function:we_askshell
170 nbytes = 0;
174 nbytes *= 10;
175 nbytes += (i - '0');
182 nbytes += nwords;
194 we->we_nbytes += nbytes;
213 if (fread(we->we_strings + sofs, sizeof(char), nbytes, fp) != nbytes) {
236 if ((np = memchr(p, '\0', nbytes)) == NULL)
238 nbytes -= np - p + 1
    [all...]
  /src/sys/compat/common/
vfs_syscalls_12.c 130 int buflen, error, eofflag, nbytes; local in function:compat_12_sys_getdirentries
158 nbytes = SCARG(uap, count);
159 buflen = uimin(MAXBSIZE, nbytes);
186 resid = nbytes;
250 *retval = nbytes - resid;
  /src/sys/compat/linux32/common/
linux32_dirent.c 113 int buflen, error, eofflag, nbytes, oldcall; local in function:linux32_sys_getdents
139 nbytes = SCARG(uap, count);
140 if (nbytes == 1) { /* emulating old, broken behaviour */
141 nbytes = sizeof (idb);
142 buflen = uimax(va.va_blocksize, nbytes);
145 buflen = uimin(MAXBSIZE, nbytes);
174 resid = nbytes;
249 nbytes = resid + linux32_reclen;
252 *retval = nbytes - resid;
  /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/usr.sbin/fstyp/
fstyp.c 189 int ch, error, i, nbytes; local in function:main
287 nbytes = strsnvis(strvised, sizeof(strvised), label,
289 if (nbytes == -1)
  /src/sys/arch/atari/dev/
md_root.c 88 long nbytes; /* total number of bytes to read */ member in struct:read_info
172 rs.nbytes = md->md_size;
213 bytes_left = rsp->nbytes;
  /src/sys/arch/arc/isa/
isadma.c 29 bus_size_t nbytes; member in struct:dma_info
133 isadma_start(void *addr, bus_size_t nbytes, int chan, int flags)
146 ((chan & 4) ? (nbytes >= (1<<17) || nbytes & 1 || (u_int)addr & 1) :
147 (nbytes >= (1<<16))))
160 di->nbytes = nbytes;
165 if (isadma_map(addr, nbytes, di->phys, mflags) != 1)
170 isadma_copytobuf(addr, nbytes, 1, di->phys);
191 outb(waport + 1, --nbytes);
    [all...]
  /src/sys/arch/x86/x86/
cpu_rng.c 193 * VIA PPG says EAX[4:0] is nbytes, but the only documented numbers of
204 uint32_t cr0, status, nbytes; local in function:cpu_rng_via
231 nbytes = __SHIFTOUT(status, VIA_RNG_STATUS_NBYTES);
243 return nbytes * NBBY/2;
267 cpu_rng_get(size_t nbytes, void *cookie)
271 NBYTES = howmany(NBITS, 8),
277 while (nbytes) {
286 if (consttime_memequal(buf, buf + NWORDS, NBYTES)) {
292 nbytes -= MIN(MIN(nbytes, sizeof buf), MAX(1, 8*nbits))
    [all...]
  /src/sys/arch/arm/arm32/
arm32_kvminit.c 379 size_t nbytes = npages * PAGE_SIZE; local in function:valloc_pages
406 while (nbytes > free_pv->pv_size) {
411 __func__, nbytes);
422 fdt_memory_remove_range(free_pv->pv_pa, nbytes);
426 pv->pv_size = nbytes;
440 free_pv->pv_pa += nbytes;
441 free_pv->pv_va += nbytes;
442 free_pv->pv_size -= nbytes;
453 memset((void *)pv->pv_va, 0, nbytes);

Completed in 24 milliseconds

1 2 3