/linux-6.3-rc2/include/trace/events/ |
A D | hwmon.h | 12 TP_PROTO(int index, const char *attr_name, long val), 14 TP_ARGS(index, attr_name, val), 18 __string(attr_name, attr_name) 24 __assign_str(attr_name, attr_name); 34 TP_PROTO(int index, const char *attr_name, long val), 36 TP_ARGS(index, attr_name, val) 41 TP_PROTO(int index, const char *attr_name, long val), 43 TP_ARGS(index, attr_name, val) 50 TP_ARGS(index, attr_name, s), 54 __string(attr_name, attr_name) [all …]
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | ibmpowernv.c | 254 attr_name = "fault"; in convert_opal_attr_name() 256 attr_name = "input"; in convert_opal_attr_name() 259 attr_name = "max"; in convert_opal_attr_name() 261 attr_name = "min"; in convert_opal_attr_name() 264 return attr_name; in convert_opal_attr_name() 277 const char *attr_name; in parse_opal_node_name() local 285 if (!attr_name) in parse_opal_node_name() 288 return attr_name; in parse_opal_node_name() 493 attr_name); in create_hwmon_attr() 570 const char *attr_name; in create_device_attrs() local [all …]
|
A D | coretemp.c | 81 char attr_name[TOTAL_ATTRS][CORETEMP_NAME_LENGTH]; member 440 snprintf(tdata->attr_name[i], CORETEMP_NAME_LENGTH, in create_core_attrs() 443 tdata->sd_attrs[i].dev_attr.attr.name = tdata->attr_name[i]; in create_core_attrs()
|
/linux-6.3-rc2/tools/usb/usbip/src/ |
A D | usbip_bind.c | 40 char attr_name[] = "bind"; in bind_usbip() local 46 SYSFS_DRIVERS_NAME, USBIP_HOST_DRV_NAME, attr_name); in bind_usbip() 63 char attr_name[] = "unbind"; in unbind_other() local 111 SYSFS_DRIVERS_NAME, driver, attr_name); in unbind_other()
|
A D | utils.c | 17 char attr_name[] = "match_busid"; in modify_match_busid() local 26 attr_name); in modify_match_busid()
|
/linux-6.3-rc2/drivers/s390/net/ |
A D | qeth_l2_sys.c | 253 static u32 qeth_l2_vnicc_sysfs_attr_to_char(const char *attr_name) in qeth_l2_vnicc_sysfs_attr_to_char() argument 255 if (sysfs_streq(attr_name, "flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 257 else if (sysfs_streq(attr_name, "mcast_flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 259 else if (sysfs_streq(attr_name, "learning")) in qeth_l2_vnicc_sysfs_attr_to_char() 261 else if (sysfs_streq(attr_name, "takeover_setvmac")) in qeth_l2_vnicc_sysfs_attr_to_char() 263 else if (sysfs_streq(attr_name, "takeover_learning")) in qeth_l2_vnicc_sysfs_attr_to_char() 265 else if (sysfs_streq(attr_name, "bridge_invisible")) in qeth_l2_vnicc_sysfs_attr_to_char() 267 else if (sysfs_streq(attr_name, "rx_bcast")) in qeth_l2_vnicc_sysfs_attr_to_char()
|
/linux-6.3-rc2/drivers/platform/chrome/ |
A D | chromeos_acpi.c | 121 static int parse_attr_name(const char *name, char *attr_name, int *attr_num) in parse_attr_name() argument 125 ret = strscpy(attr_name, name, ACPI_ATTR_NAME_LEN + 1); in parse_attr_name() 134 char attr_name[ACPI_ATTR_NAME_LEN + 1]; in chromeos_first_level_attr_show() local 137 ret = parse_attr_name(attr->attr.name, attr_name, &attr_num); in chromeos_first_level_attr_show() 140 return chromeos_acpi_evaluate_method(dev, attr_num, 0, attr_name, buf); in chromeos_first_level_attr_show()
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | pci-sysfs.c | 179 char *suffix, *attr_name; in pci_create_attr() local 211 attr_name = (char *)(attr + res_count); in pci_create_attr() 213 retval = pci_create_one_attr(pdev, num, attr_name, suffix, attr, in pci_create_attr() 219 attr_name += nlen1; in pci_create_attr() 222 return pci_create_one_attr(pdev, num, attr_name, "_dense", attr, 0); in pci_create_attr()
|
/linux-6.3-rc2/drivers/char/mwave/ |
A D | mwavedd.c | 503 #define mwave_show_function(attr_name, format_string, field) \ 504 static ssize_t mwave_show_##attr_name(struct device *dev, struct device_attribute *attr, char *buf)… 512 #define mwave_dev_rd_attr(attr_name, format_string, field) \ 513 mwave_show_function(attr_name, format_string, field) \ 514 static DEVICE_ATTR(attr_name, S_IRUGO, mwave_show_##attr_name, NULL)
|
/linux-6.3-rc2/fs/ksmbd/ |
A D | vfs.h | 110 struct dentry *dentry, char *attr_name, 113 struct dentry *dentry, const char *attr_name, 118 struct dentry *dentry, char *attr_name);
|
A D | vfs.c | 250 struct dentry *dentry, char *attr_name, in ksmbd_vfs_getcasexattr() argument 263 if (strncasecmp(attr_name, name, attr_name_len)) in ksmbd_vfs_getcasexattr() 963 struct dentry *dentry, const char *attr_name, in ksmbd_vfs_setxattr() argument 970 attr_name, in ksmbd_vfs_setxattr() 1079 struct dentry *dentry, char *attr_name) in ksmbd_vfs_remove_xattr() argument 1081 return vfs_removexattr(idmap, dentry, attr_name); in ksmbd_vfs_remove_xattr() 1692 struct dentry *dentry, char *attr_name, in ksmbd_vfs_casexattr_len() argument 1705 if (strncasecmp(attr_name, name, attr_name_len)) in ksmbd_vfs_casexattr_len()
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | power_supply_sysfs.c | 25 char attr_name[MAX_PROP_NAME_LEN + 1]; member 35 .attr_name = #_name "\0", \ 416 sprintf(power_supply_attrs[i].attr_name, "_err_%d", i); in power_supply_init_attrs() 418 str_to_lower(power_supply_attrs[i].attr_name); in power_supply_init_attrs() 423 attr->attr.name = power_supply_attrs[i].attr_name; in power_supply_init_attrs()
|
A D | charger-manager.c | 1076 = container_of(attr, struct charger_regulator, attr_name); in charger_name_show() 1186 charger->attrs[0] = &charger->attr_name.attr; in charger_manager_prepare_sysfs() 1195 sysfs_attr_init(&charger->attr_name.attr); in charger_manager_prepare_sysfs() 1196 charger->attr_name.attr.name = "name"; in charger_manager_prepare_sysfs() 1197 charger->attr_name.attr.mode = 0444; in charger_manager_prepare_sysfs() 1198 charger->attr_name.show = charger_name_show; in charger_manager_prepare_sysfs()
|
/linux-6.3-rc2/drivers/leds/ |
A D | leds-bd2802.c | 472 #define BD2802_CONTROL_ATTR(attr_name, name_str) \ argument 473 static ssize_t bd2802_show_##attr_name(struct device *dev, \ 479 ret = sprintf(buf, "0x%02x\n", led->attr_name); \ 483 static ssize_t bd2802_store_##attr_name(struct device *dev, \ 495 led->attr_name = val; \ 499 static struct device_attribute bd2802_##attr_name##_attr = { \ 504 .show = bd2802_show_##attr_name, \ 505 .store = bd2802_store_##attr_name, \
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | papr_platform_attributes.c | 196 const char *attr_name; member 209 attr->kobj_attr.attr.name = ops_info[index].attr_name; in add_attr() 219 if (!strcmp(ops_info[i].attr_name, "value_desc") && in add_attr_group()
|
/linux-6.3-rc2/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-sysfs.c | 50 struct device_attribute attr_name; member 79 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_name); in show_name() 312 sysfs_attr_init(&cip->attr_name.attr); in pvr2_sysfs_add_control() 313 cip->attr_name.attr.name = "name"; in pvr2_sysfs_add_control() 314 cip->attr_name.attr.mode = S_IRUGO; in pvr2_sysfs_add_control() 315 cip->attr_name.show = show_name; in pvr2_sysfs_add_control() 361 cip->attr_gen[acnt++] = &cip->attr_name.attr; in pvr2_sysfs_add_control()
|
/linux-6.3-rc2/tools/usb/usbip/libsrc/ |
A D | usbip_host_common.c | 214 char attr_name[] = "usbip_sockfd"; in usbip_export_device() local 240 edev->udev.path, attr_name); in usbip_export_device()
|
/linux-6.3-rc2/drivers/extcon/ |
A D | extcon.c | 215 struct device_attribute attr_name; member 390 attr_name); in cable_name_show() 1148 cable->attrs[0] = &cable->attr_name.attr; in extcon_dev_register() 1154 sysfs_attr_init(&cable->attr_name.attr); in extcon_dev_register() 1155 cable->attr_name.attr.name = "name"; in extcon_dev_register() 1156 cable->attr_name.attr.mode = 0444; in extcon_dev_register() 1157 cable->attr_name.show = cable_name_show; in extcon_dev_register()
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | opal-sensor-groups.c | 113 const char *attr_name; member 124 attr->attr.attr.name = ops_info[index].attr_name; in add_attr()
|
/linux-6.3-rc2/include/linux/power/ |
A D | charger-manager.h | 116 struct device_attribute attr_name; member
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_attr_item.c | 711 const void *attr_name; in xlog_recover_attri_commit_pass2() local 715 attr_name = item->ri_buf[1].i_addr; in xlog_recover_attri_commit_pass2() 739 if (!xfs_attr_namecheck(attr_name, attri_formatp->alfi_name_len)) { in xlog_recover_attri_commit_pass2() 762 nv = xfs_attri_log_nameval_alloc(attr_name, in xlog_recover_attri_commit_pass2()
|
/linux-6.3-rc2/drivers/misc/cxl/ |
A D | guest.c | 711 static bool guest_support_attributes(const char *attr_name, in guest_support_attributes() argument 716 if ((strcmp(attr_name, "base_image") == 0) || in guest_support_attributes() 717 (strcmp(attr_name, "load_image_on_perst") == 0) || in guest_support_attributes() 718 (strcmp(attr_name, "perst_reloads_same_image") == 0) || in guest_support_attributes() 719 (strcmp(attr_name, "image_loaded") == 0)) in guest_support_attributes() 723 if ((strcmp(attr_name, "pp_mmio_off") == 0)) in guest_support_attributes()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal_core.h | 97 char attr_name[THERMAL_NAME_LENGTH]; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_topology.h | 146 struct attribute attr_name; member
|
/linux-6.3-rc2/tools/perf/util/ |
A D | python.c | 469 get_tracepoint_field(struct pyrf_event *pevent, PyObject *attr_name) in get_tracepoint_field() argument 471 const char *str = _PyUnicode_AsString(PyObject_Str(attr_name)); in get_tracepoint_field() 494 pyrf_sample_event__getattro(struct pyrf_event *pevent, PyObject *attr_name) in pyrf_sample_event__getattro() argument 500 obj = get_tracepoint_field(pevent, attr_name); in pyrf_sample_event__getattro() 503 return obj ?: PyObject_GenericGetAttr((PyObject *) pevent, attr_name); in pyrf_sample_event__getattro()
|