Searched refs:maxblk (Results 1 - 12 of 12) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/installboot/
H A Dfstypes.c60 hardcode_stage2(ib_params *params, uint32_t *maxblk, ib_block *blocks) argument
67 assert(maxblk != NULL);
89 if (nblk > *maxblk) {
92 params->stage2, nblk, *maxblk);
101 *maxblk = nblk;
119 raw_findstage2(ib_params *params, uint32_t *maxblk, ib_block *blocks) argument
124 assert(maxblk != NULL);
131 return (hardcode_stage2(params, maxblk, blocks));
H A Dbbinfo.c151 uint32_t maxblk, nblk, blk_i; local
222 maxblk = TARGET32TOHOST(bbinfop->bbi_block_count);
223 if (maxblk == 0 || maxblk > (bbparams->maxsize / sizeof(uint32_t))) {
225 params->machine->name, params->stage1, maxblk);
230 blocks = malloc(sizeof(*blocks) * maxblk);
233 (unsigned long)sizeof(*blocks) * maxblk);
247 nblk = maxblk;
278 maxblk, blocks[0].blocksize, nblk);
H A Dext2fs.c368 uint32_t maxblk; member in struct:findblks_state
384 if (state->nblk == state->maxblk) {
386 params->stage2, state->maxblk);
421 ext2fs_findstage2(ib_params *params, uint32_t *maxblk, ib_block *blocks) argument
429 assert(maxblk != NULL);
433 return hardcode_stage2(params, maxblk, blocks);
458 state.maxblk = *maxblk;
466 *maxblk = state.nblk;
H A Dffs.c435 uint32_t maxblk; member in struct:findblks_state
451 if (state->nblk == state->maxblk) {
453 params->stage2, state->maxblk);
536 ffs_findstage2(ib_params *params, uint32_t *maxblk, ib_block *blocks) argument
544 assert(maxblk != NULL);
548 return (hardcode_stage2(params, maxblk, blocks));
577 state.maxblk = *maxblk;
590 *maxblk = state.nblk;
/netbsd-6-1-5-RELEASE/distrib/cdrom/macppc_installboot/
H A Dinstallboot.c59 uint32_t nblk, maxblk, blk_i; local
152 maxblk = be32toh(bbinfop->bbi_block_count);
153 if (maxblk == 0 ||
154 maxblk > (MACPPC_BOOT_BLOCK_MAX_SIZE / sizeof(uint32_t)))
156 params->stage1, maxblk);
158 blocks = malloc(sizeof(*blocks) * maxblk);
161 (unsigned long)sizeof(*blocks) * maxblk);
170 nblk = maxblk;
H A Dcd9660.c104 cd9660_findstage2(ib_params *params, uint32_t *maxblk, ib_block *blocks) argument
116 assert(maxblk != NULL);
121 return hardcode_stage2(params, maxblk, blocks);
217 *maxblk = 1;
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/stand/common/
H A Dustarfs.c62 int maxblk; local
65 maxblk = 0x1fffffff; /* no limit */
71 maxblk = (77 + 76) * 13;
78 __volume.max_block = (maxblk / (USTAR_BLOCK_SIZE >> DEV_BSHIFT)) *
/netbsd-6-1-5-RELEASE/usr.bin/tcopy/
H A Dtcopy.c64 static int filen, guesslen, maxblk = MAXREC; variable
94 maxblk = atoi(optarg);
95 if (maxblk <= 0) {
141 buff = getspace(maxblk);
153 if ((nread = read(inp, buff, maxblk)) == -1) {
154 while (errno == EINVAL && (maxblk -= 1024)) {
155 nread = read(inp, buff, maxblk);
239 inb = getspace(maxblk);
240 inmaxblk = outmaxblk = maxblk;
330 fprintf(stderr, "usage: tcopy [-cvx] [-s maxblk] sr
[all...]
/netbsd-6-1-5-RELEASE/sbin/fsck_ffs/
H A Dpass2.c72 int i, maxblk; local
197 maxblk = inp->i_numblks < NDADDR ? inp->i_numblks :
199 for (i = 0; i < maxblk; i++)
209 maxblk = inp->i_numblks < NDADDR ? inp->i_numblks :
211 for (i = 0; i < maxblk; i++)
/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/maple/
H A Dmmemcard.c92 uint16_t maxblk, minblk; member in struct:mmem_media_info
375 d->d_secperunit = pt->pt_info.maxblk - pt->pt_info.minblk + 1;
411 ((pt->pt_info.maxblk - pt->pt_info.minblk + 1)
416 pt->pt_info.maxblk, pt->pt_info.minblk,
713 nblk = pt->pt_info.maxblk - pt->pt_info.minblk + 1;
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/dev/
H A Ducbsnd.c644 ringbuf_allocate(struct ring_buf *rb, size_t blksize, int maxblk) argument
646 rb->rb_bufsize = blksize * maxblk;
648 rb->rb_maxblks = maxblk;
/netbsd-6-1-5-RELEASE/sys/dev/ata/
H A Dwd.c545 daddr_t maxblk = blkno + (bp->b_bcount >> DEV_BSHIFT) - 1; local
549 (dbs->dbs_min <= maxblk && maxblk <= dbs->dbs_max)){

Completed in 163 milliseconds