Searched refs:rp (Results 1 - 25 of 448) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Drandom.c192 struct _randomjunk *rp = __randomjunk; local
194 if (rp == NULL) {
195 rp = (struct _randomjunk *)malloc(sizeof (*rp));
196 if (rp == NULL)
198 (void) memcpy(rp, &_randominit, sizeof (*rp));
199 __randomjunk = rp;
201 return (rp);
228 struct _randomjunk *rp local
302 struct _randomjunk *rp = _randomjunk(); local
362 struct _randomjunk *rp = _randomjunk(); local
398 struct _randomjunk *rp = _randomjunk(); local
[all...]
/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/uts/i86pc/os/
H A Dbiosdisk.c124 struct bop_regs rp = {0}; local
127 rp.eax.word.ax = 0x4100;
128 rp.ebx.word.bx = 0x55AA;
129 rp.edx.word.dx = drivenum;
132 BOP_DOINT(bootops, 0x13, &rp);
134 if (((rp.eflags & PS_C) != 0) || (rp.ebx.word.bx != 0xAA55)) {
136 "failed %d bx = %x\n", rp.eflags, rp.ebx.word.bx));
140 if ((rp
152 struct bop_regs rp = {0}; local
204 struct bop_regs rp = {0}; local
224 struct bop_regs rp = {0}; local
244 struct bop_regs rp = {0}; local
288 struct bop_regs rp = {0}; local
[all...]
H A Ddtrace_subr.c179 dtrace_user_probe(struct regs *rp, caddr_t addr, processorid_t cpuid) argument
185 if (USERMODE(rp->r_cs) || (rp->r_ps & PS_VM)) {
198 if (rp->r_trapno == T_DTRACE_RET) {
230 rp->r_pc = npc;
241 (void) (*dtrace_return_probe_ptr)(rp);
243 rp->r_pc = npc;
245 } else if (rp->r_trapno == T_BPTFLT) {
259 (*dtrace_pid_probe_ptr)(rp) == 0) {
265 if (dtrace_linear_pc(rp,
299 struct regs *rp = lwptoregs(ttolwp(t)); local
324 struct regs *rp = lwptoregs(ttolwp(t)); local
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Drep.cc77 Recursive_make rp; local
134 rp = ALLOC(Recursive_make);
135 (void) memset((char *) rp, 0, sizeof (Recursive_make_rec));
139 rp->oldline = (wchar_t *) wcsdup(line);
141 rp->cond_macrostring =
148 rp->target = (wchar_t *) wcsdup(line);
149 *bpatch = rp;
150 bpatch = &rp->next;
171 Recursive_make rp; local
180 rp
219 Recursive_make rp; local
289 Recursive_make rp; local
[all...]
H A Dparallel.cc85 static void delete_running_struct(Running rp);
90 static void finish_doname(Running rp);
96 static void store_conditionals(Running rp);
777 Running rp; local
794 for (rp_prev = &running_list, rp = running_list;
795 rp != NULL && parallel_process_cnt == 0;
796 rp = rp->next) {
797 if (rp->state == build_serial) {
798 *rp_prev = rp
1034 Running rp; local
1104 Running rp; local
1175 Running rp; local
1362 finish_doname(Running rp) argument
1441 Running rp; local
1491 Running rp; local
1551 Running rp; local
1582 Running rp; local
1614 Running rp; local
1642 store_conditionals(Running rp) argument
1740 Running rp; local
1870 delete_running_struct(Running rp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c198 r4flushpages(rnode4_t *rp, cred_t *cr) argument
209 mutex_enter(&rp->r_statelock);
210 while (rp->r_count > 0)
211 cv_wait(&rp->r_cv, &rp->r_statelock);
212 mutex_exit(&rp->r_statelock);
217 vp = RTOV4(rp);
220 if ((rp->r_flags & R4DIRTY) && !rp->r_error) {
223 mutex_enter(&rp
237 r4inactive(rnode4_t *rp, cred_t *cr) argument
373 rnode4_t *rp = VTOR4(vp); local
454 rnode4_t *rp; local
516 rnode4_t *rp; local
577 rnode4_t *rp; local
714 uninit_rnode4(rnode4_t *rp) argument
760 rp4_addfree(rnode4_t *rp, cred_t *cr) argument
947 rp4_rmfree(rnode4_t *rp) argument
970 rp4_addhash(rnode4_t *rp) argument
1002 rp4_rmhash_locked(rnode4_t *rp) argument
1029 rp4_rmhash(rnode4_t *rp) argument
1046 rnode4_t *rp; local
1106 rnode4_t *rp; local
1129 rnode4_t *rp; local
1163 rnode4_t *rp; local
1206 destroy_rnode4(rnode4_t *rp) argument
1236 rnode4_t *rp; local
1274 rnode4_t *rp; local
1398 nfs4_free_data_reclaim(rnode4_t *rp) argument
1460 nfs4_active_data_reclaim(rnode4_t *rp) argument
1537 rnode4_t *rp; local
1560 rnode4_t *rp; local
1583 rnode4_t *rp; local
1665 r2lease_time(rnode4_t *rp) argument
1720 rnode4_t *rp; local
1839 rnode4_t *rp; local
1960 isrootfh(nfs4_sharedfh_t *fh, rnode4_t *rp) argument
1977 r4_stub_set(rnode4_t *rp, nfs4_stub_type_t type) argument
1999 r4_stub_mirrormount(rnode4_t *rp) argument
2005 r4_stub_referral(rnode4_t *rp) argument
2013 r4_stub_none(rnode4_t *rp) argument
2028 rnode4_t *rp; local
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_filter.c38 fmd_log_filter_class(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
44 if (gmatch(rp->rec_class, arg))
48 if (! gmatch(rp->rec_class, FM_LIST_EVENT ".*") ||
49 nvlist_lookup_uint32(rp->rec_nvl, FM_SUSPECT_FAULT_SZ,
51 nvlist_lookup_nvlist_array(rp->rec_nvl, FM_SUSPECT_FAULT_LIST,
67 fmd_log_filter_uuid(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
76 return (nvlist_lookup_string(rp->rec_nvl,
82 fmd_log_filter_before(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
86 return (rp->rec_sec == sec ? rp
91 fmd_log_filter_after(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
100 fmd_log_filter_nv(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument
[all...]
/illumos-gate/usr/src/cmd/fm/fmdump/common/
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 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...]
/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/cmd/lp/cmd/lpsched/
H A Ddisp1.c86 RSTATUS *rp; local
109 if ((rp = NewRequest = new_rstatus(NULL, NULL)) == NULL)
124 rp->req_file = Strdup(req_file);
126 freerequest(rp->request);
127 rp->request = r;
129 rp->request->outcome = 0;
130 rp->secure->uid = md->uid;
131 rp->secure->gid = md->gid;
133 rp->secure->slabel = Strdup(md->slabel);
138 rp
342 RSTATUS *rp; local
446 RSTATUS *rp; local
650 static RSTATUS *rp; local
800 RSTATUS *rp; local
891 mv_file(RSTATUS *rp, char *dest) argument
994 RSTATUS *rp; local
1041 RSTATUS *rp; local
[all...]
/illumos-gate/usr/src/uts/sparc/os/
H A Dddi_arch.c64 struct regspec tmp_reg, *rp; local
82 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
83 if (rp == (struct regspec *)0) {
96 mp->map_obj.rp = rp;
105 tmp_reg = *(mp->map_obj.rp); /* Preserve underlying data */
106 rp = mp->map_obj.rp = &tmp_reg; /* Use tmp_reg in request */
108 rp->regspec_addr += (uintptr_t)offset;
110 rp
178 reg_is_enclosed_in_range(struct regspec *rp, struct rangespec *rangep) argument
202 i_ddi_apply_range(dev_info_t *dp, dev_info_t *rdip, struct regspec *rp) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/
H A Din.chargend.c70 char *rp; local
79 rp = rs++;
81 i = MIN(LINESIZE, endring - rp);
82 (void) memmove(dp, rp, i);
84 if ((rp += i) >= endring)
85 rp = ring;
88 (void) memmove(dp, rp, i);
90 if ((rp += i) >= endring)
91 rp = ring;
109 char *rp; local
[all...]
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c54 struct regspec tmp_reg, *rp; local
72 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
73 if (rp == (struct regspec *)0) {
86 mp->map_obj.rp = rp;
95 tmp_reg = *(mp->map_obj.rp); /* Preserve underlying data */
96 rp = mp->map_obj.rp = &tmp_reg; /* Use tmp_reg in request */
103 rp->regspec_bustype, rp
194 reg_is_enclosed_in_range(struct regspec *rp, struct rangespec *rangep) argument
219 i_ddi_apply_range(dev_info_t *dp, dev_info_t *rdip, struct regspec *rp) argument
[all...]
/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/uts/sun4/os/
H A Ddtrace_subr.c78 dtrace_pid_probe(struct regs *rp) argument
89 if (dtrace_pid_probe_ptr != NULL && (*dtrace_pid_probe_ptr)(rp) == 0) {
101 if (fuword32((void *)rp->r_pc, &instr) != 0 ||
108 sqp->sq_info.si_addr = (caddr_t)rp->r_pc;
121 dtrace_return_probe(struct regs *rp) argument
148 ASSERT(rp->r_npc == rp->r_pc + 4);
156 rp->r_pc = npc;
157 rp->r_npc = npc + 4;
168 (void) (*dtrace_return_probe_ptr)(rp);
178 struct regs *rp = lwptoregs(ttolwp(t)); local
202 struct regs *rp = lwptoregs(ttolwp(t)); local
[all...]
H A Dtrap.c70 int vis1_partial_support(struct regs *rp, k_siginfo_t *siginfo, uint_t *fault);
90 die(unsigned type, struct regs *rp, caddr_t addr, uint_t mmu_fsr) argument
98 ti.trap_regs = rp;
106 panic("BAD TRAP: type=%x rp=%p addr=%p mmu_fsr=%x "
108 type, (void *)rp, (void *)addr, mmu_fsr,
109 mod_containing_pc((caddr_t)rp->r_pc),
114 panic("BAD TRAP: type=%x rp=%p addr=%p mmu_fsr=%x",
115 type, (void *)rp, (void *)addr, mmu_fsr);
143 trap(struct regs *rp, caddr_t addr, uint32_t type, uint32_t mmu_fsr) argument
178 if (USERMODE(rp
1242 trap_cleanup( struct regs *rp, uint_t fault, k_siginfo_t *sip, int restartable) argument
1360 fpu_trap(struct regs *rp, caddr_t addr, uint32_t type, uint32_t code) argument
1613 nfload(struct regs *rp, int *instrp) argument
1696 swap_nc(struct regs *rp, int instr) argument
1724 ldstub_nc(struct regs *rp, int instr) argument
1903 get_accesstype(struct regs *rp) argument
1952 trap_async_berr_bto(int type, struct regs *rp) argument
[all...]
/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...]
/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/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/uts/sun4/io/efcode/
H A Dfc_ops.c105 fco_handle_t rp; local
108 rp = kmem_zalloc(sizeof (struct fc_resource_list), KM_SLEEP);
109 rp->next_handle = NULL; /* nobody is downstream */
110 rp->ap = ap;
111 rp->child = child;
112 rp->fcode = fcode;
113 rp->fcode_size = fcode_size;
117 rp->unit_address = up;
119 rp->bus_args = NULL; /* generic module has no bus args */
120 fc_phandle_table_alloc(fc_handle_to_phandle_head(rp));
135 fc_ops_free_handle(fco_handle_t rp) argument
201 fco_getproplen(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
248 fco_getprop(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
301 fco_ap_phandle(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
320 fco_child(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
352 fco_peer(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
384 fco_parent(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
419 fco_alloc_phandle(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
450 find_nodeid_resource(fco_handle_t rp, int n) argument
470 fco_new_device(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
644 fco_finish_device(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
688 fco_create_property(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
769 fco_validate(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
799 fco_invalidate(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
834 fco_exit(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
846 fco_local_ether_addr(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
[all...]
/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));
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_layout.c205 cell(struct tbl_node *tbl, struct tbl_row *rp, argument
215 if (rp->vert < 2)
216 rp->vert++;
248 if (rp->last == NULL)
250 else if (rp->last->pos == TBL_CELL_HORIZ ||
251 rp->last->pos == TBL_CELL_DHORIZ)
252 c = rp->last->pos;
253 } else if (c == TBL_CELL_DOWN && rp == tbl->first_row)
260 mods(tbl, cell_alloc(tbl, rp, c), ln, p, pos);
266 struct tbl_row *rp; local
354 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos) argument
[all...]

Completed in 81 milliseconds

1234567891011>>