Searched refs:fw_mgmt (Results 1 – 1 of 1) sorted by relevance
23 struct fw_mgmt { struct69 struct fw_mgmt *fw_mgmt = container_of(kref, struct fw_mgmt, kref); in fw_mgmt_kref_release() local71 ida_destroy(&fw_mgmt->id_map); in fw_mgmt_kref_release()72 kfree(fw_mgmt); in fw_mgmt_kref_release()80 static void put_fw_mgmt(struct fw_mgmt *fw_mgmt) in put_fw_mgmt() argument82 kref_put(&fw_mgmt->kref, fw_mgmt_kref_release); in put_fw_mgmt()86 static struct fw_mgmt *get_fw_mgmt(struct cdev *cdev) in get_fw_mgmt()88 struct fw_mgmt *fw_mgmt; in get_fw_mgmt() local92 list_for_each_entry(fw_mgmt, &fw_mgmt_list, node) { in get_fw_mgmt()93 if (&fw_mgmt->cdev == cdev) { in get_fw_mgmt()[all …]