Home
last modified time | relevance | path

Searched refs:max_blocks (Results 1 – 16 of 16) sorted by relevance

/haiku/headers/private/userlandfs/legacy/
H A Dcache.h71 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 Dfs_cache.h19 extern _IMPEXP_KERNEL int beos_init_block_cache(int max_blocks, int flags);
28 off_t max_blocks);
H A Dbeos_kernel_emu.cpp221 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 Dfs_cache_priv.h69 int max_blocks; member
H A Dfs_cache.c412 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 Dbusses.cpp200 &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 Ddevices.cpp92 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 Dscsi_internal.h77 uint32 max_blocks; member
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660_identify.h40 off_t max_blocks; member
H A Diso9660_identify.cpp436 info->max_blocks = B_LENDIAN_TO_HOST_INT32(primary->set_size); in iso9660_fs_identify()
H A Dkernel_interface.cpp116 partition->content_size = ISO_PVD_SIZE * info->max_blocks; in fs_scan_partition()
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A Dvirtio_scsi.cpp209 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 Dblock_cache.cpp106 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 Dblock_cache.cpp221 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 DSCSI.h450 uint32 *max_blocks ); // maximum number of blocks per transfer if > 0;
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c1151 …s(scsi_sim_cookie cookie, uchar target_id, bool *is_atapi, bool *no_autosense, uint32 *max_blocks ) in get_restrictions() argument