Lines Matching refs:bwriteq
4175 void initialise_threads(int readq, int fragq, int bwriteq, int fwriteq, in initialise_threads() argument
4199 if(add_overflow(total_mem, bwriteq)) in initialise_threads()
4201 total_mem += bwriteq; in initialise_threads()
4217 bwriter_size = bwriteq << (20 - block_log); in initialise_threads()
5127 void calculate_queue_sizes(int mem, int *readq, int *fragq, int *bwriteq, in calculate_queue_sizes() argument
5131 *bwriteq = mem / SQUASHFS_BWRITEQ_MEM; in calculate_queue_sizes()
5133 *fragq = mem - *readq - *bwriteq - *fwriteq; in calculate_queue_sizes()
5164 int bwriteq; in main() local
5177 calculate_queue_sizes(total_mem, &readq, &fragq, &bwriteq, &fwriteq); in main()
5412 if((++i == argc) || !parse_num(argv[i], &bwriteq)) { in main()
5417 if(bwriteq < 2) { in main()
5422 fwriteq = bwriteq >> 1; in main()
5423 bwriteq -= fwriteq; in main()
5462 &bwriteq, &fwriteq); in main()
5905 initialise_threads(readq, fragq, bwriteq, fwriteq, delete, in main()