Home
last modified time | relevance | path

Searched refs:blocksize (Results 26 – 50 of 91) sorted by relevance

1234

/dragonfly/sys/bus/u4b/audio/
H A Duaudio.h46 uint32_t blocksize);
48 uint32_t blocksize, uint32_t blockcount);
/dragonfly/sys/sys/
H A Dkerneldump.h79 uint32_t blocksize; member
118 u_int blocksize; /* Size of block in bytes. */ member
/dragonfly/sys/opencrypto/
H A Dxform.h40 u_int16_t blocksize; member
54 u_int16_t blocksize; member
H A Dcryptodev.c410 if (cop->len == 0 || (cop->len % cse->txform->blocksize) != 0) in cryptodev_op()
493 if ((error = copyin(cop->iv, cse->tmp_iv, cse->txform->blocksize))) in cryptodev_op()
495 bcopy(cse->tmp_iv, crde->crd_iv, cse->txform->blocksize); in cryptodev_op()
502 crde->crd_skip = cse->txform->blocksize; in cryptodev_op()
503 crde->crd_len -= cse->txform->blocksize; in cryptodev_op()
/dragonfly/usr.sbin/quot/
H A Dquot.c60 static long blocksize; variable
93 #define SIZE(n) ((int)(((quad_t)(n) * 512 + blocksize - 1)/blocksize))
537 header = getbsize(&headerlen,&blocksize); in main()
559 blocksize = 1024; in main()
/dragonfly/test/stress/stress2/misc/
H A Dnewfs4.sh55 blocksize="-b 65536"
59 newfs $blocksize $opt md${mdstart}${part} > /dev/null
/dragonfly/stand/lib/
H A Dhammer2.c142 blocksize(hammer2_blockref_t *bref) in blocksize() function
308 count = blocksize(base) / sizeof(hammer2_blockref_t); in h2lookup()
330 if (blocksize(base) && h2read(hfs, &media, in h2lookup()
331 blocksize(base), in h2lookup()
411 dev_bsize = blocksize(&best); in h2lookup()
426 rc = blocksize(&best); in h2lookup()
/dragonfly/sys/dev/sound/pci/
H A Dfm801.c420 fm801ch_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) in fm801ch_setblocksize() argument
431 fm801->play_blksize = blocksize; in fm801ch_setblocksize()
434 fm801->rec_blksize = blocksize; in fm801ch_setblocksize()
436 DPRINT("fm801ch_setblocksize %d (dir %d)\n",blocksize, ch->dir); in fm801ch_setblocksize()
438 return blocksize; in fm801ch_setblocksize()
H A Dt4dwave.c543 trpchan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) in trpchan_setblocksize() argument
547 sndbuf_resize(ch->buffer, 2, blocksize); in trpchan_setblocksize()
548 return blocksize; in trpchan_setblocksize()
664 trrchan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) in trrchan_setblocksize() argument
668 sndbuf_resize(ch->buffer, 2, blocksize); in trrchan_setblocksize()
670 return blocksize; in trrchan_setblocksize()
H A Dals4000.c262 alschan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) in alschan_setblocksize() argument
267 if (blocksize > sc->bufsz / 2) { in alschan_setblocksize()
268 blocksize = sc->bufsz / 2; in alschan_setblocksize()
270 sndbuf_resize(ch->buffer, 2, blocksize); in alschan_setblocksize()
271 return blocksize; in alschan_setblocksize()
H A Demu10kx-pcm.c768 emupchan_setblocksize(kobj_t obj __unused, void *c_devinfo, uint32_t blocksize) in emupchan_setblocksize() argument
773 if (blocksize > ch->pcm->bufsz) in emupchan_setblocksize()
774 blocksize = ch->pcm->bufsz; in emupchan_setblocksize()
776 ch->blksz = blocksize; in emupchan_setblocksize()
922 emurchan_setblocksize(kobj_t obj __unused, void *c_devinfo, uint32_t blocksize) in emurchan_setblocksize() argument
927 ch->blksz = blocksize; in emurchan_setblocksize()
1086 emufxrchan_setblocksize(kobj_t obj __unused, void *c_devinfo, uint32_t blocksize) in emufxrchan_setblocksize() argument
1090 ch->blksz = blocksize; in emufxrchan_setblocksize()
H A Dich.c481 ichchan_setblocksize(kobj_t obj, void *data, uint32_t blocksize) in ichchan_setblocksize() argument
494 blocksize = sndbuf_getmaxsize(ch->buffer) / ch->blkcnt; in ichchan_setblocksize()
496 if (blocksize < ICH_MIN_BLKSZ) in ichchan_setblocksize()
497 blocksize = ICH_MIN_BLKSZ; in ichchan_setblocksize()
498 blocksize &= ~(ICH_MIN_BLKSZ - 1); in ichchan_setblocksize()
499 ch->blksz = blocksize; in ichchan_setblocksize()
H A Dcmi.c465 cmichan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) in cmichan_setblocksize() argument
471 if (blocksize > sc->bufsz / CMI_INTR_PER_BUFFER) { in cmichan_setblocksize()
472 blocksize = sc->bufsz / CMI_INTR_PER_BUFFER; in cmichan_setblocksize()
474 sndbuf_resize(ch->buffer, CMI_INTR_PER_BUFFER, blocksize); in cmichan_setblocksize()
476 return blocksize; in cmichan_setblocksize()
H A Dvibes.c220 svchan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize) in svchan_setblocksize() argument
226 RANGE(blocksize, SV_MIN_BLKSZ, sc->bufsz / SV_INTR_PER_BUFFER); in svchan_setblocksize()
227 sndbuf_resize(ch->buffer, SV_INTR_PER_BUFFER, blocksize); in svchan_setblocksize()
228 DEB(kprintf("svchan_setblocksize: %d\n", blocksize)); in svchan_setblocksize()
229 return blocksize; in svchan_setblocksize()
/dragonfly/bin/ls/
H A Dprint.c139 printf("total %lu\n", howmany(dp->btotal, blocksize)); in printlong()
150 dp->s_block, howmany(sp->st_blocks, blocksize)); in printlong()
278 printf("total %lu\n", howmany(dp->btotal, blocksize)); in printcol()
331 (int)sizefield, howmany(sp->st_blocks, blocksize)); in printaname()
H A Dls.c91 long blocksize; /* block size units */ variable
401 blocksize = 2; in main()
403 getbsize(&notused, &blocksize); in main()
404 blocksize /= 512; in main()
H A Dls.h38 extern long blocksize; /* block size units */
/dragonfly/tools/tools/crypto/
H A Dcryptotest.c116 int blocksize; member
437 if (size % alg->blocksize) { in runtests()
441 size, alg->name, alg->blocksize); in runtests()
581 sizes[nsizes++] = alg->blocksize; in main()
/dragonfly/sys/dev/drm/radeon/
H A Dr600_cs.c99 unsigned blocksize; member
208 return color_formats_table[format].blocksize; in r600_fmt_get_blocksize()
245 u32 blocksize; member
279 (tile_height * values->blocksize * values->nsamples))); in r600_get_array_mode_alignment()
287 (values->blocksize * values->nsamples * tile_width))); in r600_get_array_mode_alignment()
386 array_check.blocksize = r600_fmt_get_blocksize(format); in r600_cs_track_validate_cb()
582 array_check.blocksize = bpe; in r600_cs_track_validate_db()
1416 unsigned blocksize; in r600_texture_size() local
1421 blocksize = r600_fmt_get_blocksize(format); in r600_texture_size()
1438 size = nbx * nby * blocksize * nsamples; in r600_texture_size()
[all …]
/dragonfly/sys/dev/sound/pcm/
H A Dchannel_if.m83 channel_nosetfragments(kobj_t obj, void *data, u_int32_t blocksize, u_int32_t blockcount)
140 u_int32_t blocksize;
146 u_int32_t blocksize;
/dragonfly/contrib/gdb-7/gdb/
H A Dmemattr.h73 int blocksize; member
/dragonfly/usr.bin/hexdump/
H A Dhexdump.h71 extern int blocksize; /* data block size */
/dragonfly/usr.sbin/pstat/
H A Dpstat.c113 long blocksize; variable
936 #define CONVERT(v) ((long)((quad_t)(v) * pagesize / blocksize)) in swapmode()
943 header = getbsize(&hlen, &blocksize); in swapmode()
972 blocksize = 1024 * 1024; in swapmode()
/dragonfly/sys/dev/raid/vinum/
H A Dvinumstate.c875 if (data->blocksize) in start_object()
876 SD[objindex].revive_blocksize = data->blocksize; in start_object()
884 if (data->blocksize) in start_object()
885 SD[objindex].init_blocksize = data->blocksize; in start_object()
H A Dvinumvar.h449 int blocksize; /* size of fs blocks */ member
619 int blocksize; /* logical block size */ member

1234