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

/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660_identify.h40 off_t max_blocks; member in struct:iso9660_info
H A Diso9660_identify.cpp436 info->max_blocks = B_LENDIAN_TO_HOST_INT32(primary->set_size);
H A Dkernel_interface.cpp116 partition->content_size = ISO_PVD_SIZE * info->max_blocks;
/haiku/headers/os/drivers/
H A Dlocked_pool.h55 // max_blocks - maximum number of blocks
63 int chunk_size, int max_blocks, int min_free_blocks, const char *name,
/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 Dfs_cache_priv.h69 int max_blocks; member in struct:block_cache
H A Dbeos_kernel_emu.cpp221 init_block_cache(int max_blocks, int flags) argument
223 return beos_init_block_cache(max_blocks, flags);
251 init_cache_for_device(int fd, off_t max_blocks) argument
253 return beos_init_cache_for_device(fd, max_blocks);
H A Dfs_cache.c412 beos_init_block_cache(int max_blocks, int flags) argument
424 bc.max_blocks = max_blocks;
541 bc.max_blocks, &bc.ht);
1123 beos_init_cache_for_device(int fd, fs_off_t max_blocks) argument
1136 max_device_blocks[fd] = max_blocks;
1641 for(cur=0; bc.cur_blocks < bc.max_blocks && cur < num_needed; cur++) {
/haiku/headers/private/userlandfs/legacy/
H A Dcache.h71 int max_blocks; member in struct:block_cache
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/bus_managers/scsi/
H A Dbusses.cpp209 &bus->dma_params.max_blocks, true) != B_OK)
210 bus->dma_params.max_blocks = 0xffffffff;
245 if (bus->dma_params.max_blocks < 1 || bus->dma_params.max_sg_blocks < 1) {
247 B_PRIu32 ") must be at least 1", bus->dma_params.max_blocks,
H A Ddevices.cpp92 uint32 orig_max_blocks, max_blocks; local
98 target_id, &is_atapi, &manual_autosense, &max_blocks);
109 max_blocks = std::min(max_blocks, orig_max_blocks);
134 { B_DMA_MAX_TRANSFER_BLOCKS, B_UINT32_TYPE, { .ui32 = max_blocks }},
H A Dscsi_internal.h78 uint32 max_blocks; member in struct:dma_params
/haiku/src/add-ons/kernel/generic/locked_pool/
H A Dlocked_pool.c66 int max_blocks; // maximum number of blocks member in struct:locked_pool
230 if (pool->num_blocks < pool->max_blocks) {
232 min(pool->enlarge_by, pool->max_blocks - pool->num_blocks));
419 int chunkSize, int max_blocks, int min_free_blocks,
459 pool->max_blocks = max_blocks;
476 if ((status = enlarge_pool(pool, min(pool->enlarge_by, pool->max_blocks))) < 0)
418 create_pool(int block_size, int alignment, int next_ofs, int chunkSize, int max_blocks, int min_free_blocks, const char *name, uint32 lock_flags, locked_pool_add_hook add_hook, locked_pool_remove_hook remove_hook, void *hook_arg) argument
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A Dvirtio_scsi.cpp209 uint32 max_blocks = 0x10000; local
211 max_blocks = config.max_sectors;
222 { B_DMA_MAX_SEGMENT_BLOCKS, B_UINT32_TYPE, { .ui32 = max_blocks }},
/haiku/src/tools/fs_shell/
H A Dblock_cache.cpp106 fssh_off_t max_blocks; member in struct:FSShell::block_cache
476 max_blocks(numBlocks),
699 if (blockNumber < 0 || blockNumber >= cache->max_blocks) {
701 " (max %" FSSH_B_PRIdOFF ")", blockNumber, cache->max_blocks - 1);
723 if (blockNumber < 0 || blockNumber >= cache->max_blocks) {
725 " (max %" FSSH_B_PRIdOFF ")", blockNumber, cache->max_blocks - 1);
782 if (blockNumber < 0 || blockNumber >= cache->max_blocks) {
785 cache->max_blocks - 1);
1572 if (blockNumber < 0 || blockNumber >= cache->max_blocks) {
1574 " (max %" FSSH_B_PRIdOFF ")", blockNumber, cache->max_blocks
[all...]
/haiku/headers/os/drivers/bus/
H A DSCSI.h457 uint32 *max_blocks ); // maximum number of blocks per transfer if > 0;
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp216 off_t max_blocks; member in struct:__anon39::block_cache
1402 max_blocks(numBlocks),
1880 if (blockNumber < 0 || blockNumber >= cache->max_blocks) {
1882 blockNumber, cache->max_blocks - 1);
1911 if (blockNumber < 0 || blockNumber >= cache->max_blocks) {
1913 blockNumber, cache->max_blocks - 1);
1988 if (blockNumber < 0 || blockNumber >= cache->max_blocks) {
1990 blockNumber, cache->max_blocks - 1);
2257 kprintf(" max_blocks: %" B_PRIdOFF "\n", cache->max_blocks);
[all...]
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c1151 get_restrictions(scsi_sim_cookie cookie, uchar target_id, bool *is_atapi, bool *no_autosense, uint32 *max_blocks )

Completed in 125 milliseconds