HomeSort by relevance Sort by last modified time
    Searched refs:filebench_shm (Results 1 - 14 of 14) sorted by null

  /onnv/onnv-gate/usr/src/cmd/filebench/common/
ipc.c 42 filebench_shm_t *filebench_shm = NULL; variable
121 mtx_attrp = &(filebench_shm->shm_mutexattr[mtx_type]);
180 return (&(filebench_shm->shm_mutexattr[IPC_MUTEX_NORMAL]));
183 return (&(filebench_shm->shm_mutexattr[mtx_type]));
255 key_t key = filebench_shm->shm_semkey;
259 if (filebench_shm->shm_sys_semid >= 0)
271 filebench_shm->shm_sys_semid = sys_semid;
280 * filebench_shm and an additional Megabyte. The file is then
326 if ((filebench_shm = (filebench_shm_t *)mmap((caddr_t)0,
334 if ((filebench_shm
    [all...]
eventgen.c 65 * filebench_shm->shm_eventgen_q by the number of generated
67 * filebench_shm->shm_eventgen_cv to indicate to event consumers
82 filebench_shm->shm_eventgen_enabled = FALSE;
90 if (filebench_shm->shm_eventgen_hz == NULL) {
94 rate = avd_get_int(filebench_shm->shm_eventgen_hz);
96 filebench_shm->shm_eventgen_enabled = TRUE;
124 (void) ipc_mutex_lock(&filebench_shm->shm_eventgen_lock);
126 if (filebench_shm->shm_eventgen_q < (5 * rate))
127 filebench_shm->shm_eventgen_q += count;
129 (void) pthread_cond_signal(&filebench_shm->shm_eventgen_cv)
    [all...]
procflow.c 113 (void) snprintf(shmaddr, sizeof (shmaddr), "%llx", filebench_shm);
115 (void) snprintf(shmaddr, sizeof (shmaddr), "%x", filebench_shm);
193 * master procflow list, filebench_shm->shm_proclist. Locks the list
201 procflow_t *procflow = filebench_shm->shm_proclist;
206 (void) ipc_mutex_lock(&filebench_shm->shm_procflow_lock);
217 &filebench_shm->shm_procflow_lock);
224 (void) ipc_mutex_unlock(&filebench_shm->shm_procflow_lock);
232 procflow_t *procflow = filebench_shm->shm_proclist;
248 procflow_define_common(&filebench_shm->shm_proclist,
332 (void) ipc_mutex_lock(&filebench_shm->shm_procs_running_lock)
    [all...]
misc.c 177 * setting in filebench_shm->shm_debug_level.
192 (filebench_shm->shm_log_fd < 0)) {
196 (void) strcpy(path, filebench_shm->shm_fscriptname);
204 filebench_shm->shm_log_fd =
213 (filebench_shm->shm_log_fd < 0)) {
221 (*filebench_shm->shm_dump_filename == 0))
225 (filebench_shm->shm_dump_fd < 0)) {
227 filebench_shm->shm_dump_fd =
228 open(filebench_shm->shm_dump_filename,
233 (filebench_shm->shm_dump_fd < 0))
    [all...]
threadflow.c 94 filebench_shm->shm_required += memsize;
128 (void) ipc_mutex_lock(&filebench_shm->shm_threadflow_lock);
165 (void) ipc_mutex_unlock(&filebench_shm->shm_threadflow_lock);
226 filebench_shm->shm_required -= threadflow->tf_constmemsize;
279 (void) ipc_mutex_lock(&filebench_shm->shm_threadflow_lock);
294 (void) ipc_mutex_unlock(&filebench_shm->shm_threadflow_lock);
307 (void) ipc_mutex_lock(&filebench_shm->shm_threadflow_lock);
325 (filebench_shm->shm_f_abort == 0)) {
327 &filebench_shm->shm_threadflow_lock);
337 &filebench_shm->shm_threadflow_lock)
    [all...]
flowop.c 127 flowop_t *flowop = filebench_shm->shm_flowoplist;
147 if ((filebench_shm->shm_mmode & FILEBENCH_MODE_NOUSAGE) == 0) {
196 if ((filebench_shm->shm_mmode & FILEBENCH_MODE_NOUSAGE) == 0) {
400 (void) pthread_rwlock_rdlock(&filebench_shm->shm_flowop_find_lock);
412 (void) pthread_rwlock_wrlock(&filebench_shm->shm_run_lock);
413 (void) pthread_rwlock_unlock(&filebench_shm->shm_run_lock);
416 (void) ipc_mutex_lock(&filebench_shm->shm_flowop_lock);
419 (void) ipc_mutex_unlock(&filebench_shm->shm_flowop_lock);
423 (void) ipc_mutex_unlock(&filebench_shm->shm_flowop_lock);
426 (void) pthread_rwlock_unlock(&filebench_shm->shm_flowop_find_lock)
    [all...]
fileset.c 434 (void) pthread_mutex_lock(&filebench_shm->shm_fsparalloc_lock);
435 filebench_shm->shm_fsparalloc_count = -1;
437 (void) pthread_mutex_lock(&filebench_shm->shm_fsparalloc_lock);
438 filebench_shm->shm_fsparalloc_count--;
441 (void) pthread_cond_signal(&filebench_shm->shm_fsparalloc_cv);
442 (void) pthread_mutex_unlock(&filebench_shm->shm_fsparalloc_lock);
1091 &filebench_shm->shm_fsparalloc_lock);
1092 while (filebench_shm->shm_fsparalloc_count
1095 &filebench_shm->shm_fsparalloc_cv,
1096 &filebench_shm->shm_fsparalloc_lock)
    [all...]
stats.c 466 if (filebench_shm->shm_f_abort == FILEBENCH_ABORT_ERROR) {
478 filebench_shm->shm_bequiet = 1;
480 flowop = filebench_shm->shm_flowoplist;
545 flowop = filebench_shm->shm_flowoplist;
600 filebench_shm->shm_bequiet = 0;
614 if (filebench_shm->shm_f_abort == FILEBENCH_ABORT_ERROR)
617 (void) strcpy(filebench_shm->shm_dump_filename, filename);
621 if (filebench_shm->shm_dump_fd > 0) {
622 (void) close(filebench_shm->shm_dump_fd);
623 filebench_shm->shm_dump_fd = -1
    [all...]
flowop_library.c 761 if (!filebench_shm->shm_eventgen_enabled)
771 while (filebench_shm->shm_eventgen_enabled) {
772 (void) ipc_mutex_lock(&filebench_shm->shm_eventgen_lock);
773 if (filebench_shm->shm_eventgen_q > 0) {
774 filebench_shm->shm_eventgen_q--;
776 &filebench_shm->shm_eventgen_lock);
779 (void) pthread_cond_wait(&filebench_shm->shm_eventgen_cv,
780 &filebench_shm->shm_eventgen_lock);
781 (void) ipc_mutex_unlock(&filebench_shm->shm_eventgen_lock);
824 if (!filebench_shm->shm_eventgen_enabled
    [all...]
ipc.h 93 typedef struct filebench_shm { struct
244 extern filebench_shm_t *filebench_shm;
fb_random.c 287 rndp->rnd_next = filebench_shm->shm_rand_list;
288 filebench_shm->shm_rand_list = rndp;
421 for (rndp = filebench_shm->shm_rand_list; rndp; rndp = rndp->rnd_next)
vars.c 495 var_listp = &filebench_shm->shm_var_list;
499 var_listp = &filebench_shm->shm_var_dyn_list;
504 newvar->var_next = filebench_shm->shm_var_loc_list;
505 filebench_shm->shm_var_loc_list = newvar;
509 var_listp = &filebench_shm->shm_var_list;
575 for (var = filebench_shm->shm_var_loc_list; var != NULL;
581 for (var = filebench_shm->shm_var_list; var != NULL;
    [all...]
parser_gram.y 792 filebench_shm->shm_debug_level = $2;
793 if (filebench_shm->shm_debug_level > 9)
891 filebench_shm->shm_rmode = FILEBENCH_MODE_TIMEOUT;
897 filebench_shm->shm_rmode = FILEBENCH_MODE_QALLDONE;
903 filebench_shm->shm_rmode = FILEBENCH_MODE_Q1STDONE;
909 filebench_shm->shm_mmode |= FILEBENCH_MODE_NOUSAGE;
    [all...]
auto_comp.c 525 * Bind the iterator to filebench_shm->shm_var_list
531 iterp->listp = filebench_shm->shm_var_list;

Completed in 660 milliseconds