Lines Matching refs:buffers
36 * byte. By default the buffers are 1MB (256 pages) in size but this can be
37 * overidden. By default there are 2 buffers per set (again overridable).
38 * Worker threads process (iterate over) 10000 buffers by default.
125 " [-b B] Number of buffers per set/line (2)\n"
127 "usage: sets [-b B] Number of buffers per set/line (2)\n"
131 " [-i I] Number of items/buffers to process (1000)\n"
318 * Calculate number of buffers of size pages*4096 bytes
323 "using %d buffers of size %d bytes\n",
343 int buffers = 2;
365 buffers = atoi(optarg);
401 auto_config(pages, &buffers, &sets);
419 buffers, s_if_plural(buffers));
420 if (buffers * pages < 256)
421 mutter("(total %dkB)\n", buffers * pages * 4);
423 mutter("(total %dMB)\n", buffers * pages / 256);
435 lp->data = (int *) malloc(buffers * pages * 4096);
466 /* Set up the buffers on the first worker of the set. */
467 work_array = (work_t *) malloc(buffers * sizeof(work_t));
468 for (j = 0; j < buffers; j++) {