Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/xen/xenbus/
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);
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()
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()
A Dxenbus_probe.c501 char devname[XEN_BUS_ID_SIZE]; in xenbus_probe_node()
627 char type[XEN_BUS_ID_SIZE]; in xenbus_dev_changed()
641 snprintf(type, XEN_BUS_ID_SIZE, "%.*s", (int)strcspn(p, "/"), p); in xenbus_dev_changed()
642 type[XEN_BUS_ID_SIZE-1] = '\0'; in xenbus_dev_changed()

Completed in 7 milliseconds