Searched refs:cache (Results 1 – 9 of 9) sorted by relevance
94 isid->entry.cache = NULL; in sidtab_set_initial()575 cache = rcu_dereference_protected(entry->cache, in sidtab_sid2str_put()577 if (cache) { in sidtab_sid2str_put()583 cache = kmalloc(struct_size(cache, str, str_len), GFP_ATOMIC); in sidtab_sid2str_put()584 if (!cache) in sidtab_sid2str_put()596 cache->parent = entry; in sidtab_sid2str_put()597 cache->len = str_len; in sidtab_sid2str_put()601 rcu_assign_pointer(entry->cache, cache); in sidtab_sid2str_put()619 cache = rcu_dereference(entry->cache); in sidtab_sid2str_get()620 if (!cache) { in sidtab_sid2str_get()[all …]
26 struct sidtab_str_cache __rcu *cache; member
3862 secattr->cache = netlbl_secattr_cache_alloc(GFP_ATOMIC); in security_netlbl_cache_add()3863 if (secattr->cache == NULL) { in security_netlbl_cache_add()3869 secattr->cache->free = kfree; in security_netlbl_cache_add()3870 secattr->cache->data = sid_cache; in security_netlbl_cache_add()3912 *sid = *(u32 *)secattr->cache->data; in security_netlbl_secattr_to_sid()
45 This option collects access vector cache statistics to62 int "SELinux SID to context string translation cache size"67 cache, which improves the performance of context to string68 conversion. Setting this option to 0 disables the cache completely.
534 skp->smk_netlabel.cache = netlbl_secattr_cache_alloc(GFP_ATOMIC); in smack_populate_secattr()535 if (skp->smk_netlabel.cache != NULL) { in smack_populate_secattr()537 skp->smk_netlabel.cache->free = NULL; in smack_populate_secattr()538 skp->smk_netlabel.cache->data = skp; in smack_populate_secattr()
3989 return (struct smack_known *)sap->cache->data; in smack_from_secattr()
2138 struct aa_local_cache *cache; in aa_get_buffer() local2143 cache = get_cpu_ptr(&aa_local_buffers); in aa_get_buffer()2144 if (!list_empty(&cache->head)) { in aa_get_buffer()2147 cache->hold--; in aa_get_buffer()2148 cache->count--; in aa_get_buffer()2156 cache->hold += 1; in aa_get_buffer()2201 struct aa_local_cache *cache; in aa_put_buffer() local2208 if (!cache->hold) { in aa_put_buffer()2222 cache->hold += 1; in aa_put_buffer()2226 list_add(&aa_buf->list, &cache->head); in aa_put_buffer()[all …]
30 task_struct. The cache is cleared by exit and just prior to the54 cache.
186 than "init_on_alloc" due to the negative cache effects of322 bool "Limit randomization of structure layout to cache-lines"
Completed in 41 milliseconds