Searched refs:glue_dir (Results 1 – 1 of 1) sorted by relevance
3160 static void cleanup_glue_dir(struct device *dev, struct kobject *glue_dir) in cleanup_glue_dir() argument3165 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() local3454 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()[all …]