Home
last modified time | relevance | path

Searched refs:cb_id (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/include/linux/
Dconnector.h34 struct cb_id id;
49 struct cb_id id;
67 int cn_add_callback(const struct cb_id *id, const char *name,
74 void cn_del_callback(const struct cb_id *id);
125 const struct cb_id *id,
127 void cn_queue_del_callback(struct cn_queue_dev *dev, const struct cb_id *id);
133 int cn_cb_equal(const struct cb_id *, const struct cb_id *);
/Linux-v5.15/drivers/connector/
Dcn_queue.c22 const struct cb_id *id, in cn_queue_alloc_callback_entry()
40 memcpy(&cbq->id.id, id, sizeof(struct cb_id)); in cn_queue_alloc_callback_entry()
54 int cn_cb_equal(const struct cb_id *i1, const struct cb_id *i2) in cn_cb_equal()
60 const struct cb_id *id, in cn_queue_add_callback()
93 void cn_queue_del_callback(struct cn_queue_dev *dev, const struct cb_id *id) in cn_queue_del_callback()
Dconnector.c196 int cn_add_callback(const struct cb_id *id, const char *name, in cn_add_callback()
217 void cn_del_callback(const struct cb_id *id) in cn_del_callback()
Dcn_proc.c40 static struct cb_id cn_proc_event_id = { CN_IDX_PROC, CN_VAL_PROC };
/Linux-v5.15/net/netfilter/
Dnfnetlink.c113 u8 cb_id; in nfnetlink_subsys_register() local
116 for (cb_id = 0; cb_id < n->cb_count; cb_id++) in nfnetlink_subsys_register()
117 if (WARN_ON(n->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT)) in nfnetlink_subsys_register()
155 u8 cb_id = NFNL_MSG_TYPE(type); in nfnetlink_find_client() local
157 if (cb_id >= ss->cb_count) in nfnetlink_find_client()
160 return &ss->cb[cb_id]; in nfnetlink_find_client()
251 u8 cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type); in nfnetlink_rcv_msg() local
265 if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) { in nfnetlink_rcv_msg()
270 err = nla_parse_deprecated(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_msg()
272 ss->cb[cb_id].policy, extack); in nfnetlink_rcv_msg()
[all …]
/Linux-v5.15/include/uapi/linux/
Dconnector.h65 struct cb_id { struct
71 struct cb_id id; argument
/Linux-v5.15/drivers/hv/
Dhv_utils_transport.h25 struct cb_id cn_id; /* CN_*_IDX/CN_*_VAL */
/Linux-v5.15/Documentation/driver-api/
Dconnector.rst28 …int cn_add_callback(const struct cb_id *id, char *name, void (*callback) (struct cn_msg *, struct …
32 struct cb_id
46 struct cb_id id;
/Linux-v5.15/samples/connector/
Dcn_test.c20 static struct cb_id cn_test_id = { CN_NETLINK_USERS + 3, 0x456 };
/Linux-v5.15/drivers/md/
Ddm-log-userspace-transfer.c35 static struct cb_id ulog_cn_id = {
/Linux-v5.15/drivers/w1/
Dw1_netlink.c715 struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL}; in w1_init_netlink()
722 struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL}; in w1_fini_netlink()
/Linux-v5.15/drivers/video/fbdev/
Duvesafb.c33 static struct cb_id uvesafb_cn_id = {