Lines Matching defs:acq

5488 	struct secacq *acq, *nextacq;
5490 for (acq = LIST_FIRST(&acqtree);
5491 acq != NULL;
5492 acq = nextacq) {
5494 nextacq = LIST_NEXT(acq, chain);
5496 if (tv.tv_sec - acq->created > key_blockacq_lifetime
5497 && __LIST_CHAINED(acq)) {
5498 LIST_REMOVE(acq, chain);
5499 KFREE(acq);
5507 struct secspacq *acq, *nextacq;
5509 for (acq = LIST_FIRST(&spacqtree);
5510 acq != NULL;
5511 acq = nextacq) {
5513 nextacq = LIST_NEXT(acq, chain);
5515 if (tv.tv_sec - acq->created > key_blockacq_lifetime
5516 && __LIST_CHAINED(acq)) {
5517 LIST_REMOVE(acq, chain);
5518 KFREE(acq);
5834 struct secacq *acq;
5835 if ((acq = key_getacqbyseq(mhp->msg->sadb_msg_seq)) != NULL) {
5839 acq->created = tv.tv_sec;
5840 acq->count = 0;
7420 struct secacq *acq;
7424 LIST_FOREACH(acq, &acqtree, chain) {
7425 if (key_cmpsaidx(saidx, &acq->saidx, CMP_EXACTLY))
7426 return acq;
7436 struct secacq *acq;
7440 LIST_FOREACH(acq, &acqtree, chain) {
7441 if (acq->seq == seq)
7442 return acq;
7453 struct secspacq *acq;
7457 KMALLOC_NOWAIT(acq, struct secspacq *, sizeof(struct secspacq));
7458 if (acq == NULL) {
7460 KMALLOC_WAIT(acq, struct secspacq *, sizeof(struct secspacq));
7462 if (acq == NULL) {
7467 bzero(acq, sizeof(*acq));
7470 bcopy(spidx, &acq->spidx, sizeof(acq->spidx));
7472 acq->created = tv.tv_sec;
7473 acq->count = 0;
7475 return acq;
7482 struct secspacq *acq;
7486 LIST_FOREACH(acq, &spacqtree, chain) {
7487 if (key_cmpspidx_exactly(spidx, &acq->spidx))
7488 return acq;
7535 struct secacq *acq;
7546 if ((acq = key_getacqbyseq(mhp->msg->sadb_msg_seq)) == NULL) {
7556 /* reset acq counter in order to deletion by timehander. */
7558 acq->created = tv.tv_sec;
7559 acq->count = 0;