Lines Matching defs:p2
283 new_unr(struct unrhdr *uh, void **p1, void **p2)
288 KASSERT(*p1 != NULL || *p2 != NULL, ("Out of cached memory"));
294 p = *p2;
295 *p2 = NULL;
662 alloc_unr_specificl(struct unrhdr *uh, u_int item, void **p1, void **p2)
686 up = new_unr(uh, p1, p2);
690 up = new_unr(uh, p1, p2);
709 up = new_unr(uh, p1, p2);
714 up = new_unr(uh, p1, p2);
737 upn = new_unr(uh, p1, p2);
745 upn = new_unr(uh, p1, p2);
766 void *p1, *p2;
772 p2 = Malloc(sizeof(struct unr));
775 i = alloc_unr_specificl(uh, item, &p1, &p2);
780 if (p2 != NULL)
781 Free(p2);
792 free_unrl(struct unrhdr *uh, u_int item, void **p1, void **p2)
819 up = new_unr(uh, p1, p2);
880 upp = new_unr(uh, p1, p2);
888 upp = new_unr(uh, p1, p2);
902 void *p1, *p2;
906 p2 = Malloc(sizeof(struct unr));
908 free_unrl(uh, item, &p1, &p2);
913 if (p2 != NULL)
914 Free(p2);