attr_name 177 arch/alpha/kernel/pci-sysfs.c char *suffix, *attr_name; attr_name 209 arch/alpha/kernel/pci-sysfs.c attr_name = (char *)(attr + res_count); attr_name 211 arch/alpha/kernel/pci-sysfs.c retval = pci_create_one_attr(pdev, num, attr_name, suffix, attr, attr_name 217 arch/alpha/kernel/pci-sysfs.c attr_name += nlen1; attr_name 220 arch/alpha/kernel/pci-sysfs.c return pci_create_one_attr(pdev, num, attr_name, "_dense", attr, 0); attr_name 113 arch/powerpc/platforms/powernv/opal-sensor-groups.c const char *attr_name; attr_name 124 arch/powerpc/platforms/powernv/opal-sensor-groups.c attr->attr.attr.name = ops_info[index].attr_name; attr_name 504 drivers/char/mwave/mwavedd.c #define mwave_show_function(attr_name, format_string, field) \ attr_name 505 drivers/char/mwave/mwavedd.c static ssize_t mwave_show_##attr_name(struct device *dev, struct device_attribute *attr, char *buf) \ attr_name 513 drivers/char/mwave/mwavedd.c #define mwave_dev_rd_attr(attr_name, format_string, field) \ attr_name 514 drivers/char/mwave/mwavedd.c mwave_show_function(attr_name, format_string, field) \ attr_name 515 drivers/char/mwave/mwavedd.c static DEVICE_ATTR(attr_name, S_IRUGO, mwave_show_##attr_name, NULL) attr_name 319 drivers/cpuidle/sysfs.c &attr_name.attr, attr_name 205 drivers/extcon/extcon.c struct device_attribute attr_name; attr_name 380 drivers/extcon/extcon.c attr_name); attr_name 1144 drivers/extcon/extcon.c cable->attrs[0] = &cable->attr_name.attr; attr_name 1150 drivers/extcon/extcon.c sysfs_attr_init(&cable->attr_name.attr); attr_name 1151 drivers/extcon/extcon.c cable->attr_name.attr.name = "name"; attr_name 1152 drivers/extcon/extcon.c cable->attr_name.attr.mode = 0444; attr_name 1153 drivers/extcon/extcon.c cable->attr_name.show = cable_name_show; attr_name 422 drivers/gpu/drm/amd/amdkfd/kfd_topology.c attr_name); attr_name 584 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_remove_file(dev->kobj_node, &dev->attr_name); attr_name 640 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->attr_name.name = "name"; attr_name 641 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->attr_name.mode = KFD_SYSFS_FILE_MODE; attr_name 642 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_attr_init(&dev->attr_name); attr_name 649 drivers/gpu/drm/amd/amdkfd/kfd_topology.c ret = sysfs_create_file(dev->kobj_node, &dev->attr_name); attr_name 173 drivers/gpu/drm/amd/amdkfd/kfd_topology.h struct attribute attr_name; attr_name 30 drivers/hid/hid-sensor-custom.c char attr_name[HID_CUSTOM_TOTAL_ATTRS][HID_CUSTOM_NAME_LENGTH]; attr_name 585 drivers/hid/hid-sensor-custom.c snprintf((char *)&sensor_inst->fields[i].attr_name[j], attr_name 591 drivers/hid/hid-sensor-custom.c (char *)&sensor_inst->fields[i].attr_name[j]; attr_name 84 drivers/hwmon/coretemp.c char attr_name[TOTAL_ATTRS][CORETEMP_NAME_LENGTH]; attr_name 393 drivers/hwmon/coretemp.c snprintf(tdata->attr_name[i], CORETEMP_NAME_LENGTH, attr_name 396 drivers/hwmon/coretemp.c tdata->sd_attrs[i].dev_attr.attr.name = tdata->attr_name[i]; attr_name 251 drivers/hwmon/ibmpowernv.c const char *attr_name = NULL; attr_name 254 drivers/hwmon/ibmpowernv.c attr_name = "fault"; attr_name 256 drivers/hwmon/ibmpowernv.c attr_name = "input"; attr_name 259 drivers/hwmon/ibmpowernv.c attr_name = "max"; attr_name 261 drivers/hwmon/ibmpowernv.c attr_name = "min"; attr_name 264 drivers/hwmon/ibmpowernv.c return attr_name; attr_name 277 drivers/hwmon/ibmpowernv.c const char *attr_name; attr_name 284 drivers/hwmon/ibmpowernv.c attr_name = convert_opal_attr_name(type, attr_suffix); attr_name 285 drivers/hwmon/ibmpowernv.c if (!attr_name) attr_name 288 drivers/hwmon/ibmpowernv.c return attr_name; attr_name 483 drivers/hwmon/ibmpowernv.c static void create_hwmon_attr(struct sensor_data *sdata, const char *attr_name, attr_name 493 drivers/hwmon/ibmpowernv.c attr_name); attr_name 507 drivers/hwmon/ibmpowernv.c const char *attr_name, enum sensors type, attr_name 521 drivers/hwmon/ibmpowernv.c create_hwmon_attr(sdata, attr_name, show, store); attr_name 570 drivers/hwmon/ibmpowernv.c const char *attr_name; attr_name 601 drivers/hwmon/ibmpowernv.c attr_name = parse_opal_node_name(np->name, type, &opal_index); attr_name 602 drivers/hwmon/ibmpowernv.c if (IS_ERR(attr_name)) { attr_name 603 drivers/hwmon/ibmpowernv.c attr_name = "input"; attr_name 610 drivers/hwmon/ibmpowernv.c attr_name, type, pgroups[type], sgrp_data, attr_name 630 drivers/hwmon/ibmpowernv.c attr_name = get_max_attr(type); attr_name 632 drivers/hwmon/ibmpowernv.c sensor_id, attr_name, type, attr_name 639 drivers/hwmon/ibmpowernv.c attr_name = get_min_attr(type); attr_name 641 drivers/hwmon/ibmpowernv.c sensor_id, attr_name, type, attr_name 471 drivers/leds/leds-bd2802.c #define BD2802_CONTROL_ATTR(attr_name, name_str) \ attr_name 472 drivers/leds/leds-bd2802.c static ssize_t bd2802_show_##attr_name(struct device *dev, \ attr_name 478 drivers/leds/leds-bd2802.c ret = sprintf(buf, "0x%02x\n", led->attr_name); \ attr_name 482 drivers/leds/leds-bd2802.c static ssize_t bd2802_store_##attr_name(struct device *dev, \ attr_name 494 drivers/leds/leds-bd2802.c led->attr_name = val; \ attr_name 498 drivers/leds/leds-bd2802.c static struct device_attribute bd2802_##attr_name##_attr = { \ attr_name 503 drivers/leds/leds-bd2802.c .show = bd2802_show_##attr_name, \ attr_name 504 drivers/leds/leds-bd2802.c .store = bd2802_store_##attr_name, \ attr_name 50 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c struct device_attribute attr_name; attr_name 79 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_name); attr_name 312 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c sysfs_attr_init(&cip->attr_name.attr); attr_name 313 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->attr_name.attr.name = "name"; attr_name 314 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->attr_name.attr.mode = S_IRUGO; attr_name 315 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->attr_name.show = show_name; attr_name 361 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->attr_gen[acnt++] = &cip->attr_name.attr; attr_name 1083 drivers/misc/cxl/cxl.h bool (*support_attributes)(const char *attr_name, enum cxl_attrs type); attr_name 705 drivers/misc/cxl/guest.c static bool guest_support_attributes(const char *attr_name, attr_name 710 drivers/misc/cxl/guest.c if ((strcmp(attr_name, "base_image") == 0) || attr_name 711 drivers/misc/cxl/guest.c (strcmp(attr_name, "load_image_on_perst") == 0) || attr_name 712 drivers/misc/cxl/guest.c (strcmp(attr_name, "perst_reloads_same_image") == 0) || attr_name 713 drivers/misc/cxl/guest.c (strcmp(attr_name, "image_loaded") == 0)) attr_name 717 drivers/misc/cxl/guest.c if ((strcmp(attr_name, "pp_mmio_off") == 0)) attr_name 1467 drivers/misc/cxl/native.c static bool native_support_attributes(const char *attr_name, attr_name 1270 drivers/power/supply/charger-manager.c = container_of(attr, struct charger_regulator, attr_name); attr_name 1380 drivers/power/supply/charger-manager.c charger->attrs[0] = &charger->attr_name.attr; attr_name 1389 drivers/power/supply/charger-manager.c sysfs_attr_init(&charger->attr_name.attr); attr_name 1390 drivers/power/supply/charger-manager.c charger->attr_name.attr.name = "name"; attr_name 1391 drivers/power/supply/charger-manager.c charger->attr_name.attr.mode = 0444; attr_name 1392 drivers/power/supply/charger-manager.c charger->attr_name.show = charger_name_show; attr_name 303 drivers/s390/net/qeth_l2_sys.c static u32 qeth_l2_vnicc_sysfs_attr_to_char(const char *attr_name) attr_name 305 drivers/s390/net/qeth_l2_sys.c if (sysfs_streq(attr_name, "flooding")) attr_name 307 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "mcast_flooding")) attr_name 309 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "learning")) attr_name 311 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "takeover_setvmac")) attr_name 313 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "takeover_learning")) attr_name 315 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "bridge_invisible")) attr_name 317 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "rx_bcast")) attr_name 742 drivers/thermal/thermal_core.c sprintf(dev->attr_name, "cdev%d_trip_point", dev->id); attr_name 744 drivers/thermal/thermal_core.c dev->attr.attr.name = dev->attr_name; attr_name 48 drivers/thermal/thermal_core.h char attr_name[THERMAL_NAME_LENGTH]; attr_name 506 fs/xfs/xfs_ioctl.c unsigned char *attr_name; attr_name 533 fs/xfs/xfs_ioctl.c attr_name = kmalloc(MAXNAMELEN, GFP_KERNEL); attr_name 534 fs/xfs/xfs_ioctl.c if (!attr_name) attr_name 541 fs/xfs/xfs_ioctl.c ops[i].am_error = strncpy_from_user((char *)attr_name, attr_name 551 fs/xfs/xfs_ioctl.c d_inode(dentry), attr_name, attr_name 560 fs/xfs/xfs_ioctl.c d_inode(dentry), attr_name, attr_name 570 fs/xfs/xfs_ioctl.c d_inode(dentry), attr_name, attr_name 582 fs/xfs/xfs_ioctl.c kfree(attr_name); attr_name 419 fs/xfs/xfs_ioctl32.c unsigned char *attr_name; attr_name 447 fs/xfs/xfs_ioctl32.c attr_name = kmalloc(MAXNAMELEN, GFP_KERNEL); attr_name 448 fs/xfs/xfs_ioctl32.c if (!attr_name) attr_name 455 fs/xfs/xfs_ioctl32.c ops[i].am_error = strncpy_from_user((char *)attr_name, attr_name 466 fs/xfs/xfs_ioctl32.c d_inode(dentry), attr_name, attr_name 475 fs/xfs/xfs_ioctl32.c d_inode(dentry), attr_name, attr_name 485 fs/xfs/xfs_ioctl32.c d_inode(dentry), attr_name, attr_name 497 fs/xfs/xfs_ioctl32.c kfree(attr_name); attr_name 121 include/linux/power/charger-manager.h struct device_attribute attr_name; attr_name 12 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, long val), attr_name 14 include/trace/events/hwmon.h TP_ARGS(index, attr_name, val), attr_name 18 include/trace/events/hwmon.h __string(attr_name, attr_name) attr_name 24 include/trace/events/hwmon.h __assign_str(attr_name, attr_name); attr_name 29 include/trace/events/hwmon.h __entry->index, __get_str(attr_name), __entry->val) attr_name 34 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, long val), attr_name 36 include/trace/events/hwmon.h TP_ARGS(index, attr_name, val) attr_name 41 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, long val), attr_name 43 include/trace/events/hwmon.h TP_ARGS(index, attr_name, val) attr_name 48 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, const char *s), attr_name 50 include/trace/events/hwmon.h TP_ARGS(index, attr_name, s), attr_name 54 include/trace/events/hwmon.h __string(attr_name, attr_name) attr_name 60 include/trace/events/hwmon.h __assign_str(attr_name, attr_name); attr_name 65 include/trace/events/hwmon.h __entry->index, __get_str(attr_name), __get_str(label)) attr_name 1997 net/9p/client.c const char *attr_name, u64 *attr_size) attr_name 2013 net/9p/client.c file_fid->fid, attr_fid->fid, attr_name); attr_name 2016 net/9p/client.c file_fid->fid, attr_fid->fid, attr_name); attr_name 320 net/batman-adv/sysfs.c const char *attr_name, atomic_t *attr, attr_name 342 net/batman-adv/sysfs.c attr_name, buff); attr_name 349 net/batman-adv/sysfs.c batadv_info(net_dev, "%s: Changing from: %s to: %s\n", attr_name, attr_name 379 net/batman-adv/sysfs.c const char *attr_name, attr_name 390 net/batman-adv/sysfs.c attr_name, buff); attr_name 396 net/batman-adv/sysfs.c attr_name, uint_val, min); attr_name 402 net/batman-adv/sysfs.c attr_name, uint_val, max); attr_name 413 net/batman-adv/sysfs.c attr_name, ifname, atomic_read(attr), uint_val); attr_name 252 tools/perf/util/dwarf-aux.c static int die_get_attr_udata(Dwarf_Die *tp_die, unsigned int attr_name, attr_name 257 tools/perf/util/dwarf-aux.c if (dwarf_attr(tp_die, attr_name, &attr) == NULL || attr_name 265 tools/perf/util/dwarf-aux.c static int die_get_attr_sdata(Dwarf_Die *tp_die, unsigned int attr_name, attr_name 270 tools/perf/util/dwarf-aux.c if (dwarf_attr(tp_die, attr_name, &attr) == NULL || attr_name 394 tools/perf/util/python.c get_tracepoint_field(struct pyrf_event *pevent, PyObject *attr_name) attr_name 396 tools/perf/util/python.c const char *str = _PyUnicode_AsString(PyObject_Str(attr_name)); attr_name 418 tools/perf/util/python.c pyrf_sample_event__getattro(struct pyrf_event *pevent, PyObject *attr_name) attr_name 423 tools/perf/util/python.c obj = get_tracepoint_field(pevent, attr_name); attr_name 425 tools/perf/util/python.c return obj ?: PyObject_GenericGetAttr((PyObject *) pevent, attr_name); attr_name 214 tools/usb/usbip/libsrc/usbip_host_common.c char attr_name[] = "usbip_sockfd"; attr_name 240 tools/usb/usbip/libsrc/usbip_host_common.c edev->udev.path, attr_name); attr_name 40 tools/usb/usbip/src/usbip_bind.c char attr_name[] = "bind"; attr_name 46 tools/usb/usbip/src/usbip_bind.c SYSFS_DRIVERS_NAME, USBIP_HOST_DRV_NAME, attr_name); attr_name 63 tools/usb/usbip/src/usbip_bind.c char attr_name[] = "unbind"; attr_name 111 tools/usb/usbip/src/usbip_bind.c SYSFS_DRIVERS_NAME, driver, attr_name); attr_name 17 tools/usb/usbip/src/utils.c char attr_name[] = "match_busid"; attr_name 26 tools/usb/usbip/src/utils.c attr_name);