Home
last modified time | relevance | path

Searched refs:id_max (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c214 int id_min, id_max, id; in __rpmsg_create_ept() local
233 id_max = 0; in __rpmsg_create_ept()
236 id_max = addr + 1; in __rpmsg_create_ept()
242 id = idr_alloc(&vrp->endpoints, ept, id_min, id_max, GFP_KERNEL); in __rpmsg_create_ept()
/openbmc/qemu/block/
H A Dqcow2-snapshot.c582 unsigned long id, id_max = 0; in find_new_snapshot_id() local
587 if (id > id_max) in find_new_snapshot_id()
588 id_max = id; in find_new_snapshot_id()
590 snprintf(id_str, id_str_size, "%lu", id_max + 1); in find_new_snapshot_id()