/titanic_50/usr/src/lib/libbc/libc/sys/common/ |
H A D | rlimit.c | 42 int getrlimit(resource, rlp) in getrlimit() argument 44 struct rlimit *rlp; 46 return(bc_getrlimit(resource, rlp)); 49 int bc_getrlimit(resource, rlp) in bc_getrlimit() argument 51 struct rlimit *rlp; 53 return(_syscall(SYS_getrlimit, rlim_res[resource], rlp)); 56 int setrlimit(resource, rlp) in setrlimit() argument 58 struct rlimit *rlp; 60 return(bc_setrlimit(resource, rlp)); 63 int bc_setrlimit(resource, rlp) in bc_setrlimit() argument [all …]
|
/titanic_50/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->minver, &rlp->patch); 330 rlp->panic = 0; 331 rlp->segid = infop->segid; [all …]
|
/titanic_50/usr/src/lib/libproc/common/ |
H A D | pr_getrlimit.c | 42 int resource, struct rlimit *rlp) in pr_getrlimit() argument 51 return (getrlimit(resource, rlp)); in pr_getrlimit() 62 adp->arg_object = rlp; in pr_getrlimit() 65 adp->arg_size = sizeof (*rlp); in pr_getrlimit() 90 int resource, const struct rlimit *rlp) in pr_setrlimit() argument 99 return (setrlimit(resource, rlp)); in pr_setrlimit() 110 adp->arg_object = (void *)rlp; in pr_setrlimit() 113 adp->arg_size = sizeof (*rlp); in pr_setrlimit() 138 int resource, struct rlimit64 *rlp) in pr_getrlimit64() argument 147 return (getrlimit64(resource, rlp)); in pr_getrlimit64() [all …]
|
H A D | Pcore.c | 1825 core_find_text(struct ps_prochandle *P, Elf *elf, rd_loadobj_t *rlp) in core_find_text() argument 1837 rlp->rl_base = phdr.p_vaddr; in core_find_text() 1838 return (Paddr2mptr(P, rlp->rl_base)); in core_find_text() 1851 core_find_data(struct ps_prochandle *P, Elf *elf, rd_loadobj_t *rlp) in core_find_data() argument 1859 rlp->rl_data_base = NULL; in core_find_data() 1872 rlp->rl_data_base = phdr.p_vaddr; in core_find_data() 1874 rlp->rl_data_base += rlp->rl_base; in core_find_data() 1883 if (rlp->rl_data_base == NULL || in core_find_data() 1884 (mp = Paddr2mptr(P, rlp->rl_data_base)) == NULL) in core_find_data() 1905 core_iter_mapping(const rd_loadobj_t *rlp, struct ps_prochandle *P) in core_iter_mapping() argument [all …]
|
H A D | llib-lproc | 264 int resource, struct rlimit *rlp); 266 int resource, const struct rlimit *rlp); 268 int resource, struct rlimit64 *rlp); 270 int resource, const struct rlimit64 *rlp);
|
/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 75 struct rlimit rlp; in b_ulimit() local 151 if(getrlimit(n,&rlp) <0) in b_ulimit() 154 rlp.rlim_max = i; in b_ulimit() 156 rlp.rlim_cur = i; in b_ulimit() 157 if(setrlimit(n,&rlp) <0) in b_ulimit() 170 if(getrlimit(n,&rlp) <0) in b_ulimit() 173 i = rlp.rlim_max; in b_ulimit() 175 i = rlp.rlim_cur; in b_ulimit()
|
/titanic_50/usr/src/cmd/svc/configd/ |
H A D | client.c | 99 log_enter(request_log_entry_t *rlp) in log_enter() argument 101 if (rlp->rl_start != 0 && request_log != NULL) { in log_enter() 109 (void) memcpy(logrlp, rlp, sizeof (*rlp)); in log_enter() 122 request_log_entry_t *rlp = get_log(); in start_log() local 124 log_enter(rlp); in start_log() 126 (void) memset(rlp, 0, sizeof (*rlp)); in start_log() 127 rlp->rl_start = gethrtime(); in start_log() 128 rlp->rl_tid = pthread_self(); in start_log() 129 rlp->rl_clientid = clientid; in start_log() 131 return (rlp); in start_log() [all …]
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 289 getrlimit32(int resource, struct rlimit32 *rlp) in getrlimit32() argument 351 if (copyout(&rlim32, rlp, sizeof (rlim32))) in getrlimit32() 366 setrlimit32(int resource, struct rlimit32 *rlp) in setrlimit32() argument 378 if (copyin(rlp, &rlim32, sizeof (rlim32))) in setrlimit32() 442 getrlimit64(int resource, struct rlimit64 *rlp) in getrlimit64() argument 454 if (copyout(&rlim64, rlp, sizeof (rlim64))) in getrlimit64() 460 setrlimit64(int resource, struct rlimit64 *rlp) in setrlimit64() argument 469 if (copyin(rlp, &rlim64, sizeof (rlim64))) in setrlimit64()
|
/titanic_50/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 1932 robust_t *rlp; in register_lock() local 1953 for (rlp = table[hash]; rlp != NULL; rlp = rlp->robust_next) { in register_lock() 1954 if (rlp->robust_lock == mp) /* already registered */ in register_lock() 1966 (rlp = *rlpp) != NULL; in register_lock() 1967 rlpp = &rlp->robust_next) { in register_lock() 1968 if (rlp->robust_lock == mp) { /* already registered */ in register_lock() 1973 if (rlp->robust_lock == INVALID_ADDR && invalid == NULL) in register_lock() 1974 invalid = rlp; in register_lock() 1981 if ((rlp = invalid) != NULL) { in register_lock() 1986 rlp->robust_lock = mp; in register_lock() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_impl.c | 115 struct lifreq *lp, *rlp, lifr; in rdsv3_do_ip_ioctl() local 221 rlp = (struct lifreq *)rbuf; in rdsv3_do_ip_ioctl() 264 bcopy(lp, rlp, sizeof (struct lifreq)); in rdsv3_do_ip_ioctl() 265 rlp->lifr_addr.ss_family = AF_INET_OFFLOAD; in rdsv3_do_ip_ioctl() 266 rlp++; in rdsv3_do_ip_ioctl() 320 struct ifreq *lp, *rlp, ifr; in rdsv3_do_ip_ioctl_old() local 434 rlp = (struct ifreq *)rbuf; in rdsv3_do_ip_ioctl_old() 478 bcopy(lp, rlp, sizeof (struct ifreq)); in rdsv3_do_ip_ioctl_old() 479 rlp->ifr_addr.sa_family = AF_INET_OFFLOAD; in rdsv3_do_ip_ioctl_old() 480 rlp++; in rdsv3_do_ip_ioctl_old()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_main.c | 912 struct rlimit rlp; in set_rlim() local 914 if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) { in set_rlim() 918 rlp.rlim_cur = rlp.rlim_max; in set_rlim() 919 if (setrlimit(RLIMIT_NOFILE, &rlp) == -1) { in set_rlim()
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_kproc.c | 259 kp_find_data(kp_data_t *kp, kp_file_t *kpf, const rd_loadobj_t *rlp) in kp_find_data() argument 272 kpf->kpf_data_base += rlp->rl_base; in kp_find_data() 288 kp_iter_mapping(const rd_loadobj_t *rlp, mdb_tgt_t *t) in kp_iter_mapping() argument 297 sizeof (name), (mdb_tgt_addr_t)rlp->rl_nameaddr) <= 0) { in kp_iter_mapping() 299 (void *)rlp->rl_nameaddr); in kp_iter_mapping() 304 name, (void *)rlp->rl_base); in kp_iter_mapping() 306 if ((kpm = kp_addr_to_kpmap(kp, rlp->rl_base)) == NULL) in kp_iter_mapping() 323 if ((kpm = kp_find_data(kp, kpf, rlp)) != NULL) { in kp_iter_mapping()
|
H A D | mdb_proc.c | 2814 const rd_loadobj_t *rlp; in pt_lookup_by_addr() local 2818 (rlp = Paddr_to_loadobj(P, addr)) != NULL && in pt_lookup_by_addr() 2820 rlp->rl_plt_base, &rpi) == RD_OK && in pt_lookup_by_addr()
|
/titanic_50/usr/src/cmd/cron/ |
H A D | at.c | 584 struct rlimit rlp; in copy() local 706 if (getrlimit(RLIMIT_FSIZE, &rlp) == 0) { in copy() 707 if (rlp.rlim_cur == RLIM_INFINITY) in copy() 711 rlp.rlim_cur / 512); in copy()
|
/titanic_50/usr/src/cmd/fm/fmdump/common/ |
H A D | fmdump.c | 1460 fmd_log_t *rlp; in main() local 1462 if ((rlp = fmd_log_open(FMD_LOG_VERSION, llp->path, &err)) in main() 1471 if (fmd_log_xiter(rlp, iflags, filtc, filtv, in main() 1474 fmd_log_errmsg(rlp, fmd_log_errno(rlp))); in main() 1479 fmd_log_close(rlp); in main()
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_script.c | 883 struct rlimit rlp; in run_script() local 924 (getrlimit(RLIMIT_NOFILE, &rlp) == 0)) { in run_script() 926 rlp.rlim_cur += 16; in run_script() 927 if (rlp.rlim_max < rlp.rlim_cur) in run_script() 928 rlp.rlim_max = rlp.rlim_cur; in run_script() 929 (void) setrlimit(RLIMIT_NOFILE, &rlp); in run_script()
|
/titanic_50/usr/src/cmd/csh/ |
H A D | sh.c | 1289 struct rlimit rlp; in initdesc_x() local 1300 if (getrlimit(RLIMIT_NOFILE, &rlp) == 0) in initdesc_x() 1301 NoFile = rlp.rlim_cur; in initdesc_x()
|
/titanic_50/usr/src/cmd/cmd-inet/etc/ |
H A D | services | 48 rlp 39/tcp # Resource Location Protocol 49 rlp 39/udp # Resource Location Protocol
|
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | libscf.c | 1846 libscf_extract_runlevel(scf_property_t *prop, char *rlp) in libscf_extract_runlevel() argument 1892 *rlp = buf[0]; in libscf_extract_runlevel()
|