Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dconnector.h60 struct cb_id { struct
66 struct cb_id id; argument
99 struct cb_id id;
114 struct cb_id id;
123 int cn_add_callback(struct cb_id *id, const char *name,
125 void cn_del_callback(struct cb_id *);
129 struct cb_id *id,
131 void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id);
137 int cn_cb_equal(struct cb_id *, struct cb_id *);
/linux-2.6.39/drivers/connector/
Dcn_queue.c36 struct cb_id *id, in cn_queue_alloc_callback_entry()
53 memcpy(&cbq->id.id, id, sizeof(struct cb_id)); in cn_queue_alloc_callback_entry()
67 int cn_cb_equal(struct cb_id *i1, struct cb_id *i2) in cn_cb_equal()
73 struct cb_id *id, in cn_queue_add_callback()
105 void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id) in cn_queue_del_callback()
Dconnector.c186 int cn_add_callback(struct cb_id *id, const char *name, in cn_add_callback()
211 void cn_del_callback(struct cb_id *id) in cn_del_callback()
Dcn_proc.c39 static struct cb_id cn_proc_event_id = { CN_IDX_PROC, CN_VAL_PROC };
/linux-2.6.39/net/netfilter/
Dnfnetlink.c92 u_int8_t cb_id = NFNL_MSG_TYPE(type); in nfnetlink_find_client() local
94 if (cb_id >= ss->cb_count) in nfnetlink_find_client()
97 return &ss->cb[cb_id]; in nfnetlink_find_client()
160 u_int8_t cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type); in nfnetlink_rcv_msg() local
161 struct nlattr *cda[ss->cb[cb_id].attr_count + 1]; in nfnetlink_rcv_msg()
165 err = nla_parse(cda, ss->cb[cb_id].attr_count, in nfnetlink_rcv_msg()
166 attr, attrlen, ss->cb[cb_id].policy); in nfnetlink_rcv_msg()
/linux-2.6.39/Documentation/connector/
Dconnector.txt26 int cn_add_callback(struct cb_id *id, char *name, void (*callback) (struct cn_msg *, struct netlink…
29 struct cb_id
43 struct cb_id id;
56 int cn_add_callback(struct cb_id *id, char *name, void (*callback) (struct cn_msg *, struct netlink…
60 struct cb_id *id - unique connector's user identifier.
67 void cn_del_callback(struct cb_id *id);
71 struct cb_id *id - unique connector's user identifier.
Dcn_test.c33 static struct cb_id cn_test_id = { CN_NETLINK_USERS + 3, 0x456 };
/linux-2.6.39/drivers/w1/
Dw1_netlink.c404 struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL}; in w1_init_netlink()
411 struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL}; in w1_fini_netlink()
/linux-2.6.39/drivers/staging/hv/
Dhv_kvp.c68 static struct cb_id kvp_id = { CN_KVP_IDX, CN_KVP_VAL };
/linux-2.6.39/drivers/md/
Ddm-log-userspace-transfer.c35 static struct cb_id ulog_cn_id = {
/linux-2.6.39/drivers/staging/pohmelfs/
Dconfig.c35 static struct cb_id pohmelfs_cn_id = {.idx = POHMELFS_CN_IDX, .val = POHMELFS_CN_VAL};
/linux-2.6.39/drivers/block/drbd/
Ddrbd_nl.c2536 static struct cb_id cn_id_drbd; in drbd_nl_init()
2558 static struct cb_id cn_id_drbd; in drbd_nl_cleanup()
/linux-2.6.39/drivers/video/
Duvesafb.c32 static struct cb_id uvesafb_cn_id = {