Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

security/selinux/ss/conditional.c cond_policydb_destroy_dup() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 1 apply 4819656632575672320
PARAM_VALUE 2 args 0
NOCHECK_CALL
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/conditional.c duplicate_policydb_bools() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h->htable 0
PARAM_VALUE 0 h->nel 0
PARAM_VALUE 0 h->size 0
PARAM_VALUE 1 apply 450994981566799872
PARAM_VALUE 2 args 16,4096-ptr_max
BUF_SIZE 2 args 0-34359738360
DATA_SOURCE 2 args r _kzalloc_noprof
NOCHECK_CALL
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/services.c security_dump_masked_av() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 2249541510905380864
PARAM_VALUE 2 args 4309612096411631616
BUF_SIZE 2 args 256
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/services.c security_dump_masked_av() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 2249541510905380864
PARAM_VALUE 2 args 4309612096411631616
BUF_SIZE 2 args 256
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/services.c security_get_classes() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 1 apply 5439793656520073216
PARAM_VALUE 2 args 16,4096-ptr_max
BUF_SIZE 2 args 8
DATA_SOURCE 2 args r _kmalloc_array_noprof
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/services.c security_get_permissions() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 693443601799553024
PARAM_VALUE 2 args 16,4096-ptr_max
BUF_SIZE 2 args 8
DATA_SOURCE 2 args r _kmalloc_array_noprof
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/services.c security_get_permissions() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 693443601799553024
PARAM_VALUE 2 args 16,4096-ptr_max
BUF_SIZE 2 args 8
DATA_SOURCE 2 args r _kmalloc_array_noprof
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c class_write() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 7431560812269477888
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &selinux_state.policy_mutex

security/selinux/ss/policydb.c cls_destroy() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 5916936673417715712
PARAM_VALUE 2 args 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &selinux_state.policy_mutex

security/selinux/ss/policydb.c common_destroy() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 5916936673417715712
PARAM_VALUE 2 args 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &selinux_state.policy_mutex

security/selinux/ss/policydb.c common_write() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 7431560812269477888
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &selinux_state.policy_mutex

security/selinux/ss/policydb.c filename_trans_write() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 6488046102977286144
PARAM_VALUE 2 args 4298060255489560576
DATA_SOURCE 2 args $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c filename_trans_write() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 1791421766172192768
PARAM_VALUE 2 args 4298060255489560576
DATA_SOURCE 2 args $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_bounds_sanity_check() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 3982337790606712832
PARAM_VALUE 2 args 4096-ptr_max
DATA_SOURCE 2 args $0
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_bounds_sanity_check() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 777310086436454400
PARAM_VALUE 2 args 4096-ptr_max
DATA_SOURCE 2 args $0
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_bounds_sanity_check() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 4416107299058860032
PARAM_VALUE 2 args 4096-ptr_max
DATA_SOURCE 2 args $0
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_destroy() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 2 args 0
NOCHECK_CALL
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_destroy() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 265806748619014144
PARAM_VALUE 2 args 0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_destroy() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 176895523827314688
PARAM_VALUE 2 args 0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_destroy() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 4691242389868347392
PARAM_VALUE 2 args 0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 h->size
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_index() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 2 args 4096-ptr_max
DATA_SOURCE 2 args $0
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_index() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 636934474563756032
PARAM_VALUE 2 args 4096-ptr_max
DATA_SOURCE 2 args $0
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_write() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 2 args 4903829905306337280
BUF_SIZE 2 args 16
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c range_write() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 2957740526256873472
PARAM_VALUE 2 args 1577261992556806144
BUF_SIZE 2 args 16
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c role_trans_write() -> hashtab_map()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 1 apply 9035859023565299712
PARAM_VALUE 2 args 6855997916361633792
BUF_SIZE 2 args 16
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex