/osnet-11/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...] |
/osnet-11/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;
|
/osnet-11/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];
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | pmap_prot.c | 120 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));
|
H A D | rpcb_prot.c | 87 xdr_rpcblist_ptr(XDR *xdrs, rpcblist_ptr *rp) argument 100 more_elements = (bool_t)(*rp != NULL); 111 next = (*rp)->rpcb_next; 112 if (!xdr_reference(xdrs, (caddr_t *)rp, 117 rp = &next_copy; 124 rp = &((*rp)->rpcb_next); 135 xdr_rpcblist(XDR *xdrs, RPCBLIST **rp) argument 137 return (xdr_rpcblist_ptr(xdrs, (rpcblist_ptr *)rp)); 156 xdr_rpcb_entry_list_ptr(XDR *xdrs, rpcb_entry_list_ptr *rp) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_defer.c | 229 pi_defernode_t *rp = (pi_defernode_t *)r_arg; local 231 if (lp->func != rp->func) { 234 if (lp->t_parent != rp->t_parent) {
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_salloc.c | 76 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; [all...] |
/osnet-11/usr/src/cmd/sendmail/db/xa/ |
H A D | xa_db.c | 56 struct __rmname *rp; local 75 if ((rp = TAILQ_FIRST(&DB_GLOBAL(db_nameq))) != NULL && 76 (ret = __db_rmid_to_env(rp->rmid, &dbenv, 1)) != 0)
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 117 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) argument 126 if (rp) 127 (void) memset(rp, 0, sizeof (struct rusage)); 165 if (rp) { 174 rp->ru_utime.tv_sec = diffu / hz; 175 rp->ru_utime.tv_usec = (diffu % hz) * (1000000 / hz); 176 rp->ru_stime.tv_sec = diffs / hz; 177 rp->ru_stime.tv_usec = (diffs % hz) * (1000000 / hz); 188 wait3(int *stat_loc, int options, struct rusage *rp) argument 190 return (wait4(0, stat_loc, options, rp)); [all...] |
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppfsm.c | 577 register short* rp; local 636 rp = fsm[fp->state]; 643 rp[c] = n; 667 rp[c] = n; 671 rp[c] = n; 682 rp = fsm[i]; 685 if (c != MARK || !INCOMMENT(rp)) 687 if (rp[c] >= 0) rp[c] = ~rp[ [all...] |
H A D | pplex.c | 177 register short* rp; local 227 rp = fsm[state]; 229 while (!(state = rp[c = GETCHR()])); 233 if (((state = ~state) != S_COMMENT || pp.comment || c == '/' && !INCOMMENT(rp)) && (n = ip - bp - 1) > 0) 263 debug((-9, "TERM %s > %s%s%s |%-*.*s|%s|", pplexstr(INDEX(rp)), pplexstr(state), (st & NEWLINE) ? "|NEWLINE" : "", (st & SKIPCONTROL) ? "|SKIP" : "", op - tp, op - tp, tp, pptokchr(c))); 289 if (!INCOMMENTXX(rp)) 297 rp = fsm[COM2]; 311 if (INCOMMENTXX(rp)) comwarn = -1; 325 rp = fsm[INCOMMENTXX(rp) [all...] |
/osnet-11/usr/src/lib/libpower/common/ |
H A D | libpower_subr.c | 85 nvlist_t *rp; local 95 rp = *result; 96 if (rp == NULL) { 101 rp = *result; 107 errno = nvlist_lookup_nvlist(rp, propname, &nvl); 113 err = pm_result_create(rp, authority, pgname, propname,
|
/osnet-11/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_filter.c | 37 fmd_log_filter_class(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument 43 if (gmatch(rp->rec_class, arg)) 47 if (! gmatch(rp->rec_class, FM_LIST_EVENT ".*") || 48 nvlist_lookup_uint32(rp->rec_nvl, FM_SUSPECT_FAULT_SZ, 50 nvlist_lookup_nvlist_array(rp->rec_nvl, FM_SUSPECT_FAULT_LIST, 66 fmd_log_filter_uuid(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument 75 return (nvlist_lookup_string(rp->rec_nvl, 101 fmd_log_filter_ena(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument 116 if (nvlist_lookup_nvlist_array(rp->rec_nvl, "fault-list", 131 if (nvlist_lookup_uint64(rp 150 fmd_log_filter_before(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument 159 fmd_log_filter_after(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument 168 fmd_log_filter_nv(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rec.c | 252 PAGE *_lp, *lp, *np, *pp, *_rp, *rp, *sp; local 259 _lp = lp = np = pp = _rp = rp = NULL; 275 if (memp_fget(mpf, &argp->right, 0, &rp) != 0) 276 rp = NULL; 303 if (rp == NULL || log_compare(&LSN(rp), &argp->rlsn) == 0) 353 if (rp == NULL && (ret = memp_fget(mpf, 354 &argp->right, DB_MPOOL_CREATE, &rp)) != 0) { 356 rp = NULL; 360 memcpy(rp, _r [all...] |
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 82 static int ttyquery(Sfio_t* rp, Sfio_t* wp, const char* label, Sfdisc_t* dp) argument 84 static int ttyquery(rp, wp, label, dp) 85 Sfio_t* rp; 98 int rfd = sffileno(rp); 99 int wfd = sffileno(rp); 137 r = (s = sfgetr(rp, '\n', 0)) ? *s : -1;
|
/osnet-11/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_plugin.c | 54 smp_report_general_resp_t *rp; local 66 smp_action_get_response(ap, &result, (void **)&rp, &len); 73 bcopy(rp, &tp->st_repgen, sizeof (tp->st_repgen)); 84 smp_report_manufacturer_info_resp_t *rp; local 97 smp_action_get_response(ap, &result, (void **)&rp, &len); 105 tp->st_vendor = smp_trim_strdup(rp->srmir_vendor_identification, 106 sizeof (rp->srmir_vendor_identification)); 107 tp->st_product = smp_trim_strdup(rp->srmir_product_identification, 108 sizeof (rp->srmir_product_identification)); 109 tp->st_revision = smp_trim_strdup(rp [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Plwpregs.c | 66 const char *fbase, void *rp, size_t n) 75 if (read(fd, rp, n) > 0) { 130 const void *rp, size_t n) 143 iov[1].iov_base = (caddr_t)rp; 159 (void) memcpy(P->status.pr_lwp.pr_reg, rp, n); 161 (void) memcpy(&P->status.pr_lwp.pr_fpreg, rp, n); 65 getlwpfile(struct ps_prochandle *P, lwpid_t lwpid, const char *fbase, void *rp, size_t n) argument 129 setlwpregs(struct ps_prochandle *P, lwpid_t lwpid, long cmd, const void *rp, size_t n) argument
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_index_entry.cc | 282 db_index_entry_p curr, prev, rp, save; local
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | logfile.c | 47 * @rp: restart page header to check 50 * Check the restart page header @rp for consistency and return TRUE if it is 53 * This function only needs NTFS_BLOCK_SIZE bytes in @rp, i.e. it does not 56 static BOOL ntfs_check_restart_page_header(RESTART_PAGE_HEADER *rp, s64 pos) argument 67 logfile_system_page_size = le32_to_cpu(rp->system_page_size); 68 logfile_log_page_size = le32_to_cpu(rp->log_page_size); 87 if (sle16_to_cpu(rp->major_ver) != 1 || 88 sle16_to_cpu(rp->minor_ver) != 1) { 91 "1.1 only.)\n", (int)sle16_to_cpu(rp->major_ver), 92 (int)sle16_to_cpu(rp 160 ntfs_check_restart_area(RESTART_PAGE_HEADER *rp) argument 275 ntfs_check_log_client_array(RESTART_PAGE_HEADER *rp) argument 351 ntfs_check_and_load_restart_page(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn) argument 462 ntfs_check_logfile(ntfs_attr *log_na, RESTART_PAGE_HEADER **rp) argument 650 ntfs_is_logfile_clean(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp) argument [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | cksum.c | 258 verify(State_t* state, register char* s, char* check, Sfio_t* rp) argument 308 pr(state, rp, sp, file, -1, NiL, NiL); 309 if (!(t = sfstruse(rp)))
|
/osnet-11/usr/src/lib/libcpc/common/ |
H A D | obsoleted.c | 82 cpc_request_t *rp; local 118 for (rp = set->cs_request; rp != NULL; rp = rp->cr_next) 119 rp->cr_flags |= CPC_OVF_NOTIFY_EMT;
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_as.c | 408 dof_relodesc_t *rp; local 431 rp = krp++; 434 rp = urp++; 449 rp->dofr_name = (dof_stridx_t)soff; 450 rp->dofr_type = DOF_RELO_SETX; 451 rp->dofr_offset = DIF_INSTR_INTEGER(dip->di_instr) * 453 rp->dofr_data = 0;
|
H A D | dt_dis.c | 315 const dof_relodesc_t *rp, uint32_t len) 320 for (; len != 0; len--, rp++) { 322 rp->dofr_type, (u_longlong_t)rp->dofr_offset, 323 (u_longlong_t)rp->dofr_data, 324 &dp->dtdo_strtab[rp->dofr_name]); 314 dt_dis_rtab(const char *rtag, const dtrace_difo_t *dp, FILE *fp, const dof_relodesc_t *rp, uint32_t len) argument
|
/osnet-11/usr/src/lib/libgen/common/ |
H A D | reg_step.c | 231 char *rp; local 292 rp = lp; 293 if (cclass(ep, &rp, neg) != 1) 296 lp = rp; 382 rp = lp; 384 if (cclass(ep, &rp, neg) != 1) 387 curlp = rp; 388 while (size-- && (c = (cclass(ep, &rp, neg))) == 1) 392 lp = rp; 486 curlp = rp 606 cclass(char *ep, char **rp, int neg) argument [all...] |