/haiku/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | util.h | 35 // generic macro for rounding, can only be used for power of 2 blocksize 36 #define ROUNDUP(size, blocksize) (((size) + (blocksize) - 1) & ~((blocksize) - 1))
|
/haiku/src/add-ons/kernel/drivers/disk/norflash/ |
H A D | norflash.cpp | 41 size_t blocksize; member in struct:nor_driver_info 59 info->blocksize = 128 * 1024; 60 info->totalsize = (SIZE_IN_BLOCKS - HIDDEN_BLOCKS) * info->blocksize; 66 info->mapped += HIDDEN_BLOCKS * info->blocksize; 121 deviceGeometry->bytes_per_sector = info->blocksize; 122 deviceGeometry->sectors_per_track = info->totalsize / info->blocksize; 148 position += HIDDEN_BLOCKS * info->blocksize;
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 460 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 D | toscalls.h | 777 #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/src/apps/drivesetup/ |
H A D | PartitionList.cpp | 341 char blocksize[16]; local 342 snprintf(blocksize, sizeof(blocksize), "%" B_PRIu32, 344 SetField(new BStringField(blocksize), kBlockSizeColumn);
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse.h | 455 int (*bmap) (const char *, size_t blocksize, uint64_t *idx); 883 int fuse_fs_bmap(struct fuse_fs *fs, const char *path, size_t blocksize,
|
H A D | fuse_lowlevel.h | 863 * @param blocksize unit of block index 866 void (*bmap) (fuse_req_t req, fuse_ino_t ino, size_t blocksize,
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | fuse_fs.cpp | 336 fuse_fs_bmap(struct fuse_fs* fs, const char* path, size_t blocksize, argument 341 return fs->ops.bmap(path, blocksize, idx);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malohal.c | 444 uint32_t blocksize; local 459 for (count = 0; count < fw->datasize; count += blocksize) { 460 blocksize = MIN(256, fw->datasize - count); 463 error = malo_hal_send_main(mh, fp, blocksize, seqnum++,
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | mwlhal.c | 2539 uint32_t blocksize, nbytes, fmsize; local 2607 blocksize = RD4(mh, MACREG_REG_SCRATCH); 2608 if (blocksize == 0) /* download complete */ 2610 if (blocksize > 0x00000c00) { 2614 if ((blocksize & 0x1) == 0) { 2628 blocksize &= ~0x1; 2630 if (blocksize > ep - fp) { 2632 blocksize = ep - fp; 2634 nbytes = blocksize;
|