Lines Matching refs:attr_data
2547 struct nlattr *attr_data; in team_nl_options_set_doit() local
2593 attr_data = opt_attrs[TEAM_ATTR_OPTION_DATA]; in team_nl_options_set_doit()
2594 if (opt_type != TEAM_OPTION_TYPE_BOOL && !attr_data) { in team_nl_options_set_doit()
2629 ctx.data.u32_val = nla_get_u32(attr_data); in team_nl_options_set_doit()
2632 if (nla_len(attr_data) > TEAM_STRING_MAX_LEN || in team_nl_options_set_doit()
2633 !memchr(nla_data(attr_data), '\0', in team_nl_options_set_doit()
2634 nla_len(attr_data))) { in team_nl_options_set_doit()
2638 ctx.data.str_val = nla_data(attr_data); in team_nl_options_set_doit()
2641 ctx.data.bin_val.len = nla_len(attr_data); in team_nl_options_set_doit()
2642 ctx.data.bin_val.ptr = nla_data(attr_data); in team_nl_options_set_doit()
2645 ctx.data.bool_val = attr_data ? true : false; in team_nl_options_set_doit()
2648 ctx.data.s32_val = nla_get_s32(attr_data); in team_nl_options_set_doit()