Lines Matching full:rp
47 init_request(struct request *rp) in init_request() argument
51 *rp = zero; in init_request()
52 TAILQ_INIT(&rp->users); in init_request()
53 TAILQ_INIT(&rp->jobids); in init_request()
57 free_request(struct request *rp) in free_request() argument
62 if (rp->logname) in free_request()
63 free(rp->logname); in free_request()
64 if (rp->authname) in free_request()
65 free(rp->authname); in free_request()
66 if (rp->prettyname) in free_request()
67 free(rp->prettyname); in free_request()
68 if (rp->authinfo) in free_request()
69 free(rp->authinfo); in free_request()
70 while ((ru = TAILQ_FIRST(&rp->users)) != NULL) { in free_request()
71 TAILQ_REMOVE(&rp->users, ru, ru_link); in free_request()
74 while ((rj = TAILQ_FIRST(&rp->jobids)) != NULL) { in free_request()
75 TAILQ_REMOVE(&rp->jobids, rj, rj_link); in free_request()
78 init_request(rp); in free_request()