Home
last modified time | relevance | path

Searched refs:key (Results 1 – 6 of 6) sorted by relevance

/mm/
Dcleancache.c145 struct cleancache_filekey *key) in cleancache_get_key() argument
151 key->u.ino = inode->i_ino; in cleancache_get_key()
155 len = (*fhfn)(inode, &key->u.fh[0], &maxlen, NULL); in cleancache_get_key()
180 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_get_page() local
192 if (cleancache_get_key(page->mapping->host, &key) < 0) in __cleancache_get_page()
195 ret = cleancache_ops->get_page(pool_id, key, page->index, page); in __cleancache_get_page()
218 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_put_page() local
228 cleancache_get_key(page->mapping->host, &key) >= 0) { in __cleancache_put_page()
229 cleancache_ops->put_page(pool_id, key, page->index, page); in __cleancache_put_page()
248 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_invalidate_page() local
[all …]
Dfilemap.c1030 struct wait_page_key *key = arg; in wake_page_function() local
1034 if (wait_page->page != key->page) in wake_page_function()
1036 key->page_match = 1; in wake_page_function()
1038 if (wait_page->bit_nr != key->bit_nr) in wake_page_function()
1049 if (test_bit(key->bit_nr, &key->page->flags)) in wake_page_function()
1052 return autoremove_wake_function(wait, mode, sync, key); in wake_page_function()
1058 struct wait_page_key key; in wake_up_page_bit() local
1062 key.page = page; in wake_up_page_bit()
1063 key.bit_nr = bit_nr; in wake_up_page_bit()
1064 key.page_match = 0; in wake_up_page_bit()
[all …]
Dlist_lru.c601 struct lock_class_key *key, struct shrinker *shrinker) in __list_lru_init() argument
620 if (key) in __list_lru_init()
621 lockdep_set_class(&lru->node[i].lock, key); in __list_lru_init()
Dhugetlb.c4097 unsigned long key[2]; in hugetlb_fault_mutex_hash() local
4100 key[0] = (unsigned long) mapping; in hugetlb_fault_mutex_hash()
4101 key[1] = idx; in hugetlb_fault_mutex_hash()
4103 hash = jhash2((u32 *)&key, sizeof(key)/sizeof(u32), 0); in hugetlb_fault_mutex_hash()
Dshmem.c1983 static int synchronous_wake_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in synchronous_wake_function() argument
1985 int ret = default_wake_function(wait, mode, sync, key); in synchronous_wake_function()
3482 return invalf(fc, "tmpfs: Unsupported parameter '%s'", param->key); in shmem_parse_one()
3484 return invalf(fc, "tmpfs: Bad value for '%s'", param->key); in shmem_parse_one()
Dmemcontrol.c4573 int sync, void *key) in memcg_event_wake() argument
4578 __poll_t flags = key_to_poll(key); in memcg_event_wake()