Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

security/selinux/ss/ebitmap.c ebitmap_and() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 1 bit 0-4294967294
PARAM_VALUE 2 value 1
CAPPED_DATA 1 bit 1
DATA_SOURCE 0 e $0
MEM_ZERO 0 e
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

security/selinux/ss/policydb.c filename_trans_read_helper() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 1 bit 1-u32max
PARAM_VALUE 2 value 1
CAPPED_DATA 1 bit 1
CONSTRAINT 1 bit <=3068
MEM_ZERO 0 e
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c filename_trans_read_helper_compat() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 1 bit 1-u32max
PARAM_VALUE 2 value 1
CAPPED_DATA 1 bit 1
CONSTRAINT 1 bit <=3068
MEM_ZERO 0 e
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c filename_trans_read_helper_compat() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 2 value 1
CAPPED_DATA 1 bit 1
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_read() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 2 value 1
CAPPED_DATA 1 bit 1
CONSTRAINT 1 bit <3068
NO_OVERFLOW_SIMPLE 1 bit
UNITS 1 bit unit_array_size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/mls.c mls_context_to_sid() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 2 value 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/mls.c mls_context_to_sid() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 1 bit 0-4294967294
PARAM_VALUE 2 value 1
CAPPED_DATA 1 bit 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/mls.c mls_convert_context() -> ebitmap_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 e 4096-ptr_max
PARAM_VALUE 2 value 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->lock
HALF_LOCKED2 flags