Home
last modified time | relevance | path

Searched refs:uip (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/kern/
H A Dkern_resource.c1513 struct uidinfo *uip; in uilookup() local
1517 LIST_FOREACH(uip, uipp, ui_hash) in uilookup()
1518 if (uip->ui_uid == uid) { in uilookup()
1519 uihold(uip); in uilookup()
1523 return (uip); in uilookup()
1534 struct uidinfo *new_uip, *uip; in uifind() local
1539 uip = cred->cr_uidinfo; in uifind()
1540 uihold(uip); in uifind()
1541 return (uip); in uifind()
1543 uip = cred->cr_ruidinfo; in uifind()
[all …]
H A Dkern_rctl.c1276 struct uidinfo *uip; in rctl_rule_add()
1339 uip = rule->rr_subject.rs_uip; in rctl_rule_add()
1340 KASSERT(uip != NULL, ("rctl_rule_add: NULL uip")); in rctl_rule_add()
1341 rctl_racct_add_rule(uip->ui_racct, rule); in rctl_rule_add()
1614 struct uidinfo *uip; in sys_rctl_get_racct()
1649 uip = filter->rr_subject.rs_uip; in sys_rctl_get_racct()
1650 if (uip == NULL) { in sys_rctl_get_racct()
1654 outputsbuf = rctl_racct_to_sbuf(uip->ui_racct, 1); in sys_rctl_get_racct()
1275 struct uidinfo *uip; rctl_rule_add() local
1613 struct uidinfo *uip; sys_rctl_get_racct() local
H A Dkern_prot.c511 struct uidinfo *uip; in sys_setuid() local
517 uip = uifind(uid); in sys_setuid()
574 change_ruid(newcred, uip); in sys_setuid()
594 change_euid(newcred, uip); in sys_setuid()
607 uifree(uip); in sys_setuid()
613 uifree(uip); in sys_setuid()
/freebsd/sys/sys/
H A Dresourcevar.h140 int chgkqcnt(struct uidinfo *uip, int diff, rlim_t max);
141 int chgproccnt(struct uidinfo *uip, int diff, rlim_t maxval);
142 int chgsbsize(struct uidinfo *uip, u_int *hiwat, u_int to,
144 int chgptscnt(struct uidinfo *uip, int diff, rlim_t maxval);
145 int chgumtxcnt(struct uidinfo *uip, int diff, rlim_t maxval);
146 int chgpipecnt(struct uidinfo *uip, int diff, rlim_t max);
189 void uifree(struct uidinfo *uip);
191 void uihold(struct uidinfo *uip);
/freebsd/contrib/llvm-project/lld/MachO/
H A DUnwindInfoSection.cpp634 auto *uip = reinterpret_cast<unwind_info_section_header *>(buf); in writeTo() local
635 uip->version = 1; in writeTo()
636 uip->commonEncodingsArraySectionOffset = sizeof(unwind_info_section_header); in writeTo()
637 uip->commonEncodingsArrayCount = commonEncodings.size(); in writeTo()
638 uip->personalityArraySectionOffset = in writeTo()
639 uip->commonEncodingsArraySectionOffset + in writeTo()
640 (uip->commonEncodingsArrayCount * sizeof(uint32_t)); in writeTo()
641 uip->personalityArrayCount = personalities.size(); in writeTo()
642 uip->indexSectionOffset = uip->personalityArraySectionOffset + in writeTo()
643 (uip->personalityArrayCount * sizeof(uint32_t)); in writeTo()
[all …]
/freebsd/contrib/netbsd-tests/include/
H A Dt_inttypes.c67 uintptr_t uip = 0; in ATF_TC_BODY() local
117 PRINT(PRIoPTR, uip); in ATF_TC_BODY()
132 PRINT(PRIuPTR, uip); in ATF_TC_BODY()
147 PRINT(PRIxPTR, uip); in ATF_TC_BODY()
162 PRINT(PRIXPTR, uip); in ATF_TC_BODY()
208 SCAN(SCNoPTR, uip); in ATF_TC_BODY()
223 SCAN(SCNuPTR, uip); in ATF_TC_BODY()
238 SCAN(SCNxPTR, uip); in ATF_TC_BODY()
/freebsd/usr.bin/printf/
H A Dprintf.c570 getnum(intmax_t *ip, uintmax_t *uip, int signedconv) in getnum() argument
576 *ip = *uip = 0; in getnum()
583 *uip = asciicode(); in getnum()
591 *uip = strtoumax(*gargv, &ep, 0); in getnum()
/freebsd/sys/vm/
H A Dswap_pager.c211 struct uidinfo *uip; in swap_reserve_by_cred_rlimit() local
214 uip = cred->cr_ruidinfo; in swap_reserve_by_cred_rlimit()
216 prev = atomic_fetchadd_long(&uip->ui_vmsize, pincr); in swap_reserve_by_cred_rlimit()
220 prev = atomic_fetchadd_long(&uip->ui_vmsize, -pincr); in swap_reserve_by_cred_rlimit()
222 ("negative vmsize for uid %d\n", uip->ui_uid)); in swap_reserve_by_cred_rlimit()
231 struct uidinfo *uip; in swap_release_by_cred_rlimit() local
236 uip = cred->cr_ruidinfo; in swap_release_by_cred_rlimit()
239 prev = atomic_fetchadd_long(&uip->ui_vmsize, -pdecr); in swap_release_by_cred_rlimit()
241 ("negative vmsize for uid %d\n", uip->ui_uid)); in swap_release_by_cred_rlimit()
243 atomic_subtract_long(&uip->ui_vmsize, pdecr); in swap_release_by_cred_rlimit()
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-snoop.c122 u_int *uip = (u_int *)cp; in pcap_read_snoop() local
123 *uip >>= 16; in pcap_read_snoop()