Home
last modified time | relevance | path

Searched refs:vbg_dev (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_core.h67 struct vbg_dev { struct
152 struct vbg_dev *gdev; argument
178 int vbg_core_init(struct vbg_dev *gdev, u32 fixed_events);
179 void vbg_core_exit(struct vbg_dev *gdev);
180 struct vbg_session *vbg_core_open_session(struct vbg_dev *gdev, bool user);
183 int vbg_core_set_mouse_status(struct vbg_dev *gdev, u32 features);
187 void vbg_linux_mouse_event(struct vbg_dev *gdev);
192 int vbg_req_perform(struct vbg_dev *gdev, void *req);
194 struct vbg_dev *gdev, u32 client_id, u32 function, u32 timeout_ms,
Dvboxguest_linux.c29 static struct vbg_dev *vbg_gdev;
34 struct vbg_dev *gdev; in vbg_misc_device_open()
37 gdev = container_of(filp->private_data, struct vbg_dev, misc_device); in vbg_misc_device_open()
50 struct vbg_dev *gdev; in vbg_misc_device_user_open()
53 gdev = container_of(filp->private_data, struct vbg_dev, in vbg_misc_device_user_open()
183 struct vbg_dev *gdev = input_get_drvdata(input); in vbg_input_open()
201 struct vbg_dev *gdev = input_get_drvdata(input); in vbg_input_close()
211 static int vbg_create_input_device(struct vbg_dev *gdev) in vbg_create_input_device()
242 struct vbg_dev *gdev = dev_get_drvdata(dev); in host_version_show()
250 struct vbg_dev *gdev = dev_get_drvdata(dev); in host_features_show()
[all …]
Dvboxguest_core.c42 static void vbg_guest_mappings_init(struct vbg_dev *gdev) in vbg_guest_mappings_init()
126 static void vbg_guest_mappings_exit(struct vbg_dev *gdev) in vbg_guest_mappings_exit()
166 static int vbg_report_guest_info(struct vbg_dev *gdev) in vbg_report_guest_info()
228 static int vbg_report_driver_status(struct vbg_dev *gdev, bool active) in vbg_report_driver_status()
259 static int vbg_balloon_inflate(struct vbg_dev *gdev, u32 chunk_idx) in vbg_balloon_inflate()
310 static int vbg_balloon_deflate(struct vbg_dev *gdev, u32 chunk_idx) in vbg_balloon_deflate()
343 struct vbg_dev *gdev = in vbg_balloon_work()
344 container_of(work, struct vbg_dev, mem_balloon.work); in vbg_balloon_work()
407 struct vbg_dev *gdev = from_timer(gdev, t, heartbeat_timer); in vbg_heartbeat_timer()
421 static int vbg_heartbeat_host_config(struct vbg_dev *gdev, bool enabled) in vbg_heartbeat_host_config()
[all …]
Dvboxguest_utils.c95 int vbg_req_perform(struct vbg_dev *gdev, void *req) in vbg_req_perform()
109 static bool hgcm_req_done(struct vbg_dev *gdev, in hgcm_req_done()
122 int vbg_hgcm_connect(struct vbg_dev *gdev, in vbg_hgcm_connect()
156 int vbg_hgcm_disconnect(struct vbg_dev *gdev, u32 client_id, int *vbox_status) in vbg_hgcm_disconnect()
427 static int hgcm_cancel_call(struct vbg_dev *gdev, struct vmmdev_hgcm_call *call) in hgcm_cancel_call()
465 static int vbg_hgcm_do_call(struct vbg_dev *gdev, struct vmmdev_hgcm_call *call, in vbg_hgcm_do_call()
597 int vbg_hgcm_call(struct vbg_dev *gdev, u32 client_id, u32 function, in vbg_hgcm_call()
651 struct vbg_dev *gdev, u32 client_id, u32 function, u32 timeout_ms, in vbg_hgcm_call32()
/linux-4.19.296/include/linux/
Dvbox_utils.h10 struct vbg_dev;
27 int vbg_hgcm_connect(struct vbg_dev *gdev,
31 int vbg_hgcm_disconnect(struct vbg_dev *gdev, u32 client_id, int *vbox_status);
33 int vbg_hgcm_call(struct vbg_dev *gdev, u32 client_id, u32 function,
48 struct vbg_dev *vbg_get_gdev(void);
54 void vbg_put_gdev(struct vbg_dev *gdev);