Home
last modified time | relevance | path

Searched refs:cbq (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/connector/
Dcn_queue.c26 struct cn_callback_entry *cbq; in cn_queue_alloc_callback_entry() local
28 cbq = kzalloc(sizeof(*cbq), GFP_KERNEL); in cn_queue_alloc_callback_entry()
29 if (!cbq) { in cn_queue_alloc_callback_entry()
34 refcount_set(&cbq->refcnt, 1); in cn_queue_alloc_callback_entry()
37 cbq->pdev = dev; in cn_queue_alloc_callback_entry()
39 snprintf(cbq->id.name, sizeof(cbq->id.name), "%s", name); in cn_queue_alloc_callback_entry()
40 memcpy(&cbq->id.id, id, sizeof(struct cb_id)); in cn_queue_alloc_callback_entry()
41 cbq->callback = callback; in cn_queue_alloc_callback_entry()
42 return cbq; in cn_queue_alloc_callback_entry()
45 void cn_queue_release_callback(struct cn_callback_entry *cbq) in cn_queue_release_callback() argument
[all …]
Dconnector.c134 struct cn_callback_entry *i, *cbq = NULL; in cn_call_callback() local
149 cbq = i; in cn_call_callback()
155 if (cbq != NULL) { in cn_call_callback()
156 cbq->callback(msg, nsp); in cn_call_callback()
158 cn_queue_release_callback(cbq); in cn_call_callback()
228 struct cn_callback_entry *cbq; in cn_proc_show() local
234 list_for_each_entry(cbq, &dev->queue_list, callback_entry) { in cn_proc_show()
236 cbq->id.name, in cn_proc_show()
237 cbq->id.id.idx, in cn_proc_show()
238 cbq->id.id.val); in cn_proc_show()
/linux-6.1.9/net/netfilter/
DKconfig841 atm, cbq, dsmark, pfifo_fast, htb, prio