Searched refs:uiom_dev (Results 1 – 1 of 1) sorted by relevance
495 struct usnic_uiom_dev *uiom_dev; in usnic_uiom_attach_dev_to_pd() local498 uiom_dev = kzalloc(sizeof(*uiom_dev), GFP_ATOMIC); in usnic_uiom_attach_dev_to_pd()499 if (!uiom_dev) in usnic_uiom_attach_dev_to_pd()501 uiom_dev->dev = dev; in usnic_uiom_attach_dev_to_pd()515 list_add_tail(&uiom_dev->link, &pd->devs); in usnic_uiom_attach_dev_to_pd()524 kfree(uiom_dev); in usnic_uiom_attach_dev_to_pd()530 struct usnic_uiom_dev *uiom_dev; in usnic_uiom_detach_dev_from_pd() local534 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_detach_dev_from_pd()535 if (uiom_dev->dev == dev) { in usnic_uiom_detach_dev_from_pd()548 list_del(&uiom_dev->link); in usnic_uiom_detach_dev_from_pd()[all …]