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

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache.c396 #define NUM_FLUSH_BLOCKS 64 /* size of the iovec array pointed by each ptr */ macro
433 iovec_pool[0] = (struct iovec *)malloc(sizeof(struct iovec)*NUM_FLUSH_BLOCKS);
434 iovec_pool[1] = (struct iovec *)malloc(sizeof(struct iovec)*NUM_FLUSH_BLOCKS);
478 iovec_pool[i] = (struct iovec *)malloc(sizeof(struct iovec)*NUM_FLUSH_BLOCKS);
811 static cache_ent *ents[NUM_FLUSH_BLOCKS];
824 for(num_ents=0; ce && num_ents < NUM_FLUSH_BLOCKS; ce=ce->next) {
837 if (num_ents < NUM_FLUSH_BLOCKS) {
840 for(; num_ents < NUM_FLUSH_BLOCKS;) {
942 for(j=i+1; j < n_ents && (j - i) < NUM_FLUSH_BLOCKS; j++) {
1189 cache_ent *ents[NUM_FLUSH_BLOCKS];
[all...]

Completed in 56 milliseconds