Lines Matching refs:id
93 cn_queue_alloc_callback_entry(char *name, struct cb_id *id,
104 snprintf(cbq->id.name, sizeof(cbq->id.name), "%s", name);
105 memcpy(&cbq->id.id, id, sizeof(struct cb_id));
127 int cn_queue_add_callback(struct cn_queue_dev *dev, char *name, struct cb_id *id,
133 cbq = cn_queue_alloc_callback_entry(name, id, callback);
142 if (cn_cb_equal(&__cbq->id.id, id)) {
158 cbq->group = cbq->id.id.idx;
163 void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id)
170 if (cn_cb_equal(&cbq->id.id, id)) {