Lines Matching refs:acqrec
4143 ipsacq_t *acqrec, *spareacq; local
4161 for (acqrec = acqlist->iacqf_ipsacq; acqrec != NULL;
4162 acqrec = spareacq) {
4163 spareacq = acqrec->ipsacq_next;
4164 if (current > acqrec->ipsacq_expire)
4165 sadb_destroy_acquire(acqrec, ns);
5845 sadb_destroy_acquire(ipsacq_t *acqrec, netstack_t *ns) argument
5850 ASSERT(MUTEX_HELD(acqrec->ipsacq_linklock));
5852 if (acqrec->ipsacq_policy != NULL) {
5853 IPPOL_REFRELE(acqrec->ipsacq_policy);
5855 if (acqrec->ipsacq_act != NULL) {
5856 IPACT_REFRELE(acqrec->ipsacq_act);
5860 *(acqrec->ipsacq_ptpn) = acqrec->ipsacq_next;
5861 if (acqrec->ipsacq_next != NULL)
5862 acqrec->ipsacq_next->ipsacq_ptpn = acqrec->ipsacq_ptpn;
5864 if (acqrec->ipsacq_tsl != NULL) {
5865 label_rele(acqrec->ipsacq_tsl);
5866 acqrec->ipsacq_tsl = NULL;
5875 mutex_enter(&acqrec->ipsacq_lock);
5876 while (acqrec->ipsacq_mp != NULL) {
5877 mp = acqrec->ipsacq_mp;
5878 acqrec->ipsacq_mp = mp->b_next;
5886 mutex_exit(&acqrec->ipsacq_lock);
5889 mutex_destroy(&acqrec->ipsacq_lock);
5890 kmem_free(acqrec, sizeof (*acqrec));
6231 ipsacq_t *acqrec; local
6255 for (acqrec = bucket->iacqf_ipsacq; acqrec != NULL;
6256 acqrec = acqrec->ipsacq_next) {
6257 if (samsg->sadb_msg_seq == acqrec->ipsacq_seq)
6260 if (acqrec != NULL)
6266 if (acqrec == NULL) {
6270 for (acqrec = bucket->iacqf_ipsacq; acqrec != NULL;
6271 acqrec = acqrec->ipsacq_next) {
6272 if (samsg->sadb_msg_seq == acqrec->ipsacq_seq)
6275 if (acqrec != NULL)
6283 if (acqrec == NULL)
6292 ASSERT(&bucket->iacqf_lock == acqrec->ipsacq_linklock);
6293 sadb_destroy_acquire(acqrec, ns);