Searched refs:blksize (Results 1 - 25 of 123) sorted by relevance

12345

/netbsd-current/usr.bin/tftp/
H A Dextern.h44 extern size_t blksize;
H A Dtftp.c129 } else if (strcmp(opt, "blksize") == 0) {
131 blksize = val;
261 size = readit(file, &dp, blksize, convert);
282 read_ahead(file, blksize, convert);
325 * matters is blksize, but we'll
328 blksize = def_blksize;
338 j = synchnet(f, blksize+4);
349 blksize = def_blksize;
360 } while ((size_t)size == blksize || block == 1);
409 readlen = blksize
[all...]
/netbsd-current/sys/dev/scsipi/
H A Dcdvar.h41 u_int blksize; member in struct:cd_softc::cd_parms
H A Dsdvar.h70 u_long blksize; /* number of bytes/sector */ member in struct:disk_parms
H A Dst.c521 mode2->blksize = mode->blksize;
917 st->blksize = st->modes[dsty].blksize;
918 if (st->blksize)
1005 st->blksize = st->blkmin;
1020 st->blksize = 0;
1034 st->blksize = st->media_blksize;
1036 st->blksize = DEF_FIXED_BSIZE;
1054 st->blksize
[all...]
H A Dstvar.h65 int blksize; member in struct:modes
101 int blksize; /* blksize we are using */ member in struct:st_softc
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/include/prov/
H A Ddigestcommon.h26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
30 return ossl_digest_default_get_params(params, blksize, dgstsize, flags); \
51 name, CTX, blksize, dgstsize, flags, upd, fin) \
74 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
88 name, CTX, blksize, dgstsize, flags, init, upd, fin) \
95 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
101 name, CTX, blksize, dgstsize, flags, init, upd, fin, \
110 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
/netbsd-current/sys/fs/filecorefs/
H A Dfilecore_extern.h84 u_int32_t blksize; member in struct:filecore_mnt
99 #define filecore_blkoff(fcp, loc) ((loc) & ((fcp)->blksize-1))
102 #define filecore_blksize(fcp, ip, lbn) ((fcp)->blksize)
/netbsd-current/sys/arch/dreamcast/dev/microcode/
H A Daica_arm.c185 unsigned int blksize = 0, ratepitch; local
248 blksize = aicacmd->blocksize;
257 loopend = blksize;
260 loopend = blksize * 2;
263 loopend = blksize * 4;
326 memset((void *)(AICA_DMABUF_LEFT + blksize), 0,
327 blksize);
328 memset((void *)(AICA_DMABUF_RIGHT + blksize), 0,
329 blksize);
333 memset((void *)AICA_DMABUF_LEFT, 0, blksize);
[all...]
/netbsd-current/sys/ufs/ext2fs/
H A Dext2fs_htree.c153 struct componentname *cnp, uint32_t blksize)
161 cursize = roundup(dp->i_size, blksize);
162 newsize = cursize + blksize;
165 auio.uio_resid = blksize;
166 aiov.iov_len = blksize;
247 ext2fs_append_entry(char *block, uint32_t blksize, argument
255 new_entry->e2d_reclen = block + blksize - (char *)last_entry;
263 ext2fs_htree_split_dirblock(char *block1, char *block2, uint32_t blksize, argument
280 ((char *)block2 + blksize);
291 while ((char *)ep < block1 + blksize) {
152 ext2fs_htree_append_block(struct vnode *vp, char *data, struct componentname *cnp, uint32_t blksize) argument
392 uint32_t blksize, dirlen, split_hash; local
491 uint32_t blksize, blknum; local
[all...]
/netbsd-current/sys/arch/prep/stand/boot/
H A Dsd.c89 sd_read_capacity(struct sd_softc *sd, int *blksize) argument
115 *blksize = _4btol(data.data.length);
135 *blksize = _4btol(data.data16.length);
159 int error, blksize; local
167 dp->blksize = SD_DEFAULT_BLKSIZE;
168 if ((blocks = sd_read_capacity(sd, &blksize)) == 0)
177 dp->blksize = blksize;
178 if (!sd_validate_blksize(dp->blksize))
179 dp->blksize
210 int error, blksize; local
[all...]
/netbsd-current/sys/arch/bebox/stand/boot/
H A Dsd.c89 sd_read_capacity(struct sd_softc *sd, int *blksize) argument
115 *blksize = _4btol(data.data.length);
135 *blksize = _4btol(data.data16.length);
159 int error, blksize; local
167 dp->blksize = SD_DEFAULT_BLKSIZE;
168 if ((blocks = sd_read_capacity(sd, &blksize)) == 0)
177 dp->blksize = blksize;
178 if (!sd_validate_blksize(dp->blksize))
179 dp->blksize
210 int error, blksize; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dfileio.cc226 LONGEST blksize; local
237 blksize = st->st_blksize;
239 blksize = 512;
241 host_to_fileio_ulong (blksize, fst->fst_blksize);
248 host_to_fileio_ulong (((LONGEST) st->st_size + blksize - 1)
249 / blksize,
/netbsd-current/sys/dev/pci/
H A Dgcscaudio.c695 void *addr, size_t size, int blksize, int blklen, int blkoff)
724 for (i = 0; size > 0; size -= blksize, i++) {
725 prdp[i].address = paddr + blksize * i + blkoff;
739 split_buffer_4ch(void *dst, void *src, int size, int blksize) argument
761 for (left = size; left > 0; left -= blksize) {
764 for (i = 0; i < blksize / sizeof(uint16_t) / 4; i++) {
774 for (i = 0; i < blksize / sizeof(uint16_t) / 2 / 2; i++) {
782 src = (char *)src + blksize;
783 dst = (char *)dst + blksize;
788 split_buffer_6ch(void *dst, void *src, int size, int blksize) argument
694 build_prdtables(struct gcscaudio_softc *sc, int prdidx, void *addr, size_t size, int blksize, int blklen, int blkoff) argument
905 gcscaudio_trigger_output(void *addr, void *start, void *end, int blksize, void (*intr)(void *), void *arg, const audio_params_t *param) argument
1095 gcscaudio_trigger_input(void *addr, void *start, void *end, int blksize, void (*intr)(void *), void *arg, const audio_params_t *param) argument
[all...]
H A Dautrivar.h56 u_int blksize; member in struct:autri_chstatus
/netbsd-current/bin/rcp/
H A Dutil.c149 allocbuf(BUF *bp, int fd, int blksize) argument
159 size = roundup(stb.st_blksize, blksize);
161 size = blksize;
/netbsd-current/sbin/fsck_ffs/
H A Dwapbl.c165 uint64_t addr = 0, count = 0, blksize = 0; local
192 blksize =
200 blksize =
220 &wapbl_replay, 0, addr, count, blksize);
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dfileio.cc279 LONGEST blksize; local
290 blksize = st->st_blksize;
292 blksize = 512;
294 host_to_fileio_ulong (blksize, fst->fst_blksize);
301 host_to_fileio_ulong (((LONGEST) st->st_size + blksize - 1)
302 / blksize,
/netbsd-current/sys/dev/isa/
H A Dad1848_isa.c564 int blksize,
592 blksize = (param->encoding == AUDIO_ENCODING_ADPCM) ? blksize / 4 - 1 :
593 (blksize * 8) / (param->precision * param->channels) - 1;
596 ad_write(sc, CS_LOWER_REC_CNT, blksize & 0xff);
597 ad_write(sc, CS_UPPER_REC_CNT, blksize >> 8);
599 ad_write(sc, SP_LOWER_BASE_COUNT, blksize & 0xff);
600 ad_write(sc, SP_UPPER_BASE_COUNT, blksize >> 8);
613 int blksize,
636 blksize
561 ad1848_isa_trigger_input( void *addr, void *start, void *end, int blksize, void (*intr)(void *), void *arg, const audio_params_t *param) argument
610 ad1848_isa_trigger_output( void *addr, void *start, void *end, int blksize, void (*intr)(void *), void *arg, const audio_params_t *param) argument
[all...]
H A Dessvar.h126 int blksize; /* current block size */ member in struct:ess_audio_channel
/netbsd-current/sbin/apmlabel/
H A Dapmlabel.c107 uint16_t blksize, partcnt; local
125 blksize = drvr->sbBlockSize;
130 if (lseek(sd, (i+1)*blksize, SEEK_SET) == -1) {
164 temp = (uint64_t)part->pmDataCnt * (uint64_t)blksize;
172 * (uint64_t)blksize;
/netbsd-current/crypto/external/bsd/libsaslc/dist/src/
H A Dmech_digestmd5.c197 size_t blksize; /* block size for cipher */ member in struct:cipher_context_t
1014 ssize_t blksize; /* block size for cipher */ member in struct:cipher_ctx_tbl_s
1018 /* eval evp_type keylen blksize ivlen */
1072 ctx->blksize = ctp->blksize;
1140 size_t blksize; local
1145 blksize = ctx->blksize;
1146 if (blksize == 1)
1149 return blksize
1294 size_t blksize, buflen, padlen; local
2079 maxpayload(size_t maxbuf, size_t blksize) argument
2108 size_t blksize; local
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/digests/
H A Dsha3_prov.c231 #define PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags) \
232 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
241 #define PROV_FUNC_SHA3_DIGEST(name, bitlen, blksize, dgstsize, flags) \
242 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
246 #define PROV_FUNC_SHAKE_DIGEST(name, bitlen, blksize, dgstsize, flags) \
247 PROV_FUNC_SHA3_DIGEST_COMMON(name, bitlen, blksize, dgstsize, flags), \
/netbsd-current/sys/dev/pad/
H A Dpad.c281 pad_add_block(struct pad_softc *sc, uint8_t *blk, int blksize) argument
285 KASSERT(blksize >= 0);
288 if (blksize > PAD_BUFSIZE ||
289 sc->sc_buflen > PAD_BUFSIZE - (unsigned)blksize)
293 if (sc->sc_wpos + blksize <= PAD_BUFSIZE) {
294 flen = blksize;
298 tlen = blksize - flen;
301 sc->sc_wpos = foff + blksize;
313 sc->sc_buflen += blksize;
322 int l, blksize, erro local
573 pad_start_output(void *opaque, void *block, int blksize, void (*intr)(void *), void *intrarg) argument
[all...]
/netbsd-current/sys/arch/amiga/dev/
H A Dzz9k_ax.c96 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, argument
379 zzax_start_input(void *hdl, void *block, int blksize, argument
497 zzax_trigger_output(void *hdl, void *start, void *end, int blksize, argument
505 zzax_trigger_input(void *hdl, void *start, void *end, int blksize, argument

Completed in 421 milliseconds

12345