/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_getrlimit.c | 42 int resource, struct rlimit *rlp) 51 return (getrlimit(resource, rlp)); 60 adp++; /* rlp argument */ 62 adp->arg_object = rlp; 65 adp->arg_size = sizeof (*rlp); 90 int resource, const struct rlimit *rlp) 99 return (setrlimit(resource, rlp)); 108 adp++; /* rlp argument */ 110 adp->arg_object = (void *)rlp; 113 adp->arg_size = sizeof (*rlp); 41 pr_getrlimit(struct ps_prochandle *Pr, int resource, struct rlimit *rlp) argument 89 pr_setrlimit(struct ps_prochandle *Pr, int resource, const struct rlimit *rlp) argument 137 pr_getrlimit64(struct ps_prochandle *Pr, int resource, struct rlimit64 *rlp) argument 185 pr_setrlimit64(struct ps_prochandle *Pr, int resource, const struct rlimit64 *rlp) argument [all...] |
H A D | Pcore.c | 1315 core_find_text(struct ps_prochandle *P, Elf *elf, rd_loadobj_t *rlp) argument 1327 rlp->rl_base = phdr.p_vaddr; 1328 return (Paddr2mptr(P, rlp->rl_base)); 1341 core_find_data(struct ps_prochandle *P, Elf *elf, rd_loadobj_t *rlp) argument 1349 rlp->rl_data_base = NULL; 1362 rlp->rl_data_base = phdr.p_vaddr; 1364 rlp->rl_data_base += rlp->rl_base; 1373 if (rlp->rl_data_base == NULL || 1374 (mp = Paddr2mptr(P, rlp 1395 core_iter_mapping(const rd_loadobj_t *rlp, struct ps_prochandle *P) argument [all...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 75 struct rlimit rlp; local 151 if(getrlimit(n,&rlp) <0) 154 rlp.rlim_max = i; 156 rlp.rlim_cur = i; 157 if(setrlimit(n,&rlp) <0) 170 if(getrlimit(n,&rlp) <0) 173 i = rlp.rlim_max; 175 i = rlp.rlim_cur;
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_region.c | 37 RLAYOUT *rlp, rl; local 307 rlp = (RLAYOUT *)infop->addr; 321 if ((ret = __db_mutex_init(&rlp->lock, 322 MUTEX_LOCK_OFFSET(rlp, &rlp->lock))) != 0 || 323 (ret = __db_mutex_lock(&rlp->lock, infop->fd)) != 0) 327 rlp->refcnt = 1; 328 rlp->size = infop->size; 329 db_version(&rlp->majver, &rlp 502 RLAYOUT *rlp; local 588 RLAYOUT rl, *rlp; local 700 RLAYOUT *rlp; local [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 651 struct rlimit rlp; local 652 getrlimit(RLIMIT_CORE,&rlp); 653 rlp.rlim_cur = 0; 654 setrlimit(RLIMIT_CORE,&rlp);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_getdevs.c | 247 md_replicalist_t *rlp, *rp; local 259 rlp = NULL; 260 if (metareplicalist(sp, MD_BASICNAME_OK, &rlp, ep) < 0) 262 for (rp = rlp; (rp != NULL); rp = rp->rl_next) { 267 metafreereplicalist(rlp);
|
H A D | meta_set_drv.c | 224 md_replicalist_t *rlp = NULL, *rl; local 519 if (metareplicalist(sp, MD_BASICNAME_OK, &rlp, ep) >= 0) { 528 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 1231 md_replicalist_t *rlp = NULL, *rl; local 1553 if (metareplicalist(sp, MD_BASICNAME_OK, &rlp, ep) >= 0) { 1560 for (rl = rlp; rl != NULL; rl = rl->rl_next) {
|
H A D | meta_set_tkr.c | 42 md_replicalist_t *rlp, 60 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 70 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 494 md_replicalist_t *rlp = NULL; local 980 if (metareplicalist(sp, (MD_BASICNAME_OK | PRINT_FAST), &rlp, ep) < 0) 983 if (upd_dr_dbinfo(sp, sd, dd, rlp, (flags & TAKE_FORCE), ep) < 0) { 984 metafreereplicalist(rlp); 988 metafreereplicalist(rlp); 38 upd_dr_dbinfo( mdsetname_t *sp, md_set_desc *sd, md_drive_desc *dd, md_replicalist_t *rlp, int forceflg, md_error_t *ep ) argument
|
H A D | meta_db_balance.c | 137 rep_has_err(md_replicalist_t *rlp, mdname_t *np) argument 141 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 158 md_replicalist_t *rlp, 204 if (rep_has_err(rlp, np)) 301 return (add_drv_to_ctl_lst(clpp, rlp, dnp, dbcnt, dbsize, tcinfop, 606 md_replicalist_t *rlp = NULL; local 625 if (metareplicalist(sp, MD_BASICNAME_OK, &rlp, ep) < 0) { 641 if (add_drv_to_ctl_lst(clpp, rlp, d->dd_dnp, d->dd_dbcnt, 650 if (add_drv_to_ctl_lst(clpp, rlp, d->dd_dnp, 0, dbsize, NULL, 654 metafreereplicalist(rlp); 156 add_drv_to_ctl_lst( md_ctlr_ctl_t **clpp, md_replicalist_t *rlp, mddrivename_t *dnp, int dbcnt, daddr_t dbsize, mdcinfo_t *cinfop, int indiskset, int with_bus, int errored, md_error_t *ep ) argument [all...] |
H A D | meta_devadm.c | 417 md_replicalist_t *rlp = NULL; local 437 if (metareplicalist(sp, MD_BASICNAME_OK | PRINT_FAST, &rlp, ep) < 0) { 442 for (rl = rlp; (rl != NULL); rl = rl->rl_next) { 569 metafreereplicalist(rlp); 877 * replica_update_devid - cycle through the replica list, rlp, and 889 md_replicalist_t *rlp, 913 for (rl = rlp; (rl != NULL); rl = rl->rl_next) { 990 md_replicalist_t *rlp = NULL; local 1034 if (metareplicalist(*spp, MD_BASICNAME_OK | PRINT_FAST, &rlp, 1039 if (replica_update_devid(rlp, dn 888 replica_update_devid( md_replicalist_t *rlp, mddrivename_t *dnp, set_t setno, char **cdevidpp, md_error_t *ep ) argument [all...] |
H A D | meta_nameinfo.c | 899 md_replicalist_t *rlp = NULL; local 908 if (metareplicalist(sp, MD_BASICNAME_OK | PRINT_FAST, &rlp, ep) < 0) { 913 } else if (rlp == NULL) 917 for (rl = rlp; (rl != NULL); rl = rl->rl_next) { 930 metafreereplicalist(rlp);
|
H A D | meta_set_hst.c | 50 md_replicalist_t *rlp = NULL; local 54 if (metareplicalist(sp, MD_FULLNAME_ONLY, &rlp, ep) < 0) 57 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 74 metafreereplicalist(rlp); 947 md_replicalist_t *rlp = NULL; local 951 if (metareplicalist(sp, MD_BASICNAME_OK, &rlp, ep) < 0) 954 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 964 metafreereplicalist(rlp); 1542 md_replicalist_t *rlp = NULL; local 1558 if (metareplicalist(sp, (MD_BASICNAME_OK | PRINT_FAST), &rlp, 3746 md_replicalist_t *rlp = NULL; local [all...] |
H A D | meta_db.c | 430 md_replicalist_t *rlp = NULL; local 444 if (metareplicalist(sp, MD_BASICNAME_OK, &rlp, ep) < 0) 490 for (rl = rlp; (rl != NULL); rl = rl->rl_next) { 577 if (rlp != NULL) 578 metafreereplicalist(rlp); 636 md_replicalist_t *rlp = NULL; local 644 if (metareplicalist(sp, MD_BASICNAME_OK, &rlp, ep) < 0) 646 for (rl = rlp; (rl != NULL); rl = rl->rl_next) { 657 metafreereplicalist(rlp); 2270 md_replicalist_t *rlp 2605 md_replicalist_t *rl, *rlp = NULL; local 2637 md_replicalist_t *rlp = NULL; local [all...] |
H A D | meta_set.c | 191 md_replicalist_t *rlp, 207 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 215 for (rl = rlp; rl != NULL; rl = rl->rl_next) { 450 md_replicalist_t *rlp = NULL; local 474 if (metareplicalist(sp, (MD_BASICNAME_OK | PRINT_FAST), &rlp, 478 if ((dd = rl_to_dd(sp, rlp, &xep)) == NULL) 490 metafreereplicalist(rlp); 189 rl_to_dd( mdsetname_t *sp, md_replicalist_t *rlp, md_error_t *ep ) argument
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 1961 robust_t *rlp; local 1982 for (rlp = table[hash]; rlp != NULL; rlp = rlp->robust_next) { 1983 if (rlp->robust_lock == mp) /* already registered */ 1995 (rlp = *rlpp) != NULL; 1996 rlpp = &rlp->robust_next) { 1997 if (rlp->robust_lock == mp) { /* already registered */ 2002 if (rlp 2046 robust_t *rlp; local [all...] |