Lines Matching refs:ibft_kobj
629 struct ibft_kobject *ibft_kobj = NULL; in ibft_create_kobject() local
634 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_create_kobject()
635 if (!ibft_kobj) in ibft_create_kobject()
638 ibft_kobj->header = header; in ibft_create_kobject()
639 ibft_kobj->hdr = hdr; in ibft_create_kobject()
644 sizeof(*ibft_kobj->initiator)); in ibft_create_kobject()
649 ibft_kobj, in ibft_create_kobject()
660 sizeof(*ibft_kobj->nic)); in ibft_create_kobject()
665 ibft_kobj, in ibft_create_kobject()
676 sizeof(*ibft_kobj->tgt)); in ibft_create_kobject()
681 ibft_kobj, in ibft_create_kobject()
729 kfree(ibft_kobj); in ibft_create_kobject()
742 struct ibft_kobject *ibft_kobj; in ibft_register_kobjects() local
773 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_register_kobjects()
774 if (!ibft_kobj) in ibft_register_kobjects()
777 ibft_kobj->header = header; in ibft_register_kobjects()
778 ibft_kobj->hdr = NULL; /*for ibft_unregister*/ in ibft_register_kobjects()
781 ibft_kobj, in ibft_register_kobjects()
786 kfree(ibft_kobj); in ibft_register_kobjects()
796 struct ibft_kobject *ibft_kobj; in ibft_unregister() local
800 ibft_kobj = boot_kobj->data; in ibft_unregister()
801 if (ibft_kobj->hdr && ibft_kobj->hdr->id == id_nic) in ibft_unregister()