/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...] |
stvar.h | 65 int blksize; member in struct:modes 101 int blksize; /* blksize we are using */ member in struct:st_softc
|
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) 1454 *blksize = _4btol(datap->data.length) 1507 int error, blksize; local in function:sd_get_simplifiedparms 1558 int error, blksize; local in function:sd_get_capacity [all...] |
/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 in function:aica_main 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 in function:ext2fs_htree_create_index 491 uint32_t blksize, blknum; local in function:ext2fs_htree_add_entry [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 in function:sd_get_simplifiedparms 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 in function:sd_get_capacity [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 in function:sd_get_simplifiedparms 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 in function:sd_get_capacity [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...] |
autrivar.h | 56 u_int blksize; member in struct:autri_chstatus
|
esavar.h | 76 int blksize; member in struct:esa_channel
|
ydsvar.h | 82 u_int blksize; member in struct:yds_softc::__anon0e0616430108
|
/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 in function:check_wapbl 192 blksize = 200 blksize = 220 &wapbl_replay, 0, addr, count, 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...] |
essvar.h | 126 int blksize; /* current block size */ member in struct:ess_audio_channel
|
/src/sbin/apmlabel/ |
apmlabel.c | 107 uint16_t blksize, partcnt; local in function:getparts 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;
|
/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 in function:pad_get_block [all...] |
/src/sys/dev/ic/ |
am7930var.h | 15 uint blksize; member in struct:am7930_buf
|
/src/sys/arch/sgimips/hpc/ |
haltwo.c | 209 struct haltwo_dmabuf *dmabuf, size_t len, int blksize, 217 KASSERT(len % blksize == 0); 219 next_intr = blksize; 227 * blksize bytes */ 237 next_intr = blksize; 659 haltwo_trigger_output(void *v, void *start, void *end, int blksize, 668 DPRINTF(("haltwo_trigger_output start = %p end = %p blksize = %d" 669 " param = %p\n", start, end, blksize, param)); 691 blksize, intr, intrarg); 725 haltwo_trigger_input(void *v, void *start, void *end, int blksize, [all...] |