| 145 | } |
| 146 | |
| 147 | static struct bcmfs_device * |
| 148 | find_fsdev(struct rte_vdev_device *vdev) |
| 149 | { |
| 150 | struct bcmfs_device *fsdev; |
| 151 | |
| 152 | TAILQ_FOREACH(fsdev, &fsdev_list, next) |
| 153 | if (fsdev->vdev == vdev) |
| 154 | return fsdev; |
| 155 | |
| 156 | return NULL; |
| 157 | } |
| 158 | |
| 159 | static void |
| 160 | fsdev_release(struct bcmfs_device *fsdev) |