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