Searched refs:nbytes (Results 201 - 225 of 264) sorted by relevance

1234567891011

/freebsd-current/contrib/file/src/
H A Dreadcdf.c545 size_t nbytes = b->flen; local
558 info.i_len = nbytes;
/freebsd-current/sys/arm/allwinner/
H A Da31_dmac.c502 size_t nbytes)
512 ch->desc->bcnt = htole32(nbytes);
501 a31dmac_transfer(device_t dev, void *priv, bus_addr_t src, bus_addr_t dst, size_t nbytes) argument
/freebsd-current/sys/arm/freescale/vybrid/
H A Dvf_sai.c391 sc->pos += (tcd->nbytes * tcd->nmajor);
489 tcd->nbytes = 64;
H A Dvf_edma.c231 TCD_WRITE4(sc, DMA_TCDn_NBYTES_MLOFFYES(chnum), tcd->nbytes);
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Dqlnx_def.h165 #define BD_UNMAP_LEN(bd) (le16toh((bd)->nbytes))
171 (bd)->nbytes = htole16(len); \
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_private.h250 size_t maxlen, u_int base, size_t *nbytes,
/freebsd-current/sbin/bsdlabel/
H A Dbsdlabel.c447 ssize_t nbytes; local
467 nbytes = read(f, bootarea, BBSIZE);
468 if (nbytes == -1)
470 if (nbytes != BBSIZE)
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A Dregcomp.c1196 size_t nbytes; local
1209 nbytes = nc / CHAR_BIT * css;
1216 ptr = (uch *)realloc((char *)p->g->setbits, nbytes);
1224 (void) memset((char *)p->g->setbits + (nbytes - css), 0, css);
/freebsd-current/sys/dev/bhnd/
H A Dbhnd_subr.c1469 size_t nbytes; local
1473 nbytes = size;
1474 if ((error = bhnd_nvram_getvar(dev, name, buf, &nbytes, type)))
1478 if (nbytes < size)
/freebsd-current/sys/net/altq/
H A Daltq_fairq.c230 fairq_getqstats(struct pf_altq *a, void *ubuf, int *nbytes, int version) argument
243 if (*nbytes < sizeof(stats))
250 *nbytes = sizeof(stats);
/freebsd-current/usr.sbin/ypldap/
H A Dber.c51 static ssize_t ber_readbuf(struct ber *b, void *buf, size_t nbytes);
1183 ber_readbuf(struct ber *b, void *buf, size_t nbytes) argument
1192 len = MINIMUM(nbytes, sz);
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dusb.c614 const void *data, int nbytes)
620 if (nbytes != sizeof(cmd->value))
627 memcpy(&cmd->value, data, nbytes);
613 ath10k_usb_hif_diag_write(struct ath10k *ar, u32 address, const void *data, int nbytes) argument
H A Dsnoc.c579 unsigned int nbytes, max_nbytes; local
583 &nbytes) == 0) {
589 if (unlikely(max_nbytes < nbytes)) {
590 ath10k_warn(ar, "rxed more than expected (nbytes %d, max %d)\n",
591 nbytes, max_nbytes);
596 skb_put(skb, nbytes);
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_logging.c354 size_t nbytes; local
437 aiov.iov_len = nbytes = lb->plb_ptr - lb->plb_base;
442 auio.uio_resid = nbytes;
/freebsd-current/lib/libomp/
H A Domp-tools.h1181 typedef ompd_rc_t (*ompd_callback_memory_alloc_fn_t)(ompd_size_t nbytes,
1203 ompd_size_t nbytes, void *buffer);
1208 ompd_size_t nbytes, const void *buffer);
/freebsd-current/sys/kern/
H A Dvfs_aio.c1286 size_t nbytes; local
1290 nbytes = job->uiop->uio_iov[i].iov_len;
1299 nbytes)) + 1), M_TEMP, M_WAITOK | M_ZERO);
1306 bp->bio_length = nbytes;
1307 bp->bio_bcount = nbytes;
1345 offset += nbytes;
2471 size_t nbytes; local
2482 nbytes = bcount - resid;
2483 atomic_add_acq_long(&job->nbytes, nbytes);
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c320 page_busy(vnode_t *vp, int64_t start, int64_t off, int64_t nbytes) argument
336 end = rounddown2(off + nbytes, DEV_BSIZE);
338 nbytes = end - off;
368 if (nbytes != 0)
369 vm_page_clear_dirty(pp, off, nbytes);
381 if (nbytes != 0)
382 vm_page_clear_dirty(pp, off, nbytes);
493 int nbytes = imin(PAGESIZE - off, len); local
495 if ((pp = page_busy(vp, start, off, nbytes)) != NULL) {
499 (void) dmu_read(os, zp->z_id, start + off, nbytes,
527 mappedread_sf(znode_t *zp, int nbytes, zfs_uio_t *uio) argument
611 mappedread(znode_t *zp, int nbytes, zfs_uio_t *uio) argument
[all...]
/freebsd-current/contrib/nvi/regex/
H A Dregcomp.c1094 size_t nbytes; local
1103 nbytes = nc / CHAR_BIT * css;
1112 p->g->setbits = (uch *)malloc(nbytes);
1115 nbytes);
1121 memset((char *)p->g->setbits + (nbytes - css),
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Ddebugfs.c1331 int ret, i, num_repeats, nbytes = count / 2; local
1333 ret = hex2bin(cmd.indirection_table, buf, nbytes);
1344 num_repeats = ARRAY_SIZE(cmd.indirection_table) / nbytes;
1346 memcpy(&cmd.indirection_table[i * nbytes],
1347 cmd.indirection_table, nbytes);
1349 memcpy(&cmd.indirection_table[i * nbytes], cmd.indirection_table,
1350 ARRAY_SIZE(cmd.indirection_table) % nbytes);
/freebsd-current/crypto/openssl/test/
H A Dsslapitest.c2701 size_t nbytes; local
2737 if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes))
2738 || !TEST_size_t_eq(1, nbytes)
2740 || !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))
2742 || !TEST_int_eq(sizeof(buf), nbytes)
2744 || !TEST_false(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes)))
2751 || !TEST_true(SSL_write_ex(serverssl, &c, sizeof(c), &nbytes))
2752 || !TEST_size_t_eq(sizeof(c), nbytes)
2754 || !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))
2756 || !TEST_size_t_eq(sizeof(buf), nbytes)
[all...]
/freebsd-current/libexec/bootpd/
H A Dreadfile.c1995 smalloc(unsigned nbytes)
1999 retvalue = malloc(nbytes);
2004 bzero(retvalue, nbytes);
1973 smalloc(unsigned nbytes) argument
/freebsd-current/lib/libpmc/
H A Dlibpmc.c1813 int nbytes, npmc; local
1819 nbytes = sizeof(struct pmc_op_getpmcinfo) +
1822 if ((pmci = calloc(1, nbytes)) == NULL)
/freebsd-current/sys/dev/pms/freebsd/driver/common/
H A Dlxosapi.c303 U32 nbytes)
300 ostiFlashReadBlock(tiRoot_t *ptiRoot, U32 offset, void *bufPtr, U32 nbytes) argument
/freebsd-current/usr.sbin/mountd/
H A Dmountd.c253 static void *sa_rawaddr(struct sockaddr *sa, int *nbytes);
3984 * raw address, and set *nbytes to its length in bytes. Returns
3988 sa_rawaddr(struct sockaddr *sa, int *nbytes) { argument
4006 if (nbytes != NULL)
4007 *nbytes = len;
/freebsd-current/sys/netinet/
H A Dtcp_log_buf.h580 void tcp_log_sendfile(struct socket *so, off_t offset, size_t nbytes,

Completed in 354 milliseconds

1234567891011