Home
last modified time | relevance | path

Searched refs:rp (Results 76 – 100 of 454) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dwait4.c70 wait4(pid_t pid, int *status, int options, struct rusage *rp) in wait4() argument
79 if ((long)status == -1L || (long)rp == -1L) { in wait4()
84 if (rp) in wait4()
85 (void) memset(rp, 0, sizeof (struct rusage)); in wait4()
116 if (rp) { in wait4()
124 rp->ru_utime.tv_sec = diffu / HZ; in wait4()
125 rp->ru_utime.tv_usec = (diffu % HZ) * (1000000 / HZ); in wait4()
126 rp->ru_stime.tv_sec = diffs/ HZ; in wait4()
127 rp->ru_stime.tv_usec = (diffs % HZ) * (1000000 / HZ); in wait4()
/illumos-gate/usr/src/uts/sun4/io/
H A Drootnex.c335 struct regspec *rp = mp->map_obj.rp; in rootnex_map_regspec() local
353 if (rp->regspec_size == 0) { in rootnex_map_regspec()
399 struct regspec *rp; in rootnex_unmap_regspec() local
404 rp = mp->map_obj.rp; in rootnex_unmap_regspec()
407 if (rp->regspec_size == 0) { in rootnex_unmap_regspec()
431 register struct regspec *rp; in rootnex_map_handle() local
471 rp = mp->map_obj.rp; in rootnex_map_handle()
472 if (rp->regspec_size == 0) in rootnex_map_handle()
486 struct regspec *rp, tmp_reg; in rootnex_map() local
533 mp->map_obj.rp = rp; in rootnex_map()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_subr.c1969 (void *)rp)); in nfs4_remap_file()
2054 rnode4_t *rp; in nfs4_make_dotdot() local
2088 if (rp != NULL) { in nfs4_make_dotdot()
2437 rp->r_dir = NULL; in rddir4_cache_destroy()
2890 rnode4_t *rp; in nfs4_directio() local
2892 rp = VTOR4(vp); in nfs4_directio()
2911 ((rp->r_flags & R4DIRTY) || rp->r_awcount > 0)) { in nfs4_directio()
2952 rnode4_t *rp; in nfs4_has_pages() local
2954 rp = VTOR4(vp); in nfs4_has_pages()
3135 if (rp == NULL) in rnode4info()
[all …]
H A Dnfs4_recovery.c646 rnode4_t *rp; in nfs4_check_recov_err() local
654 rp = VTOR4(vp); in nfs4_check_recov_err()
680 error = (rp->r_error ? rp->r_error : EIO); in nfs4_check_recov_err()
1157 rnode4_t *rp; in nfs4_wait_for_delay() local
1161 rp = VTOR4(vp); in nfs4_wait_for_delay()
1570 rnode4_t *rp; in recov_newserver() local
1925 cv_wait(&rp->r_cv, &rp->r_statelock); in recov_filehandle()
2210 rnode4_t *rp; in relock_file() local
2490 rnode4_t *rp; in recov_openfiles() local
3377 rp->r_recov_act, rp->r_last_recov)); in recov_throttle()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dsyscall.c295 lwp->lwp_arg[0] = rp->r_o0; in save_syscall_args()
296 lwp->lwp_arg[1] = rp->r_o1; in save_syscall_args()
297 lwp->lwp_arg[2] = rp->r_o2; in save_syscall_args()
298 lwp->lwp_arg[3] = rp->r_o3; in save_syscall_args()
299 lwp->lwp_arg[4] = rp->r_o4; in save_syscall_args()
605 rp->r_o0 = rval1; in post_syscall()
606 rp->r_o1 = rval2; in post_syscall()
626 rp->r_o0 = error; in post_syscall()
638 rp->r_pc = rp->r_npc; in post_syscall()
639 rp->r_npc += 4; in post_syscall()
[all …]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs_clnt.h523 rnode_t *rp = VTOR(vp); \
524 mutex_enter(&rp->r_statelock); \
525 PURGE_ATTRCACHE_LOCKED(rp); \
526 mutex_exit(&rp->r_statelock); \
531 rp->r_attrtime = gethrtime(); \
532 rp->r_mtime = rp->r_attrtime; \
552 struct rnode *rp = VTOR(vp); \
560 rp->r_flags |= RSTALE; \
561 if (!rp->r_error) \
562 rp->r_error = (error); \
[all …]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_subr.c328 ASSERT(rp); in fc_add_resource()
333 if (rp->head != NULL) in fc_add_resource()
334 ip->next = rp->head; in fc_add_resource()
335 rp->head = ip; in fc_add_resource()
344 ASSERT(rp); in fc_rem_resource()
353 if (rp->head == ip) { in fc_rem_resource()
354 rp->head = ip->next; in fc_rem_resource()
442 rp = rp->next_handle; in fc_handle_to_phandle_head()
444 return (&rp->ptable); in fc_handle_to_phandle_head()
574 rp = rp->next_handle; in fc_handle_to_dtree_head()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwaitpid.c115 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) in wait4() argument
124 if (rp) in wait4()
125 (void) memset(rp, 0, sizeof (struct rusage)); in wait4()
163 if (rp) { in wait4()
172 rp->ru_utime.tv_sec = diffu / hz; in wait4()
173 rp->ru_utime.tv_usec = (diffu % hz) * (1000000 / hz); in wait4()
174 rp->ru_stime.tv_sec = diffs / hz; in wait4()
175 rp->ru_stime.tv_usec = (diffs % hz) * (1000000 / hz); in wait4()
186 wait3(int *stat_loc, int options, struct rusage *rp) in wait3() argument
188 return (wait4(0, stat_loc, options, rp)); in wait3()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_stats.c244 if (check_valid && rp->ird_num_servers != rp->ird_num_servers_o) in i_sum_per_rule_processed()
247 num_servers = old ? rp->ird_num_servers_o : rp->ird_num_servers; in i_sum_per_rule_processed()
555 ilbst_rule_desc_t *rp; in i_get_server_descs() local
570 if (rp == NULL) in i_get_server_descs()
574 i = rp->ird_srv_ind++; in i_get_server_descs()
628 rp->ird_rulestats = rp->ird_rstats; in i_set_rlstats_ptr()
629 rp->ird_rulestats_o = rp->ird_rstats_o; in i_set_rlstats_ptr()
631 rp->ird_rulestats = rp->ird_rstats_o; in i_set_rlstats_ptr()
632 rp->ird_rulestats_o = rp->ird_rstats; in i_set_rlstats_ptr()
914 bzero(rp, sizeof (*rp)); in i_do_show_stats()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dwait3.c59 csh_wait3(int *status, int options, struct rusage *rp) in csh_wait3() argument
66 if (rp) in csh_wait3()
67 memset((void *)rp, 0, sizeof (struct rusage)); in csh_wait3()
84 if (rp) { in csh_wait3()
92 rp->ru_utime.tv_sec = diffu/HZ; in csh_wait3()
93 rp->ru_utime.tv_usec = ((diffu % HZ) * 1000000) / HZ; in csh_wait3()
94 rp->ru_stime.tv_sec = diffs/HZ; in csh_wait3()
95 rp->ru_stime.tv_usec = ((diffs % HZ) * 1000000) / HZ; in csh_wait3()
/illumos-gate/usr/src/cmd/filesync/
H A Deval.c117 struct rule *rp; in evaluate() local
161 for (rp = bp->b_includes; rp; rp = rp->r_next) { in evaluate()
167 if (rp->r_flags & R_PROGRAM) in evaluate()
176 for (rp = bp->b_excludes; rp; rp = rp->r_next) in evaluate()
178 ignore_pgm(rp->r_file); in evaluate()
180 ignore_expr(rp->r_file); in evaluate()
182 ignore_file(rp->r_file); in evaluate()
185 for (rp = omnibase.b_excludes; rp; rp = rp->r_next) in evaluate()
186 if (rp->r_flags & R_WILD) in evaluate()
187 ignore_expr(rp->r_file); in evaluate()
[all …]
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_plugin.c54 smp_report_general_resp_t *rp; in smp_report_general() local
66 smp_action_get_response(ap, &result, (void **)&rp, &len); in smp_report_general()
73 bcopy(rp, &tp->st_repgen, sizeof (tp->st_repgen)); in smp_report_general()
84 smp_report_manufacturer_info_resp_t *rp; in smp_report_manufacturer_information() local
97 smp_action_get_response(ap, &result, (void **)&rp, &len); in smp_report_manufacturer_information()
106 sizeof (rp->srmir_vendor_identification)); in smp_report_manufacturer_information()
108 sizeof (rp->srmir_product_identification)); in smp_report_manufacturer_information()
110 sizeof (rp->srmir_product_revision_level)); in smp_report_manufacturer_information()
112 if (rp->srmir_sas_1_1_format) { in smp_report_manufacturer_information()
115 sizeof (rp->srmir_component_vendor_identification)); in smp_report_manufacturer_information()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_tree.c85 tnode_t *rp; in topo_tree_create() local
104 if ((rp = topo_mod_zalloc(mod, sizeof (tnode_t))) == NULL) in topo_tree_create()
107 rp->tn_state = TOPO_NODE_ROOT | TOPO_NODE_INIT; in topo_tree_create()
108 rp->tn_name = tp->tt_scheme; in topo_tree_create()
109 rp->tn_instance = 0; in topo_tree_create()
110 rp->tn_enum = mod; in topo_tree_create()
111 rp->tn_hdl = thp; in topo_tree_create()
113 topo_node_hold(rp); in topo_tree_create()
115 tp->tt_walk->tw_root = rp; in topo_tree_create()
120 tp->tt_root = rp; in topo_tree_create()
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_salloc.c76 void *rp; local
99 rp = (u_int8_t *)elp + sizeof(size_t) + elp->len;
100 rp = (u_int8_t *)rp - len;
101 rp = (u_int8_t *)((ALIGNTYPE)rp & ~(align - 1));
107 if ((u_int8_t *)rp < (u_int8_t *)&elp->links)
110 *(void **)retp = rp;
117 if ((u_int8_t *)rp >=
119 sp = rp;
121 ((u_int8_t *)rp - (u_int8_t *)&elp->links);
136 for (sp = rp; (u_int8_t *)--sp >= (u_int8_t *)&elp->links;)
/illumos-gate/usr/src/uts/sun4u/io/
H A Dopl_cfg.c1149 fco_handle_t rp; in opl_fc_ops_alloc_handle() local
1156 rp->ap = parent; in opl_fc_ops_alloc_handle()
1157 rp->child = child; in opl_fc_ops_alloc_handle()
1158 rp->fcode = fcode; in opl_fc_ops_alloc_handle()
1172 fc_add_dip_to_phandle(fc_handle_to_phandle_head(rp), rp->child, h); in opl_fc_ops_alloc_handle()
1174 return (rp); in opl_fc_ops_alloc_handle()
1183 ASSERT(rp); in opl_fc_ops_free_handle()
1185 if (rp->next_handle) in opl_fc_ops_free_handle()
1187 if (rp->unit_address) in opl_fc_ops_free_handle()
1245 ASSERT(rp); in opl_fc_do_op()
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dsyscall.c167 code = rp->r_r0; in syscall_entry()
218 rp->r_r0 = rval1; in syscall_exit()
219 rp->r_r1 = rval2; in syscall_exit()
456 rp->r_ps &= ~PS_T; in post_syscall()
513 rp->r_ps &= ~PS_C; in post_syscall()
514 rp->r_r0 = rval1; in post_syscall()
515 rp->r_r1 = rval2; in post_syscall()
534 rp->r_r0 = error; in post_syscall()
535 rp->r_ps |= PS_C; in post_syscall()
681 rp->r_ps |= PS_T; in post_syscall()
[all …]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_log.c42 inj_logfile_event(fmd_log_t *lp, const fmd_log_record_t *rp, void *data) in inj_logfile_event() argument
47 hrtime_t rec_sec = rp->rec_sec + rp->rec_nsec / NANOSEC; in inj_logfile_event()
48 hrtime_t rec_nsec = rp->rec_nsec % NANOSEC; in inj_logfile_event()
65 ilf->ilf_index, rp->rec_class, ilf->ilf_sec, ilf->ilf_nsec); in inj_logfile_event()
86 ev->defn_name = inj_strdup(rp->rec_class); in inj_logfile_event()
89 if ((errno = nvlist_dup(rp->rec_nvl, &ev->defn_nvl, 0)) != 0) in inj_logfile_event()
90 die("failed to allocate nvl for %s event", rp->rec_class); in inj_logfile_event()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_re.c397 rp = rhsbuf; in comprhs()
411 rp += len; in comprhs()
432 rp += len; in comprhs()
445 *rp=0; in comprhs()
463 *rp=0; in comprhs()
487 *rp = 0; in comprhs()
492 *rp++ = c; in comprhs()
495 *rp++ = 0; in comprhs()
589 rp = rhsbuf; in dosub()
606 rp++; in dosub()
[all …]
/illumos-gate/usr/src/uts/intel/syscall/
H A Dlwp_private.c43 struct regs *rp = lwptoregs(lwp); in lwp_setprivate() local
74 pcb->pcb_ds = rp->r_ds; in lwp_setprivate()
75 pcb->pcb_es = rp->r_es; in lwp_setprivate()
76 pcb->pcb_fs = rp->r_fs; in lwp_setprivate()
77 pcb->pcb_gs = rp->r_gs; in lwp_setprivate()
128 struct regs *rp = lwptoregs(lwp); in lwp_getprivate() local
143 if (rp->r_fs == 0) in lwp_getprivate()
151 if (rp->r_fs == LWPFS_SEL) in lwp_getprivate()
165 if (rp->r_gs == 0) in lwp_getprivate()
173 if (rp->r_gs == LWPGS_SEL) in lwp_getprivate()
/illumos-gate/usr/src/cmd/scsi/smp/common/
H A Dsmp.c246 smp_report_route_info_req_t *rp; in smp_handle_report_route_info() local
287 rp->srrir_phy_identifier = pi_idx; in smp_handle_report_route_info()
288 rp->srrir_exp_route_index = ri_idx; in smp_handle_report_route_info()
594 smp_enable_disable_zoning_req_t *rp; in main() local
601 smp_phy_control_req_t *rp; in main() local
615 rp->srertlr_starting_phy_identifier = 0; in main()
804 SCSI_READ64(&rp->sdr_sas_addr), rp->sdr_phy_identifier); in main()
807 rp->sdr_attached_phy_identifier); in main()
809 rp->sdr_attached_device_type); in main()
817 switch (rp->srzmpr_rpt_type) { in main()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_data.c247 dp->layout = rp; in newspan()
263 struct tbl_row *rp; in tbl_data() local
270 rp = sp == NULL ? tbl->first_row : in tbl_data()
272 assert(rp != NULL); in tbl_data()
285 sp = newspan(tbl, ln, rp); in tbl_data()
289 sp = newspan(tbl, ln, rp); in tbl_data()
303 while (rp->next != NULL) { in tbl_data()
304 if (rp->last->col + 1 < tbl->opts.cols) in tbl_data()
312 sp = newspan(tbl, ln, rp); in tbl_data()
314 rp = rp->next; in tbl_data()
[all …]
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c322 struct rlimit64 *rp = &rlimit[which]; in parse_limits() local
328 rp->rlim_cur = 0; in parse_limits()
337 rp->rlim_max = 0; in parse_limits()
345 rp->rlim_cur > rp->rlim_max) in parse_limits()
354 if (rp->rlim_cur != RLIM64_INFINITY) in limit_adjust()
355 rp->rlim_cur /= units; in limit_adjust()
356 if (rp->rlim_max != RLIM64_INFINITY) in limit_adjust()
357 rp->rlim_max /= units; in limit_adjust()
361 limit_values(struct rlimit64 *rp) in limit_values() argument
369 if (rp->rlim_cur == RLIM64_INFINITY) in limit_values()
[all …]
/illumos-gate/usr/src/lib/libm/common/R/
H A Dbesself.c333 int rp; in j0f() local
349 (void) __swapRP(rp); in j0f()
408 int rp; in y0f() local
428 (void) __swapRP(rp); in y0f()
504 int rp; in j1f() local
517 (void) __swapRP(rp); in j1f()
582 int rp; in y1f() local
602 (void) __swapRP(rp); in y1f()
614 int rp; in jnf() local
750 (void) __swapRP(rp); in jnf()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_runner.c77 g_free (rp); in rprd_foreach()
116 RunningProcess *rp; in runner_server_message_handler() local
123 if (rp != NULL) { in runner_server_message_handler()
124 rp->cb (rp->device, 0, 0, NULL, rp->data1, rp->data2); in runner_server_message_handler()
126 g_free (rp); in runner_server_message_handler()
398 RunningProcess *rp; in hald_runner_start() local
401 rp->cb = cb; in hald_runner_start()
402 rp->device = device; in hald_runner_start()
403 rp->data1 = data1; in hald_runner_start()
404 rp->data2 = data2; in hald_runner_start()
[all …]
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_4.c230 rpcb_entry_list_ptr rp, tail = NULL; in rpcbproc_getaddrlist() local
309 rp = (rpcb_entry_list_ptr) in rpcbproc_getaddrlist()
311 if (rp == NULL) { in rpcbproc_getaddrlist()
315 a = &rp->rpcb_entry_map; in rpcbproc_getaddrlist()
321 rp->rpcb_entry_next = NULL; in rpcbproc_getaddrlist()
323 rlist = rp; in rpcbproc_getaddrlist()
324 tail = rp; in rpcbproc_getaddrlist()
326 tail->rpcb_entry_next = rp; in rpcbproc_getaddrlist()
327 tail = rp; in rpcbproc_getaddrlist()
329 rp = NULL; in rpcbproc_getaddrlist()
[all …]

12345678910>>...19