/haiku/headers/private/userlandfs/legacy/ |
H A D | cache.h | 71 int max_blocks; member 89 extern _IMPEXP_KERNEL int init_block_cache(int max_blocks, int flags); 96 extern _IMPEXP_KERNEL int init_cache_for_device(int fd, off_t max_blocks);
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | fs_cache.h | 19 extern _IMPEXP_KERNEL int beos_init_block_cache(int max_blocks, int flags); 28 off_t max_blocks);
|
H A D | beos_kernel_emu.cpp | 221 init_block_cache(int max_blocks, int flags) in init_block_cache() argument 223 return beos_init_block_cache(max_blocks, flags); in init_block_cache() 251 init_cache_for_device(int fd, off_t max_blocks) in init_cache_for_device() argument 253 return beos_init_cache_for_device(fd, max_blocks); in init_cache_for_device()
|
H A D | fs_cache_priv.h | 69 int max_blocks; member
|
H A D | fs_cache.c | 412 beos_init_block_cache(int max_blocks, int flags) in beos_init_block_cache() argument 424 bc.max_blocks = max_blocks; in beos_init_block_cache() 541 bc.max_blocks, &bc.ht); in dump_cache_list() 1123 beos_init_cache_for_device(int fd, fs_off_t max_blocks) in beos_init_cache_for_device() argument 1136 max_device_blocks[fd] = max_blocks; in beos_init_cache_for_device() 1641 for(cur=0; bc.cur_blocks < bc.max_blocks && cur < num_needed; cur++) { in get_ents()
|
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | busses.cpp | 200 &bus->dma_params.max_blocks, true) != B_OK) in scsi_init_bus() 201 bus->dma_params.max_blocks = 0xffffffff; in scsi_init_bus() 239 if (bus->dma_params.max_blocks < 1 || bus->dma_params.max_sg_blocks < 1) { in scsi_init_bus() 241 B_PRIu32 ") must be at least 1", bus->dma_params.max_blocks, in scsi_init_bus()
|
H A D | devices.cpp | 92 uint32 orig_max_blocks, max_blocks; in scsi_register_device() local 98 target_id, &is_atapi, &manual_autosense, &max_blocks); in scsi_register_device() 109 max_blocks = std::min(max_blocks, orig_max_blocks); in scsi_register_device() 134 { B_DMA_MAX_TRANSFER_BLOCKS, B_UINT32_TYPE, { .ui32 = max_blocks }}, in scsi_register_device()
|
H A D | scsi_internal.h | 77 uint32 max_blocks; member
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660_identify.h | 40 off_t max_blocks; member
|
H A D | iso9660_identify.cpp | 436 info->max_blocks = B_LENDIAN_TO_HOST_INT32(primary->set_size); in iso9660_fs_identify()
|
H A D | kernel_interface.cpp | 116 partition->content_size = ISO_PVD_SIZE * info->max_blocks; in fs_scan_partition()
|
/haiku/src/add-ons/kernel/busses/scsi/virtio/ |
H A D | virtio_scsi.cpp | 209 uint32 max_blocks = 0x10000; in virtio_scsi_register_device() local 211 max_blocks = config.max_sectors; in virtio_scsi_register_device() 222 { B_DMA_MAX_SEGMENT_BLOCKS, B_UINT32_TYPE, { .ui32 = max_blocks }}, in virtio_scsi_register_device()
|
/haiku/src/tools/fs_shell/ |
H A D | block_cache.cpp | 106 fssh_off_t max_blocks; member 476 max_blocks(numBlocks), in block_cache() 699 if (blockNumber < 0 || blockNumber >= cache->max_blocks) { in put_cached_block() 701 " (max %" FSSH_B_PRIdOFF ")", blockNumber, cache->max_blocks - 1); in put_cached_block() 723 if (blockNumber < 0 || blockNumber >= cache->max_blocks) { in get_cached_block() 725 " (max %" FSSH_B_PRIdOFF ")", blockNumber, cache->max_blocks - 1); in get_cached_block() 782 if (blockNumber < 0 || blockNumber >= cache->max_blocks) { in get_writable_cached_block() 785 cache->max_blocks - 1); in get_writable_cached_block() 1572 if (blockNumber < 0 || blockNumber >= cache->max_blocks) { in fssh_block_cache_sync_etc() 1574 " (max %" FSSH_B_PRIdOFF ")", blockNumber, cache->max_blocks - 1); in fssh_block_cache_sync_etc()
|
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 221 off_t max_blocks; member 1493 if (blockNumIter < 0 || blockNumIter >= fCache->max_blocks) { in Allocate() 1495 B_PRIdOFF ")", blockNumIter, fCache->max_blocks - 1); in Allocate() 1643 max_blocks(numBlocks), in block_cache() 2113 if (blockNumber < 0 || blockNumber >= cache->max_blocks) { in put_cached_block() 2115 blockNumber, cache->max_blocks - 1); in put_cached_block() 2144 if (blockNumber < 0 || blockNumber >= cache->max_blocks) { in get_cached_block() 2146 blockNumber, cache->max_blocks - 1); in get_cached_block() 2224 if (blockNumber < 0 || blockNumber >= cache->max_blocks) { in get_writable_cached_block() 2226 blockNumber, cache->max_blocks - 1); in get_writable_cached_block() [all …]
|
/haiku/headers/os/drivers/bus/ |
H A D | SCSI.h | 450 uint32 *max_blocks ); // maximum number of blocks per transfer if > 0;
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | usb_scsi.c | 1151 …s(scsi_sim_cookie cookie, uchar target_id, bool *is_atapi, bool *no_autosense, uint32 *max_blocks ) in get_restrictions() argument
|