Home
last modified time | relevance | path

Searched refs:blksize (Results 1 – 17 of 17) sorted by relevance

/haiku/src/system/libroot/posix/malloc/hoard2/
H A Dsuperblock.cpp57 const int blksize = hoardHeap::align(sizeof(block) in superblock() local
61 assert((blksize & hoardHeap::ALIGNMENT_MASK) == 0); in superblock()
75 b = (block *)((char *)b + blksize); in superblock()
80 assert((unsigned long)b <= hoardHeap::align(sizeof(superblock) + blksize * _numBlocks) in superblock()
109 size_t blksize = hoardHeap::align(sizeof(block) in makeSuperblock() local
111 moreMemory = hoardHeap::align(sizeof(superblock) + blksize); in makeSuperblock()
H A Dheap.cpp183 const int blksize = align(sizeof(block) + s); in insertSuperblock()
196 hoardUnsbrk(sb, align(sizeof(superblock) + blksize)); in insertSuperblock()
346 const int blksize = align(sizeof(block) + s); in freeBlock() local
358 hoardUnsbrk(sb, align(sizeof(superblock) + blksize)); in freeBlock()
383 const int blksize = align(sizeof(block) + s); in freeBlock()
396 hoardUnsbrk(sb, align(sizeof(superblock) + blksize)); in freeBlock()
H A Dheap.h424 const int blksize = align(sizeof(block) + s); in numBlocks() local
426 int nb = max_c(1, ((SUPERBLOCK_SIZE - sizeof(superblock)) / blksize)); in numBlocks()
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Des1370.c134 stream->blksize = stream->bufframes * frame_size; in es1370_stream_set_audioparms()
157 …es1370_reg_write_32(&card->config, ES1370_REG_ADC_FRAMECNT & 0xff, ((stream->blksize * stream->buf… in es1370_stream_commit_parms()
162 …es1370_reg_write_32(&card->config, ES1370_REG_DAC2_FRAMECNT & 0xff, ((stream->blksize * stream->bu… in es1370_stream_commit_parms()
165 ((stream->blksize * stream->bufcount) >> 2) - 1, in es1370_stream_commit_parms()
166 (stream->blksize / frame_size) - 1)); in es1370_stream_commit_parms()
202 return (cnt << 2) / stream->blksize; in es1370_stream_curaddr()
289 stream->blksize = 0; in es1370_stream_new()
H A Des1370.h74 uint16 blksize; /* in samples */ member
/haiku/src/add-ons/kernel/file_systems/fat/bsd/kern/
H A Dvfs_subr.c129 vtruncbuf(struct vnode* vp, off_t length, int blksize) in vtruncbuf() argument
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dauvia.c154 stream->blksize = stream->bufframes * frame_size; in auvia_stream_set_audioparms()
171 page[2 * i] = stream->buffer->phy_base + i * stream->blksize; in auvia_stream_commit_parms()
172 page[2 * i + 1] = AUVIA_DMAOP_FLAG | stream->blksize; in auvia_stream_commit_parms()
314 stream->blksize = 0; in auvia_stream_new()
H A Dauvia.h117 uint16 blksize; /* in samples */ member
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Decho.h80 uint16 blksize; /* in samples */ member
H A Decho.cpp259 stream->blksize = stream->bufframes * frame_size; in echo_stream_set_audioparms()
271 i * stream->blksize, stream->blksize, 0, TRUE, dwNumFreeEntries); in echo_stream_set_audioparms()
308 return (addr / stream->blksize) % stream->blkmod; in echo_stream_curaddr()
366 stream->blksize = 0; in echo_stream_new()
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Demuxki.h273 uint16 blksize;/* in samples */ member
405 uint32 bufsize, uint16 blksize);
H A Demuxki.c1124 uint32 bufsize, uint16 blksize) in emuxki_voice_set_bufparms() argument
1139 voice->blkmod = bufsize / blksize; in emuxki_voice_set_bufparms()
1140 if (bufsize % blksize) /* This should not happen */ in emuxki_voice_set_bufparms()
1145 voice->blksize = blksize / sample_size; in emuxki_voice_set_bufparms()
1155 voice->blksize / voice->sample_rate / 2; in emuxki_voice_set_bufparms()
1159 voice->blksize = blksize; in emuxki_voice_set_bufparms()
1451 voice->blksize = 0; in emuxki_voice_new()
1959 voice->blksize; in emuxki_int()
2000 voice->blksize; in emuxki_int()
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dauich.h128 uint16 blksize; /* in samples */ member
H A Dauich.c183 stream->blksize = stream->bufframes * frame_size; in auich_stream_set_audioparms()
217 + (i % stream->bufcount) * stream->blksize; in auich_stream_commit_parms()
218 page[2 * i + 1] = AUICH_DMAF_IOC | (stream->blksize in auich_stream_commit_parms()
330 stream->blksize = 0; in auich_stream_new()
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/
H A Dvnode.h298 int vtruncbuf(struct vnode* vp, off_t length, int blksize);
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A Dufs2.h648 #define blksize(fs, ip, lbn) \ macro
/haiku/src/bin/network/ftpd/
H A Dftpd.c2102 send_data(FILE *instr, FILE *outstr, size_t blksize, off_t filesize, int isreg) in send_data() argument
2206 if ((buf = malloc(blksize)) == NULL) { in send_data()
2216 cnt = read(filefd, buf, blksize); in send_data()