Home
last modified time | relevance | path

Searched refs:policy_active (Results 1 – 1 of 1) sorted by relevance

/system/bpfprogs/
Dtime_in_state.c64 uint32_t* policy_active = bpf_policy_nr_active_map_lookup_elem(&policy); variable
65 if (!policy_active) return ALLOW;
68 uint32_t policy_nactive = *policy_active - 1;
72 __sync_fetch_and_add(policy_active, 1);
85 __sync_fetch_and_add(policy_active, -1);