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

12

/openbsd-current/usr.sbin/installboot/
H A Di386_softraid.c100 uint16_t nblocks; local
113 nblocks = howmany(SR_BOOT_LOADER_SIZE, SR_FS_BLOCKSIZE / DEV_BSIZE);
114 inodeblk = nblocks - 1;
115 bootsize = nblocks * SR_FS_BLOCKSIZE;
128 nblocks = howmany(sb.st_blocks, SR_FS_BLOCKSIZE / DEV_BSIZE);
140 ino_p->di_blocks = nblocks;
141 for (i = 0; i < nblocks; i++)
171 sym_set_value(pbr_symbols, "_nblocks", nblocks);
176 stage2, nblocks, bsize);
/openbsd-current/sys/arch/alpha/stand/
H A Dbbinfo.h41 int32_t nblocks; member in struct:bbinfo
H A Dbootxx.c84 if (bbinfop->nblocks <= 0) {
94 n = bbinfop->nblocks +
116 for (i = 0; i < bbinfop->nblocks; i++) {
H A Dinstallboot.c343 bbinfop->nblocks = isofseblk - isofsblk + 1;
344 if (bbinfop->nblocks > max_block_count)
348 boot, isofsblk, bbinfop->nblocks);
349 for (i = 0; i < bbinfop->nblocks; i++) {
359 for (i = 0; i < bbinfop->nblocks +
410 bbinfop->nblocks = ndb;
474 for (i = 0; i < bbinfop->nblocks +
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20020402-3.c30 int nblocks; member in struct:blockvector
45 top = bl->nblocks;
/openbsd-current/sys/crypto/
H A Dblake2s.c97 const uint8_t *block, size_t nblocks,
104 KASSERT(!((nblocks > 1 && inc != BLAKE2S_BLOCK_SIZE)));
106 while (nblocks > 0) {
160 --nblocks;
178 const size_t nblocks = local
181 blake2s_compress(state, in, nblocks - 1, BLAKE2S_BLOCK_SIZE);
182 in += BLAKE2S_BLOCK_SIZE * (nblocks - 1);
183 inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1);
96 blake2s_compress(struct blake2s_state *state, const uint8_t *block, size_t nblocks, const uint32_t inc) argument
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dblock.h132 int nblocks; member in struct:blockvector
137 #define BLOCKVECTOR_NBLOCKS(blocklist) (blocklist)->nblocks
/openbsd-current/gnu/usr.bin/binutils/gprof/
H A Dbasic_blocks.c129 int nblocks, b;
133 if (gmon_io_read_32 (ifp, &nblocks))
140 nblocks = bfd_get_32 (core_bfd, (bfd_byte *) & nblocks);
144 for (b = 0; b < nblocks; ++b)
219 unsigned int nblocks = 0;
228 nblocks += i;
233 || gmon_io_write_32 (ofp, nblocks))
128 int nblocks, b; local
218 unsigned int nblocks = 0; local
/openbsd-current/gnu/usr.bin/binutils-2.17/gprof/
H A Dbasic_blocks.c123 unsigned int nblocks, b;
127 if (gmon_io_read_32 (ifp, &nblocks))
134 nblocks = bfd_get_32 (core_bfd, (bfd_byte *) & nblocks);
138 for (b = 0; b < nblocks; ++b)
211 unsigned int nblocks = 0;
220 nblocks += i;
225 || gmon_io_write_32 (ofp, nblocks))
122 unsigned int nblocks, b; local
210 unsigned int nblocks = 0; local
/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_inode.c216 long count, nblocks, vflags, blocksreleased = 0; local
315 nblocks = btodb(fs->e2fs_bsize);
362 blocksreleased += nblocks;
431 int nblocks, blocksreleased = 0; local
445 nblocks = btodb(fs->e2fs_bsize);
503 blocksreleased += nblocks;
/openbsd-current/sys/ufs/ffs/
H A Dffs_inode.c136 long count, nblocks, vflags, blocksreleased = 0; local
242 nblocks = btodb(fs->fs_bsize);
305 blocksreleased += nblocks;
414 int nblocks, blocksreleased = 0; local
432 nblocks = btodb(fs->fs_bsize);
506 blocksreleased += nblocks;
/openbsd-current/sys/arch/i386/stand/biosboot/
H A Dbiosboot.S107 * nblocks uint16 the number of filesystem blocks to read.
119 .globl inodeblk, inodedbl, fs_bsize_p, fsbtodb, p_offset, nblocks
127 .type nblocks, @function
403 nblocks = .+1 define
404 movw $0x9090, %di /* mov nblocks, %di */
409 1: /* %cx = min(nblocks, $NADDR) */
/openbsd-current/sys/arch/amd64/stand/biosboot/
H A Dbiosboot.S107 * nblocks uint16 the number of filesystem blocks to read.
119 .globl inodeblk, inodedbl, fs_bsize_p, fsbtodb, p_offset, nblocks
127 .type nblocks, @function
403 nblocks = .+1 define
404 movw $0x9090, %di /* mov nblocks, %di */
409 1: /* %cx = min(nblocks, $NADDR) */
/openbsd-current/usr.bin/less/
H A Dch.c384 BLOCKNUM nblocks; local
386 nblocks = (ch_fpos + LBUFSIZE - 1) / LBUFSIZE;
387 for (block = 0; block < nblocks; block++) {
/openbsd-current/sys/dev/pci/
H A Dcmpcivar.h184 int nblocks; member in struct:cmpci_channel
H A Dcmpci.c553 hwpos = chan->nblocks - hwpos - 1;
557 if (chan->swpos >= chan->nblocks)
572 hwpos = chan->nblocks - hwpos - 1;
576 if (chan->swpos >= chan->nblocks)
1793 chan->nblocks = buffer_size / chan->blksize;
1838 chan->nblocks = buffer_size / chan->blksize;
H A Dcz.c472 int i, j, nconfigs, nblocks, nbytes; local
498 nblocks = letoh32(zfc->zfc_nblocks);
515 for (i = 0; i < nblocks; i++) {
538 for (i = 0; i < nblocks; i++) {
/openbsd-current/sys/ufs/ufs/
H A Dufs_dirhash.c110 int dirblocks, i, j, memreqd, nblocks, narrays, nslots, slot; local
142 nblocks = (dirblocks * 3 + 1) / 2;
146 nblocks * sizeof(*dh->dh_blkfree);
174 dh->dh_blkfree = mallocarray(nblocks, sizeof(dh->dh_blkfree[0]),
189 dh->dh_nblk = nblocks;
249 nblocks * sizeof(dh->dh_blkfree[0]));
/openbsd-current/sys/scsi/
H A Dscsi_all.h482 u_int8_t nblocks[3]; member in struct:scsi_blk_desc
488 u_int8_t nblocks[4]; member in struct:scsi_direct_blk_desc
494 u_int8_t nblocks[8]; member in struct:scsi_blk_desc_big
/openbsd-current/sys/dev/ic/
H A Dcissreg.h161 u_int16_t nblocks[2]; /* UNALIGNED! */ member in struct:ciss_ldid
227 u_int32_t nblocks; member in struct:ciss_pdid
H A Dciss.c1016 blks = (u_int)letoh16(ldid->nblocks[1]) << 16 |
1017 letoh16(ldid->nblocks[0]);
1082 bd->bd_size = (u_int64_t)letoh32(pdid->nblocks) *
/openbsd-current/sys/uvm/
H A Duvm_swap.c883 int error, npages, nblocks, size; local
931 (nblocks = (*bdevsw[major(dev)].d_psize)(dev)) == -1) {
940 nblocks = (int)btodb(va.va_size);
965 * save nblocks in a safe place and convert to pages.
968 sdp->swd_nblks = nblocks;
969 npages = dbtob((u_int64_t)nblocks) >> PAGE_SHIFT;
/openbsd-current/sys/arch/sparc64/dev/
H A Dvdsp.c125 uint64_t nblocks; member in struct:vd_vtoc_part
1388 vt->partition[i].nblocks =
1415 vt->partition[2].nblocks =
1524 vt->partition[i].nblocks;
/openbsd-current/gnu/usr.bin/perl/
H A Dclass.c192 U32 nblocks = av_count(aux->xhv_class_adjust_blocks); local
194 for(U32 i = 0; i < nblocks; i++) {
/openbsd-current/gnu/gcc/gcc/
H A Dsched-rgn.c1038 int nblocks = n_basic_blocks - NUM_FIXED_BLOCKS;
1047 for (i = nblocks - 1; i >= 0; i--)
1074 for (i = nblocks - 1; i >= 0; i--)
1167 for (i = nblocks - 1; i >= 0; i--)
1037 int nblocks = n_basic_blocks - NUM_FIXED_BLOCKS; local

Completed in 278 milliseconds

12