Searched refs:data_attr (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/acpi/ |
D | sysfs.c | 418 struct acpi_data_attr *data_attr; in acpi_data_show() local 422 data_attr = container_of(bin_attr, struct acpi_data_attr, attr); in acpi_data_show() 423 size = data_attr->attr.size; in acpi_data_show() 434 base = acpi_os_map_iomem(data_attr->addr, size); in acpi_data_show() 445 static int acpi_bert_data_init(void *th, struct acpi_data_attr *data_attr) in acpi_bert_data_init() argument 451 kfree(data_attr); in acpi_bert_data_init() 454 data_attr->addr = bert->address; in acpi_bert_data_init() 455 data_attr->attr.size = bert->region_length; in acpi_bert_data_init() 456 data_attr->attr.attr.name = "BERT"; in acpi_bert_data_init() 458 return sysfs_create_bin_file(tables_data_kobj, &data_attr->attr); in acpi_bert_data_init() [all …]
|
/Linux-v6.6/drivers/s390/char/ |
D | sclp_sd.c | 88 struct bin_attribute data_attr; member 523 sysfs_bin_attr_init(&sd_file->data_attr); in sclp_sd_file_create() 524 sd_file->data_attr.attr.name = "data"; in sclp_sd_file_create() 525 sd_file->data_attr.attr.mode = 0444; in sclp_sd_file_create() 526 sd_file->data_attr.read = data_read; in sclp_sd_file_create() 528 rc = sysfs_create_bin_file(&sd_file->kobj, &sd_file->data_attr); in sclp_sd_file_create()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | secvar-sysfs.c | 107 static struct bin_attribute data_attr = __BIN_ATTR_RO(data, 0); variable 112 &data_attr, 142 data_attr.size = varsize; in update_kobj_size()
|
/Linux-v6.6/arch/x86/kernel/ |
D | ksysfs.c | 248 static struct bin_attribute data_attr __ro_after_init = { 262 &data_attr, 288 data_attr.size = size; in create_setup_data_node()
|
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_hdcp.c | 698 static const struct bin_attribute data_attr = { variable 764 hdcp_work[0].attr = data_attr; in hdcp_create_workqueue()
|
/Linux-v6.6/net/core/ |
D | neighbour.c | 3695 #define NEIGH_SYSCTL_ENTRY(attr, data_attr, name, mval, proc) \ argument 3698 .data = NEIGH_PARMS_DATA_OFFSET(NEIGH_VAR_ ## data_attr), \ 3716 #define NEIGH_SYSCTL_MS_JIFFIES_REUSED_ENTRY(attr, data_attr, name) \ argument 3717 NEIGH_SYSCTL_ENTRY(attr, data_attr, name, 0644, neigh_proc_dointvec_ms_jiffies) 3719 #define NEIGH_SYSCTL_UNRES_QLEN_REUSED_ENTRY(attr, data_attr, name) \ argument 3720 NEIGH_SYSCTL_ENTRY(attr, data_attr, name, 0644, neigh_proc_dointvec_unres_qlen)
|