Lines Matching defs:cache
494 /* todo cache full allowed permissions set and state */
1864 struct aa_local_cache *cache;
1869 cache = get_cpu_ptr(&aa_local_buffers);
1870 if (!list_empty(&cache->head)) {
1871 aa_buf = list_first_entry(&cache->head, union aa_buffer, list);
1873 cache->hold--;
1874 cache->count--;
1881 cache = get_cpu_ptr(&aa_local_buffers);
1882 cache->hold += 1;
1886 cache = get_cpu_ptr(&aa_local_buffers);
1927 struct aa_local_cache *cache;
1933 cache = get_cpu_ptr(&aa_local_buffers);
1934 if (!cache->hold) {
1942 cache = get_cpu_ptr(&aa_local_buffers);
1947 cache = get_cpu_ptr(&aa_local_buffers);
1948 cache->hold += 1;
1951 /* cache in percpu list */
1952 list_add(&aa_buf->list, &cache->head);
1953 cache->count++;