Lines Matching refs:ibft_kobj
632 struct ibft_kobject *ibft_kobj = NULL; in ibft_create_kobject() local
637 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_create_kobject()
638 if (!ibft_kobj) in ibft_create_kobject()
641 ibft_kobj->header = header; in ibft_create_kobject()
642 ibft_kobj->hdr = hdr; in ibft_create_kobject()
647 sizeof(*ibft_kobj->initiator)); in ibft_create_kobject()
652 ibft_kobj, in ibft_create_kobject()
663 sizeof(*ibft_kobj->nic)); in ibft_create_kobject()
668 ibft_kobj, in ibft_create_kobject()
679 sizeof(*ibft_kobj->tgt)); in ibft_create_kobject()
684 ibft_kobj, in ibft_create_kobject()
732 kfree(ibft_kobj); in ibft_create_kobject()
745 struct ibft_kobject *ibft_kobj; in ibft_register_kobjects() local
776 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_register_kobjects()
777 if (!ibft_kobj) in ibft_register_kobjects()
780 ibft_kobj->header = header; in ibft_register_kobjects()
781 ibft_kobj->hdr = NULL; /*for ibft_unregister*/ in ibft_register_kobjects()
784 ibft_kobj, in ibft_register_kobjects()
789 kfree(ibft_kobj); in ibft_register_kobjects()
799 struct ibft_kobject *ibft_kobj; in ibft_unregister() local
803 ibft_kobj = boot_kobj->data; in ibft_unregister()
804 if (ibft_kobj->hdr && ibft_kobj->hdr->id == id_nic) in ibft_unregister()