/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | wait3.c | 54 wait3(int *status, int options, struct rusage *rp) argument 56 return (wait4(0, status, options, rp));
|
H A D | wait4.c | 72 wait4(pid_t pid, int *status, int options, struct rusage *rp) argument 81 if ((long)status == -1L || (long)rp == -1L) { 86 if (rp) 87 (void) memset(rp, 0, sizeof (struct rusage)); 118 if (rp) { 126 rp->ru_utime.tv_sec = diffu / HZ; 127 rp->ru_utime.tv_usec = (diffu % HZ) * (1000000 / HZ); 128 rp->ru_stime.tv_sec = diffs/ HZ; 129 rp->ru_stime.tv_usec = (diffs % HZ) * (1000000 / HZ);
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | rintl.c | 50 enum fp_precision_type rp; local 68 rp = __swapRP(fp_extended); /* make sure precision is long double */ 70 (void) __swapRP(rp); /* restore precision mode */
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | erff.c | 53 int rp; local 61 rp = __swapRP(fp_extended); 65 if (rp != fp_extended) 66 (void) __swapRP(rp);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | mount.c | 68 mount(long *lp, rval_t *rp) argument 135 rp->r_val2 = error;
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | metagetroot.c | 74 md_row_t *rp; local 111 rp = &stripep->rows.rows_val[0]; 112 cp = &rp->comps.comps_val[0];
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_rtld.c | 48 topo_rtld_t *rp = mod->tm_data; local 53 rp->rtld_fini(mod); 60 (void) dlclose(rp->rtld_dlp); 61 topo_mod_free(mod, rp, sizeof (topo_rtld_t)); 70 topo_rtld_t *rp; local 79 if ((rp = mod->tm_data = topo_mod_alloc(mod, sizeof (topo_rtld_t))) 83 rp->rtld_dlp = dlp; 84 rp->rtld_init = (int (*)())dlsym(dlp, "_topo_init"); 85 rp->rtld_fini = (void (*)())dlsym(dlp, "_topo_fini"); 87 if (rp [all...] |
H A D | topo_tree.c | 85 tnode_t *rp; local 104 if ((rp = topo_mod_zalloc(mod, sizeof (tnode_t))) == NULL) 107 rp->tn_state = TOPO_NODE_ROOT | TOPO_NODE_INIT; 108 rp->tn_name = tp->tt_scheme; 109 rp->tn_instance = 0; 110 rp->tn_enum = mod; 111 rp->tn_hdl = thp; 113 topo_node_hold(rp); 115 tp->tt_walk->tw_root = rp; 120 tp->tt_root = rp; [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | getdate.c | 67 char *datemsk, *line, *rp; local 97 rp = NULL; 128 rp = strptime(str, line, rtmp); 129 if (rp != NULL) 141 if (feof(fp) || (rp != NULL && *rp != '\0')) {
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cexpf.c | 80 int rp = __swapRP(fp_extended); local 86 if (rp != fp_extended) 87 (void) __swapRP(rp);
|
H A D | clogf.c | 64 int rp = __swapRP(fp_extended); local 77 if (rp != fp_extended) 78 (void) __swapRP(rp);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | wait3.c | 61 csh_wait3(int *status, int options, struct rusage *rp) argument 68 if (rp) 69 memset((void *)rp, 0, sizeof (struct rusage)); 86 if (rp) { 94 rp->ru_utime.tv_sec = diffu/HZ; 95 rp->ru_utime.tv_usec = ((diffu % HZ) * 1000000) / HZ; 96 rp->ru_stime.tv_sec = diffs/HZ; 97 rp->ru_stime.tv_usec = ((diffs % HZ) * 1000000) / HZ;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf/ |
H A D | cmd_options.h | 39 void * rp; /* stmf_remote_port_t pointer */ member in struct:find_options
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/genunix/ |
H A D | gcore_isadep.c | 46 struct regs *rp; local 52 rp = &rgs; 57 grp[REG_RDI] = rp->r_rdi; 58 grp[REG_RSI] = rp->r_rsi; 59 grp[REG_RDX] = rp->r_rdx; 60 grp[REG_RCX] = rp->r_rcx; 61 grp[REG_R8] = rp->r_r8; 62 grp[REG_R9] = rp->r_r9; 63 grp[REG_RAX] = rp->r_rax; 64 grp[REG_RBX] = rp [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rtld.c | 48 fmd_rtld_t *rp; local 56 rp = mp->mod_data = fmd_alloc(sizeof (fmd_rtld_t), FMD_SLEEP); 58 rp->rtld_dlp = dlp; 59 rp->rtld_init = (void (*)())dlsym(dlp, "_fmd_init"); 60 rp->rtld_fini = (void (*)())dlsym(dlp, "_fmd_fini"); 62 if (rp->rtld_init == NULL) { 64 fmd_free(rp, sizeof (fmd_rtld_t)); 74 if (fmd_module_enter(mp, rp->rtld_init) != 0 && mp->mod_info != NULL) 82 fmd_free(rp, sizeof (fmd_rtld_t)); 92 fmd_rtld_t *rp local [all...] |
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | asru.c | 33 asru_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 38 fmdump_date(buf, sizeof (buf), rp), rp->rec_class); 45 asru_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 51 (void) nvlist_lookup_string(rp->rec_nvl, FM_RSRC_ASRU_UUID, &uuid); 52 (void) nvlist_lookup_boolean_value(rp->rec_nvl, 54 (void) nvlist_lookup_boolean_value(rp->rec_nvl, 67 fmdump_date(buf, sizeof (buf), rp), uuid, state + 1); 74 asru_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, argument 81 (void) nvlist_lookup_string(rp 110 asru_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 116 asru_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument [all...] |
H A D | error.c | 32 err_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 37 fmdump_date(buf, sizeof (buf), rp), rp->rec_class); 44 err_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 49 (void) nvlist_lookup_uint64(rp->rec_nvl, FM_EREPORT_ENA, &ena); 52 fmdump_date(buf, sizeof (buf), rp), rp->rec_class, ena); 59 err_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, argument 65 fmdump_year(buf, sizeof (buf), rp), rp 77 err_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 83 err_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument [all...] |
H A D | info.c | 32 info_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 37 fmdump_date(buf, sizeof (buf), rp), rp->rec_class); 44 info_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 49 (void) nvlist_lookup_string(rp->rec_nvl, FM_IREPORT_UUID, &uuid); 52 fmdump_date(buf, sizeof (buf), rp), uuid, rp->rec_class); 59 info_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, argument 65 (void) nvlist_lookup_string(rp->rec_nvl, FM_IREPORT_UUID, &uuid); 68 fmdump_year(buf, sizeof (buf), rp), r 80 info_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 86 info_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument [all...] |
H A D | nvlrender.c | 84 fmdump_print_json(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 86 if (nvlist_print_json(fp, rp->rec_nvl) != 0 || fprintf(fp, "\n") < 0 ||
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | common_sparc.c | 107 Reglist *rp; local 119 for (rp = reglist; rp; rp = rp->rl_next) { 123 if (rp->rl_sym == symdef) { 130 sym1 = (STRTAB(rp->rl_lmp) + rp->rl_sym->st_name); 133 if (check_regsyms(rp->rl_sym, sym1, symdef, sym2) == 0) 146 0, &inv_buf), NAME(rp [all...] |
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmsac.c | 112 char **rp = NULL; local 119 rp = p; 122 if (rp) { 123 *rp = *--p;
|
/illumos-gate/usr/src/lib/libast/common/hash/ |
H A D | hashfree.c | 46 Hash_root_t* rp; local 120 if ((rp = hash_info.list) != tab->root) 122 for (; rp; rp = rp->next) 123 if (rp->next == tab->root) 125 rp->next = tab->root->next; 129 else hash_info.list = rp->next;
|
/illumos-gate/usr/src/uts/intel/ia32/syscall/ |
H A D | lwp_private.c | 44 struct regs *rp = lwptoregs(lwp); local 76 pcb->pcb_ds = rp->r_ds; 77 pcb->pcb_es = rp->r_es; 78 pcb->pcb_fs = rp->r_fs; 79 pcb->pcb_gs = rp->r_gs; 135 rval = rp->r_fs = LWPFS_SEL; 143 rval = rp->r_gs = LWPGS_SEL; 161 struct regs *rp = lwptoregs(lwp); local 178 if (rp->r_fs == 0) 186 if (rp [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_data.c | 164 newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) argument 171 dp->layout = rp; 188 struct tbl_row *rp; local 200 for (rp = tbl->last_span->layout->next; 201 rp != NULL && rp->first != NULL; 202 rp = rp->next) { 203 switch (rp->first->pos) { 205 dp = newspan(tbl, ln, rp); [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mlsetup.c | 86 struct bop_regs rp = {0}; local 88 rp.eax.byte.ah = 0x0; 89 rp.eax.byte.al = val; 90 rp.ebx.word.bx = 0x0; 92 BOP_DOINT(bootops, 0x10, &rp); 101 mlsetup(struct regs *rp) argument 287 t0.t_stk = (caddr_t)rp - MINFRAME; 309 lwp0.lwp_regs = (void *)rp; 385 rp->r_fp = 0; /* terminate kernel stack traces! */
|