Searched refs:attr_data (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/team/
H A Dteam.c2441 struct nlattr *attr_data; team_nl_cmd_options_set() local
2483 attr_data = opt_attrs[TEAM_ATTR_OPTION_DATA]; team_nl_cmd_options_set()
2484 if (opt_type != TEAM_OPTION_TYPE_BOOL && !attr_data) { team_nl_cmd_options_set()
2519 ctx.data.u32_val = nla_get_u32(attr_data); team_nl_cmd_options_set()
2522 if (nla_len(attr_data) > TEAM_STRING_MAX_LEN) { team_nl_cmd_options_set()
2526 ctx.data.str_val = nla_data(attr_data); team_nl_cmd_options_set()
2529 ctx.data.bin_val.len = nla_len(attr_data); team_nl_cmd_options_set()
2530 ctx.data.bin_val.ptr = nla_data(attr_data); team_nl_cmd_options_set()
2533 ctx.data.bool_val = attr_data ? true : false; team_nl_cmd_options_set()
2536 ctx.data.s32_val = nla_get_s32(attr_data); team_nl_cmd_options_set()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_tlv.c54 u32 attr_data = 0, len = 0; fm10k_tlv_attr_put_null_string() local
67 attr[len / 4] = attr_data; fm10k_tlv_attr_put_null_string()
68 attr_data = 0; fm10k_tlv_attr_put_null_string()
72 attr_data |= (u32)(*string) << (8 * (len % 4)); fm10k_tlv_attr_put_null_string()
79 attr[(len + 3) / 4] = attr_data; fm10k_tlv_attr_put_null_string()

Completed in 123 milliseconds