• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/

Lines Matching refs:kset

100  * kobject_get_path - generate and return the path associated with a given kobj and kset pair.
135 kobj->kset = kset_get(kobj->kset);
140 * unlink - remove kobject from kset list.
143 * Remove the kobject from the kset list and decrement
151 if (kobj->kset) {
152 spin_lock(&kobj->kset->list_lock);
154 spin_unlock(&kobj->kset->list_lock);
184 kobj->kset ? kobj->kset->kobj.name : "<NULL>" );
186 if (kobj->kset) {
187 spin_lock(&kobj->kset->list_lock);
190 parent = kobject_get(&kobj->kset->kobj);
192 list_add_tail(&kobj->entry,&kobj->kset->list);
193 spin_unlock(&kobj->kset->list_lock);
397 if (kobj->kset)
398 new_parent = kobject_get(&kobj->kset->kobj);
478 struct kset * s = kobj->kset;
523 * @kset: kset the directory is belongs to.
529 struct kobject *kobject_kset_add_dir(struct kset *kset,
542 k->kset = kset;
570 * kset_init - initialize a kset for use
571 * @k: kset
574 void kset_init(struct kset * k)
583 * kset_add - add a kset object to the hierarchy.
584 * @k: kset.
587 int kset_add(struct kset * k)
594 * kset_register - initialize and add a kset.
595 * @k: kset.
598 int kset_register(struct kset * k)
608 * kset_unregister - remove a kset.
609 * @k: kset.
612 void kset_unregister(struct kset * k)
621 * kset_find_obj - search for object in kset.
622 * @kset: kset we're looking in.
625 * Lock kset via @kset->subsys, and iterate over @kset->list,
630 struct kobject * kset_find_obj(struct kset * kset, const char * name)
635 spin_lock(&kset->list_lock);
636 list_for_each(entry,&kset->list) {
643 spin_unlock(&kset->list_lock);
647 void subsystem_init(struct kset *s)
652 int subsystem_register(struct kset *s)
657 void subsystem_unregister(struct kset *s)
668 int subsys_create_file(struct kset *s, struct subsys_attribute *a)