Searched refs:uip (Results 1 – 2 of 2) sorted by relevance
127 struct uidinfo *uip; in uid_find() local131 LIST_FOREACH(uip, uipp, ui_hash) in uid_find()132 if (uip->ui_uid == uid) in uid_find()134 if (uip) in uid_find()135 return (uip); in uid_find()136 MALLOC(uip, struct uidinfo *, sizeof(*uip), M_PROC, M_WAITOK); in uid_find()137 bzero(uip, sizeof(*uip)); in uid_find()138 LIST_INSERT_HEAD(uipp, uip, ui_hash); in uid_find()139 uip->ui_uid = uid; in uid_find()141 return (uip); in uid_find()[all …]
104 struct uidinfo *uip; in lf_alloc() local107 uip = uid_find(uid); in lf_alloc()108 if (uid && allowfail && uip->ui_lockcnt > in lf_alloc()111 uip->ui_lockcnt++; in lf_alloc()120 struct uidinfo *uip; in lf_free() local122 uip = uid_find(lock->lf_uid); in lf_free()123 uip->ui_lockcnt--; in lf_free()