Searched refs:param_data (Results 1 – 1 of 1) sorted by relevance
3231 struct nlattr *param_data; in devlink_param_value_get_from_info() local3234 param_data = info->attrs[DEVLINK_ATTR_PARAM_VALUE_DATA]; in devlink_param_value_get_from_info()3236 if (param->type != DEVLINK_PARAM_TYPE_BOOL && !param_data) in devlink_param_value_get_from_info()3241 if (nla_len(param_data) != sizeof(u8)) in devlink_param_value_get_from_info()3243 value->vu8 = nla_get_u8(param_data); in devlink_param_value_get_from_info()3246 if (nla_len(param_data) != sizeof(u16)) in devlink_param_value_get_from_info()3248 value->vu16 = nla_get_u16(param_data); in devlink_param_value_get_from_info()3251 if (nla_len(param_data) != sizeof(u32)) in devlink_param_value_get_from_info()3253 value->vu32 = nla_get_u32(param_data); in devlink_param_value_get_from_info()3256 len = strnlen(nla_data(param_data), nla_len(param_data)); in devlink_param_value_get_from_info()[all …]