Searched refs:all_cpu_cache_info (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/ia64/kernel/
H A Dtopology.c138 static struct cpu_cache_info all_cpu_cache_info[NR_CPUS]; variable in typeref:struct:cpu_cache_info
139 #define LEAF_KOBJECT_PTR(x,y) (&all_cpu_cache_info[x].cache_leaves[y])
301 kfree(all_cpu_cache_info[cpu].cache_leaves); cpu_cache_sysfs_exit()
302 all_cpu_cache_info[cpu].cache_leaves = NULL; cpu_cache_sysfs_exit()
303 all_cpu_cache_info[cpu].num_cache_leaves = 0; cpu_cache_sysfs_exit()
304 memset(&all_cpu_cache_info[cpu].kobj, 0, sizeof(struct kobject)); cpu_cache_sysfs_exit()
343 all_cpu_cache_info[cpu].cache_leaves = this_cache; cpu_cache_sysfs_init()
344 all_cpu_cache_info[cpu].num_cache_leaves = num_cache_leaves; cpu_cache_sysfs_init()
346 memset(&all_cpu_cache_info[cpu].kobj, 0, sizeof(struct kobject)); cpu_cache_sysfs_init()
360 if (all_cpu_cache_info[cpu].kobj.parent) cache_add_dev()
373 retval = kobject_init_and_add(&all_cpu_cache_info[cpu].kobj, cache_add_dev()
381 for (i = 0; i < all_cpu_cache_info[cpu].num_cache_leaves; i++) { cache_add_dev()
385 &all_cpu_cache_info[cpu].kobj, cache_add_dev()
391 kobject_put(&all_cpu_cache_info[cpu].kobj); cache_add_dev()
397 kobject_uevent(&all_cpu_cache_info[cpu].kobj, KOBJ_ADD); cache_add_dev()
407 for (i = 0; i < all_cpu_cache_info[cpu].num_cache_leaves; i++) cache_remove_dev()
410 if (all_cpu_cache_info[cpu].kobj.parent) { cache_remove_dev()
411 kobject_put(&all_cpu_cache_info[cpu].kobj); cache_remove_dev()
412 memset(&all_cpu_cache_info[cpu].kobj, cache_remove_dev()

Completed in 64 milliseconds