Home
last modified time | relevance | path

Searched refs:XEN_BUS_ID_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c59 static int backend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in backend_bus_id() argument
89 if (snprintf(bus_id, XEN_BUS_ID_SIZE, "%.*s-%i-%s", in backend_bus_id()
90 typelen, type, domid, devid) >= XEN_BUS_ID_SIZE) in backend_bus_id()
H A Dxenbus.h39 #define XEN_BUS_ID_SIZE 20 macro
44 int (*get_bus_id)(char bus_id[XEN_BUS_ID_SIZE], const char *nodename);
H A Dxenbus_probe_frontend.c35 static int frontend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in frontend_bus_id() argument
38 if (!nodename || strlen(nodename + 1) >= XEN_BUS_ID_SIZE) { in frontend_bus_id()
43 strscpy(bus_id, nodename + 1, XEN_BUS_ID_SIZE); in frontend_bus_id()