Searched refs:new_od (Results 1 – 1 of 1) sorted by relevance
268 struct sysfs_open_dirent *od, *new_od = NULL; in sysfs_get_open_dirent() local273 if (!sd->s_attr.open && new_od) { in sysfs_get_open_dirent()274 sd->s_attr.open = new_od; in sysfs_get_open_dirent()275 new_od = NULL; in sysfs_get_open_dirent()287 kfree(new_od); in sysfs_get_open_dirent()292 new_od = kmalloc(sizeof(*new_od), GFP_KERNEL); in sysfs_get_open_dirent()293 if (!new_od) in sysfs_get_open_dirent()296 atomic_set(&new_od->refcnt, 0); in sysfs_get_open_dirent()297 atomic_set(&new_od->event, 1); in sysfs_get_open_dirent()298 init_waitqueue_head(&new_od->poll); in sysfs_get_open_dirent()[all …]