cb_id
static struct cb_id cn_proc_event_id = { CN_IDX_PROC, CN_VAL_PROC };
const struct cb_id *id,
memcpy(&cbq->id.id, id, sizeof(struct cb_id));
int cn_cb_equal(const struct cb_id *i1, const struct cb_id *i2)
const struct cb_id *id,
void cn_queue_del_callback(struct cn_queue_dev *dev, const struct cb_id *id)
int cn_add_callback(const struct cb_id *id, const char *name,
void cn_del_callback(const struct cb_id *id)
struct cb_id cn_id; /* CN_*_IDX/CN_*_VAL */
static struct cb_id ulog_cn_id = {
static struct cb_id uvesafb_cn_id = {
struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL};
struct cb_id w1_id = {.idx = CN_W1_IDX, .val = CN_W1_VAL};
const struct cb_id *id,
void cn_queue_del_callback(struct cn_queue_dev *dev, const struct cb_id *id);
int cn_cb_equal(const struct cb_id *, const struct cb_id *);
struct cb_id id;
struct cb_id id;
int cn_add_callback(const struct cb_id *id, const char *name,
void cn_del_callback(const struct cb_id *id);
struct cb_id id;
u8 cb_id;
for (cb_id = 0; cb_id < n->cb_count; cb_id++)
if (WARN_ON(n->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT))
u8 cb_id = NFNL_MSG_TYPE(type);
if (cb_id >= ss->cb_count)
return &ss->cb[cb_id];
u8 cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type);
if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) {
err = nla_parse_deprecated(cda, ss->cb[cb_id].attr_count,
ss->cb[cb_id].policy, extack);
u8 cb_id = NFNL_MSG_TYPE(nlh->nlmsg_type);
if (ss->cb[cb_id].attr_count > NFNL_MAX_ATTR_COUNT) {
ss->cb[cb_id].attr_count,
ss->cb[cb_id].policy, &extack);
static struct cb_id cn_test_id = { CN_NETLINK_USERS + 3, 0x456 };