Lines Matching refs:policy_rwlock

83 	rwlock_init(&selinux_ss.policy_rwlock);  in selinux_ss_init()
766 read_lock(&state->ss->policy_rwlock); in security_compute_validatetrans()
824 read_unlock(&state->ss->policy_rwlock); in security_compute_validatetrans()
866 read_lock(&state->ss->policy_rwlock); in security_bounded_transition()
930 read_unlock(&state->ss->policy_rwlock); in security_bounded_transition()
1021 read_lock(&state->ss->policy_rwlock); in security_compute_xperms_decision()
1074 read_unlock(&state->ss->policy_rwlock); in security_compute_xperms_decision()
1104 read_lock(&state->ss->policy_rwlock); in security_compute_av()
1142 read_unlock(&state->ss->policy_rwlock); in security_compute_av()
1159 read_lock(&state->ss->policy_rwlock); in security_compute_av_user()
1194 read_unlock(&state->ss->policy_rwlock); in security_compute_av_user()
1302 read_lock(&state->ss->policy_rwlock); in security_sid_to_context_core()
1321 read_unlock(&state->ss->policy_rwlock); in security_sid_to_context_core()
1493 read_lock(&state->ss->policy_rwlock); in security_context_to_sid_core()
1507 read_unlock(&state->ss->policy_rwlock); in security_context_to_sid_core()
1671 read_lock(&state->ss->policy_rwlock); in security_compute_sid()
1810 read_unlock(&state->ss->policy_rwlock); in security_compute_sid()
2205 write_lock_irq(&state->ss->policy_rwlock); in security_load_policy()
2213 write_unlock_irq(&state->ss->policy_rwlock); in security_load_policy()
2246 read_lock(&state->ss->policy_rwlock); in security_policydb_len()
2248 read_unlock(&state->ss->policy_rwlock); in security_policydb_len()
2267 read_lock(&state->ss->policy_rwlock); in security_port_sid()
2295 read_unlock(&state->ss->policy_rwlock); in security_port_sid()
2313 read_lock(&state->ss->policy_rwlock); in security_ib_pkey_sid()
2341 read_unlock(&state->ss->policy_rwlock); in security_ib_pkey_sid()
2359 read_lock(&state->ss->policy_rwlock); in security_ib_endport_sid()
2388 read_unlock(&state->ss->policy_rwlock); in security_ib_endport_sid()
2405 read_lock(&state->ss->policy_rwlock); in security_netif_sid()
2435 read_unlock(&state->ss->policy_rwlock); in security_netif_sid()
2470 read_lock(&state->ss->policy_rwlock); in security_node_sid()
2528 read_unlock(&state->ss->policy_rwlock); in security_node_sid()
2570 read_lock(&state->ss->policy_rwlock); in security_get_user_sids()
2624 read_unlock(&state->ss->policy_rwlock); in security_get_user_sids()
2739 read_lock(&state->ss->policy_rwlock); in security_genfs_sid()
2741 read_unlock(&state->ss->policy_rwlock); in security_genfs_sid()
2758 read_lock(&state->ss->policy_rwlock); in security_fs_use()
2791 read_unlock(&state->ss->policy_rwlock); in security_fs_use()
2808 read_lock(&state->ss->policy_rwlock); in security_get_bools()
2841 read_unlock(&state->ss->policy_rwlock); in security_get_bools()
2860 write_lock_irq(&state->ss->policy_rwlock); in security_set_bools()
2895 write_unlock_irq(&state->ss->policy_rwlock); in security_set_bools()
2912 read_lock(&state->ss->policy_rwlock); in security_get_bool_value()
2923 read_unlock(&state->ss->policy_rwlock); in security_get_bool_value()
2983 read_lock(&state->ss->policy_rwlock); in security_sid_mls_copy()
3032 read_unlock(&state->ss->policy_rwlock); in security_sid_mls_copy()
3094 read_lock(&state->ss->policy_rwlock); in security_net_peersid_resolve()
3121 read_unlock(&state->ss->policy_rwlock); in security_net_peersid_resolve()
3150 read_lock(&state->ss->policy_rwlock); in security_get_classes()
3168 read_unlock(&state->ss->policy_rwlock); in security_get_classes()
3192 read_lock(&state->ss->policy_rwlock); in security_get_permissions()
3221 read_unlock(&state->ss->policy_rwlock); in security_get_permissions()
3225 read_unlock(&state->ss->policy_rwlock); in security_get_permissions()
3258 read_lock(&state->ss->policy_rwlock); in security_policycap_supported()
3260 read_unlock(&state->ss->policy_rwlock); in security_policycap_supported()
3326 read_lock(&state->ss->policy_rwlock); in selinux_audit_rule_init()
3367 read_unlock(&state->ss->policy_rwlock); in selinux_audit_rule_init()
3417 read_lock(&state->ss->policy_rwlock); in selinux_audit_rule_match()
3508 read_unlock(&state->ss->policy_rwlock); in selinux_audit_rule_match()
3597 read_lock(&state->ss->policy_rwlock); in security_netlbl_secattr_to_sid()
3633 read_unlock(&state->ss->policy_rwlock); in security_netlbl_secattr_to_sid()
3638 read_unlock(&state->ss->policy_rwlock); in security_netlbl_secattr_to_sid()
3662 read_lock(&state->ss->policy_rwlock); in security_netlbl_sid_to_secattr()
3680 read_unlock(&state->ss->policy_rwlock); in security_netlbl_sid_to_secattr()
3710 read_lock(&state->ss->policy_rwlock); in security_read_policy()
3712 read_unlock(&state->ss->policy_rwlock); in security_read_policy()