Home
last modified time | relevance | path

Searched refs:DEVLINK_ATTR_DEV_NAME (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/net/devlink/
Dnetlink_gen.c14 static const struct nla_policy devlink_get_nl_policy[DEVLINK_ATTR_DEV_NAME + 1] = {
16 [DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING, },
22 [DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING, },
27 static const struct nla_policy devlink_port_get_dump_nl_policy[DEVLINK_ATTR_DEV_NAME + 1] = {
29 [DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING, },
35 [DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING, },
40 static const struct nla_policy devlink_sb_get_dump_nl_policy[DEVLINK_ATTR_DEV_NAME + 1] = {
42 [DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING, },
48 [DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING, },
54 static const struct nla_policy devlink_sb_pool_get_dump_nl_policy[DEVLINK_ATTR_DEV_NAME + 1] = {
[all …]
Dnetlink.c20 [DEVLINK_ATTR_DEV_NAME] = { .type = NLA_NUL_STRING },
108 if (!attrs[DEVLINK_ATTR_BUS_NAME] || !attrs[DEVLINK_ATTR_DEV_NAME]) in devlink_get_from_attrs_lock()
112 devname = nla_data(attrs[DEVLINK_ATTR_DEV_NAME]); in devlink_get_from_attrs_lock()
251 (attrs[DEVLINK_ATTR_BUS_NAME] || attrs[DEVLINK_ATTR_DEV_NAME])) in devlink_nl_dumpit()
Ddevl_internal.h143 if (nla_put_string(msg, DEVLINK_ATTR_DEV_NAME, dev_name(devlink->dev))) in devlink_nl_put_handle()
/linux-6.6.21/tools/net/ynl/generated/
Ddevlink-user.c115 [DEVLINK_ATTR_DEV_NAME] = { .name = "dev-name", .type = YNL_PT_NUL_STR, },
462 } else if (type == DEVLINK_ATTR_DEV_NAME) { in devlink_get_rsp_parse()
513 mnl_attr_put_strz(nlh, DEVLINK_ATTR_DEV_NAME, req->dev_name); in devlink_get()
610 } else if (type == DEVLINK_ATTR_DEV_NAME) { in devlink_port_get_rsp_parse()
647 mnl_attr_put_strz(nlh, DEVLINK_ATTR_DEV_NAME, req->dev_name); in devlink_port_get()
690 } else if (type == DEVLINK_ATTR_DEV_NAME) { in devlink_port_get_rsp_dump_parse()
746 mnl_attr_put_strz(nlh, DEVLINK_ATTR_DEV_NAME, req->dev_name); in devlink_port_get_dump()
797 } else if (type == DEVLINK_ATTR_DEV_NAME) { in devlink_sb_get_rsp_parse()
834 mnl_attr_put_strz(nlh, DEVLINK_ATTR_DEV_NAME, req->dev_name); in devlink_sb_get()
888 mnl_attr_put_strz(nlh, DEVLINK_ATTR_DEV_NAME, req->dev_name); in devlink_sb_get_dump()
[all …]
/linux-6.6.21/include/uapi/linux/
Ddevlink.h392 DEVLINK_ATTR_DEV_NAME, /* string */ enumerator