Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dcacheinfo.c788 struct cache_index_dir *index_dir; in cacheinfo_create_index_dir() local
791 index_dir = kzalloc(sizeof(*index_dir), GFP_KERNEL); in cacheinfo_create_index_dir()
792 if (!index_dir) in cacheinfo_create_index_dir()
795 index_dir->cache = cache; in cacheinfo_create_index_dir()
797 rc = kobject_init_and_add(&index_dir->kobj, &cache_index_type, in cacheinfo_create_index_dir()
800 kobject_put(&index_dir->kobj); in cacheinfo_create_index_dir()
804 index_dir->next = cache_dir->index; in cacheinfo_create_index_dir()
805 cache_dir->index = index_dir; in cacheinfo_create_index_dir()
807 cacheinfo_create_index_opt_attrs(index_dir); in cacheinfo_create_index_dir()