Home
last modified time | relevance | path

Searched refs:attr_data (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/infiniband/core/
Duverbs_ioctl.c175 if (uattr->attr_data.reserved) in uverbs_process_idrs_array()
249 if (uattr->attr_data.enum_data.elem_id >= spec->u.enum_def.num_elems) in uverbs_process_attr()
252 if (uattr->attr_data.enum_data.reserved) in uverbs_process_attr()
255 val_spec = &spec->u2.enum_def.ids[uattr->attr_data.enum_data.elem_id]; in uverbs_process_attr()
261 e->ptr_attr.enum_id = uattr->attr_data.enum_data.elem_id; in uverbs_process_attr()
282 uattr->attr_data.reserved) in uverbs_process_attr()
307 if (uattr->attr_data.reserved) in uverbs_process_attr()
/linux-5.19.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c37 u32 attr_data = 0, len = 0; in fm10k_tlv_attr_put_null_string() local
50 attr[len / 4] = attr_data; in fm10k_tlv_attr_put_null_string()
51 attr_data = 0; in fm10k_tlv_attr_put_null_string()
55 attr_data |= (u32)(*string) << (8 * (len % 4)); in fm10k_tlv_attr_put_null_string()
62 attr[(len + 3) / 4] = attr_data; in fm10k_tlv_attr_put_null_string()
/linux-5.19.10/include/uapi/rdma/
Drdma_user_ioctl_cmds.h64 } attr_data; member
/linux-5.19.10/drivers/net/team/
Dteam.c2546 struct nlattr *attr_data; in team_nl_cmd_options_set() local
2592 attr_data = opt_attrs[TEAM_ATTR_OPTION_DATA]; in team_nl_cmd_options_set()
2593 if (opt_type != TEAM_OPTION_TYPE_BOOL && !attr_data) { in team_nl_cmd_options_set()
2628 ctx.data.u32_val = nla_get_u32(attr_data); in team_nl_cmd_options_set()
2631 if (nla_len(attr_data) > TEAM_STRING_MAX_LEN) { in team_nl_cmd_options_set()
2635 ctx.data.str_val = nla_data(attr_data); in team_nl_cmd_options_set()
2638 ctx.data.bin_val.len = nla_len(attr_data); in team_nl_cmd_options_set()
2639 ctx.data.bin_val.ptr = nla_data(attr_data); in team_nl_cmd_options_set()
2642 ctx.data.bool_val = attr_data ? true : false; in team_nl_cmd_options_set()
2645 ctx.data.s32_val = nla_get_s32(attr_data); in team_nl_cmd_options_set()
/linux-5.19.10/net/core/
Drtnetlink.c5174 void *attr_data; in rtnl_offload_xstats_fill_ndo() local
5185 attr_data = nla_data(attr); in rtnl_offload_xstats_fill_ndo()
5186 memset(attr_data, 0, size); in rtnl_offload_xstats_fill_ndo()
5188 err = dev->netdev_ops->ndo_get_offload_stats(attr_id, dev, attr_data); in rtnl_offload_xstats_fill_ndo()
/linux-5.19.10/include/linux/
Dnetdevice.h1425 void *attr_data);