Lines Matching refs:refcnt
628 ip4_def_policy.refcnt++; /*never reclaim this*/
632 ip6_def_policy.refcnt++; /*never reclaim this*/
701 sp->refcnt++;
707 printf("DP key_allocsp cause refcnt++:%d SP:%p\n",
708 sp->refcnt, sp));
782 sp->refcnt++;
1021 d->sah->saidx.proto, 0, 0, d->refcnt - 1);
1085 candidate->refcnt++;
1088 "refcnt++:%d SA:%p\n",
1089 candidate->refcnt, candidate));
1257 match->refcnt++;
1260 printf("DP allocsa cause refcnt++:%d SA:%p\n",
1261 match->refcnt, match));
1403 sp->refcnt--;
1405 printf("DP freesp cause refcnt--:%d SP:%p\n",
1406 sp->refcnt, sp));
1408 if (sp->refcnt == 0)
1529 sav->refcnt--;
1531 printf("DP freesav cause refcnt--:%d SA:%p SPI %u\n",
1532 sav->refcnt, sav, (u_int32_t)ntohl(sav->spi)));
1534 if (sav->refcnt == 0)
1557 if (sp->refcnt > 0)
1601 sp->refcnt++;
1626 sp->refcnt++;
1635 sp->refcnt++;
1653 newsp->refcnt = 1;
2254 newsp->refcnt = 1; /* do not reclaim until I say I do */
2806 sp->refcnt++;
2852 m = key_setsadbmsg(type, 0, SADB_SATYPE_UNSPEC, seq, pid, sp->refcnt);
3127 if (sav->refcnt > 0) {
3257 newsav->refcnt = 1;
3356 newsav->refcnt = 1;
3385 if (sav->refcnt > 0)
4310 m = key_setsadbmsg(type, 0, satype, seq, pid, sav->refcnt);
5239 sp->refcnt++;
5304 sav->refcnt++;
5347 sav->refcnt++;
5370 sav->refcnt++;
5417 sav->refcnt++;
5451 * sav should already be freed, and sav->refcnt
6259 sav->refcnt++;
6262 "refcnt++:%d SA:%p\n",
6263 sav->refcnt, sav));
7870 m = key_setsadbmsg(SADB_EXPIRE, 0, satype, sav->seq, 0, sav->refcnt);
8131 sav->refcnt++;