Lines Matching refs:key
146 struct cleancache_filekey *key) in cleancache_get_key() argument
152 key->u.ino = inode->i_ino; in cleancache_get_key()
156 len = (*fhfn)(inode, &key->u.fh[0], &maxlen, NULL); in cleancache_get_key()
181 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_get_page() local
193 if (cleancache_get_key(page->mapping->host, &key) < 0) in __cleancache_get_page()
196 ret = cleancache_ops->get_page(pool_id, key, page->index, page); in __cleancache_get_page()
219 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_put_page() local
229 cleancache_get_key(page->mapping->host, &key) >= 0) { in __cleancache_put_page()
230 cleancache_ops->put_page(pool_id, key, page->index, page); in __cleancache_put_page()
249 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_invalidate_page() local
256 if (cleancache_get_key(mapping->host, &key) >= 0) { in __cleancache_invalidate_page()
258 key, page->index); in __cleancache_invalidate_page()
277 struct cleancache_filekey key = { .u.key = { 0 } }; in __cleancache_invalidate_inode() local
282 if (pool_id >= 0 && cleancache_get_key(mapping->host, &key) >= 0) in __cleancache_invalidate_inode()
283 cleancache_ops->invalidate_inode(pool_id, key); in __cleancache_invalidate_inode()