HomeSort by: relevance | last modified time | path
    Searched refs:blksize (Results 1 - 25 of 127) sorted by relevancy

1 2 3 4 5 6

  /src/usr.bin/tftp/
extern.h 44 extern size_t blksize;
tftp.c 129 } 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+4
    [all...]
  /src/sys/dev/scsipi/
cdvar.h 41 u_int blksize; member in struct:cd_softc::cd_parms
sdvar.h 70 u_long blksize; /* number of bytes/sector */ member in struct:disk_parms
st.c 521 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 = st->media_blksize
    [all...]
sd.c 339 (u_int64_t)dp->disksize * dp->blksize);
342 pbuf, dp->cyls, dp->heads, dp->sectors, dp->blksize,
345 aprint_normal(" (%lu bytes/physsect", dp->blksize <<
720 if (sd->params.blksize == DEV_BSIZE)
723 nblks = howmany(bp->b_bcount, sd->params.blksize);
1057 bno = (pos + sd->params.blksize - 1) / sd->params.blksize;
1058 size = ((pos + len) / sd->params.blksize) - bno;
1410 sd_read_capacity(struct sd_softc *sd, int *blksize, int flags)
1458 *blksize = _4btol(datap->data16.length)
1501 int error, blksize; local
1552 int error, blksize; local
    [all...]
stvar.h 65 int blksize; member in struct:modes
101 int blksize; /* blksize we are using */ member in struct:st_softc
  /src/crypto/external/apache2/openssl/dist/providers/implementations/include/prov/
digestcommon.h 26 #define PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
30 return ossl_digest_default_get_params(params, blksize, dgstsize, flags); \
53 name, CTX, blksize, dgstsize, flags, upd, fin) \
82 PROV_FUNC_DIGEST_GET_PARAM(name, blksize, dgstsize, flags) \
100 name, CTX, blksize, dgstsize, flags, init, upd, fin) \
107 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
113 name, CTX, blksize, dgstsize, flags, init, upd, fin, \
122 PROV_DISPATCH_FUNC_DIGEST_CONSTRUCT_START(name, CTX, blksize, dgstsize, flags, \
  /src/crypto/external/bsd/openssl/dist/providers/implementations/include/prov/
digestcommon.h 26 #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, \
  /src/sys/fs/filecorefs/
filecore_extern.h 84 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)
  /src/sys/arch/dreamcast/dev/microcode/
aica_arm.c 185 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...]
  /src/sys/ufs/ext2fs/
ext2fs_htree.c 153 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,
255 new_entry->e2d_reclen = block + blksize - (char *)last_entry;
263 ext2fs_htree_split_dirblock(char *block1, char *block2, uint32_t blksize,
280 ((char *)block2 + blksize);
291 while ((char *)ep < block1 + blksize) {
392 uint32_t blksize, dirlen, split_hash; local
491 uint32_t blksize, blknum; local
    [all...]
  /src/sys/arch/bebox/stand/boot/
sd.c 89 sd_read_capacity(struct sd_softc *sd, int *blksize)
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 = _2btol(scsipi_sense.lbs)
210 int error, blksize; local
    [all...]
  /src/sys/arch/prep/stand/boot/
sd.c 89 sd_read_capacity(struct sd_softc *sd, int *blksize)
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 = _2btol(scsipi_sense.lbs)
210 int error, blksize; local
    [all...]
  /src/sys/dev/pci/
gcscaudio.c 695 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)
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)
    [all...]
  /src/bin/rcp/
util.c 149 allocbuf(BUF *bp, int fd, int blksize)
159 size = roundup(stb.st_blksize, blksize);
161 size = blksize;
  /src/sbin/fsck_ffs/
wapbl.c 165 uint64_t addr = 0, count = 0, blksize = 0; local
192 blksize =
200 blksize =
220 &wapbl_replay, 0, addr, count, blksize);
  /src/external/gpl3/gdb.old/dist/gdbsupport/
fileio.cc 278 LONGEST blksize; local
289 blksize = st->st_blksize;
291 blksize = 512;
293 host_to_fileio_ulong (blksize, fst->fst_blksize);
300 host_to_fileio_ulong (((LONGEST) st->st_size + blksize - 1)
301 / blksize,
  /src/external/gpl3/gdb/dist/gdbsupport/
fileio.cc 278 LONGEST blksize; local
289 blksize = st->st_blksize;
291 blksize = 512;
293 host_to_fileio_ulong (blksize, fst->fst_blksize);
300 host_to_fileio_ulong (((LONGEST) st->st_size + blksize - 1)
301 / blksize,
  /src/sys/dev/isa/
ad1848_isa.c 564 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 = (param->encoding == AUDIO_ENCODING_ADPCM) ? blksize / 4 - 1
    [all...]
  /src/sbin/apmlabel/
apmlabel.c 108 uint16_t blksize, partcnt; local
126 blksize = drvr->sbBlockSize;
131 if (lseek(sd, (i+1)*blksize, SEEK_SET) == -1) {
165 temp = (uint64_t)part->pmDataCnt * (uint64_t)blksize;
173 * (uint64_t)blksize;
  /src/crypto/external/bsd/libsaslc/dist/src/
mech_digestmd5.c 194 size_t blksize; /* block size for cipher */ member in struct:cipher_context_t
1011 ssize_t blksize; /* block size for cipher */ member in struct:cipher_ctx_tbl_s
1015 /* eval evp_type keylen blksize ivlen */
1069 ctx->blksize = ctp->blksize;
1137 size_t blksize; local
1142 blksize = ctx->blksize;
1143 if (blksize == 1)
1146 return blksize - ((inlen + 10) % blksize)
1291 size_t blksize, buflen, padlen; local
2105 size_t blksize; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/providers/implementations/digests/
sha3_prov.c 231 #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), \
  /src/sys/arch/amiga/dev/
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,
379 zzax_start_input(void *hdl, void *block, int blksize,
497 zzax_trigger_output(void *hdl, void *start, void *end, int blksize,
505 zzax_trigger_input(void *hdl, void *start, void *end, int blksize,
  /src/sys/dev/pad/
pad.c 281 pad_add_block(struct pad_softc *sc, uint8_t *blk, int blksize)
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, error local
    [all...]

Completed in 43 milliseconds

1 2 3 4 5 6