Lines Matching refs:refcnt
627 sp->refcnt++;
633 printf("DP key_allocsp cause refcnt++:%d SP:%p\n",
634 sp->refcnt, sp));
705 sp->refcnt++;
944 d->sah->saidx.proto, 0, 0, d->refcnt - 1);
1008 candidate->refcnt++;
1011 "refcnt++:%d SA:%p\n",
1012 candidate->refcnt, candidate));
1178 match->refcnt++;
1181 printf("DP allocsa cause refcnt++:%d SA:%p\n",
1182 match->refcnt, match));
1324 sp->refcnt--;
1326 printf("DP freesp cause refcnt--:%d SP:%p\n",
1327 sp->refcnt, sp));
1329 if (sp->refcnt == 0)
1450 sav->refcnt--;
1452 printf("DP freesav cause refcnt--:%d SA:%p SPI %u\n",
1453 sav->refcnt, sav, (u_int32_t)ntohl(sav->spi)));
1455 if (sav->refcnt == 0)
1478 if (sp->refcnt > 0)
1522 sp->refcnt++;
1547 sp->refcnt++;
1556 sp->refcnt++;
1574 newsp->refcnt = 1;
2147 newsp->refcnt = 1; /* do not reclaim until I say I do */
2697 sp->refcnt++;
2742 m = key_setsadbmsg(type, 0, SADB_SATYPE_UNSPEC, seq, pid, sp->refcnt);
3015 if (sav->refcnt > 0) {
3145 newsav->refcnt = 1;
3168 if (sav->refcnt > 0)
3854 m = key_setsadbmsg(type, 0, satype, seq, pid, sav->refcnt);
4698 sp->refcnt++;
4764 sav->refcnt++;
4807 sav->refcnt++;
4830 sav->refcnt++;
4877 sav->refcnt++;
4911 * sav should already be freed, and sav->refcnt
5648 sav->refcnt++;
5651 "refcnt++:%d SA:%p\n",
5652 sav->refcnt, sav));
7175 m = key_setsadbmsg(SADB_EXPIRE, 0, satype, sav->seq, 0, sav->refcnt);
7436 sav->refcnt++;
8049 ip4_def_policy.refcnt++; /*never reclaim this*/
8053 ip6_def_policy.refcnt++; /*never reclaim this*/