Searched refs:kobjs (Results 1 – 2 of 2) sorted by relevance
155 struct kobject *pkobj, *kobj, **kobjs; in add_boot_memory_ranges() local164 kobjs = kzalloc_objs(*kobjs, mrrm_mem_entry_num); in add_boot_memory_ranges()165 if (!kobjs) { in add_boot_memory_ranges()183 kobjs[i] = kobj; in add_boot_memory_ranges()186 kfree(kobjs); in add_boot_memory_ranges()191 if (kobjs[j]) { in add_boot_memory_ranges()192 sysfs_remove_groups(kobjs[j], memory_range_groups); in add_boot_memory_ranges()193 kobject_put(kobjs[j]); in add_boot_memory_ranges()196 kfree(kobjs); in add_boot_memory_ranges()
465 cpuidle_remove_s2idle_attr_group(device->kobjs[i]); in cpuidle_free_state_kobj()466 kobject_put(&device->kobjs[i]->kobj); in cpuidle_free_state_kobj()467 wait_for_completion(&device->kobjs[i]->kobj_unregister); in cpuidle_free_state_kobj()468 kfree(device->kobjs[i]); in cpuidle_free_state_kobj()469 device->kobjs[i] = NULL; in cpuidle_free_state_kobj()504 device->kobjs[i] = kobj; in cpuidle_add_state_sysfs()