Searched refs:attr_size (Results 1 – 4 of 4) sorted by relevance
/drivers/hwmon/ |
D | coretemp.c | 77 int attr_size; member 394 for (i = 0; i < tdata->attr_size; i++) { in create_core_attrs() 454 tdata->attr_size = MAX_CORE_ATTRS; in init_temp_data() 509 tdata->attr_size++; in create_core_data()
|
/drivers/gpu/drm/vc4/ |
D | vc4_validate.c | 891 uint32_t attr_size = *(uint8_t *)(pkt_u + o + 4) + 1; in validate_gl_shader_rec() local 902 vbo->base.size - offset < attr_size) { in validate_gl_shader_rec() 904 offset, attr_size, vbo->base.size); in validate_gl_shader_rec() 909 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 942 u16 attr_size; in wilc_wfi_cfg_parse_ch_attr() local 945 attr_size = le16_to_cpu(e->attr_len); in wilc_wfi_cfg_parse_ch_attr() 947 if (index + sizeof(*e) + attr_size > len) in wilc_wfi_cfg_parse_ch_attr() 951 attr_size >= (sizeof(struct wilc_attr_ch_list) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr() 954 attr_size == (sizeof(struct wilc_attr_oper_ch) - sizeof(*e))) in wilc_wfi_cfg_parse_ch_attr() 960 index += sizeof(*e) + attr_size; in wilc_wfi_cfg_parse_ch_attr()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 4633 mlx5e_alloc_flow(struct mlx5e_priv *priv, int attr_size, in mlx5e_alloc_flow() argument 4722 int attr_size, err; in __mlx5e_add_fdb_flow() local 4725 attr_size = sizeof(struct mlx5_esw_flow_attr); in __mlx5e_add_fdb_flow() 4726 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in __mlx5e_add_fdb_flow() 4865 int attr_size, err; in mlx5e_add_nic_flow() local 4875 attr_size = sizeof(struct mlx5_nic_flow_attr); in mlx5e_add_nic_flow() 4876 err = mlx5e_alloc_flow(priv, attr_size, f, flow_flags, in mlx5e_add_nic_flow()
|