Home
last modified time | relevance | path

Searched refs:NL_SET_ERR_MSG (Results 26 – 50 of 125) sorted by relevance

12345

/openbmc/linux/scripts/coccinelle/misc/
H A Dnewline_in_nl_msg.cocci3 /// Catch strings ending in newline with GENL_SET_ERR_MSG, NL_SET_ERR_MSG,
20 \(GENL_SET_ERR_MSG\|NL_SET_ERR_MSG\|NL_SET_ERR_MSG_MOD\)(e,m@p)
/openbmc/linux/net/core/
H A Dnet_namespace.c768 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid()
780 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid()
785 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid()
794 NL_SET_ERR_MSG(extack, in rtnl_net_newid()
808 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid()
890 NL_SET_ERR_MSG(extack, "Unsupported attribute in peer netns getid request"); in rtnl_net_valid_getid_req()
928 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid()
934 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid()
944 NL_SET_ERR_MSG(extack, in rtnl_net_getid()
1030 NL_SET_ERR_MSG(extack, in rtnl_valid_dump_net_req()
[all …]
H A Dlwtunnel.c157 NL_SET_ERR_MSG(extack, "Unknown lwt encapsulation type"); in lwtunnel_valid_encap_type()
181 NL_SET_ERR_MSG(extack, "lwt encapsulation type not supported"); in lwtunnel_valid_encap_type()
204 NL_SET_ERR_MSG(extack, "Invalid RTA_ENCAP_TYPE"); in lwtunnel_valid_encap_type_attr()
H A Dneighbour.c1316 NL_SET_ERR_MSG(extack, "Neighbor entry is now dead"); in __neigh_update()
1366 NL_SET_ERR_MSG(extack, "No link layer address given"); in __neigh_update()
1911 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete()
1929 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete()
1983 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add()
2005 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add()
2015 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add()
2044 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add()
3044 NL_SET_ERR_MSG(extack, "Unknown device ifindex"); in neigh_get()
3067 NL_SET_ERR_MSG(extack, "No device specified"); in neigh_get()
[all …]
/openbmc/linux/net/sched/
H A Dsch_mqprio_lib.c77 NL_SET_ERR_MSG(extack, in mqprio_validate_qopt()
85 NL_SET_ERR_MSG(extack, in mqprio_validate_qopt()
H A Dcls_flower.c808 NL_SET_ERR_MSG(extack, in fl_set_key_spi()
838 NL_SET_ERR_MSG(extack, in fl_set_key_port_range()
843 NL_SET_ERR_MSG(extack, in fl_set_key_port_range()
979 NL_SET_ERR_MSG(extack, in fl_set_key_mpls_opts()
1157 NL_SET_ERR_MSG(extack, "Missing flags mask"); in fl_set_key_flags()
1482 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt()
1512 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt()
1542 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt()
1579 NL_SET_ERR_MSG(extack, "Unknown tunnel option type"); in fl_set_enc_opt()
1587 NL_SET_ERR_MSG(extack, "A mask attribute is invalid"); in fl_set_enc_opt()
[all …]
H A Dsch_cbs.c285 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload"); in cbs_enable_offload()
299 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload"); in cbs_enable_offload()
376 NL_SET_ERR_MSG(extack, "Missing CBS parameter which are mandatory"); in cbs_change()
408 NL_SET_ERR_MSG(extack, "Missing CBS qdisc options which are mandatory"); in cbs_init()
H A Dact_gate.c187 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_gate_entry()
214 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_gate_entry()
247 NL_SET_ERR_MSG(extack, "Attribute isn't type 'entry'"); in parse_gate_list()
253 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_gate_list()
346 NL_SET_ERR_MSG(extack, "Invalid 'clockid'"); in tcf_gate_init()
/openbmc/linux/net/ipv6/
H A Dmip6.c253 NL_SET_ERR_MSG(extack, "SPI must be 0"); in mip6_destopt_init_state()
257 NL_SET_ERR_MSG(extack, "XFRM mode must be XFRM_MODE_ROUTEOPTIMIZATION"); in mip6_destopt_init_state()
338 NL_SET_ERR_MSG(extack, "SPI must be 0"); in mip6_rthdr_init_state()
342 NL_SET_ERR_MSG(extack, "XFRM mode must be XFRM_MODE_ROUTEOPTIMIZATION"); in mip6_rthdr_init_state()
H A Dah6.c676 NL_SET_ERR_MSG(extack, "AH requires a state with an AUTH algorithm"); in ah6_init_state()
681 NL_SET_ERR_MSG(extack, "AH is not compatible with encapsulation"); in ah6_init_state()
691 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state()
698 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state()
713 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state()
730 NL_SET_ERR_MSG(extack, "Invalid mode requested for AH, must be one of TRANSPORT, TUNNEL, BEET"); in ah6_init_state()
H A Desp6.c1064 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_aead()
1087 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_aead()
1112 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc()
1122 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc()
1130 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc()
1162 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc()
1169 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc()
1199 NL_SET_ERR_MSG(extack, "ESP: AEAD or CRYPT must be provided"); in esp6_init_state()
1229 NL_SET_ERR_MSG(extack, "Unsupported encapsulation type for ESP"); in esp6_init_state()
H A Dipcomp6.c152 NL_SET_ERR_MSG(extack, "Unsupported XFRM mode for IPcomp"); in ipcomp6_init_state()
163 NL_SET_ERR_MSG(extack, "Kernel error: failed to initialize the associated state"); in ipcomp6_init_state()
H A Dioam6_iptunnel.c126 NL_SET_ERR_MSG(extack, "freq: missing parameter"); in ioam6_build_state()
136 NL_SET_ERR_MSG(extack, "freq: k > n is forbidden"); in ioam6_build_state()
147 NL_SET_ERR_MSG(extack, "this mode needs a tunnel destination"); in ioam6_build_state()
152 NL_SET_ERR_MSG(extack, "missing trace"); in ioam6_build_state()
/openbmc/linux/net/ipv4/
H A Dnetlink.c30 NL_SET_ERR_MSG(extack, "Unsupported ip proto"); in rtm_getroute_parse_ip_proto()
H A Dah4.c481 NL_SET_ERR_MSG(extack, "AH requires a state with an AUTH algorithm"); in ah_init_state()
486 NL_SET_ERR_MSG(extack, "AH is not compatible with encapsulation"); in ah_init_state()
496 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah_init_state()
503 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah_init_state()
518 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah_init_state()
H A Desp4.c1021 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_aead()
1044 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_aead()
1069 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc()
1079 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc()
1087 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc()
1119 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc()
1126 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc()
1156 NL_SET_ERR_MSG(extack, "ESP: AEAD or CRYPT must be provided"); in esp_init_state()
1176 NL_SET_ERR_MSG(extack, "Unsupported encapsulation type for ESP"); in esp_init_state()
H A Dipcomp.c133 NL_SET_ERR_MSG(extack, "Unsupported XFRM mode for IPcomp"); in ipcomp4_init_state()
144 NL_SET_ERR_MSG(extack, "Kernel error: failed to initialize the associated state"); in ipcomp4_init_state()
H A Ddevinet.c512 NL_SET_ERR_MSG(extack, "ipv4: Invalid scope value"); in __inet_insert_ifa()
668 NL_SET_ERR_MSG(extack, "ipv4: Device not found"); in inet_rtm_deladdr()
693 NL_SET_ERR_MSG(extack, "ipv4: Address not found"); in inet_rtm_deladdr()
847 NL_SET_ERR_MSG(extack, "ipv4: Invalid prefix length"); in rtm_to_ifaddr()
852 NL_SET_ERR_MSG(extack, "ipv4: Local address is not supplied"); in rtm_to_ifaddr()
859 NL_SET_ERR_MSG(extack, "ipv4: Device not found"); in rtm_to_ifaddr()
913 NL_SET_ERR_MSG(extack, "ipv4: address lifetime invalid"); in rtm_to_ifaddr()
971 NL_SET_ERR_MSG(extack, "ipv4: Multicast auto join failed"); in inet_rtm_newaddr()
986 NL_SET_ERR_MSG(extack, "ipv4: Address already assigned"); in inet_rtm_newaddr()
1787 NL_SET_ERR_MSG(extack, "ipv4: Invalid target network namespace id"); in inet_valid_dump_ifaddr_req()
[all …]
/openbmc/linux/net/devlink/
H A Dregion.c650 NL_SET_ERR_MSG(info->extack, "No region name provided"); in devlink_nl_cmd_region_new()
670 NL_SET_ERR_MSG(info->extack, "The requested region does not exist"); in devlink_nl_cmd_region_new()
675NL_SET_ERR_MSG(info->extack, "The requested region does not support taking an immediate snapshot"); in devlink_nl_cmd_region_new()
682 NL_SET_ERR_MSG(info->extack, "The region has reached the maximum number of stored snapshots"); in devlink_nl_cmd_region_new()
692 NL_SET_ERR_MSG(info->extack, "The requested snapshot id is already in use"); in devlink_nl_cmd_region_new()
703 NL_SET_ERR_MSG(info->extack, "Failed to allocate a new snapshot id"); in devlink_nl_cmd_region_new()
891 NL_SET_ERR_MSG(cb->extack, "No region name provided"); in devlink_nl_cmd_region_read_dumpit()
923 NL_SET_ERR_MSG(cb->extack, "No snapshot id provided"); in devlink_nl_cmd_region_read_dumpit()
929 NL_SET_ERR_MSG(cb->extack, "Requested region does not support direct read"); in devlink_nl_cmd_region_read_dumpit()
H A Dport.c326 NL_SET_ERR_MSG(extack, "Invalid state read from driver"); in devlink_port_fn_state_fill()
331 NL_SET_ERR_MSG(extack, "Invalid operational state read from driver"); in devlink_port_fn_state_fill()
626 NL_SET_ERR_MSG(extack, "Port function hardware address too long"); in devlink_port_function_hw_addr_set()
631 NL_SET_ERR_MSG(extack, "Address must be 6 bytes for Ethernet device"); in devlink_port_function_hw_addr_set()
635 NL_SET_ERR_MSG(extack, "Non-unicast hardware address unsupported"); in devlink_port_function_hw_addr_set()
733 NL_SET_ERR_MSG(extack, "Fail to parse port function attributes"); in devlink_port_function_set()
810 NL_SET_ERR_MSG(info->extack, "Port cannot be split further"); in devlink_nl_cmd_port_split_doit()
812 NL_SET_ERR_MSG(info->extack, "Port cannot be split"); in devlink_nl_cmd_port_split_doit()
817 NL_SET_ERR_MSG(info->extack, "Invalid split count"); in devlink_nl_cmd_port_split_doit()
850 NL_SET_ERR_MSG(extack, "Port flavour or PCI PF are not specified"); in devlink_nl_cmd_port_new_doit()
H A Ddev.c335 NL_SET_ERR_MSG(info->extack, "multiple netns identifying attributes specified"); in devlink_netns_get()
353 NL_SET_ERR_MSG(info->extack, "Unknown network namespace"); in devlink_netns_get()
456 NL_SET_ERR_MSG(info->extack, "resources size validation failed"); in devlink_nl_cmd_reload()
466 NL_SET_ERR_MSG(info->extack, "Requested reload action is not supported by the driver"); in devlink_nl_cmd_reload()
478 NL_SET_ERR_MSG(info->extack, "Invalid limit selected"); in devlink_nl_cmd_reload()
486 NL_SET_ERR_MSG(info->extack, "Multiselection of limit is not supported"); in devlink_nl_cmd_reload()
490 NL_SET_ERR_MSG(info->extack, "Requested limit is not supported by the driver"); in devlink_nl_cmd_reload()
494 NL_SET_ERR_MSG(info->extack, "Requested limit is invalid for this action"); in devlink_nl_cmd_reload()
/openbmc/linux/include/linux/
H A Dnetlink.h98 #define NL_SET_ERR_MSG(extack, msg) do { \ macro
128 NL_SET_ERR_MSG((extack), KBUILD_MODNAME ": " msg)
135 NL_SET_ERR_MSG((extack), msg); \
/openbmc/linux/drivers/net/pse-pd/
H A Dpse_core.c274 NL_SET_ERR_MSG(extack, in pse_ethtool_get_status()
303 NL_SET_ERR_MSG(extack, in pse_ethtool_set_config()
/openbmc/linux/net/mpls/
H A Daf_mpls.c947 NL_SET_ERR_MSG(extack, in mpls_label_ok()
954 NL_SET_ERR_MSG(extack, in mpls_label_ok()
1747 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels()
1779 NL_SET_ERR_MSG(extack, in nla_get_labels()
1782 NL_SET_ERR_MSG(extack, in nla_get_labels()
1834 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config()
1838 NL_SET_ERR_MSG(extack, "rtm_tos must be 0 for MPLS"); in rtm_to_route_config()
1842 NL_SET_ERR_MSG(extack, in rtm_to_route_config()
1853 NL_SET_ERR_MSG(extack, in rtm_to_route_config()
1858 NL_SET_ERR_MSG(extack, in rtm_to_route_config()
[all …]
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c995 NL_SET_ERR_MSG(extack, in vxlan_fdb_update_existing()
1001 NL_SET_ERR_MSG(extack, in vxlan_fdb_update_existing()
3343 NL_SET_ERR_MSG(extack, in vxlan_validate()
3617 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3634 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3646 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3682 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3692 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3712 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
3720 NL_SET_ERR_MSG(extack, in vxlan_config_validate()
[all …]

12345