Lines Matching defs:id
87 n->id, n->name, m->id, m->name);
93 n->id, n->name, n->id, n->name);
146 static struct icc_node *node_find(const int id)
148 return idr_find(&icc_idr, id);
816 static struct icc_node *icc_node_create_nolock(int id)
821 node = node_find(id);
829 id = idr_alloc(&icc_idr, node, id, id + 1, GFP_KERNEL);
830 if (id < 0) {
833 return ERR_PTR(id);
836 node->id = id;
843 * @id: node id
847 struct icc_node *icc_node_create(int id)
853 node = icc_node_create_nolock(id);
863 * @id: node id
865 void icc_node_destroy(int id)
871 node = node_find(id);
873 idr_remove(&icc_idr, node->id);
889 * @node: source node id
890 * @dst_id: destination node id
1013 icc_node_destroy(n->id);