Searched refs:cdev_record (Results 1 – 1 of 1) sorted by relevance
77 struct cdev_record { struct223 static struct cdev_record *227 struct cdev_record *cdev_record; in thermal_debugfs_cdev_record_alloc() local229 cdev_record = kzalloc(sizeof(*cdev_record), GFP_KERNEL); in thermal_debugfs_cdev_record_alloc()230 if (!cdev_record) in thermal_debugfs_cdev_record_alloc()233 cdev_record->id = id; in thermal_debugfs_cdev_record_alloc()234 INIT_LIST_HEAD(&cdev_record->node); in thermal_debugfs_cdev_record_alloc()235 list_add_tail(&cdev_record->node, in thermal_debugfs_cdev_record_alloc()236 &lists[cdev_record->id % CDEVSTATS_HASH_SIZE]); in thermal_debugfs_cdev_record_alloc()238 return cdev_record; in thermal_debugfs_cdev_record_alloc()[all …]