Lines Matching refs:ibft_kobj
630 struct ibft_kobject *ibft_kobj = NULL; in ibft_create_kobject() local
635 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_create_kobject()
636 if (!ibft_kobj) in ibft_create_kobject()
639 ibft_kobj->header = header; in ibft_create_kobject()
640 ibft_kobj->hdr = hdr; in ibft_create_kobject()
645 sizeof(*ibft_kobj->initiator)); in ibft_create_kobject()
650 ibft_kobj, in ibft_create_kobject()
661 sizeof(*ibft_kobj->nic)); in ibft_create_kobject()
666 ibft_kobj, in ibft_create_kobject()
677 sizeof(*ibft_kobj->tgt)); in ibft_create_kobject()
682 ibft_kobj, in ibft_create_kobject()
730 kfree(ibft_kobj); in ibft_create_kobject()
743 struct ibft_kobject *ibft_kobj; in ibft_register_kobjects() local
774 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_register_kobjects()
775 if (!ibft_kobj) in ibft_register_kobjects()
778 ibft_kobj->header = header; in ibft_register_kobjects()
779 ibft_kobj->hdr = NULL; /*for ibft_unregister*/ in ibft_register_kobjects()
782 ibft_kobj, in ibft_register_kobjects()
787 kfree(ibft_kobj); in ibft_register_kobjects()
797 struct ibft_kobject *ibft_kobj; in ibft_unregister() local
801 ibft_kobj = boot_kobj->data; in ibft_unregister()
802 if (ibft_kobj->hdr && ibft_kobj->hdr->id == id_nic) in ibft_unregister()