Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/net/netfilter/
Dnfnetlink.c117 u8 cb_id; in nfnetlink_subsys_register() local
120 for (cb_id = 0; cb_id < n->cb_count; cb_id++) in nfnetlink_subsys_register()
121 if (WARN_ON(n->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT)) in nfnetlink_subsys_register()
159 u8 cb_id = NFNL_MSG_TYPE(type); in nfnetlink_find_client() local
161 if (cb_id >= ss->cb_count) in nfnetlink_find_client()
164 return &ss->cb[cb_id]; in nfnetlink_find_client()
255 u8 cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type); in nfnetlink_rcv_msg() local
269 if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) { in nfnetlink_rcv_msg()
274 err = nla_parse_deprecated(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_msg()
276 ss->cb[cb_id].policy, extack); in nfnetlink_rcv_msg()
[all …]
/linux-6.1.9/include/uapi/linux/
Dconnector.h65 struct cb_id { struct
71 struct cb_id id; argument
/linux-6.1.9/drivers/hv/
Dhv_utils_transport.h25 struct cb_id cn_id; /* CN_*_IDX/CN_*_VAL */
/linux-6.1.9/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-6.1.9/samples/connector/
Dcn_test.c20 static struct cb_id cn_test_id = { CN_NETLINK_USERS + 3, 0x456 };
/linux-6.1.9/drivers/md/
Ddm-log-userspace-transfer.c35 static struct cb_id ulog_cn_id = {
/linux-6.1.9/drivers/w1/
Dw1_netlink.c716 struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL}; in w1_init_netlink()
723 struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL}; in w1_fini_netlink()
/linux-6.1.9/drivers/video/fbdev/
Duvesafb.c33 static struct cb_id uvesafb_cn_id = {