/Linux-v5.4/drivers/hwmon/ |
D | i5k_amb.c | 101 unsigned int num_attrs; member 269 data->num_attrs = 0; in i5k_amb_hwmon_init() 282 iattr = data->attrs + data->num_attrs; in i5k_amb_hwmon_init() 294 data->num_attrs++; in i5k_amb_hwmon_init() 297 iattr = data->attrs + data->num_attrs; in i5k_amb_hwmon_init() 309 data->num_attrs++; in i5k_amb_hwmon_init() 312 iattr = data->attrs + data->num_attrs; in i5k_amb_hwmon_init() 325 data->num_attrs++; in i5k_amb_hwmon_init() 328 iattr = data->attrs + data->num_attrs; in i5k_amb_hwmon_init() 341 data->num_attrs++; in i5k_amb_hwmon_init() [all …]
|
/Linux-v5.4/drivers/staging/gasket/ |
D | gasket_sysfs.c | 301 int num_attrs; in gasket_sysfs_get_attr() local 309 num_attrs = mapping->attribute_count; in gasket_sysfs_get_attr() 310 for (i = 0; i < num_attrs; ++i) { in gasket_sysfs_get_attr() 325 int num_attrs; in gasket_sysfs_put_attr() local 333 num_attrs = mapping->attribute_count; in gasket_sysfs_put_attr() 334 for (i = 0; i < num_attrs; ++i) { in gasket_sysfs_put_attr()
|
/Linux-v5.4/include/rdma/ |
D | uverbs_named_ioctl.h | 58 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ 72 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ 119 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
|
D | uverbs_ioctl.h | 330 size_t num_attrs; member
|
/Linux-v5.4/drivers/hwmon/occ/ |
D | common.c | 726 unsigned int i, s, num_attrs = 0; in occ_setup_sensor_attrs() local 742 num_attrs += (sensors->temp.num_sensors * 2); in occ_setup_sensor_attrs() 745 num_attrs += (sensors->temp.num_sensors * 4); in occ_setup_sensor_attrs() 757 num_attrs += (sensors->freq.num_sensors * 2); in occ_setup_sensor_attrs() 768 num_attrs += (sensors->power.num_sensors * 4); in occ_setup_sensor_attrs() 771 num_attrs += (sensors->power.num_sensors * 16); in occ_setup_sensor_attrs() 780 num_attrs += (sensors->caps.num_sensors * 7); in occ_setup_sensor_attrs() 786 num_attrs += (sensors->caps.num_sensors * 8); in occ_setup_sensor_attrs() 794 num_attrs += (sensors->extended.num_sensors * 3); in occ_setup_sensor_attrs() 800 occ->attrs = devm_kzalloc(dev, sizeof(*occ->attrs) * num_attrs, in occ_setup_sensor_attrs() [all …]
|
/Linux-v5.4/drivers/infiniband/core/ |
D | uverbs_ioctl.c | 76 unsigned int num_attrs) in uapi_compute_bundle_size() argument 82 sizeof(*pbundle->uattrs) * num_attrs; in uapi_compute_bundle_size() 419 unsigned int num_attrs) in ib_uverbs_run_method() argument 422 size_t uattrs_size = array_size(sizeof(*pbundle->uattrs), num_attrs); in ib_uverbs_run_method() 440 for (i = 0; i != num_attrs; i++) { in ib_uverbs_run_method() 612 ret = ib_uverbs_run_method(pbundle, hdr->num_attrs); in ib_uverbs_cmd_verbs() 637 hdr.length != struct_size(&hdr, attrs, hdr.num_attrs)) in ib_uverbs_ioctl()
|
D | uverbs_uapi.c | 130 for (i = 0; i != method->num_attrs; i++) { in uapi_merge_method() 360 unsigned int num_attrs = 0; in uapi_finalize_ioctl_method() local 408 num_attrs++; in uapi_finalize_ioctl_method() 414 uapi_compute_bundle_size(method_elm, num_attrs); in uapi_finalize_ioctl_method()
|
D | rdma_core.h | 189 unsigned int num_attrs);
|
/Linux-v5.4/include/uapi/rdma/ |
D | rdma_user_ioctl_cmds.h | 80 __u16 num_attrs; member
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | filter.h | 148 u8 num_attrs; member
|
/Linux-v5.4/drivers/platform/mellanox/ |
D | mlxreg-hotplug.c | 199 int num_attrs = 0, id = 0, i, j; in mlxreg_hotplug_attr_init() local 206 num_attrs += item->count; in mlxreg_hotplug_attr_init() 233 num_attrs, in mlxreg_hotplug_attr_init()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_topology.c | 600 uint32_t i, num_attrs; in kfd_build_sysfs_node_entry() local 714 num_attrs = ARRAY_SIZE(perf_attr_iommu); in kfd_build_sysfs_node_entry() 717 * num_attrs + sizeof(struct attribute_group), in kfd_build_sysfs_node_entry() 729 for (i = 0; i < num_attrs; i++) in kfd_build_sysfs_node_entry()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 1812 out_filter->num_attrs++; in iwl_mvm_set_bcast_filter() 1860 if (!cmd->filters[data->current_filter].num_attrs) in iwl_mvm_bcast_filter_iterator()
|
D | debugfs.c | 1473 filter.num_attrs++; in iwl_dbgfs_bcast_filters_write()
|