Lines Matching refs:glue_dir
3160 static void cleanup_glue_dir(struct device *dev, struct kobject *glue_dir) in cleanup_glue_dir() argument
3165 if (!live_in_glue_dir(glue_dir, dev)) in cleanup_glue_dir()
3217 ref = kref_read(&glue_dir->kref); in cleanup_glue_dir()
3218 if (!kobject_has_children(glue_dir) && !--ref) in cleanup_glue_dir()
3219 kobject_del(glue_dir); in cleanup_glue_dir()
3220 kobject_put(glue_dir); in cleanup_glue_dir()
3404 struct kobject *glue_dir = NULL; in device_add() local
3454 glue_dir = get_glue_dir(dev); in device_add()
3564 glue_dir = get_glue_dir(dev); in device_add()
3567 cleanup_glue_dir(dev, glue_dir); in device_add()
3662 struct kobject *glue_dir = NULL; in device_del() local
3714 glue_dir = get_glue_dir(dev); in device_del()
3716 cleanup_glue_dir(dev, glue_dir); in device_del()