Lines Matching defs:pstore
2007 struct pfsync_state *p, *pstore;
2016 pstore = malloc(sizeof(*pstore), M_TEMP, M_WAITOK);
2026 pf_state_export(pstore,
2028 error = copyout(pstore, p, sizeof(*p));
2030 free(pstore, M_TEMP);
2041 free(pstore, M_TEMP);
3105 struct pf_src_node *n, *p, *pstore;
3116 pstore = malloc(sizeof(*pstore), M_TEMP, M_WAITOK);
3125 bcopy(n, pstore, sizeof(*pstore));
3127 pstore->rule.nr = n->rule.ptr->nr;
3128 pstore->creation = secs - pstore->creation;
3129 if (pstore->expire > secs)
3130 pstore->expire -= secs;
3132 pstore->expire = 0;
3137 pstore->conn_rate.count = 0;
3139 pstore->conn_rate.count -=
3143 error = copyout(pstore, p, sizeof(*p));
3145 free(pstore, M_TEMP);
3153 free(pstore, M_TEMP);