Lines Matching defs:inactive
832 * Lock inactive policy, then active policy, then exchange policy root
836 ipsec_swap_policy(ipsec_policy_head_t *active, ipsec_policy_head_t *inactive,
842 rw_enter(&inactive->iph_lock, RW_WRITER);
846 r2 = inactive->iph_rulebyid;
848 inactive->iph_rulebyid = r1;
854 h2 = inactive->iph_root[dir].ipr_hash;
856 inactive->iph_root[dir].ipr_hash = h1;
862 t2 = inactive->iph_root[dir].ipr_nonhash[af];
864 inactive->iph_root[dir].ipr_nonhash[af] = t1;
867 &(inactive->iph_root[dir].ipr_nonhash[af]);
877 inactive->iph_gen++;
880 rw_exit(&inactive->iph_lock);
1006 * Clone currently active policy to the inactive policy list.