Lines Matching refs:ibft_kobj
631 struct ibft_kobject *ibft_kobj = NULL; in ibft_create_kobject() local
636 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_create_kobject()
637 if (!ibft_kobj) in ibft_create_kobject()
640 ibft_kobj->header = header; in ibft_create_kobject()
641 ibft_kobj->hdr = hdr; in ibft_create_kobject()
646 sizeof(*ibft_kobj->initiator)); in ibft_create_kobject()
651 ibft_kobj, in ibft_create_kobject()
662 sizeof(*ibft_kobj->nic)); in ibft_create_kobject()
667 ibft_kobj, in ibft_create_kobject()
678 sizeof(*ibft_kobj->tgt)); in ibft_create_kobject()
683 ibft_kobj, in ibft_create_kobject()
731 kfree(ibft_kobj); in ibft_create_kobject()
744 struct ibft_kobject *ibft_kobj; in ibft_register_kobjects() local
775 ibft_kobj = kzalloc(sizeof(*ibft_kobj), GFP_KERNEL); in ibft_register_kobjects()
776 if (!ibft_kobj) in ibft_register_kobjects()
779 ibft_kobj->header = header; in ibft_register_kobjects()
780 ibft_kobj->hdr = NULL; /*for ibft_unregister*/ in ibft_register_kobjects()
783 ibft_kobj, in ibft_register_kobjects()
788 kfree(ibft_kobj); in ibft_register_kobjects()
798 struct ibft_kobject *ibft_kobj; in ibft_unregister() local
802 ibft_kobj = boot_kobj->data; in ibft_unregister()
803 if (ibft_kobj->hdr && ibft_kobj->hdr->id == id_nic) in ibft_unregister()