Lines Matching refs:kobject
17 #include <linux/kobject.h>
28 * - a "cache" kobject for the top-level directory
32 struct kobject *kobj; /* bare (not embedded) kobject for cache
39 * cpu. This object's lifetime is managed via the embedded kobject.
42 struct kobject kobj;
124 static struct cache_index_dir *kobj_to_cache_index_dir(struct kobject *k)
455 struct kobject *kobj = NULL;
482 static void cache_index_release(struct kobject *kobj)
494 static ssize_t cache_index_show(struct kobject *k, struct attribute *attr, char *buf)
503 static struct cache *index_kobj_to_cache(struct kobject *k)
512 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf)
529 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf)
545 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf)
561 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf)
577 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf)
589 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf)
603 static ssize_t shared_cpu_map_show(struct kobject *k, struct kobj_attribute *attr, char *buf)
625 /* Attributes which should always be created -- the kobject/sysfs core