Searched refs:data_attr (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/acpi/ |
D | sysfs.c | 440 struct acpi_data_attr *data_attr; in acpi_data_show() local 444 data_attr = container_of(bin_attr, struct acpi_data_attr, attr); in acpi_data_show() 445 size = data_attr->attr.size; in acpi_data_show() 456 base = acpi_os_map_iomem(data_attr->addr, size); in acpi_data_show() 467 static int acpi_bert_data_init(void *th, struct acpi_data_attr *data_attr) in acpi_bert_data_init() argument 473 kfree(data_attr); in acpi_bert_data_init() 476 data_attr->addr = bert->address; in acpi_bert_data_init() 477 data_attr->attr.size = bert->region_length; in acpi_bert_data_init() 478 data_attr->attr.attr.name = "BERT"; in acpi_bert_data_init() 480 return sysfs_create_bin_file(tables_data_kobj, &data_attr->attr); in acpi_bert_data_init() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | sclp_sd.c | 88 struct bin_attribute data_attr; member 515 sysfs_bin_attr_init(&sd_file->data_attr); in sclp_sd_file_create() 516 sd_file->data_attr.attr.name = "data"; in sclp_sd_file_create() 517 sd_file->data_attr.attr.mode = 0444; in sclp_sd_file_create() 518 sd_file->data_attr.read = data_read; in sclp_sd_file_create() 520 rc = sysfs_create_bin_file(&sd_file->kobj, &sd_file->data_attr); in sclp_sd_file_create()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | secvar-sysfs.c | 115 static struct bin_attribute data_attr = __BIN_ATTR_RO(data, 0); variable 120 &data_attr, 158 data_attr.size = varsize; in update_kobj_size()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_hdcp.c | 592 static const struct bin_attribute data_attr = { variable 645 hdcp_work[0].attr = data_attr; in hdcp_create_workqueue()
|
/kernel/linux/linux-5.10/net/core/ |
D | neighbour.c | 3574 #define NEIGH_SYSCTL_ENTRY(attr, data_attr, name, mval, proc) \ argument 3577 .data = NEIGH_PARMS_DATA_OFFSET(NEIGH_VAR_ ## data_attr), \ 3592 #define NEIGH_SYSCTL_MS_JIFFIES_REUSED_ENTRY(attr, data_attr, name) \ argument 3593 NEIGH_SYSCTL_ENTRY(attr, data_attr, name, 0644, neigh_proc_dointvec_ms_jiffies) 3595 #define NEIGH_SYSCTL_UNRES_QLEN_REUSED_ENTRY(attr, data_attr, name) \ argument 3596 NEIGH_SYSCTL_ENTRY(attr, data_attr, name, 0644, neigh_proc_dointvec_unres_qlen)
|