Lines Matching refs:uld_entry
782 struct cxgb4_uld_list *uld_entry; in cxgb4_uld_enable() local
786 list_for_each_entry(uld_entry, &uld_list, list_node) in cxgb4_uld_enable()
787 cxgb4_uld_alloc_resources(adap, uld_entry->uld_type, in cxgb4_uld_enable()
788 &uld_entry->uld_info); in cxgb4_uld_enable()
802 struct cxgb4_uld_list *uld_entry; in cxgb4_register_uld() local
808 uld_entry = kzalloc(sizeof(*uld_entry), GFP_KERNEL); in cxgb4_register_uld()
809 if (!uld_entry) in cxgb4_register_uld()
812 memcpy(&uld_entry->uld_info, p, sizeof(struct cxgb4_uld_info)); in cxgb4_register_uld()
817 uld_entry->uld_type = type; in cxgb4_register_uld()
818 list_add_tail(&uld_entry->list_node, &uld_list); in cxgb4_register_uld()
832 struct cxgb4_uld_list *uld_entry, *tmp; in cxgb4_unregister_uld() local
849 list_for_each_entry_safe(uld_entry, tmp, &uld_list, list_node) { in cxgb4_unregister_uld()
850 if (uld_entry->uld_type == type) { in cxgb4_unregister_uld()
851 list_del(&uld_entry->list_node); in cxgb4_unregister_uld()
852 kfree(uld_entry); in cxgb4_unregister_uld()