Lines Matching refs:svc
35 void add_service_keycodes(struct service *svc) in add_service_keycodes() argument
40 if (svc->keycodes) { in add_service_keycodes()
42 size = sizeof(*keychord) + svc->nkeycodes * sizeof(keychord->keycodes[0]); in add_service_keycodes()
54 keychord->count = svc->nkeycodes; in add_service_keycodes()
55 svc->keychord_id = keychord->id; in add_service_keycodes()
57 for (i = 0; i < svc->nkeycodes; i++) { in add_service_keycodes()
58 keychord->keycodes[i] = svc->keycodes[i]; in add_service_keycodes()
97 struct service *svc; in handle_keychord() local
116 svc = service_find_by_keychord(id); in handle_keychord()
117 if (svc) { in handle_keychord()
118 INFO("starting service %s from keychord\n", svc->name); in handle_keychord()
119 service_start(svc, NULL); in handle_keychord()