Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/lib/libc/port/gen/
H A Drandom.c240 if (rp->rand_type == TYPE_0) rp->state[ -1 ] = rp->rand_type; in initstate()
276 rp->end_ptr = &rp->state[rp->rand_deg]; in initstate()
281 (rp->rptr - rp->state) + rp->rand_type); in initstate()
315 if (rp->rand_type == TYPE_0) rp->state[ -1 ] = rp->rand_type; in setstate()
318 (rp->rptr - rp->state) + rp->rand_type); in setstate()
336 rp->fptr = &rp->state[ (rear + rp->rand_sep)%rp->rand_deg ]; in setstate()
370 *rp->fptr += *rp->rptr; in random()
373 rp->fptr = rp->state; in random()
376 if (++rp->rptr >= rp->end_ptr) rp->rptr = rp->state; in random()
410 rp->fptr = &rp->state[ rp->rand_sep ]; in srandom()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c658 bzero(rp, sizeof (*rp)); in make_rnode4()
920 rp->r_freef = rp; in rp4_addfree()
921 rp->r_freeb = rp; in rp4_addfree()
982 rp->r_hashq->r_hashf = rp; in rp4_addhash()
1051 for (rp = rhtp->r_hashf; rp != (rnode4_t *)rhtp; rp = rp->r_hashf) { in r4find()
1246 rp = rp->r_hashf) { in nfs4_rnode_invalidate()
1348 rp = rp->r_hashf) { in r4flush()
1570 rp = rp->r_hashf) { in nfs4_active_reclaim()
1735 rp = rp->r_hashf) { in r4mkopenlist()
1849 rp = rp->r_hashf) { in r4find_by_fsid()
[all …]
H A Dnfs_client.c116 rnode_t *rp; in nfs_waitfor_purge_complete() local
120 if (rp->r_serial != NULL && rp->r_serial != curthread) { in nfs_waitfor_purge_complete()
124 if (!cv_wait_sig(&rp->r_cv, &rp->r_statelock)) { in nfs_waitfor_purge_complete()
196 rnode_t *rp; in nfs_purge_caches() local
262 rnode_t *rp; in nfs_purge_rddir_cache() local
382 rnode_t *rp; in nfs_attrcache() local
408 rnode_t *rp; in nfs3_attrcache() local
504 if (!cv_wait_sig(&rp->r_cv, &rp->r_statelock)) { in nfs_attr_cache()
647 if (!cv_wait_sig(&rp->r_cv, &rp->r_statelock)) { in nfs3_attr_cache()
820 (!(rp->r_flags & RDIRTY) && rp->r_count == 0))) in nfs_attrcache_va()
[all …]
H A Dnfs4_callback.c154 rnode4_t *rp; member
176 rnode4_t *rp; in cb_getattr() local
248 for (; rp != NULL; rp = list_next(&sp->s_deleg_list, rp)) { in cb_getattr()
337 rp->r_deleg_change = rp->r_deleg_change_grant; in cb_getattr()
389 rnode4_t *rp; in cb_recall() local
428 for (; rp != NULL; rp = list_next(&sp->s_deleg_list, rp)) { in cb_recall()
914 rnode4_t *rp; in nfs4_dquery() local
1723 pp->rp = rp; in nfs4delegreturn_async()
1835 for (rp = list_head(&sp->s_deleg_list); rp != NULL; rp = next) { in nfs4_deleg_discard()
2058 rp = args->rp; in nfs4delegreturn_thread()
[all …]
H A Dnfs3_vnops.c297 rnode_t *rp; in nfs3_open() local
347 rnode_t *rp; in nfs3_close() local
577 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs3_read()
593 if (!cv_wait_sig(&rp->r_cv, &rp->r_statelock)) { in nfs3_read()
738 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs3_write()
820 if (!cv_wait_sig(&rp->r_cv, &rp->r_statelock)) { in nfs3_write()
830 cv_wait(&rp->r_cv, &rp->r_statelock); in nfs3_write()
4574 cv_wait(&rp->r_cv, &rp->r_statelock); in nfs3_getpage()
5448 cv_wait(&rp->r_cv, &rp->r_statelock); in nfs3_frlock()
6070 cv_wait(&rp->r_commit.c_cv, &rp->r_statelock); in nfs3_dispose()
[all …]
H A Dnfs_vnops.c259 rnode_t *rp; in nfs_open() local
309 rnode_t *rp; in nfs_close() local
455 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs_read()
493 if (!cv_wait_sig(&rp->r_cv, &rp->r_statelock)) { in nfs_read()
642 rp->r_mapcnt == 0 && rp->r_inmap == 0 && in nfs_write()
716 if (!cv_wait_sig(&rp->r_cv, &rp->r_statelock)) { in nfs_write()
726 cv_wait(&rp->r_cv, &rp->r_statelock); in nfs_write()
2301 ((rp->r_flags & RDIRTY) || rp->r_count > 0)) { in nfs_remove()
3670 cv_wait(&rp->r_cv, &rp->r_statelock); in nfs_getpage()
4527 if (cv_wait_sig(&rp->r_cv, &rp->r_statelock) in nfs_frlock()
[all …]
/illumos-gate/usr/src/cmd/make/bin/
H A Dparallel.cc796 rp = rp->next) { in process_next()
823 rp = rp->next) { in process_next()
853 rp->target->state = rp->redo ? in process_next()
896 rp = rp->next) { in process_next()
940 doname_subtree(rp->target, rp->do_get, rp->implicit); in process_next()
1059 for (rp = running_list; rp != NULL; rp = rp->next) { in dependency_conflict()
1131 (rp != NULL) && (rp->pid != pid); in await_parallel()
1132 rp = rp->next) { in await_parallel()
1182 rp = rp->next) { in finish_children()
1746 rp != NULL && target != rp->target; in is_running()
[all …]
H A Drep.cc77 Recursive_make rp; in report_recursive_init() local
149 *bpatch = rp; in report_recursive_init()
171 Recursive_make rp; in report_recursive_dep() local
181 if (rp == NULL) { in report_recursive_dep()
188 *bpatch = rp; in report_recursive_dep()
192 if ((rp->oldline != NULL) && !IS_WEQUAL(rp->oldline, line)) { in report_recursive_dep()
228 for (rp = recursive_list; rp != NULL; rp = rp->next) { in find_recursive_target()
232 if (rp->removed) in find_recursive_target()
262 return rp; in find_recursive_target()
266 return rp; in find_recursive_target()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp1.c86 RSTATUS *rp; in s_print_request() local
342 RSTATUS *rp; in s_start_change_request() local
616 (void) putrequest(rp->req_file, rp->request); in s_end_change_request()
621 (void) Putsecure(rp->req_file, rp->secure); in s_end_change_request()
633 (void) putrequest(rp->req_file, rp->request); in s_end_change_request()
677 crp = rp; in _cancel()
678 rp = rp->next; in _cancel()
817 for (rp = Request_List; rp != NULL; rp = rp->next) { in s_inquire_request_rank()
818 if (rp->printer && !(rp->request->outcome & RS_DONE)) in s_inquire_request_rank()
924 if (putrequest(rp->req_file, rp->request) < 0) { in mv_file()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dbiosdisk.c124 struct bop_regs rp = {0}; in bios_check_extension_present() local
127 rp.eax.word.ax = 0x4100; in bios_check_extension_present()
128 rp.ebx.word.bx = 0x55AA; in bios_check_extension_present()
134 if (((rp.eflags & PS_C) != 0) || (rp.ebx.word.bx != 0xAA55)) { in bios_check_extension_present()
136 "failed %d bx = %x\n", rp.eflags, rp.ebx.word.bx)); in bios_check_extension_present()
171 rp.eax.word.ax = 0x4800; in get_dev_params()
181 rp.eflags, rp.eax.byte.ah)); in get_dev_params()
211 if (((rp.eflags & PS_C) != 0) || rp.eax.byte.ah != 0) { in drive_present()
213 drivenum, rp.eflags, rp.eax.byte.ah)); in drive_present()
232 status = rp.eax.byte.ah; in reset_disk()
[all …]
H A Dtrap.c408 rp->r_ps = (rp->r_ps & ~0xff) | in emulate_lsahf()
412 rp->r_rax = (rp->r_rax & ~0xff00) | in emulate_lsahf()
1630 ttoproc(curthread)->p_pid : 0, rp->r_pc, rp->r_sp, rp->r_ps); in showregs()
1660 printf(fmt, "rdi", rp->r_rdi, "rsi", rp->r_rsi, "rdx", rp->r_rdx); in dumpregs()
1661 printf(fmt, "rcx", rp->r_rcx, " r8", rp->r_r8, " r9", rp->r_r9); in dumpregs()
1662 printf(fmt, "rax", rp->r_rax, "rbx", rp->r_rbx, "rbp", rp->r_rbp); in dumpregs()
1663 printf(fmt, "r10", rp->r_r10, "r11", rp->r_r11, "r12", rp->r_r12); in dumpregs()
1664 printf(fmt, "r13", rp->r_r13, "r14", rp->r_r14, "r15", rp->r_r15); in dumpregs()
1668 printf(fmt, " es", rp->r_es, " fs", rp->r_fs, " gs", rp->r_gs); in dumpregs()
1670 printf(fmt, "trp", rp->r_trapno, "err", rp->r_err, "rip", rp->r_rip); in dumpregs()
[all …]
H A Ddtrace_subr.c170 if (USERMODE(rp->r_cs) || (rp->r_ps & PS_VM)) { in dtrace_user_probe()
215 rp->r_pc = npc; in dtrace_user_probe()
228 rp->r_pc = npc; in dtrace_user_probe()
251 trap(rp, addr, cpuid); in dtrace_user_probe()
269 rp->r_pc--; in dtrace_user_probe()
273 trap(rp, addr, cpuid); in dtrace_user_probe()
276 trap(rp, addr, cpuid); in dtrace_user_probe()
300 rp->r_pc = t->t_dtrace_pc; in dtrace_safe_synchronous_signal()
349 rp->r_r8 = t->t_dtrace_regv; in dtrace_safe_defer_signal()
352 rp->r_r9 = t->t_dtrace_regv; in dtrace_safe_defer_signal()
[all …]
/illumos-gate/usr/src/uts/sun4/os/
H A Dtrap.c476 rp->r_pc = rp->r_npc; in trap()
760 rp->r_pc = rp->r_npc; in trap()
772 rp->r_pc = rp->r_npc; in trap()
877 rp->r_pc = rp->r_npc; in trap()
912 rp->r_pc = rp->r_npc; in trap()
933 rp->r_pc = rp->r_npc; in trap()
952 rp->r_pc = rp->r_npc; in trap()
1000 rp->r_pc = rp->r_npc; in trap()
1037 rp->r_pc = rp->r_npc; in trap()
1167 rp->r_pc = rp->r_npc; in trap()
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c54 struct regspec tmp_reg, *rp; in i_ddi_bus_map() local
86 mp->map_obj.rp = rp; in i_ddi_bus_map()
96 rp = mp->map_obj.rp = &tmp_reg; /* Use tmp_reg in request */ in i_ddi_bus_map()
103 rp->regspec_bustype, rp->regspec_addr, rp->regspec_size, in i_ddi_bus_map()
115 if (rp->regspec_bustype > 1 && rp->regspec_addr != 0) { in i_ddi_bus_map()
119 rp->regspec_addr, rp->regspec_size); in i_ddi_bus_map()
123 if (rp->regspec_bustype > 1 && rp->regspec_addr == 0) { in i_ddi_bus_map()
143 rp->regspec_bustype, rp->regspec_addr, rp->regspec_size, in i_ddi_bus_map()
205 if ((rp->regspec_addr + rp->regspec_size - 1) <= in reg_is_enclosed_in_range()
251 rp->regspec_addr, rp->regspec_size); in i_ddi_apply_range()
[all …]
H A Darchdep.c403 grp[REG_R8] = rp->r_r8; in getgregs()
404 grp[REG_R9] = rp->r_r9; in getgregs()
424 grp[REG_DS] = rp->r_ds; in getgregs()
425 grp[REG_ES] = rp->r_es; in getgregs()
426 grp[REG_FS] = rp->r_fs; in getgregs()
427 grp[REG_GS] = rp->r_gs; in getgregs()
434 grp[REG_CS] = rp->r_cs; in getgregs()
435 grp[REG_SS] = rp->r_ss; in getgregs()
669 rp->r_cs = UCS_SEL; in setgregs()
670 rp->r_ss = UDS_SEL; in setgregs()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c112 rp->rcm_supp = 1; in enclosure_minor()
154 rp->rcm_supp = 1; in smp_minor()
190 rp->rcm_supp = 1; in disk_minor()
266 dp = rp->rcm_dp; in node_select()
335 dp = rp->rcm_dp; in retire_supported()
352 rp->rcm_supp = 1; in retire_supported()
376 dp = rp->rcm_dp; in rcm_finalize()
396 retval = rp->rcm_remove(rp->rcm_handle, in rcm_finalize()
401 retval = rp->rcm_online(rp->rcm_handle, in rcm_finalize()
451 retval = rp->rcm_offline(rp->rcm_handle, rpt->rpt_path, in call_offline()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/modules/genunix/
H A Dgcore_isadep.c47 struct regs *rp; in gcore_getgregs() local
53 rp = &rgs; in gcore_getgregs()
58 grp[REG_RDI] = rp->r_rdi; in gcore_getgregs()
62 grp[REG_R8] = rp->r_r8; in gcore_getgregs()
63 grp[REG_R9] = rp->r_r9; in gcore_getgregs()
81 grp[REG_DS] = rp->r_ds; in gcore_getgregs()
82 grp[REG_ES] = rp->r_es; in gcore_getgregs()
83 grp[REG_FS] = rp->r_fs; in gcore_getgregs()
84 grp[REG_GS] = rp->r_gs; in gcore_getgregs()
89 grp[REG_CS] = rp->r_cs; in gcore_getgregs()
[all …]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_ops.c105 fco_handle_t rp; in fc_ops_alloc_handle() local
110 rp->ap = ap; in fc_ops_alloc_handle()
111 rp->child = child; in fc_ops_alloc_handle()
112 rp->fcode = fcode; in fc_ops_alloc_handle()
117 rp->unit_address = up; in fc_ops_alloc_handle()
128 return (rp); in fc_ops_alloc_handle()
139 if (rp->unit_address) in fc_ops_free_handle()
140 kmem_free(rp->unit_address, strlen(rp->unit_address) + 1); in fc_ops_free_handle()
142 if (rp->dtree) in fc_ops_free_handle()
632 rp->cdip = cdev; in fco_new_device()
[all …]
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dxregs.c281 rp->r_g1 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xg[XR_G1], rp->r_g1); in xregs_setgregs()
282 rp->r_g2 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xg[XR_G2], rp->r_g2); in xregs_setgregs()
283 rp->r_g3 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xg[XR_G3], rp->r_g3); in xregs_setgregs()
284 rp->r_g4 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xg[XR_G4], rp->r_g4); in xregs_setgregs()
285 rp->r_g5 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xg[XR_G5], rp->r_g5); in xregs_setgregs()
286 rp->r_g6 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xg[XR_G6], rp->r_g6); in xregs_setgregs()
287 rp->r_g7 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xg[XR_G7], rp->r_g7); in xregs_setgregs()
289 rp->r_o0 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xo[XR_O0], rp->r_o0); in xregs_setgregs()
290 rp->r_o1 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xo[XR_O1], rp->r_o1); in xregs_setgregs()
291 rp->r_o2 = SET_ALL_64(xregs->pr_un.pr_v8p.pr_xo[XR_O2], rp->r_o2); in xregs_setgregs()
[all …]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dfasttrap_isa.c347 dtrace_probe(probe->ftp_id, rp->r_o0, rp->r_o1, in fasttrap_return_common()
348 rp->r_o2, rp->r_o3, rp->r_o4); in fasttrap_return_common()
378 if (rp->r_npc == rp->r_pc + 4 && in fasttrap_return_common()
392 rp->r_o0, rp->r_o1, rp->r_o2, rp->r_o3); in fasttrap_return_common()
497 dtrace_probe(probe->ftp_id, rp->r_o0, rp->r_o1, rp->r_o2, in fasttrap_pid_probe()
498 rp->r_o3, rp->r_o4); in fasttrap_pid_probe()
526 rp->r_o0 = 1; in fasttrap_pid_probe()
559 rp->r_g1 = rp->r_sp + imm; in fasttrap_pid_probe()
888 fasttrap_putreg(rp, RD(tp->ftt_instr), rp->r_pc); in fasttrap_pid_probe()
897 rp->r_o7 = rp->r_pc; in fasttrap_pid_probe()
[all …]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c679 rp->r_r0, rp->r_r1, 0, 0); in fasttrap_return_common()
751 sel = rp->r_cs; in fasttrap_do_seg()
754 sel = rp->r_ds; in fasttrap_do_seg()
757 sel = rp->r_es; in fasttrap_do_seg()
760 sel = rp->r_fs; in fasttrap_do_seg()
763 sel = rp->r_gs; in fasttrap_do_seg()
925 rp->r_pc = pc; in fasttrap_pid_probe()
943 rp->r_rsi, rp->r_rdx, rp->r_rcx, in fasttrap_pid_probe()
958 rp->r_rsi, rp->r_rdx, rp->r_rcx, in fasttrap_pid_probe()
1056 rp->r_r0 = 1; in fasttrap_pid_probe()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_layout.c217 if (rp->vert < 2) in cell()
218 rp->vert++; in cell()
268 struct tbl_row *rp; in tbl_layout() local
270 rp = NULL; in tbl_layout()
280 rp = NULL; in tbl_layout()
312 for (rp = tbl->first_row; rp; rp = rp->next) { in tbl_layout()
324 free(rp->next); in tbl_layout()
339 if (rp == NULL) { in tbl_layout()
342 rp = mandoc_calloc(1, sizeof(*rp)); in tbl_layout()
369 rp->first = p; in cell_alloc()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dddi_arch.c64 struct regspec tmp_reg, *rp; in i_ddi_bus_map() local
83 if (rp == (struct regspec *)0) { in i_ddi_bus_map()
96 mp->map_obj.rp = rp; in i_ddi_bus_map()
106 rp = mp->map_obj.rp = &tmp_reg; /* Use tmp_reg in request */ in i_ddi_bus_map()
108 rp->regspec_addr += (uintptr_t)offset; in i_ddi_bus_map()
110 rp->regspec_size = (uint_t)len; in i_ddi_bus_map()
189 if ((rp->regspec_addr + rp->regspec_size - 1) <= in reg_is_enclosed_in_range()
224 if (reg_is_enclosed_in_range(rp, rangep)) in i_ddi_apply_range()
234 rp->regspec_addr, rp->regspec_size); in i_ddi_apply_range()
240 rp->regspec_bustype = rangep->rng_bustype; in i_ddi_apply_range()
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_trap.c154 (ttoproc(curthread)->p_pid) : 0, rp->r_pc, rp->r_sp, in showregs()
158 "%llx, %llx\n", rp->r_o0, rp->r_o1, rp->r_o2, rp->r_o3, in showregs()
159 rp->r_o4, rp->r_o5, rp->r_o6, rp->r_o7); in showregs()
162 rp->r_g1, rp->r_g2, rp->r_g3, in showregs()
163 rp->r_g4, rp->r_g5, rp->r_g6, rp->r_g7); in showregs()
210 PRIx64 "\n", 0, rp->ptl1_g1, rp->ptl1_g2, rp->ptl1_g3); in ptl1_showtrap()
212 PRIx64 "\n", rp->ptl1_g4, rp->ptl1_g5, rp->ptl1_g6, rp->ptl1_g7); in ptl1_showtrap()
214 i = rp->ptl1_cwp; in ptl1_showtrap()
215 j = rp->ptl1_canrestore; in ptl1_showtrap()
224 wp = &rp->ptl1_rwindow[i]; in ptl1_showtrap()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_recno.c83 RECNO *rp; local
93 if ((ret = __os_calloc(1, sizeof(*rp), &rp)) != 0)
178 (void)__db_unmapfile(rp->re_smap, rp->re_msize);
186 __os_free(rp, sizeof(*rp));
448 RECNO *rp; local
454 (void)__db_unmapfile(rp->re_smap, rp->re_msize);
921 memset(dbc->rdata.data, rp->re_pad, rp->re_len);
984 rp->re_cmap = rp->re_smap;
985 rp->re_emap = (u_int8_t *)rp->re_smap + (rp->re_msize = size);
1048 (void)__db_unmapfile(rp->re_smap, rp->re_msize);
[all …]

12345678910>>...19