Searched defs:rp (Results 1 - 25 of 392) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dwait3.c54 wait3(int *status, int options, struct rusage *rp) argument
56 return (wait4(0, status, options, rp));
H A Dwait4.c72 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/uts/common/syscall/
H A Dmount.c68 mount(long *lp, rval_t *rp) argument
135 rp->r_val2 = error;
/illumos-gate/usr/src/lib/libm/common/Q/
H A Drintl.c50 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 Derff.c53 int rp; local
61 rp = __swapRP(fp_extended);
65 if (rp != fp_extended)
66 (void) __swapRP(rp);
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Drestrict.c6 void *restrict rp; variable
10 void f01(typeof(&rp) dst) { } /* check-should-pass */
16 rp = up; /* check-should-pass */
17 up = rp; /* check-should-pass */
42 prp = &rp; /* check-should-pass */
48 pup = &rp; /* check-should-fail */
54 extern typeof(&rp) prp;
57 prp = &rp; /* check-should-pass */
63 pup = &rp; /* check-should-fail */
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_rtld.c48 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 Dtopo_tree.c85 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 Dgetdate.c67 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/cmd/mdb/common/modules/stmf/
H A Dcmd_options.h39 void * rp; /* stmf_remote_port_t pointer */ member in struct:find_options
/illumos-gate/usr/src/cmd/csh/
H A Dwait3.c61 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/fm/fmd/common/
H A Dfmd_rtld.c48 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/sgs/rtld/sparc/
H A Dcommon_sparc.c107 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 Dtmsac.c112 char **rp = NULL; local
119 rp = p;
122 if (rp) {
123 *rp = *--p;
/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashfree.c46 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/cmd/fm/fmdump/common/
H A Dasru.c33 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 Derror.c32 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 Dinfo.c32 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 Dnvlrender.c84 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/lib/libm/common/complex/
H A Dcexpf.c80 int rp = __swapRP(fp_extended); local
86 if (rp != fp_extended)
87 (void) __swapRP(rp);
H A Dclogf.c64 int rp = __swapRP(fp_extended); local
77 if (rp != fp_extended)
78 (void) __swapRP(rp);
/illumos-gate/usr/src/cmd/mdb/intel/modules/genunix/
H A Dgcore_isadep.c47 struct regs *rp; local
53 rp = &rgs;
58 grp[REG_RDI] = rp->r_rdi;
59 grp[REG_RSI] = rp->r_rsi;
60 grp[REG_RDX] = rp->r_rdx;
61 grp[REG_RCX] = rp->r_rcx;
62 grp[REG_R8] = rp->r_r8;
63 grp[REG_R9] = rp->r_r9;
64 grp[REG_RAX] = rp->r_rax;
65 grp[REG_RBX] = rp
[all...]
/illumos-gate/usr/src/uts/intel/ia32/syscall/
H A Dlwp_private.c43 struct regs *rp = lwptoregs(lwp); local
75 pcb->pcb_ds = rp->r_ds;
76 pcb->pcb_es = rp->r_es;
77 pcb->pcb_fs = rp->r_fs;
78 pcb->pcb_gs = rp->r_gs;
134 rval = rp->r_fs = LWPFS_SEL;
142 rval = rp->r_gs = LWPGS_SEL;
160 struct regs *rp = lwptoregs(lwp); local
177 if (rp->r_fs == 0)
185 if (rp
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmlsetup.c93 struct bop_regs rp = {0}; local
95 rp.eax.byte.ah = 0x0;
96 rp.eax.byte.al = val;
97 rp.ebx.word.bx = 0x0;
99 BOP_DOINT(bootops, 0x10, &rp);
108 mlsetup(struct regs *rp) argument
340 t0.t_stk = (caddr_t)rp - MINFRAME;
362 lwp0.lwp_regs = (void *)rp;
438 rp->r_fp = 0; /* terminate kernel stack traces! */
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dpmap_prot.c120 xdr_pmaplist_ptr(XDR *xdrs, pmaplist_ptr *rp) argument
133 more_elements = (bool_t)(*rp != NULL);
144 next = (*rp)->pml_next;
145 if (!xdr_reference(xdrs, (caddr_t *)rp,
150 rp = &next_copy;
157 rp = &((*rp)->pml_next);
168 xdr_pmaplist(XDR *xdrs, PMAPLIST **rp) argument
170 return (xdr_pmaplist_ptr(xdrs, (pmaplist_ptr *)rp));

Completed in 59 milliseconds

1234567891011>>