Lines Matching refs:id
46 int id; in __scif_get_port() local
52 id = idr_alloc(&scif_ports, port, start, end, GFP_ATOMIC); in __scif_get_port()
53 if (id >= 0) in __scif_get_port()
56 return id; in __scif_get_port()
89 void scif_get_port(u16 id) in scif_get_port() argument
93 if (!id) in scif_get_port()
96 port = idr_find(&scif_ports, id); in scif_get_port()
108 void scif_put_port(u16 id) in scif_put_port() argument
112 if (!id) in scif_put_port()
115 port = idr_find(&scif_ports, id); in scif_put_port()
119 idr_remove(&scif_ports, id); in scif_put_port()