Searched refs:blocksize (Results 1 - 18 of 18) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm440x/
H A Dmempool.h32 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm570x/
H A Dmempool.h32 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dutil.h33 // generic macro for rounding, can only be used for power of 2 blocksize
34 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/
H A Dutil.h29 // generic macro for rounding, can only be used for power of 2 blocksize
30 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
/haiku-fatelf/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp38 size_t blocksize; member in struct:nor_driver_info
56 info->blocksize = 128 * 1024;
57 info->totalsize = info->blocksize * 256;
115 deviceGeometry->bytes_per_sector = info->blocksize;
116 deviceGeometry->sectors_per_track = info->totalsize / info->blocksize;
/haiku-fatelf/src/bin/gzip/
H A Dunlzh.c92 local unsigned blocksize; variable
277 if (blocksize == 0) {
278 blocksize = getbits(16);
279 if (blocksize == 0) {
286 blocksize--;
320 init_getbits(); blocksize = 0;
/haiku-fatelf/src/add-ons/translators/icns/libicns/
H A Dicns_jp2.c829 icns_uint32_t blocksize = 0; local
901 blocksize = bytes[3]|bytes[2]<<8|bytes[1]<<16|bytes[0]<<24;
909 offset = offset + (blocksize - 4);
921 headersize = blocksize-8;
925 blocksize += 34;
926 bytes[0] = blocksize >> 24;
927 bytes[1] = blocksize >> 16;
928 bytes[2] = blocksize >> 8;
929 bytes[3] = blocksize;
936 blocksize
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Ddd.c90 /* Default input and output blocksize. */
99 /* Maximum blocksize for the given SLOP.
1006 size_t blocksize = 0; local
1054 blocksize = n;
1078 if (blocksize)
1079 input_blocksize = output_blocksize = blocksize;
1281 skip (int fdesc, char const *file, uintmax_t records, size_t blocksize, argument
1284 uintmax_t offset = records * blocksize;
1291 if (records <= OFF_T_MAX / blocksize
1304 records = ( offset - st.st_size ) / blocksize;
[all...]
/haiku-fatelf/src/system/boot/platform/atari_m68k/
H A Ddevices.cpp460 uint32 blocksize; local
496 blocksize = 0;
507 err = XHInqTarget(major, minor, &blocksize, &devflags, product);
518 if (blocksize == 0) {
519 dprintf("XHDI: blocksize for (%d,%d) is 0!\n", major, minor);
521 //dprintf("XHDI: (%d,%d) blocksize1 %ld blocksize2 %ld\n", major, minor, blocksize, blocksize2);
523 dprintf("XHDI(%d,%d): blksize %d, blocks %d, flags 0x%08lx, '%s'\n", major, minor, blocksize, blocks, devflags, product);
1004 uint32 blocksize; local
1016 err = XHGetCapacity(major, minor, &blocks, &blocksize);
H A Dtoscalls.h777 #define XHInqTarget(major, minor, blocksize, flags, pname) xhdicallWWPPP(1, (uint16)major, (uint16)minor, (uint32 *)(blocksize), (uint32 *)flags, (char *)pname)
790 #define XHGetCapacity(major, minor, blocks, blocksize) xhdicallWWPP(14, (uint16)major, (uint16)minor, (uint32 *)blocks, (uint32 *)blocksize)
/haiku-fatelf/headers/private/userlandfs/fuse/
H A Dfuse.h425 int (*bmap) (const char *, size_t blocksize, uint64_t *idx);
656 int fuse_fs_bmap(struct fuse_fs *fs, const char *path, size_t blocksize,
H A Dfuse_lowlevel.h805 * @param blocksize unit of block index
808 void (*bmap) (fuse_req_t req, fuse_ino_t ino, size_t blocksize,
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_fs.cpp336 fuse_fs_bmap(struct fuse_fs* fs, const char* path, size_t blocksize, argument
341 return fs->ops.bmap(path, blocksize, idx);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malohal.c448 uint32_t blocksize; local
463 for (count = 0; count < fw->datasize; count += blocksize) {
464 blocksize = MIN(256, fw->datasize - count);
467 error = malo_hal_send_main(mh, fp, blocksize, seqnum++,
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.c2554 uint32_t blocksize, nbytes, fmsize; local
2622 blocksize = RD4(mh, MACREG_REG_SCRATCH);
2623 if (blocksize == 0) /* download complete */
2625 if (blocksize > 0x00000c00) {
2629 if ((blocksize & 0x1) == 0) {
2643 blocksize &= ~0x1;
2645 if (blocksize > ep - fp) {
2647 blocksize = ep - fp;
2649 nbytes = blocksize;
/haiku-fatelf/src/bin/findutils/find/
H A Ddefs.h213 int blocksize; member in struct:size_val
H A Dpred.c85 /* Get or fake the disk device blocksize.
96 ST_BLKSIZE: Preferred I/O blocksize for the file, in bytes.
1345 f_val = ((stat_buf->st_size / pred_ptr->args.size.blocksize)
1346 + (stat_buf->st_size % pred_ptr->args.size.blocksize != 0));
H A Dparser.c1581 our_pred->args.size.blocksize = blksize;

Completed in 359 milliseconds