Lines Matching refs:ldev

17 static u32 iavf_client_virtchnl_send(struct iavf_info *ldev,
21 static int iavf_client_setup_qvlist(struct iavf_info *ldev,
135 static int iavf_client_release_qvlist(struct iavf_info *ldev) in iavf_client_release_qvlist() argument
137 struct iavf_adapter *adapter = ldev->vf; in iavf_client_release_qvlist()
294 struct iavf_device *ldev; in iavf_lan_add_device() local
298 list_for_each_entry(ldev, &iavf_devices, list) { in iavf_lan_add_device()
299 if (ldev->vf == adapter) { in iavf_lan_add_device()
304 ldev = kzalloc(sizeof(*ldev), GFP_KERNEL); in iavf_lan_add_device()
305 if (!ldev) { in iavf_lan_add_device()
309 ldev->vf = adapter; in iavf_lan_add_device()
310 INIT_LIST_HEAD(&ldev->list); in iavf_lan_add_device()
311 list_add(&ldev->list, &iavf_devices); in iavf_lan_add_device()
334 struct iavf_device *ldev, *tmp; in iavf_lan_del_device() local
338 list_for_each_entry_safe(ldev, tmp, &iavf_devices, list) { in iavf_lan_del_device()
339 if (ldev->vf == adapter) { in iavf_lan_del_device()
344 list_del(&ldev->list); in iavf_lan_del_device()
345 kfree(ldev); in iavf_lan_del_device()
363 struct iavf_device *ldev; in iavf_client_release() local
367 list_for_each_entry(ldev, &iavf_devices, list) { in iavf_client_release()
368 adapter = ldev->vf; in iavf_client_release()
397 struct iavf_device *ldev; in iavf_client_prepare() local
401 list_for_each_entry(ldev, &iavf_devices, list) { in iavf_client_prepare()
402 adapter = ldev->vf; in iavf_client_prepare()
418 static u32 iavf_client_virtchnl_send(struct iavf_info *ldev, in iavf_client_virtchnl_send() argument
422 struct iavf_adapter *adapter = ldev->vf; in iavf_client_virtchnl_send()
445 static int iavf_client_setup_qvlist(struct iavf_info *ldev, in iavf_client_setup_qvlist() argument
450 struct iavf_adapter *adapter = ldev->vf; in iavf_client_setup_qvlist()