/security/selinux/ |
D | netport.c | 49 struct list_head list; member 55 struct list_head list; member 115 list_for_each_entry_rcu(port, &sel_netport_hash[idx].list, list) in sel_netport_find() 137 list_add_rcu(&port->list, &sel_netport_hash[idx].list); in sel_netport_insert() 141 rcu_dereference(sel_netport_hash[idx].list.prev), in sel_netport_insert() 142 struct sel_netport, list); in sel_netport_insert() 143 list_del_rcu(&tail->list); in sel_netport_insert() 241 &sel_netport_hash[idx].list, list) { in sel_netport_flush() 242 list_del_rcu(&port->list); in sel_netport_flush() 269 INIT_LIST_HEAD(&sel_netport_hash[iter].list); in sel_netport_init()
|
D | netnode.c | 50 struct list_head list; member 56 struct list_head list; member 145 list_for_each_entry_rcu(node, &sel_netnode_hash[idx].list, list) in sel_netnode_find() 189 list_add_rcu(&node->list, &sel_netnode_hash[idx].list); in sel_netnode_insert() 193 rcu_dereference(sel_netnode_hash[idx].list.prev), in sel_netnode_insert() 194 struct sel_netnode, list); in sel_netnode_insert() 195 list_del_rcu(&tail->list); in sel_netnode_insert() 307 &sel_netnode_hash[idx].list, list) { in sel_netnode_flush() 308 list_del_rcu(&node->list); in sel_netnode_flush() 335 INIT_LIST_HEAD(&sel_netnode_hash[iter].list); in sel_netnode_init()
|
D | netif.c | 35 struct list_head list; member 73 list_for_each_entry_rcu(netif, &sel_netif_hash[idx], list) in sel_netif_find() 99 list_add_rcu(&netif->list, &sel_netif_hash[idx]); in sel_netif_insert() 131 list_del_rcu(&netif->list); in sel_netif_destroy() 265 list_for_each_entry(netif, &sel_netif_hash[idx], list) in sel_netif_flush()
|
D | avc.c | 96 struct list_head list; member 262 list_for_each_entry_rcu(node, &avc_cache.slots[i], list) in avc_get_hash_stats() 286 list_del_rcu(&node->list); in avc_node_delete() 300 list_replace_rcu(&old->list, &new->list); in avc_node_replace() 318 list_for_each_entry(node, &avc_cache.slots[hvalue], list) { in avc_reclaim_node() 347 INIT_LIST_HEAD(&node->list); in avc_alloc_node() 372 list_for_each_entry_rcu(node, &avc_cache.slots[hvalue], list) { in avc_search_node() 479 list_for_each_entry(pos, &avc_cache.slots[hvalue], list) { in avc_insert() 487 list_add_rcu(&node->list, &avc_cache.slots[hvalue]); in avc_insert() 767 list_for_each_entry(pos, &avc_cache.slots[hvalue], list) { in avc_update_node() [all …]
|
D | hooks.c | 221 INIT_LIST_HEAD(&isec->list); in inode_alloc_security() 237 if (!list_empty(&isec->list)) in inode_free_security() 238 list_del_init(&isec->list); in inode_free_security() 277 INIT_LIST_HEAD(&sbsec->list); in superblock_alloc_security() 294 if (!list_empty(&sbsec->list)) in superblock_free_security() 295 list_del_init(&sbsec->list); in superblock_free_security() 456 struct inode_security_struct, list); in sb_finish_set_opts() 466 list_del_init(&isec->list); in sb_finish_set_opts() 607 if (list_empty(&sbsec->list)) in selinux_set_mnt_opts() 608 list_add(&sbsec->list, &superblock_security_head); in selinux_set_mnt_opts() [all …]
|
/security/ |
D | device_cgroup.c | 34 struct list_head list; member 76 list_for_each_entry(wh, orig, list) { in dev_whitelist_copy() 80 list_add_tail(&new->list, dest); in dev_whitelist_copy() 86 list_for_each_entry_safe(wh, tmp, dest, list) { in dev_whitelist_copy() 87 list_del(&wh->list); in dev_whitelist_copy() 106 list_for_each_entry(walk, &dev_cgroup->whitelist, list) { in dev_whitelist_add() 120 list_add_tail_rcu(&whcopy->list, &dev_cgroup->whitelist); in dev_whitelist_add() 140 list_for_each_entry_safe(walk, tmp, &dev_cgroup->whitelist, list) { in dev_whitelist_rm() 153 list_del_rcu(&walk->list); in dev_whitelist_rm() 185 list_add(&wh->list, &dev_cgroup->whitelist); in devcgroup_create() [all …]
|
D | Kconfig | 32 The only keys included in the list are those that grant View
|
/security/selinux/ss/ |
D | conditional.c | 128 static void cond_av_list_destroy(struct cond_av_list *list) in cond_av_list_destroy() argument 131 for (cur = list; cur; cur = next) { in cond_av_list_destroy() 151 static void cond_list_destroy(struct cond_node *list) in cond_list_destroy() argument 155 if (list == NULL) in cond_list_destroy() 158 for (cur = list; cur; cur = next) { in cond_list_destroy() 263 struct cond_av_list *other = data->other, *list, *cur; in cond_insertf() local 319 list = kzalloc(sizeof(struct cond_av_list), GFP_KERNEL); in cond_insertf() 320 if (!list) in cond_insertf() 323 list->node = node_ptr; in cond_insertf() 325 data->head = list; in cond_insertf() [all …]
|
/security/selinux/include/ |
D | objsec.h | 41 struct list_head list; /* list of inode_security_struct */ member 58 struct list_head list; /* list of superblock_security_struct */ member
|