Home
last modified time | relevance | path

Searched refs:expected_len (Results 1 – 2 of 2) sorted by relevance

/net/bluetooth/
Dmgmt.c2340 u16 key_count, expected_len; in load_link_keys() local
2358 expected_len = struct_size(cp, keys, key_count); in load_link_keys()
2359 if (expected_len != len) { in load_link_keys()
2361 expected_len, len); in load_link_keys()
3617 u16 key_count, expected_len; in set_blocked_keys() local
3629 expected_len = struct_size(keys, keys, key_count); in set_blocked_keys()
3630 if (expected_len != len) { in set_blocked_keys()
3632 expected_len, len); in set_blocked_keys()
4765 u16 uuid_count, expected_len; in start_service_discovery() local
4801 expected_len = sizeof(*cp) + uuid_count * 16; in start_service_discovery()
[all …]
/net/openvswitch/
Dflow_netlink.c443 static bool check_attr_len(unsigned int attr_len, unsigned int expected_len) in check_attr_len() argument
445 return expected_len == attr_len || in check_attr_len()
446 expected_len == OVS_ATTR_NESTED || in check_attr_len()
447 expected_len == OVS_ATTR_VARIABLE; in check_attr_len()
475 int expected_len; in __parse_flow_nlattrs() local
488 expected_len = ovs_key_lens[type].len; in __parse_flow_nlattrs()
489 if (!check_attr_len(nla_len(nla), expected_len)) { in __parse_flow_nlattrs()
491 type, nla_len(nla), expected_len); in __parse_flow_nlattrs()