/netbsd/sys/ufs/ext2fs/ |
H A D | ext2fs_htree.c | 162 newsize = cursize + blksize; in ext2fs_htree_append_block() 165 auio.uio_resid = blksize; in ext2fs_htree_append_block() 166 aiov.iov_len = blksize; in ext2fs_htree_append_block() 280 ((char *)block2 + blksize); in ext2fs_htree_split_dirblock() 371 block2 + blksize - dest; in ext2fs_htree_split_dirblock() 401 blksize = m_fs->e2fs_bsize; in ext2fs_htree_create_index() 491 uint32_t blksize, blknum; in ext2fs_htree_add_entry() local 505 blksize = m_fs->e2fs_bsize; in ext2fs_htree_add_entry() 529 dirsize = cursize + blksize; in ext2fs_htree_add_entry() 533 cnp, blksize); in ext2fs_htree_add_entry() [all …]
|
/netbsd/sys/dev/pci/ |
H A D | gcscaudio.c | 832 dl = (uint16_t *)((char *)dst + blksize / 2 + blksize / 4); in split_buffer_6ch() 920 blksize, 0)) in gcscaudio_trigger_output() 989 blksize); in gcscaudio_trigger_output() 998 blksize / 2, 0)) in gcscaudio_trigger_output() 1001 size, blksize, blksize / 2, 0)) in gcscaudio_trigger_output() 1045 blksize); in gcscaudio_trigger_output() 1054 blksize / 3, 0)) in gcscaudio_trigger_output() 1057 size, blksize, blksize / 3, blksize / 2)) in gcscaudio_trigger_output() 1060 size, blksize, blksize / 3, 0)) in gcscaudio_trigger_output() 1063 size, blksize, blksize / 3, blksize / 2 + blksize / 4)) in gcscaudio_trigger_output() [all …]
|
/netbsd/sys/arch/prep/stand/boot/ |
H A D | sd.c | 115 *blksize = _4btol(data.data.length); in sd_read_capacity() 135 *blksize = _4btol(data.data16.length); in sd_read_capacity() 159 int error, blksize; in sd_get_simplifiedparms() local 167 dp->blksize = SD_DEFAULT_BLKSIZE; in sd_get_simplifiedparms() 177 dp->blksize = blksize; in sd_get_simplifiedparms() 181 dp->blksize = SD_DEFAULT_BLKSIZE; in sd_get_simplifiedparms() 210 int error, blksize; in sd_get_capacity() local 249 blksize = _3btol(data.desc.blklen); in sd_get_capacity() 267 if (!sd_validate_blksize(blksize)) in sd_get_capacity() 268 blksize = SD_DEFAULT_BLKSIZE; in sd_get_capacity() [all …]
|
/netbsd/sys/arch/bebox/stand/boot/ |
H A D | sd.c | 115 *blksize = _4btol(data.data.length); in sd_read_capacity() 135 *blksize = _4btol(data.data16.length); in sd_read_capacity() 159 int error, blksize; in sd_get_simplifiedparms() local 167 dp->blksize = SD_DEFAULT_BLKSIZE; in sd_get_simplifiedparms() 177 dp->blksize = blksize; in sd_get_simplifiedparms() 181 dp->blksize = SD_DEFAULT_BLKSIZE; in sd_get_simplifiedparms() 210 int error, blksize; in sd_get_capacity() local 249 blksize = _3btol(data.desc.blklen); in sd_get_capacity() 267 if (!sd_validate_blksize(blksize)) in sd_get_capacity() 268 blksize = SD_DEFAULT_BLKSIZE; in sd_get_capacity() [all …]
|
/netbsd/sys/arch/dreamcast/dev/microcode/ |
H A D | aica_arm.c | 185 unsigned int blksize = 0, ratepitch; in aica_main() local 248 blksize = aicacmd->blocksize; in aica_main() 257 loopend = blksize; in aica_main() 260 loopend = blksize * 2; in aica_main() 263 loopend = blksize * 4; in aica_main() 326 memset((void *)(AICA_DMABUF_LEFT + blksize), 0, in aica_main() 327 blksize); in aica_main() 328 memset((void *)(AICA_DMABUF_RIGHT + blksize), 0, in aica_main() 329 blksize); in aica_main() 333 memset((void *)AICA_DMABUF_LEFT, 0, blksize); in aica_main() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/include/prov/ |
H A D | digestcommon.h | 26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ argument 30 return ossl_digest_default_get_params(params, blksize, dgstsize, flags); \ 51 name, CTX, blksize, dgstsize, flags, upd, fin) \ argument 74 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 88 name, CTX, blksize, dgstsize, flags, init, upd, fin) \ argument 95 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \ 101 name, CTX, blksize, dgstsize, flags, init, upd, fin, \ argument 110 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
|
/netbsd/sys/dev/pad/ |
H A D | pad.c | 285 KASSERT(blksize >= 0); in pad_add_block() 288 if (blksize > PAD_BUFSIZE || in pad_add_block() 294 flen = blksize; in pad_add_block() 298 tlen = blksize - flen; in pad_add_block() 301 sc->sc_wpos = foff + blksize; in pad_add_block() 313 sc->sc_buflen += blksize; in pad_add_block() 322 int l, blksize, error; in pad_get_block() local 341 pb->pb_len = blksize; in pad_get_block() 342 sc->sc_rpos += blksize; in pad_get_block() 587 err = pad_add_block(sc, block, blksize); in pad_start_output() [all …]
|
/netbsd/sys/dev/isa/ |
H A D | ad1848_isa.c | 564 int blksize, in ad1848_isa_trigger_input() argument 592 blksize = (param->encoding == AUDIO_ENCODING_ADPCM) ? blksize / 4 - 1 : in ad1848_isa_trigger_input() 593 (blksize * 8) / (param->precision * param->channels) - 1; in ad1848_isa_trigger_input() 596 ad_write(sc, CS_LOWER_REC_CNT, blksize & 0xff); in ad1848_isa_trigger_input() 597 ad_write(sc, CS_UPPER_REC_CNT, blksize >> 8); in ad1848_isa_trigger_input() 599 ad_write(sc, SP_LOWER_BASE_COUNT, blksize & 0xff); in ad1848_isa_trigger_input() 600 ad_write(sc, SP_UPPER_BASE_COUNT, blksize >> 8); in ad1848_isa_trigger_input() 613 int blksize, in ad1848_isa_trigger_output() argument 636 blksize = (param->encoding == AUDIO_ENCODING_ADPCM) ? blksize / 4 - 1 : in ad1848_isa_trigger_output() 639 ad_write(sc, SP_LOWER_BASE_COUNT, blksize & 0xff); in ad1848_isa_trigger_output() [all …]
|
H A D | ess.c | 1160 int blksize, in ess_audio1_trigger_output() argument 1182 sc->sc_audio1.blksize = blksize; in ess_audio1_trigger_output() 1219 blksize = -blksize; in ess_audio1_trigger_output() 1240 int blksize, in ess_audio2_trigger_output() argument 1262 sc->sc_audio2.blksize = blksize; in ess_audio2_trigger_output() 1290 blksize = -blksize; in ess_audio2_trigger_output() 1311 int blksize, in ess_audio1_trigger_input() argument 1333 sc->sc_audio1.blksize = blksize; in ess_audio1_trigger_input() 1370 blksize = -blksize; in ess_audio1_trigger_input() 1519 dmacount -= sc->sc_audio1.blksize; in ess_audio1_poll() [all …]
|
/netbsd/external/bsd/tcpdump/dist/tests/ |
H A D | decnet.out | 1 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 2 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 3 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 4 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 5 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 19 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 33 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 44 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 95 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 128 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 [all …]
|
/netbsd/sys/dev/scsipi/ |
H A D | st.c | 521 mode2->blksize = mode->blksize; in st_loadquirks() 917 st->blksize = st->modes[dsty].blksize; in st_mount_tape() 918 if (st->blksize) in st_mount_tape() 1020 st->blksize = 0; in st_decide_mode() 1064 st->blksize = 0; in st_decide_mode() 1127 st->blksize); in ststrategy() 1654 if (st->blksize) in stioctl() 1671 st->modes[dsty].blksize = st->blksize; in stioctl() 1696 _lto3b(size / (st->blksize ? st->blksize : DEF_FIXED_BSIZE), in st_read() 2351 st->blksize -= 512; in st_interpret_sense() [all …]
|
H A D | sd.c | 702 if (sd->params.blksize == DEV_BSIZE) in sd_diskstart() 1420 int error, blksize; in sd_get_simplifiedparms() local 1428 dp->blksize = SD_DEFAULT_BLKSIZE; in sd_get_simplifiedparms() 1439 dp->blksize = blksize; in sd_get_simplifiedparms() 1443 dp->blksize = SD_DEFAULT_BLKSIZE; in sd_get_simplifiedparms() 1471 int error, blksize; in sd_get_capacity() local 1522 blksize = _3btol(data.desc.blklen); in sd_get_capacity() 1548 blksize = _3btol(bdesc->blklen); in sd_get_capacity() 1554 blksize = SD_DEFAULT_BLKSIZE; in sd_get_capacity() 1556 dp->blksize = blksize; in sd_get_capacity() [all …]
|
/netbsd/usr.bin/tftp/ |
H A D | tftp.c | 131 blksize = val; in get_options() 328 blksize = def_blksize; in sendfile() 338 j = synchnet(f, blksize+4); in sendfile() 349 blksize = def_blksize; in sendfile() 409 readlen = blksize+4; in recvfile() 467 blksize = def_blksize; in recvfile() 476 j = synchnet(f, blksize); in recvfile() 488 blksize = def_blksize; in recvfile() 493 readlen = blksize+4; in recvfile() 513 } while ((size_t)size == blksize); in recvfile() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdbsupport/ |
H A D | fileio.cc | 226 LONGEST blksize; in host_to_fileio_stat() local 237 blksize = st->st_blksize; in host_to_fileio_stat() 239 blksize = 512; in host_to_fileio_stat() 241 host_to_fileio_ulong (blksize, fst->fst_blksize); in host_to_fileio_stat() 248 host_to_fileio_ulong (((LONGEST) st->st_size + blksize - 1) in host_to_fileio_stat() 249 / blksize, in host_to_fileio_stat()
|
/netbsd/external/gpl3/gdb.old/dist/gdbsupport/ |
H A D | fileio.cc | 226 LONGEST blksize; in host_to_fileio_stat() local 237 blksize = st->st_blksize; in host_to_fileio_stat() 239 blksize = 512; in host_to_fileio_stat() 241 host_to_fileio_ulong (blksize, fst->fst_blksize); in host_to_fileio_stat() 248 host_to_fileio_ulong (((LONGEST) st->st_size + blksize - 1) in host_to_fileio_stat() 249 / blksize, in host_to_fileio_stat()
|
/netbsd/sys/dev/ic/ |
H A D | am7930.c | 341 am7930_trigger_output(void *addr, void *start, void *end, int blksize, in am7930_trigger_output() argument 346 DPRINTF(("%s: blksize=%d %p(%p)\n", __func__, blksize, intr, arg)); in am7930_trigger_output() 352 sc->sc_p.blksize = blksize; in am7930_trigger_output() 354 sc->sc_p.blkend = sc->sc_p.start + sc->sc_p.blksize; in am7930_trigger_output() 365 am7930_trigger_input(void *addr, void *start, void *end, int blksize, in am7930_trigger_input() argument 370 DPRINTF(("%s: blksize=%d %p(%p)\n", __func__, blksize, intr, arg)); in am7930_trigger_input() 376 sc->sc_r.blksize = blksize; in am7930_trigger_input() 378 sc->sc_r.blkend = sc->sc_r.start + sc->sc_r.blksize; in am7930_trigger_input() 448 sc->sc_r.blkend += sc->sc_r.blksize; in am7930_hwintr() 462 sc->sc_p.blkend += sc->sc_p.blksize; in am7930_hwintr()
|
/netbsd/crypto/external/bsd/libsaslc/dist/src/ |
H A D | mech_digestmd5.c | 1072 ctx->blksize = ctp->blksize; in cipher_context_create() 1140 size_t blksize; in get_padlen() local 1145 blksize = ctx->blksize; in get_padlen() 1146 if (blksize == 1) in get_padlen() 1149 return blksize - ((inlen + 10) % blksize); in get_padlen() 1323 blksize = ctx->cph_ctx ? ctx->cph_ctx->blksize : 0; in decode_buffer() 1324 if (blksize <= 1) in decode_buffer() 2089 if (maxbuf < 2 * blksize + 6) in maxpayload() 2108 size_t blksize; in init_coder_context() local 2117 blksize = 0; in init_coder_context() [all …]
|
/netbsd/sys/fs/filecorefs/ |
H A D | filecore_extern.h | 84 u_int32_t blksize; member 99 #define filecore_blkoff(fcp, loc) ((loc) & ((fcp)->blksize-1)) 102 #define filecore_blksize(fcp, ip, lbn) ((fcp)->blksize)
|
/netbsd/sys/arch/amiga/dev/ |
H A D | zz9k_ax.c | 96 static int zzax_start_output(void *hdl, void *block, int blksize, 98 static int zzax_start_input(void *hdl, void *block, int blksize, 113 static int zzax_trigger_output(void *hdl, void *start, void *end, int blksize, 115 static int zzax_trigger_input(void *hdl, void *start, void *end, int blksize, 371 zzax_start_output(void *hdl, void *block, int blksize, in zzax_start_output() argument 379 zzax_start_input(void *hdl, void *block, int blksize, in zzax_start_input() argument 497 zzax_trigger_output(void *hdl, void *start, void *end, int blksize, in zzax_trigger_output() argument 505 zzax_trigger_input(void *hdl, void *start, void *end, int blksize, in zzax_trigger_input() argument
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/digests/ |
H A D | sha3_prov.c | 231 #define PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags) \ argument 232 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \ 241 #define PROV_FUNC_SHA3_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument 242 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \ 246 #define PROV_FUNC_SHAKE_DIGEST(name, bitlen, blksize, dgstsize, flags) \ argument 247 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
|
/netbsd/sbin/fsck_ffs/ |
H A D | wapbl.c | 165 uint64_t addr = 0, count = 0, blksize = 0; in check_wapbl() local 192 blksize = in check_wapbl() 200 blksize = in check_wapbl() 220 &wapbl_replay, 0, addr, count, blksize); in check_wapbl()
|
/netbsd/sys/arch/sgimips/hpc/ |
H A D | haltwo.c | 209 struct haltwo_dmabuf *dmabuf, size_t len, int blksize, in haltwo_setup_dma() argument 217 KASSERT(len % blksize == 0); in haltwo_setup_dma() 219 next_intr = blksize; in haltwo_setup_dma() 237 next_intr = blksize; in haltwo_setup_dma() 659 haltwo_trigger_output(void *v, void *start, void *end, int blksize, in haltwo_trigger_output() argument 669 " param = %p\n", start, end, blksize, param)); in haltwo_trigger_output() 691 blksize, intr, intrarg); in haltwo_trigger_output() 725 haltwo_trigger_input(void *v, void *start, void *end, int blksize, in haltwo_trigger_input() argument 732 start, end, blksize)); in haltwo_trigger_input() 746 blksize, intr, intrarg); in haltwo_trigger_input()
|
/netbsd/sbin/apmlabel/ |
H A D | apmlabel.c | 107 uint16_t blksize, partcnt; in getparts() local 125 blksize = drvr->sbBlockSize; in getparts() 130 if (lseek(sd, (i+1)*blksize, SEEK_SET) == -1) { in getparts() 164 temp = (uint64_t)part->pmDataCnt * (uint64_t)blksize; in getparts() 172 * (uint64_t)blksize; in getparts()
|
/netbsd/sys/arch/arm/iomd/ |
H A D | vidcaudio.c | 378 vidcaudio_trigger_output(void *addr, void *start, void *end, int blksize, in vidcaudio_trigger_output() argument 385 start, end, blksize)); in vidcaudio_trigger_output() 388 KASSERT(blksize == vidcaudio_round_blocksize(addr, blksize, 0, NULL)); in vidcaudio_trigger_output() 389 KASSERT((vaddr_t)start % blksize == 0); in vidcaudio_trigger_output() 391 sc->sc_pblksize = blksize; in vidcaudio_trigger_output()
|
/netbsd/bin/rcp/ |
H A D | util.c | 149 allocbuf(BUF *bp, int fd, int blksize) in allocbuf() argument 159 size = roundup(stb.st_blksize, blksize); in allocbuf() 161 size = blksize; in allocbuf()
|