/titanic_41/usr/src/cmd/sgs/rtld/i386/ |
H A D | _setup.c | 106 fd = (int)auxv->a_un.a_val; in _setup() 110 _flags = auxv->a_un.a_val; in _setup() 114 _syspagsz = (int)auxv->a_un.a_val; in _setup() 118 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup() 123 ld_base = auxv->a_un.a_val; in _setup() 124 interp_base = auxv->a_un.a_val; in _setup() 128 euid = (uid_t)auxv->a_un.a_val; in _setup() 132 uid = (uid_t)auxv->a_un.a_val; in _setup() 136 egid = (gid_t)auxv->a_un.a_val; in _setup() 140 gid = (gid_t)auxv->a_un.a_val; in _setup() [all …]
|
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | _setup.c | 106 fd = (int)auxv->a_un.a_val; in _setup() 110 _flags = auxv->a_un.a_val; in _setup() 114 _syspagsz = (int)auxv->a_un.a_val; in _setup() 118 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup() 123 ld_base = auxv->a_un.a_val; in _setup() 124 interp_base = auxv->a_un.a_val; in _setup() 128 euid = (uid_t)auxv->a_un.a_val; in _setup() 132 uid = (uid_t)auxv->a_un.a_val; in _setup() 136 egid = (gid_t)auxv->a_un.a_val; in _setup() 140 gid = (gid_t)auxv->a_un.a_val; in _setup() [all …]
|
/titanic_41/usr/src/cmd/sgs/rtld/amd64/ |
H A D | _setup.c | 101 fd = (int)auxv->a_un.a_val; in _setup() 105 _flags = auxv->a_un.a_val; in _setup() 109 _syspagsz = (int)auxv->a_un.a_val; in _setup() 113 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup() 118 ld_base = auxv->a_un.a_val; in _setup() 119 interp_base = auxv->a_un.a_val; in _setup() 123 euid = (uid_t)auxv->a_un.a_val; in _setup() 127 uid = (uid_t)auxv->a_un.a_val; in _setup() 131 egid = (gid_t)auxv->a_un.a_val; in _setup() 135 gid = (gid_t)auxv->a_un.a_val; in _setup() [all …]
|
/titanic_41/usr/src/cmd/sgs/rtld/sparc/ |
H A D | _setup.c | 117 fd = (int)auxv->a_un.a_val; 121 _flags = auxv->a_un.a_val; 125 _syspagsz = (int)auxv->a_un.a_val; 129 phdr = (Phdr *)auxv->a_un.a_ptr; 134 ld_base = auxv->a_un.a_val; 135 interp_base = auxv->a_un.a_val; 139 euid = (uid_t)auxv->a_un.a_val; 143 uid = (uid_t)auxv->a_un.a_val; 147 egid = (gid_t)auxv->a_un.a_val; 151 gid = (gid_t)auxv->a_un.a_val; [all …]
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_argvec.c | 89 if (arg->a_type == MDB_TYPE_STRING && arg->a_un.a_str != NULL) in mdb_argvec_reset() 90 strfree((char *)arg->a_un.a_str); in mdb_argvec_reset() 104 vec->a_data[i].a_un.a_val = in mdb_argvec_zero() 146 start = arg->a_un.a_str; in argvec_process_subopt() 205 *((const char **)opt->opt_valp) = arg->a_un.a_str; in argvec_process_opt() 213 uip = (uintptr_t)mdb_strtoull(arg->a_un.a_str); in argvec_process_opt() 215 uip = (uintptr_t)arg->a_un.a_val; in argvec_process_opt() 221 ui64 = mdb_strtoull(arg->a_un.a_str); in argvec_process_opt() 223 ui64 = arg->a_un.a_val; in argvec_process_opt() 275 argv->a_un.a_str[0] != '-' || argv->a_un.a_str[1] == '\0') in argvec_getopts() [all …]
|
H A D | mdb_evset.c | 84 if (argv->a_un.a_str[0] == '+') { in cmd_evset() 85 for (p = argv->a_un.a_str + 1; *p != '\0'; ) { in cmd_evset() 111 } else if (argv->a_un.a_str[0] != '-') { in cmd_evset() 113 strtonum(argv->a_un.a_str, 10); in cmd_evset() 117 idv[idc++] = (int)(intmax_t)argv->a_un.a_val; in cmd_evset() 208 av[ac++].a_un.a_val = addr; in ev_getopts() 240 if (argv->a_un.a_str[0] == '+') { in ev_getopts() 241 for (p = argv->a_un.a_str + 1; *p != '\0'; ) { in ev_getopts() 267 } else if (argv->a_un.a_str[0] != '-') { in ev_getopts() 299 av[ac].a_un.a_str = NULL; in ev_getopts() [all …]
|
H A D | mdb_cmds.c | 213 argv->a_un.a_char); in write_arglist() 217 switch (argv->a_un.a_char) { in write_arglist() 235 argv->a_un.a_char); in write_arglist() 240 if (mdb_eval(argv->a_un.a_str) == -1) { in write_arglist() 242 argv->a_un.a_str); in write_arglist() 247 value = argv->a_un.a_val; in write_arglist() 324 mdb_warn("expected value following %c\n", argv->a_un.a_char); in match_arglist() 330 argv->a_un.a_char); in match_arglist() 334 switch (argv->a_un.a_char) { in match_arglist() 349 argv->a_un.a_char); in match_arglist() [all …]
|
H A D | mdb_help.c | 128 v = mdb_nv_lookup(&mdb.m_modules, argv[i].a_un.a_str); in cmd_dmods() 131 mdb_warn("%s module not loaded\n", argv[i].a_un.a_str); in cmd_dmods() 205 if (strncmp(argv->a_un.a_str, "::", 2) == 0) in cmd_help() 206 idcp = mdb_dcmd_lookup(argv->a_un.a_str + 2); in cmd_help() 208 idcp = mdb_dcmd_lookup(argv->a_un.a_str); in cmd_help() 211 mdb_warn("unknown command: %s\n", argv->a_un.a_str); in cmd_help() 269 return (mdb_tab_complete_dcmd(mcp, argv[0].a_un.a_str)); in cmd_help_tab() 308 const char *s = argv[i].a_un.a_str; in cmd_which()
|
H A D | mdb_tab.c | 191 argv[i].a_un.a_str = index; in tab_copy_args() 621 return (mdb_tab_complete_member(mcp, tn, argv[1].a_un.a_str)); in mdb_tab_complete_mt() 641 if (strcmp(argv->a_un.a_str, "struct") == 0 || in mdb_tab_typename() 642 strcmp(argv->a_un.a_str, "enum") == 0 || in mdb_tab_typename() 643 strcmp(argv->a_un.a_str, "union") == 0) { in mdb_tab_typename() 646 argv[0].a_un.a_str); in mdb_tab_typename() 654 argv[0].a_un.a_str, argv[1].a_un.a_str); in mdb_tab_typename() 659 (void) mdb_snprintf(buf, len, "%s", argv[0].a_un.a_str); in mdb_tab_typename()
|
H A D | mdb_typedef.c | 138 size += strlen(args[i].a_un.a_str) + 1; in typedef_join_strings() 145 (void) strcpy(sptr, args[i].a_un.a_str); in typedef_join_strings() 146 sptr += strlen(args[i].a_un.a_str); in typedef_join_strings() 629 if (argc == 2 && strchr(argv[0].a_un.a_str, '{') != NULL) { in cmd_typedef() 630 dup = mdb_alloc(strlen(argv[0].a_un.a_str) + 1, in cmd_typedef() 632 (void) strcpy(dup, argv[0].a_un.a_str); in cmd_typedef() 633 if (typedef_parse(dup, argv[1].a_un.a_str, &pr) == DCMD_ERR) in cmd_typedef() 647 src = argv[0].a_un.a_str; in cmd_typedef() 652 dst = argv[argc-1].a_un.a_str; in cmd_typedef()
|
H A D | mdb_grammar.y | 239 arg.a_un.a_val = $3; 248 arg.a_un.a_val = $2; 257 arg.a_un.a_str = $2; 266 arg.a_un.a_char = $2; 277 arg.a_un.a_val = $3; 286 arg.a_un.a_str = $2;
|
H A D | mdb_nm.c | 596 argv[i].a_un.a_str[0] == '-') in cmd_nm() 599 object = (char *)argv[i].a_un.a_str; in cmd_nm() 826 argv[i].a_un.a_str[0] == '-' || argv[i].a_un.a_str[0] == '+') in cmd_nmadd() 836 argv[i].a_un.a_str, &sym, NULL) == -1) { in cmd_nmadd() 851 mdb_gelf_symtab_insert(mdb.m_prsym, argv[i].a_un.a_str, &sym); in cmd_nmadd() 854 argv[i].a_un.a_str, sym.st_value, sym.st_size); in cmd_nmadd() 868 argv->a_un.a_str[0] == '-' || (flags & DCMD_ADDRSPEC)) in cmd_nmdel() 871 name = argv->a_un.a_str; in cmd_nmdel()
|
H A D | mdb_print.c | 168 if (strcmp(argv->a_un.a_str, "struct") == 0 || in args_to_typename() 169 strcmp(argv->a_un.a_str, "enum") == 0 || in args_to_typename() 170 strcmp(argv->a_un.a_str, "union") == 0) { in args_to_typename() 172 mdb_warn("%s is not a valid type\n", argv->a_un.a_str); in args_to_typename() 180 argv[0].a_un.a_str, argv[1].a_un.a_str); in args_to_typename() 185 (void) mdb_snprintf(buf, len, "%s", argv[0].a_un.a_str); in args_to_typename() 268 member = argv[1].a_un.a_str; in cmd_offsetof() 600 info.e_string = argv[1].a_un.a_str; in cmd_enum() 603 search = argv[1].a_un.a_val; in cmd_enum() 717 offset = argv->a_un.a_val; in cmd_list() [all …]
|
H A D | mdb_set.c | 379 if (strcmp(argv->a_un.a_str, "+W") == 0) in cmd_set() 381 else if (strcmp(argv->a_un.a_str, "+w") == 0) in cmd_set() 383 else if (strcmp(argv->a_un.a_str, "+o") == 0 && in cmd_set() 385 opt_plus_o = argv[1].a_un.a_str; in cmd_set()
|
/titanic_41/usr/src/lib/brand/shared/brand/common/ |
H A D | brand_util.c | 406 ap->a_un.a_val = NULL; in brand_post_init() 408 ap->a_un.a_val = sed.sed_base; in brand_post_init() 412 ap->a_un.a_val = sed.sed_entry; in brand_post_init() 415 ap->a_un.a_val = sed.sed_phdr; in brand_post_init() 418 ap->a_un.a_val = sed.sed_phent; in brand_post_init() 421 ap->a_un.a_val = sed.sed_phnum; in brand_post_init() 424 ap->a_un.a_val &= ~AF_SUN_NOPLM; in brand_post_init() 435 ap->a_un.a_val = NULL; in brand_post_init() 441 ap->a_un.a_val = NULL; in brand_post_init() 443 ap->a_un.a_val = sed.sed_lddata; in brand_post_init()
|
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_test/ |
H A D | mdb_test.c | 185 nbytes = (size_t)mdb_strtoull(argv->a_un.a_str); in cmd_vread() 187 nbytes = (size_t)argv->a_un.a_val; in cmd_vread() 213 nbytes = (size_t)mdb_strtoull(argv->a_un.a_str); in cmd_pread() 215 nbytes = (size_t)argv->a_un.a_val; in cmd_pread() 242 nbytes = (size_t)mdb_strtoull(argv[1].a_un.a_str); in cmd_readsym() 244 nbytes = (size_t)argv[1].a_un.a_val; in cmd_readsym() 247 rbytes = mdb_readsym(buf, nbytes, argv->a_un.a_str); in cmd_readsym() 266 dcmd = argv->a_un.a_str; in cmd_call_dcmd() 365 mdb_printf(argv[0].a_un.a_str, argv[1].a_un.a_str); in cmd_printf() 367 mdb_printf(argv[0].a_un.a_str, argv[1].a_un.a_val); in cmd_printf()
|
/titanic_41/usr/src/cmd/mdb/common/modules/emlxs/ |
H A D | emlxs.c | 149 ddiinst = (uint32_t)mdb_strtoull(argv[0].a_un.a_str); in emlxs_msgbuf() 365 if ((strcmp(argv[0].a_un.a_str, "all") == 0) || in emlxs_dump() 366 (strcmp(argv[0].a_un.a_str, "ALL") == 0) || in emlxs_dump() 367 (strcmp(argv[0].a_un.a_str, "All") == 0)) { in emlxs_dump() 369 } else if ((strcmp(argv[0].a_un.a_str, "txt") == 0) || in emlxs_dump() 370 (strcmp(argv[0].a_un.a_str, "TXT") == 0) || in emlxs_dump() 371 (strcmp(argv[0].a_un.a_str, "Txt") == 0)) { in emlxs_dump() 373 } else if ((strcmp(argv[0].a_un.a_str, "dmp") == 0) || in emlxs_dump() 374 (strcmp(argv[0].a_un.a_str, "DMP") == 0) || in emlxs_dump() 375 (strcmp(argv[0].a_un.a_str, "Dmp") == 0)) { in emlxs_dump() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/rdc/ |
H A D | rdc.c | 1011 index = (int)mdb_strtoull(argv[0].a_un.a_str); in rdc_setseq() 1012 val = (uint_t)mdb_strtoull(argv[1].a_un.a_str); in rdc_setseq() 1063 index = (int)mdb_strtoull(argv[0].a_un.a_str); in rdc_setseqack() 1064 val = (uint_t)mdb_strtoull(argv[1].a_un.a_str); in rdc_setseqack() 1103 num = (int)mdb_strtoull(argv[0].a_un.a_str); in fba_to_log_num() 1119 num = (int)mdb_strtoull(argv[0].a_un.a_str); in log_to_fba_num() 1158 num = (int)mdb_strtoull(argv[0].a_un.a_str); in bmap_bit_isset() 1217 num = (int)mdb_strtoull(argv[0].a_un.a_str); in bmap_bitref_isset() 1240 num = FBA_TO_LOG_NUM((int)mdb_strtoull(argv[0].a_un.a_str)); in ind_byte() 1256 num = FBA_TO_LOG_NUM((int)mdb_strtoull(argv[0].a_un.a_str)); in ind_bit() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/stmf/ |
H A D | stmf.c | 144 char *ptr = (char *)argv[i].a_un.a_str; in stmf_ilports() 201 char *ptr = (char *)argv[i].a_un.a_str; in stmf_iss() 257 char *ptr = (char *)argv[i].a_un.a_str; in stmf_ilus() 307 char *ptr = (char *)argv[i].a_un.a_str; in stmf_i_lu_providers() 356 char *ptr = (char *)argv[i].a_un.a_str; in stmf_i_port_providers() 447 char *ptr = (char *)argv[i].a_un.a_str; in ilport2iport() 648 char *ptr = (char *)argv[i].a_un.a_str; in fct_irps() 1086 char *ptr = (char *)argv[i].a_un.a_str; in fct_icmds() 1415 if ((ptr = strchr(argv[i].a_un.a_str, '=')) == NULL) { in parse_options() 1417 argv[i].a_un.a_str); in parse_options() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | brand.c | 699 sed.sed_lddata = up->u_auxv[i].a_un.a_val; in brand_solaris_elfexec() 702 sed.sed_base = up->u_auxv[i].a_un.a_val; in brand_solaris_elfexec() 705 sed.sed_entry = up->u_auxv[i].a_un.a_val; in brand_solaris_elfexec() 708 sed.sed_phdr = up->u_auxv[i].a_un.a_val; in brand_solaris_elfexec() 711 sed.sed_phent = up->u_auxv[i].a_un.a_val; in brand_solaris_elfexec() 714 sed.sed_phnum = up->u_auxv[i].a_un.a_val; in brand_solaris_elfexec() 882 auxflags_auxv.a_un.a_val |= AF_SUN_NOPLM; in brand_solaris_elfexec() 896 auxflags_auxv32.a_un.a_val |= AF_SUN_NOPLM; in brand_solaris_elfexec() 913 brand_auxv[0].a_un.a_val = sed.sed_lddata; in brand_solaris_elfexec() 928 brand_auxv32[0].a_un.a_val = (uint32_t)sed.sed_lddata; in brand_solaris_elfexec() [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | auxv.h | 52 } a_un; member 63 } a_un; member
|
/titanic_41/usr/src/cmd/mdb/demo/common/ |
H A D | example1.c | 46 mdb_printf("%s ", argv->a_un.a_str); in simple_echo() 48 mdb_printf("%llr ", argv->a_un.a_val); in simple_echo()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getauxv.c | 115 return (auxp->a_un.a_val); in ___getauxval() 125 return (auxp->a_un.a_ptr); in ___getauxptr()
|
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | ps.c | 108 a_un.a_val); in get_ldbase() 111 procp->pp_ldsobase = auxvp->a_un.a_val; in get_ldbase() 117 a_un.a_val); in get_ldbase() 120 procp->pp_execphdr = auxvp->a_un.a_val; in get_ldbase()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | bio.c | 149 arg = (uintptr_t)argv->a_un.a_val; in bufpagefind() 151 arg = (uintptr_t)mdb_strtoull(argv->a_un.a_str); in bufpagefind()
|