opts 31 ompi/mca/io/romio321/romio/test/creat_excl.c void parse_args(int argc, char ** argv, int rank, options *opts) opts 39 ompi/mca/io/romio321/romio/test/creat_excl.c opts->fname = (char *) malloc(len + 1); opts 40 ompi/mca/io/romio321/romio/test/creat_excl.c strcpy(opts->fname, argv[i+1]); opts 45 ompi/mca/io/romio321/romio/test/creat_excl.c opts->do_aggregation = 1; opts 50 ompi/mca/io/romio321/romio/test/creat_excl.c opts->verbose = 1; opts 55 ompi/mca/io/romio321/romio/test/creat_excl.c if (opts->fname == NULL) { /* didn't get a filename */ opts 60 ompi/mca/io/romio321/romio/test/creat_excl.c MPI_Bcast(opts->fname, len+1, MPI_CHAR, 0, MPI_COMM_WORLD); opts 61 ompi/mca/io/romio321/romio/test/creat_excl.c MPI_Bcast(&(opts->do_aggregation), 1, MPI_INT, 0, MPI_COMM_WORLD); opts 62 ompi/mca/io/romio321/romio/test/creat_excl.c MPI_Bcast(&(opts->verbose), 1, MPI_INT, 0, MPI_COMM_WORLD); opts 65 ompi/mca/io/romio321/romio/test/creat_excl.c opts->fname = (char *) malloc(len + 1); opts 66 ompi/mca/io/romio321/romio/test/creat_excl.c MPI_Bcast(opts->fname, len+1, MPI_CHAR, 0, MPI_COMM_WORLD); opts 67 ompi/mca/io/romio321/romio/test/creat_excl.c MPI_Bcast(&(opts->do_aggregation), 1, MPI_INT, 0, MPI_COMM_WORLD); opts 68 ompi/mca/io/romio321/romio/test/creat_excl.c MPI_Bcast(&(opts->verbose), 1, MPI_INT, 0, MPI_COMM_WORLD); opts 100 opal/mca/crs/base/crs_base_fns.c static void opal_crs_base_ckpt_options_construct(opal_crs_base_ckpt_options_t *opts) { opts 101 opal/mca/crs/base/crs_base_fns.c opal_crs_base_clear_options(opts); opts 104 opal/mca/crs/base/crs_base_fns.c static void opal_crs_base_ckpt_options_destruct(opal_crs_base_ckpt_options_t *opts) { opts 105 opal/mca/crs/base/crs_base_fns.c opal_crs_base_clear_options(opts); opts 2129 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char *opt, *opts = mntent.mnt_opts; opts 2133 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while ((opt = strsep(&opts, ",")) != NULL) { opts 212 opal/mca/mpool/hugepage/mpool_hugepage_component.c char *opts, *tok, *ctx; opts 226 opal/mca/mpool/hugepage/mpool_hugepage_component.c opts = strdup(mntent->mnt_opts); opts 227 opal/mca/mpool/hugepage/mpool_hugepage_component.c if (NULL == opts) { opts 231 opal/mca/mpool/hugepage/mpool_hugepage_component.c tok = strtok_r (opts, ",", &ctx); opts 253 opal/mca/mpool/hugepage/mpool_hugepage_component.c free(opts); opts 66 opal/mca/pmix/pmix4x/pmix/src/mca/plog/syslog/plog_syslog.c int opts; opts 71 opal/mca/pmix/pmix4x/pmix/src/mca/plog/syslog/plog_syslog.c opts = LOG_CONS | LOG_PID; opts 72 opal/mca/pmix/pmix4x/pmix/src/mca/plog/syslog/plog_syslog.c openlog("PMIx Log Report:", opts, LOG_USER); opts 78 orte/mca/iof/base/iof_base_setup.c orte_iof_base_setup_prefork(orte_iof_base_io_conf_t *opts) opts 86 orte/mca/iof/base/iof_base_setup.c if (opts->usepty) { opts 97 orte/mca/iof/base/iof_base_setup.c ret = opal_openpty(&(opts->p_stdout[0]), &(opts->p_stdout[1]), opts 101 orte/mca/iof/base/iof_base_setup.c opts->usepty = 0; opts 105 orte/mca/iof/base/iof_base_setup.c opts->usepty = 0; opts 106 orte/mca/iof/base/iof_base_setup.c if (pipe(opts->p_stdout) < 0) { opts 111 orte/mca/iof/base/iof_base_setup.c if (opts->connect_stdin) { opts 112 orte/mca/iof/base/iof_base_setup.c if (pipe(opts->p_stdin) < 0) { opts 118 orte/mca/iof/base/iof_base_setup.c if (pipe(opts->p_stderr) < 0) { opts 124 orte/mca/iof/base/iof_base_setup.c if (pipe(opts->p_internal) < 0) { opts 134 orte/mca/iof/base/iof_base_setup.c orte_iof_base_setup_child(orte_iof_base_io_conf_t *opts, char ***env) opts 141 orte/mca/iof/base/iof_base_setup.c if (opts->connect_stdin) { opts 142 orte/mca/iof/base/iof_base_setup.c close(opts->p_stdin[1]); opts 144 orte/mca/iof/base/iof_base_setup.c close(opts->p_stdout[0]); opts 146 orte/mca/iof/base/iof_base_setup.c close(opts->p_stderr[0]); opts 149 orte/mca/iof/base/iof_base_setup.c close(opts->p_internal[0]); opts 152 orte/mca/iof/base/iof_base_setup.c if (opts->usepty) { opts 155 orte/mca/iof/base/iof_base_setup.c if (tcgetattr(opts->p_stdout[1], &term_attrs) < 0) { opts 168 orte/mca/iof/base/iof_base_setup.c if (tcsetattr(opts->p_stdout[1], TCSANOW, &term_attrs) == -1) { opts 171 orte/mca/iof/base/iof_base_setup.c ret = dup2(opts->p_stdout[1], fileno(stdout)); opts 176 orte/mca/iof/base/iof_base_setup.c ret = dup2(opts->p_stdout[1], fileno(stderr)); opts 181 orte/mca/iof/base/iof_base_setup.c close(opts->p_stdout[1]); opts 183 orte/mca/iof/base/iof_base_setup.c if(opts->p_stdout[1] != fileno(stdout)) { opts 184 orte/mca/iof/base/iof_base_setup.c ret = dup2(opts->p_stdout[1], fileno(stdout)); opts 189 orte/mca/iof/base/iof_base_setup.c ret = dup2(opts->p_stdout[1], fileno(stderr)); opts 194 orte/mca/iof/base/iof_base_setup.c close(opts->p_stdout[1]); opts 197 orte/mca/iof/base/iof_base_setup.c if (opts->connect_stdin) { opts 198 orte/mca/iof/base/iof_base_setup.c if(opts->p_stdin[0] != fileno(stdin)) { opts 199 orte/mca/iof/base/iof_base_setup.c ret = dup2(opts->p_stdin[0], fileno(stdin)); opts 203 orte/mca/iof/base/iof_base_setup.c close(opts->p_stdin[0]); opts 216 orte/mca/iof/base/iof_base_setup.c if(opts->p_stderr[1] != fileno(stderr)) { opts 218 orte/mca/iof/base/iof_base_setup.c ret = dup2(opts->p_stderr[1], fileno(stderr)); opts 220 orte/mca/iof/base/iof_base_setup.c close(opts->p_stderr[1]); opts 228 orte/mca/iof/base/iof_base_setup.c opal_asprintf(&str, "%d", opts->p_internal[1]); opts 244 orte/mca/iof/base/iof_base_setup.c orte_iof_base_io_conf_t *opts) opts 249 orte/mca/iof/base/iof_base_setup.c if (opts->connect_stdin) { opts 251 orte/mca/iof/base/iof_base_setup.c ret = orte_iof.pull(name, ORTE_IOF_STDIN, opts->p_stdin[1]); opts 259 orte/mca/iof/base/iof_base_setup.c ret = orte_iof.push(name, ORTE_IOF_STDOUT, opts->p_stdout[0]); opts 266 orte/mca/iof/base/iof_base_setup.c ret = orte_iof.push(name, ORTE_IOF_STDERR, opts->p_stderr[0]); opts 274 orte/mca/iof/base/iof_base_setup.c ret = orte_iof.push(name, ORTE_IOF_STDDIAG, opts->p_internal[0]); opts 51 orte/mca/iof/base/iof_base_setup.h ORTE_DECLSPEC int orte_iof_base_setup_prefork(orte_iof_base_io_conf_t *opts); opts 53 orte/mca/iof/base/iof_base_setup.h ORTE_DECLSPEC int orte_iof_base_setup_child(orte_iof_base_io_conf_t *opts, opts 57 orte/mca/iof/base/iof_base_setup.h orte_iof_base_io_conf_t *opts); opts 295 orte/mca/odls/alps/odls_alps_module.c orte_iof_base_io_conf_t opts) { opts 321 orte/mca/odls/alps/odls_alps_module.c fd != opts.p_internal[1] && opts 356 orte/mca/odls/alps/odls_alps_module.c if (ORTE_SUCCESS != (i = orte_iof_base_setup_child(&cd->opts, &cd->env))) { opts 382 orte/mca/odls/alps/odls_alps_module.c if (fdnull > cd->opts.p_internal[1]) { opts 383 orte/mca/odls/alps/odls_alps_module.c dup2(fdnull, cd->opts.p_internal[1]); opts 389 orte/mca/odls/alps/odls_alps_module.c if (ORTE_SUCCESS != close_open_file_descriptors(write_fd, cd->opts)) { opts 464 orte/mca/odls/alps/odls_alps_module.c if (cd->opts.connect_stdin) { opts 465 orte/mca/odls/alps/odls_alps_module.c close(cd->opts.p_stdin[0]); opts 467 orte/mca/odls/alps/odls_alps_module.c close(cd->opts.p_stdout[1]); opts 469 orte/mca/odls/alps/odls_alps_module.c close(cd->opts.p_stderr[1]); opts 472 orte/mca/odls/alps/odls_alps_module.c close(cd->opts.p_internal[1]); opts 1418 orte/mca/odls/base/odls_base_default_fns.c cd->opts.usepty = OPAL_ENABLE_PTY_SUPPORT; opts 1423 orte/mca/odls/base/odls_base_default_fns.c cd->opts.connect_stdin = true; opts 1425 orte/mca/odls/base/odls_base_default_fns.c cd->opts.connect_stdin = false; opts 1427 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = orte_iof_base_setup_prefork(&cd->opts))) { opts 1436 orte/mca/odls/base/odls_base_default_fns.c rc = orte_iof_base_setup_parent(&child->name, &cd->opts); opts 2095 orte/mca/odls/base/odls_base_default_fns.c cd->opts.usepty = OPAL_ENABLE_PTY_SUPPORT; opts 2100 orte/mca/odls/base/odls_base_default_fns.c cd->opts.connect_stdin = true; opts 2102 orte/mca/odls/base/odls_base_default_fns.c cd->opts.connect_stdin = false; opts 2104 orte/mca/odls/base/odls_base_default_fns.c if (ORTE_SUCCESS != (rc = orte_iof_base_setup_prefork(&cd->opts))) { opts 2113 orte/mca/odls/base/odls_base_default_fns.c rc = orte_iof_base_setup_parent(&child->name, &cd->opts); opts 333 orte/mca/odls/base/odls_base_frame.c memset(&p->opts, 0, sizeof(orte_iof_base_io_conf_t)); opts 106 orte/mca/odls/base/odls_private.h orte_iof_base_io_conf_t opts; opts 299 orte/mca/odls/default/odls_default_module.c orte_iof_base_io_conf_t opts) { opts 325 orte/mca/odls/default/odls_default_module.c fd != opts.p_internal[1] && opts 367 orte/mca/odls/default/odls_default_module.c if (ORTE_SUCCESS != (i = orte_iof_base_setup_child(&cd->opts, &cd->env))) { opts 392 orte/mca/odls/default/odls_default_module.c if (fdnull > cd->opts.p_internal[1]) { opts 393 orte/mca/odls/default/odls_default_module.c dup2(fdnull, cd->opts.p_internal[1]); opts 402 orte/mca/odls/default/odls_default_module.c if (ORTE_SUCCESS != close_open_file_descriptors(write_fd, cd->opts)) { opts 407 orte/mca/odls/default/odls_default_module.c fd != cd->opts.p_internal[1] && opts 471 orte/mca/odls/default/odls_default_module.c if (cd->opts.connect_stdin) { opts 472 orte/mca/odls/default/odls_default_module.c close(cd->opts.p_stdin[0]); opts 474 orte/mca/odls/default/odls_default_module.c close(cd->opts.p_stdout[1]); opts 476 orte/mca/odls/default/odls_default_module.c close(cd->opts.p_stderr[1]); opts 479 orte/mca/odls/default/odls_default_module.c close(cd->opts.p_internal[1]); opts 271 orte/mca/odls/pspawn/odls_pspawn.c orte_iof_base_io_conf_t *opts = &cd->opts; opts 303 orte/mca/odls/pspawn/odls_pspawn.c if (opts->connect_stdin) { opts 304 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_addclose(&factions, opts->p_stdin[1]); opts 306 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_addclose(&factions, opts->p_stdout[0]); opts 308 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_addclose(&factions, opts->p_stderr[0]); opts 311 orte/mca/odls/pspawn/odls_pspawn.c if (opts->usepty) { opts 314 orte/mca/odls/pspawn/odls_pspawn.c if (tcgetattr(opts->p_stdout[1], &term_attrs) < 0) { opts 327 orte/mca/odls/pspawn/odls_pspawn.c if (tcsetattr(opts->p_stdout[1], TCSANOW, &term_attrs) == -1) { opts 330 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_adddup2(&factions, fileno(stdout), opts->p_stdout[1]); opts 332 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_adddup2(&factions, fileno(stderr), opts->p_stdout[1]); opts 335 orte/mca/odls/pspawn/odls_pspawn.c if (opts->p_stdout[1] != fileno(stdout)) { opts 336 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_adddup2(&factions, fileno(stdout), opts->p_stdout[1]); opts 339 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_adddup2(&factions, fileno(stderr), opts->p_stdout[1]); opts 342 orte/mca/odls/pspawn/odls_pspawn.c if (opts->connect_stdin) { opts 343 orte/mca/odls/pspawn/odls_pspawn.c if (opts->p_stdin[0] != fileno(stdin)) { opts 344 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_adddup2(&factions, fileno(stdin), opts->p_stdin[0]); opts 347 orte/mca/odls/pspawn/odls_pspawn.c if (opts->p_stderr[1] != fileno(stderr) && !orte_iof_base.redirect_app_stderr_to_stdout) { opts 348 orte/mca/odls/pspawn/odls_pspawn.c posix_spawn_file_actions_adddup2(&factions, fileno(stderr), opts->p_stderr[1]); opts 357 orte/mca/odls/pspawn/odls_pspawn.c if (cd->opts.connect_stdin) { opts 358 orte/mca/odls/pspawn/odls_pspawn.c close(cd->opts.p_stdin[0]); opts 360 orte/mca/odls/pspawn/odls_pspawn.c close(cd->opts.p_stdout[1]); opts 362 orte/mca/odls/pspawn/odls_pspawn.c close(cd->opts.p_stderr[1]); opts 216 orte/orted/orted_submit.c opal_cmd_line_init_t *opts) opts 276 orte/orted/orted_submit.c if (NULL != opts) { opts 277 orte/orted/orted_submit.c if (OPAL_SUCCESS != (rc = opal_cmd_line_add(orte_cmd_line, opts))) { opts 31 orte/orted/orted_submit.h opal_cmd_line_init_t *opts); opts 4280 oshmem/mca/memheap/ptmalloc/malloc.c int opts, opts 4319 oshmem/mca/memheap/ptmalloc/malloc.c if (opts & 0x1) { /* all-same-size */ opts 4351 oshmem/mca/memheap/ptmalloc/malloc.c if (opts & 0x2) { /* optionally clear the elements */