Home
last modified time | relevance | path

Searched refs:key (Results 1 – 7 of 7) 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.c1057 struct wait_page_key *key = arg; in wake_page_function() local
1061 if (!wake_page_match(wait_page, key)) in wake_page_function()
1070 if (test_bit(key->bit_nr, &key->page->flags)) in wake_page_function()
1073 if (test_and_set_bit(key->bit_nr, &key->page->flags)) in wake_page_function()
1108 struct wait_page_key key; in wake_up_page_bit() local
1112 key.page = page; in wake_up_page_bit()
1113 key.bit_nr = bit_nr; in wake_up_page_bit()
1114 key.page_match = 0; in wake_up_page_bit()
1122 __wake_up_locked_key_bookmark(q, TASK_NORMAL, &key, &bookmark); in wake_up_page_bit()
1134 __wake_up_locked_key_bookmark(q, TASK_NORMAL, &key, &bookmark); in wake_up_page_bit()
[all …]
Dlist_lru.c591 struct lock_class_key *key, struct shrinker *shrinker) in __list_lru_init() argument
610 if (key) in __list_lru_init()
611 lockdep_set_class(&lru->node[i].lock, key); in __list_lru_init()
Dvmscan.c2881 static void get_item_key(void *item, int *key) in get_item_key() argument
2887 key[0] = hash & (BIT(BLOOM_FILTER_SHIFT) - 1); in get_item_key()
2888 key[1] = hash >> BLOOM_FILTER_SHIFT; in get_item_key()
2909 int key[2]; in update_bloom_filter() local
2917 get_item_key(item, key); in update_bloom_filter()
2919 if (!test_bit(key[0], filter)) in update_bloom_filter()
2920 set_bit(key[0], filter); in update_bloom_filter()
2921 if (!test_bit(key[1], filter)) in update_bloom_filter()
2922 set_bit(key[1], filter); in update_bloom_filter()
2927 int key[2]; in test_bloom_filter() local
[all …]
Dhugetlb.c4558 unsigned long key[2]; in hugetlb_fault_mutex_hash() local
4561 key[0] = (unsigned long) mapping; in hugetlb_fault_mutex_hash()
4562 key[1] = idx; in hugetlb_fault_mutex_hash()
4564 hash = jhash2((u32 *)&key, sizeof(key)/(sizeof(u32)), 0); in hugetlb_fault_mutex_hash()
Dshmem.c2056 static int synchronous_wake_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in synchronous_wake_function() argument
2058 int ret = default_wake_function(wait, mode, sync, key); in synchronous_wake_function()
3522 return invalfc(fc, "Unsupported parameter '%s'", param->key); in shmem_parse_one()
3524 return invalfc(fc, "Bad value for '%s'", param->key); in shmem_parse_one()
Dmemcontrol.c4816 int sync, void *key) in memcg_event_wake() argument
4821 __poll_t flags = key_to_poll(key); in memcg_event_wake()