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

12345

/src/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...]
/src/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 Dsd.c339 (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) argument
1458 *blksize
1501 int error, blksize; local in function:sd_get_simplifiedparms
1552 int error, blksize; local in function:sd_get_capacity
[all...]
H A Dstvar.h65 int blksize; member in struct:modes
101 int blksize; /* blksize we are using */ member in struct:st_softc
/src/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)
/src/sys/arch/dreamcast/dev/microcode/
H A Daica_arm.c185 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/
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 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/
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 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
210 int error, blksize; local in function:sd_get_capacity
[all...]
/src/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 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
210 int error, blksize; local in function:sd_get_capacity
[all...]
/src/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 Dydsvar.h82 u_int blksize; member in struct:yds_softc::__anon86af0ca90108
H A Dautrivar.h56 u_int blksize; member in struct:autri_chstatus
H A Desavar.h76 int blksize; member in struct:esa_channel
/src/bin/rcp/
H A Dutil.c149 allocbuf(BUF *bp, int fd, int blksize) argument
159 size = roundup(stb.st_blksize, blksize);
161 size = blksize;
/src/sbin/fsck_ffs/
H A Dwapbl.c165 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/
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
/src/sbin/apmlabel/
H A Dapmlabel.c108 uint16_t blksize, partcnt; local in function:getparts
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/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
/src/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 in function:pad_get_block
573 pad_start_output(void * opaque,void * block,int blksize,void (* intr)(void *),void * intrarg) argument
[all...]
/src/sys/dev/ic/
H A Dam7930var.h15 uint blksize; member in struct:am7930_buf
/src/sys/arch/sgimips/hpc/
H A Dhaltwo.c209 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, argument
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, argument
208 haltwo_setup_dma(struct haltwo_softc * sc,struct haltwo_codec * codec,struct haltwo_dmabuf * dmabuf,size_t len,int blksize,void (* intr)(void *),void * intrarg) argument
[all...]

Completed in 25 milliseconds

12345