Searched refs:block_size (Results 1 - 25 of 26) sorted by relevance

12

/barrelfish-master/usr/block_server/
H A Dblock_storage.c36 (uint32_t )(blocks.block_size * blocks.num_blocks));
38 blocks.blocks = malloc(blocks.block_size * sizeof(struct bs_block));
43 void *data = malloc(blocks.block_size * blocks.num_blocks);
52 blk->size = blocks.block_size;
54 data += blocks.block_size;
80 * \param block_size the size of a single block in bytes
85 errval_t block_storage_init(size_t num_blocks, size_t block_size) argument
88 (uint32_t )num_blocks, (uint32_t )block_size);
97 if (block_size & (2048 - 1)) {
98 debug_printf("invalid block size: %i\n", (uint32_t) block_size);
[all...]
H A Dblock_storage.h31 size_t block_size; member in struct:block_storage
37 errval_t block_storage_init(size_t num_blocks, size_t block_size);
/barrelfish-master/usr/drivers/ahcid/
H A Dtest.h26 void ahci_perf_sequential(size_t buffer_size, size_t block_size, bool write);
27 void ahci_verify_sequential(size_t buffer_size, size_t block_size);
H A Dtest.c221 void ahci_perf_sequential(size_t buffer_size, size_t block_size, bool write) argument
226 assert(buffer_size % block_size == 0);
228 size_t read_requests = buffer_size / block_size;
247 err = devq_enqueue(dq, region_id, (i*block_size),
248 block_size, 0,
249 block_size, disk_block);
273 printf("[%s] %s sequential size %zu bs %zu: %.2f [MB/s]\n", __FUNCTION__, cmd, buffer_size, block_size, bw);
284 void ahci_verify_sequential(size_t buffer_size, size_t block_size) argument
289 assert(buffer_size % block_size == 0);
291 size_t requests = buffer_size / block_size;
[all...]
/barrelfish-master/lib/barrelfish/
H A Dbulk_transfer.c47 * \param block_size Size in bytes of a buffer block
52 errval_t bulk_init(void *mem, size_t size, size_t block_size, argument
57 size /= block_size;
66 current_pbuf->offset = i * block_size;
69 current_pbuf->size = block_size;
80 current_pbuf->offset = (size - 1) * block_size;
81 current_pbuf->size = block_size;
93 * \param block_size Size in bytes of a buffer block
100 errval_t bulk_create(size_t size, size_t block_size, struct capref *shared_mem, argument
121 return bulk_init(pool, size, block_size, b
[all...]
/barrelfish-master/usr/bench/bulk_bench/
H A Dbulkbench.c32 static size_t block_size, bulk_inflight = 0; variable
168 for(size_t i = 0; i < size; i += block_size) {
181 size_t sendsize = i + block_size < size ? block_size : size - i;
182 bool last_fragment = i + block_size < size ? false : true;
218 block_size = atoi(argv[1]);
219 assert(block_size <= BULKSIZE);
261 err = bulk_create(BULKSIZE, block_size, &frame, &bt);
273 send(buffer, block_size);
/barrelfish-master/lib/openssl-1.0.0d/crypto/evp/
H A Devp_locl.h65 bl = ctx->cipher->block_size;\
133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \
137 nid##_##nmode, block_size, key_len, iv_len, \
149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \
152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \
172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
176 nid, block_size, key_len, iv_len, cbits, flags, \
178 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
184 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le
[all...]
H A Devp_enc.c192 OPENSSL_assert(ctx->cipher->block_size == 1
193 || ctx->cipher->block_size == 8
194 || ctx->cipher->block_size == 16);
228 ctx->block_mask=ctx->cipher->block_size-1;
303 bl=ctx->cipher->block_size;
353 b=ctx->cipher->block_size;
399 b=ctx->cipher->block_size;
445 b=ctx->cipher->block_size;
478 n=ctx->cipher->block_size-n;
H A Devp_lib.c179 return e->block_size;
184 return ctx->cipher->block_size;
249 return md->block_size;
H A Dopenbsd_hw.c170 assert((inl&(ctx->cipher->block_size-1)) == 0);
H A Devp.h178 int block_size; member in struct:env_md_st
303 int block_size; member in struct:evp_cipher_st
/barrelfish-master/include/openssl/local/
H A Devp_locl.h65 bl = ctx->cipher->block_size;\
133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \
137 nid##_##nmode, block_size, key_len, iv_len, \
149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \
152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \
172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
176 nid, block_size, key_len, iv_len, cbits, flags, \
178 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
184 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le
[all...]
/barrelfish-master/include/barrelfish/
H A Dbulk_transfer.h37 size_t size, block_size; member in struct:bulk_transfer
47 errval_t bulk_init(void *mem, size_t size, size_t block_size,
49 errval_t bulk_create(size_t size, size_t block_size, struct capref *shared_mem,
/barrelfish-master/usr/tests/ata_rw28_test/
H A Data_rw28_test.c26 static void write_and_check_32(uint32_t pat, size_t start_lba, size_t block_size, size_t block_count) argument
28 printf("write_and_check_32(pat=0x%"PRIx32", start_lba=%zu, block_size=%zu, block_count=%zu)\n",
29 pat, start_lba, block_size, block_count);
31 size_t bytes = block_size*block_count;
/barrelfish-master/usr/bcached/
H A Dbcached.h30 extern size_t cache_size, block_size;
H A Dservice.c120 err = bulk_init(cache_pool, cache_size, block_size, &st->bt);
H A Dmain.c43 size_t cache_size, block_size = BUFFER_CACHE_BLOCK_SIZE; variable
/barrelfish-master/lib/vfs/
H A Dvfs_fat.c75 ((offset) / ((mount)->block_size * (mount)->cluster_size))
78 ((offset) % ((mount)->block_size * (mount)->cluster_size))
87 ((cluster) * cluster_entry_size(mount) / (mount)->block_size)
90 ((cluster) * cluster_entry_size(mount) % (mount)->block_size)
147 size_t block_size; // bytes member in struct:fat_mount
194 block, data, block, mount->block_size);
208 mount->block_size * mount->cluster_size);
341 size_t block_index = bytes_offset / mount->block_size;
342 size_t block_offset = bytes_offset % mount->block_size;
388 size_t block_index = bytes_offset / mount->block_size;
[all...]
/barrelfish-master/lib/openssl-1.0.0d/ssl/
H A Ds2_enc.c142 bs=ds->cipher->block_size;
H A Dt1_enc.c348 c->nid,c->block_size,c->key_len,c->iv_len);
/barrelfish-master/doc/015-disk-driver-arch/
H A Dusage.tex115 size_t block_size, size_t block_count)
118 size_t bytes = block_size*block_count;
/barrelfish-master/include/openssl/
H A Devp.h178 int block_size; member in struct:env_md_st
303 int block_size; member in struct:evp_cipher_st
/barrelfish-master/usr/skb/programs/
H A Ddecoding_net2.pl246 block_size([K, IBlocks], [K, ISize]) :-
251 block_size(Blocks, Size).
H A Ddecoding_net3.pl377 block_size([K, A], [K, B]) :-
389 block_size(Blocks, Size).
H A Ddecoding_net3_multid.pl435 block_size([K, IBlocks], [K, ISize]) :-
440 block_size(Blocks, Size).

Completed in 150 milliseconds

12