Home
last modified time | relevance | path

Searched refs:watch (Results 1 – 22 of 22) sorted by relevance

/drivers/xen/xenbus/
Dxenbus_dev_frontend.c220 struct xenbus_watch watch; member
225 static void free_watch_adapter(struct watch_adapter *watch) in free_watch_adapter() argument
227 kfree(watch->watch.node); in free_watch_adapter()
228 kfree(watch->token); in free_watch_adapter()
229 kfree(watch); in free_watch_adapter()
235 struct watch_adapter *watch; in alloc_watch_adapter() local
237 watch = kzalloc(sizeof(*watch), GFP_KERNEL); in alloc_watch_adapter()
238 if (watch == NULL) in alloc_watch_adapter()
241 watch->watch.node = kstrdup(path, GFP_KERNEL); in alloc_watch_adapter()
242 if (watch->watch.node == NULL) in alloc_watch_adapter()
[all …]
Dxenbus_xs.c67 } watch; member
622 int register_xenbus_watch(struct xenbus_watch *watch) in register_xenbus_watch() argument
625 char token[sizeof(watch) * 2 + 1]; in register_xenbus_watch()
628 sprintf(token, "%lX", (long)watch); in register_xenbus_watch()
634 list_add(&watch->list, &watches); in register_xenbus_watch()
637 err = xs_watch(watch->node, token); in register_xenbus_watch()
641 list_del(&watch->list); in register_xenbus_watch()
651 void unregister_xenbus_watch(struct xenbus_watch *watch) in unregister_xenbus_watch() argument
654 char token[sizeof(watch) * 2 + 1]; in unregister_xenbus_watch()
657 sprintf(token, "%lX", (long)watch); in unregister_xenbus_watch()
[all …]
Dxenbus_client.c101 struct xenbus_watch *watch, in xenbus_watch_path() argument
107 watch->node = path; in xenbus_watch_path()
108 watch->callback = callback; in xenbus_watch_path()
110 err = register_xenbus_watch(watch); in xenbus_watch_path()
113 watch->node = NULL; in xenbus_watch_path()
114 watch->callback = NULL; in xenbus_watch_path()
139 struct xenbus_watch *watch, in xenbus_watch_pathfmt() argument
156 err = xenbus_watch_path(dev, path, watch, callback); in xenbus_watch_pathfmt()
Dxenbus_probe.h45 void (*otherend_changed)(struct xenbus_watch *watch, const char **vec,
70 extern void xenbus_otherend_changed(struct xenbus_watch *watch,
Dxenbus_probe_backend.c182 static void frontend_changed(struct xenbus_watch *watch, in frontend_changed() argument
185 xenbus_otherend_changed(watch, vec, len, 0); in frontend_changed()
205 static void backend_changed(struct xenbus_watch *watch, in backend_changed() argument
Dxenbus_probe_frontend.c85 static void backend_changed(struct xenbus_watch *watch, in backend_changed() argument
88 xenbus_otherend_changed(watch, vec, len, 1); in backend_changed()
118 static void frontend_changed(struct xenbus_watch *watch, in frontend_changed() argument
Dxenbus_probe.c166 void xenbus_otherend_changed(struct xenbus_watch *watch, in xenbus_otherend_changed() argument
171 container_of(watch, struct xenbus_device, otherend_watch); in xenbus_otherend_changed()
/drivers/xen/
Dmanage.c198 static void shutdown_handler(struct xenbus_watch *watch, in shutdown_handler() argument
256 static void sysrq_handler(struct xenbus_watch *watch, const char **vec, in sysrq_handler() argument
Dcpu_hotplug.c64 static void handle_vcpu_hotplug_event(struct xenbus_watch *watch, in handle_vcpu_hotplug_event() argument
Dxen-balloon.c53 static void watch_target(struct xenbus_watch *watch, in watch_target() argument
/drivers/media/dvb/pt1/
DKconfig9 an external software decoder to watch TV on your computer.
/drivers/media/dvb/firewire/
DKconfig9 so you need an external software decoder to watch TV.
/drivers/media/dvb/pluto2/
DKconfig12 an external software decoder to watch TV on your computer.
/drivers/media/dvb/ttusb-budget/
DKconfig16 an external software decoder to watch TV.
/drivers/media/dvb/dm1105/
DKconfig18 an external software decoder to watch TV on your computer.
/drivers/media/dvb/bt8xx/
DKconfig20 an external software decoder to watch TV on your computer.
/drivers/media/dvb/ttusb-dec/
DKconfig12 an external software decoder to watch TV on your computer.
/drivers/block/
Drbd.c1214 ops[0].watch.ver = cpu_to_le64(ver); in rbd_req_sync_notify_ack()
1215 ops[0].watch.cookie = notify_id; in rbd_req_sync_notify_ack()
1216 ops[0].watch.flag = 0; in rbd_req_sync_notify_ack()
1272 ops[0].watch.ver = cpu_to_le64(ver); in rbd_req_sync_watch()
1273 ops[0].watch.cookie = cpu_to_le64(dev->watch_event->cookie); in rbd_req_sync_watch()
1274 ops[0].watch.flag = 1; in rbd_req_sync_watch()
1310 ops[0].watch.ver = 0; in rbd_req_sync_unwatch()
1311 ops[0].watch.cookie = cpu_to_le64(dev->watch_event->cookie); in rbd_req_sync_unwatch()
1312 ops[0].watch.flag = 0; in rbd_req_sync_unwatch()
/drivers/media/video/tm6000/
DKconfig13 an external software decoder to watch TV on your computer.
/drivers/net/xen-netback/
Dxenbus.c336 static void hotplug_status_changed(struct xenbus_watch *watch, in hotplug_status_changed() argument
340 struct backend_info *be = container_of(watch, in hotplug_status_changed()
/drivers/xen/xen-pciback/
Dxenbus.c648 static void xen_pcibk_be_watch(struct xenbus_watch *watch, in xen_pcibk_be_watch() argument
652 container_of(watch, struct xen_pcibk_device, be_watch); in xen_pcibk_be_watch()
/drivers/block/xen-blkback/
Dxenbus.c496 static void backend_changed(struct xenbus_watch *watch, in backend_changed() argument
503 = container_of(watch, struct backend_info, backend_watch); in backend_changed()