Searched refs:nblocks (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-11-stable/usr.bin/mkuzip/
H A Dmkuz_cloop.h49 uint32_t nblocks; /* number of blocks */ member in struct:cloop_header
H A Dmkuzip.c233 hdr.nblocks = cfs.isize / cfs.blksz;
238 hdr.nblocks++;
240 toc = mkuz_safe_malloc((hdr.nblocks + 1) * sizeof(*toc));
254 iov[1].iov_len = (hdr.nblocks + 1) * sizeof(*toc);
263 hdr.nblocks, iov[1].iov_len);
352 hdr.nblocks = htonl(hdr.nblocks);
/freebsd-11-stable/sys/dev/usb/
H A Dusb_mbuf.c64 usb_size_t block_size, uint16_t nblocks)
74 if (nblocks && block_size) {
76 alloc_size = (block_size + sizeof(struct usb_mbuf)) * nblocks;
80 data_ptr = (void *)(m_ptr + nblocks);
82 while (nblocks--) {
63 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, usb_size_t block_size, uint16_t nblocks) argument
H A Dusb_mbuf.h88 usb_size_t block_size, uint16_t nblocks);
/freebsd-11-stable/sys/geom/uzip/
H A Dg_uzip_cloop.h54 uint32_t nblocks; /* number of blocks */ member in struct:cloop_header
H A Dg_uzip_softc.h38 uint32_t nblocks; /* number of blocks */ member in struct:g_uzip_softc
H A Dg_uzip.c235 KASSERT(start_blk < sc->nblocks, ("start_blk out of range"));
237 KASSERT(end_blk <= sc->nblocks, ("end_blk out of range"));
542 (sc->nblocks + 1) * sizeof(uint64_t);
545 for (i = 0; i < sc->nblocks; i++) {
584 for (j = i + 1; j < sc->nblocks; j++) {
615 for (i = 0; i < sc->nblocks; i++) {
737 sc->nblocks = ntohl(header->nblocks);
747 total_offsets = sc->nblocks + 1;
751 gp->name, sc->nblocks);
[all...]
/freebsd-11-stable/usr.sbin/nandtool/
H A Dnand_erase.c47 off_t start, nblocks, i; local
101 nblocks = count / block_size;
103 for (i = 0; i < nblocks; i++) {
/freebsd-11-stable/sbin/newfs_nandfs/
H A Dnewfs_nandfs.c80 uint8_t nblocks; member in struct:file_info
334 if (user_files[i].nblocks) {
335 seg_nblocks += user_files[i].nblocks;
336 user_files[i].blocks = malloc(user_files[i].nblocks * sizeof(uint32_t));
339 ifile.nblocks = 2 +
341 ifile.blocks = malloc(ifile.nblocks * sizeof(uint32_t));
342 seg_nblocks += ifile.nblocks;
344 cpfile.nblocks =
347 cpfile.blocks = malloc(cpfile.nblocks * sizeof(uint32_t));
348 seg_nblocks += cpfile.nblocks;
1020 uint64_t i, nblocks; local
[all...]
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dhash.h108 const int nblocks = len / 4; local
117 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4);
120 for (i = -nblocks; i; i++) {
135 const uint8_t *tail = (const uint8_t *) (data + nblocks*4);
160 const int nblocks = len / 16; local
174 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16);
177 for (i = -nblocks; i; i++) {
207 const uint8_t *tail = (const uint8_t *) (data + nblocks*16);
262 const int nblocks = len / 16; local
275 for (i = 0; i < nblocks;
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dblock.h132 int nblocks; member in struct:blockvector
137 #define BLOCKVECTOR_NBLOCKS(blocklist) (blocklist)->nblocks
/freebsd-11-stable/sys/contrib/ck/src/
H A Dck_ht_hash.h122 const int nblocks = len / 4; local
133 const uint32_t * blocks = (const uint32_t *)(const void *)(data + nblocks*4);
135 for(i = -nblocks; i; i++)
151 const uint8_t * tail = (const uint8_t*)(data + nblocks*4);
/freebsd-11-stable/sys/mips/nlm/
H A Dboard.c424 naep->nblocks = nae_num_complex(nae_pcibase);
434 naep->blockmask = (1 << naep->nblocks) - 1;
440 naep->nblocks = naep->nblocks - 1;
441 naep->blockmask = (1 << naep->nblocks) - 1;
456 for (block = 0; block < naep->nblocks; block++) {
H A Dboard.h117 int nblocks; member in struct:xlp_nae_ivars
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzvol.h50 extern int zvol_dump(dev_t dev, caddr_t addr, daddr_t offset, int nblocks);
/freebsd-11-stable/sys/mips/nlm/dev/net/
H A Dxlpge.h67 u_int nblocks; member in struct:nlm_xlpnae_softc
H A Dnae.c47 nlm_nae_flush_free_fifo(uint64_t nae_base, int nblocks) argument
51 fifo_mask = (1 << (4 * nblocks)) - 1;
774 nlm_nae_init_netior(uint64_t nae_base, int nblocks) argument
778 if (nblocks == 5)
783 switch (nblocks) {
794 printf("WARNING: unsupported blocks %d\n", nblocks);
H A Dxlpge.c344 nlm_nae_init_netior(nae_base, sc->nblocks);
392 nlm_nae_flush_free_fifo(nae_base, sc->nblocks);
566 sc->nblocks = nae_ivars->nblocks;
581 for (nblock = 0; nblock < sc->nblocks; nblock++) {
589 if (sc->nblocks == 5)
592 sc->max_ports = sc->nblocks * PORTS_PER_CMPLX;
606 for (i = 0; i < sc->nblocks; i++) {
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_segment.c90 uint32_t blks_per_seg, nblocks; local
96 nblocks = fsdev->nd_last_segsum.ss_nblocks;
113 start_block = fsdev->nd_last_pseg + (uint64_t)nblocks;
265 seginfo->curseg->nblocks++;
411 seginfo->curseg->nblocks++;
416 __func__, bp, seginfo->curseg->nblocks,
458 int nblocks; local
466 nblocks = vp->v_bufobj.bo_dirty.bv_cnt;
467 DPRINTF(SYNC, ("%s: vp (%p): nblocks %x ino %jx\n",
468 __func__, vp, nblocks, nod
[all...]
H A Dnandfs_cleaner.c245 uint32_t nblocks; local
256 for (curr = start; curr < end; curr += nblocks) {
274 DPRINTF(CLEAN, ("%s: %jx magic %x bytes %x nblocks %x nbinfos "
280 nblocks = segsum->ss_nblocks;
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_inode.c126 e4fs_daddr_t count, nblocks, blocksreleased = 0; local
229 nblocks = btodb(fs->e2fs_bsize);
288 blocksreleased += nblocks;
385 int i, nblocks, error = 0, allerror = 0; local
400 nblocks = btodb(fs->e2fs_bsize);
457 blocksreleased += nblocks;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_delta/
H A Dxdelta.c217 apr_size_t nblocks;
223 nblocks = datalen / MATCH_BLOCKSIZE + 1;
225 while (wnslots <= nblocks)
216 apr_size_t nblocks; local
/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_inode.c215 int offset, size, level, nblocks; local
483 nblocks = btodb(fs->fs_bsize);
546 blocksreleased += nblocks;
659 int i, nblocks, error = 0, allerror = 0; local
677 nblocks = btodb(fs->fs_bsize);
755 blocksreleased += nblocks;
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_dirhash.c350 int dirblocks, i, j, memreqd, nblocks, narrays, nslots, slot; local
381 nblocks = (dirblocks * 3 + 1) / 2;
384 nblocks * sizeof(*dh->dh_blkfree);
402 dh->dh_nblk = nblocks;
420 dh->dh_blkfree = malloc(nblocks * sizeof(dh->dh_blkfree[0]),
/freebsd-11-stable/contrib/less/
H A Dch.c421 BLOCKNUM nblocks; local
423 nblocks = (ch_fpos + LBUFSIZE - 1) / LBUFSIZE;
424 for (block = 0; block < nblocks; block++)

Completed in 304 milliseconds

12