| /linux/include/linux/ |
| H A D | sysfs.h | 27 struct bin_attribute; 114 const struct bin_attribute *, int); 116 const struct bin_attribute *, 122 const struct bin_attribute *const *bin_attrs; 217 struct kobject *kobj, const struct bin_attribute *attr, int n) \ 226 struct kobject *kobj, const struct bin_attribute *a, int n) \ 311 struct bin_attribute { struct 316 ssize_t (*read)(struct file *, struct kobject *, const struct bin_attribute *, argument 318 ssize_t (*write)(struct file *, struct kobject *, const struct bin_attribute *, argument 320 loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, argument [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_module_attach.c | 53 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) 62 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() 71 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() 81 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() 92 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG() 115 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_ds2408.c | 68 const struct bin_attribute *bin_attr, char *buf, in state_read() 80 const struct bin_attribute *bin_attr, char *buf, in output_read() 93 const struct bin_attribute *bin_attr, char *buf, in activity_read() 106 const struct bin_attribute *bin_attr, in cond_search_mask_read() 120 const struct bin_attribute *bin_attr, in cond_search_polarity_read() 130 const struct bin_attribute *bin_attr, in status_control_read() 163 const struct bin_attribute *bin_attr, char *buf, in output_write() 213 const struct bin_attribute *bin_attr, char *buf, in activity_write() 243 const struct bin_attribute *bin_attr, in status_control_write() 320 static const struct bin_attribute *const w1_f29_bin_attrs[] = {
|
| H A D | w1_ds2438.c | 291 const struct bin_attribute *bin_attr, char *buf, in iad_write() 313 const struct bin_attribute *bin_attr, char *buf, in iad_read() 334 const struct bin_attribute *bin_attr, char *buf, in page0_read() 364 const struct bin_attribute *bin_attr, char *buf, in page1_read() 394 const struct bin_attribute *bin_attr, char *buf, in offset_write() 413 const struct bin_attribute *bin_attr, char *buf, in temperature_read() 434 const struct bin_attribute *bin_attr, char *buf, in vad_read() 455 const struct bin_attribute *bin_attr, char *buf, in vdd_read() 483 static const struct bin_attribute *const w1_ds2438_bin_attrs[] = {
|
| H A D | w1_ds2433.c | 113 const struct bin_attribute *bin_attr, char *buf, in eeprom_read() 227 const struct bin_attribute *bin_attr, char *buf, in eeprom_write() 277 static const struct bin_attribute bin_attr_f23_eeprom = { 284 static const struct bin_attribute bin_attr_f43_eeprom = { 291 static const struct bin_attribute *const w1_f23_bin_attributes[] = { 305 static const struct bin_attribute *const w1_f43_bin_attributes[] = {
|
| H A D | w1_ds2406.c | 27 const struct bin_attribute *bin_attr, in w1_f12_read_state() 60 const struct bin_attribute *bin_attr, in w1_f12_write_output() 90 static const struct bin_attribute w1_f12_sysfs_bin_files[NB_SYSFS_BIN_FILES] = {
|
| H A D | w1_ds2413.c | 28 const struct bin_attribute *bin_attr, char *buf, in state_read() 84 const struct bin_attribute *bin_attr, char *buf, in output_write() 133 static const struct bin_attribute *const w1_f3a_bin_attrs[] = {
|
| H A D | w1_ds28e04.c | 115 const struct bin_attribute *bin_attr, char *buf, in eeprom_read() 226 const struct bin_attribute *bin_attr, char *buf, in eeprom_write() 282 const struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_read() 301 const struct bin_attribute *bin_attr, char *buf, in pio_write() 366 static const struct bin_attribute *const w1_f1C_bin_attrs[] = {
|
| /linux/drivers/hid/ |
| H A D | hid-roccat-common.h | 49 struct kobject *kobj, const struct bin_attribute *attr, \ 58 struct kobject *kobj, const struct bin_attribute *attr, \ 71 static const struct bin_attribute bin_attr_ ## thingy = { \ 80 static const struct bin_attribute bin_attr_ ## thingy = { \ 88 static const struct bin_attribute bin_attr_ ## thingy = { \
|
| H A D | hid-roccat-pyra.c | 132 struct kobject *kobj, const struct bin_attribute *attr, \ 141 struct kobject *kobj, const struct bin_attribute *attr, \ 154 static const struct bin_attribute bin_attr_##thingy = { \ 163 static const struct bin_attribute bin_attr_##thingy = { \ 171 static const struct bin_attribute bin_attr_##thingy = { \ 183 struct kobject *kobj, const struct bin_attribute *attr, in pyra_sysfs_read_profilex_settings() 201 struct kobject *kobj, const struct bin_attribute *attr, in pyra_sysfs_read_profilex_buttons() 219 static const struct bin_attribute bin_attr_profile##number##_settings = { \ 225 static const struct bin_attribute bin_attr_profile##number##_buttons = { \ 238 struct kobject *kobj, const struct bin_attribute *attr, in pyra_sysfs_write_settings() [all …]
|
| H A D | hid-roccat-koneplus.c | 131 struct kobject *kobj, const struct bin_attribute *attr, \ 140 struct kobject *kobj, const struct bin_attribute *attr, \ 153 static const struct bin_attribute bin_attr_##thingy = { \ 162 static const struct bin_attribute bin_attr_##thingy = { \ 170 static const struct bin_attribute bin_attr_##thingy = { \ 186 struct kobject *kobj, const struct bin_attribute *attr, in koneplus_sysfs_read_profilex_settings() 204 struct kobject *kobj, const struct bin_attribute *attr, in koneplus_sysfs_read_profilex_buttons() 222 static const struct bin_attribute bin_attr_profile##number##_settings = { \ 228 static const struct bin_attribute bin_attr_profile##number##_buttons = { \ 324 static const struct bin_attribute *const koneplus_bin_attributes[] = {
|
| H A D | hid-roccat-kovaplus.c | 174 struct kobject *kobj, const struct bin_attribute *attr, \ 183 struct kobject *kobj, const struct bin_attribute *attr, \ 196 static const struct bin_attribute bin_attr_##thingy = { \ 205 static const struct bin_attribute bin_attr_##thingy = { \ 216 struct kobject *kobj, const struct bin_attribute *attr, in kovaplus_sysfs_read_profilex_settings() 234 struct kobject *kobj, const struct bin_attribute *attr, in kovaplus_sysfs_read_profilex_buttons() 252 static const struct bin_attribute bin_attr_profile##number##_settings = { \ 258 static const struct bin_attribute bin_attr_profile##number##_buttons = { \ 382 static const struct bin_attribute *const kovaplus_bin_attributes[] = {
|
| H A D | hid-roccat-isku.c | 159 const struct bin_attribute *attr, char *buf, \ 168 const struct bin_attribute *attr, char *buf, \ 181 static const struct bin_attribute bin_attr_##thingy = { \ 190 static const struct bin_attribute bin_attr_##thingy = { \ 198 static const struct bin_attribute bin_attr_##thingy = { \ 220 static const struct bin_attribute *const isku_bin_attributes[] = {
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_sysfs.c | 267 const struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_crb() 284 const struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_crb() 313 const struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_mem() 335 const struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_mem() 399 const struct bin_attribute *attr, in qlcnic_sysfs_write_pm_config() 449 const struct bin_attribute *attr, in qlcnic_sysfs_read_pm_config() 542 const struct bin_attribute *attr, in qlcnic_sysfs_write_esw_config() 626 const struct bin_attribute *attr, in qlcnic_sysfs_read_esw_config() 678 const struct bin_attribute *attr, in qlcnic_sysfs_write_npar_config() 725 const struct bin_attribute *attr, in qlcnic_sysfs_read_npar_config() [all …]
|
| /linux/kernel/module/ |
| H A D | sysfs.c | 24 struct bin_attribute attrs[]; 29 const struct bin_attribute *battr, in module_sect_read() 57 const struct bin_attribute *const *bin_attr; in free_sect_attrs() 68 const struct bin_attribute **gattr; in add_sect_attrs() 69 struct bin_attribute *sattr; in add_sect_attrs() 142 struct bin_attribute attrs[]; 155 const struct bin_attribute **gattr; in add_notes_attrs() 156 struct bin_attribute *nattr; in add_notes_attrs()
|
| /linux/arch/powerpc/kernel/ |
| H A D | secvar-sysfs.c | 56 const struct bin_attribute *attr, char *buf, loff_t off, in data_read() 89 const struct bin_attribute *attr, char *buf, loff_t off, in update_write() 108 static struct bin_attribute data_attr __ro_after_init = __BIN_ATTR_RO(data, 0); 110 static struct bin_attribute update_attr __ro_after_init = __BIN_ATTR_WO(update, 0); 112 static const struct bin_attribute *const secvar_bin_attrs[] = {
|
| /linux/drivers/virt/coco/guest/ |
| H A D | tsm-mr.c | 42 struct bin_attribute mrs[]; 46 const struct bin_attribute *attr, char *buffer, in tm_digest_read() 92 const struct bin_attribute *attr, char *buffer, in tm_digest_write() 176 const struct bin_attribute **attrs __free(kfree) = in tsm_mr_create_attribute_group() 190 struct bin_attribute *bap = &ctx->mrs[i]; in tsm_mr_create_attribute_group()
|
| /linux/arch/x86/kernel/ |
| H A D | ksysfs.c | 31 const struct bin_attribute *bin_attr, in boot_params_data_read() 38 static const struct bin_attribute boot_params_data_attr = { 52 static const struct bin_attribute *const boot_params_data_attrs[] = { 175 const struct bin_attribute *bin_attr, in setup_data_data_read() 248 static struct bin_attribute data_attr __ro_after_init = { 261 static const struct bin_attribute *const setup_data_data_attrs[] = {
|
| /linux/fs/sysfs/ |
| H A D | file.c | 86 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_read() 149 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_write() 170 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_mmap() 179 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_llseek() 190 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_open() 324 const struct bin_attribute *battr, umode_t mode, size_t size, in sysfs_add_bin_file_mode_ns() 580 const struct bin_attribute *attr) in sysfs_create_bin_file() 600 const struct bin_attribute *attr) in sysfs_remove_bin_file() 812 const struct bin_attribute *attr, char *buf, in sysfs_bin_attr_simple_read()
|
| /linux/drivers/zorro/ |
| H A D | zorro-sysfs.c | 84 const struct bin_attribute *bin_attr, in zorro_read_config() 101 static const struct bin_attribute zorro_config_attr = { 110 static const struct bin_attribute *const zorro_device_bin_attrs[] = {
|
| /linux/drivers/scsi/arcmsr/ |
| H A D | arcmsr_attr.c | 63 const struct bin_attribute *bin, in arcmsr_sysfs_iop_message_read() 110 const struct bin_attribute *bin, in arcmsr_sysfs_iop_message_write() 158 const struct bin_attribute *bin, in arcmsr_sysfs_iop_message_clear() 191 static const struct bin_attribute arcmsr_sysfs_message_read_attr = { 200 static const struct bin_attribute arcmsr_sysfs_message_write_attr = { 209 static const struct bin_attribute arcmsr_sysfs_message_clear_attr = {
|
| /linux/drivers/firmware/google/ |
| H A D | memconsole.c | 17 const struct bin_attribute *bin_attr, char *buf, in memconsole_read() 29 static struct bin_attribute memconsole_bin_attr = {
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_vbc.c | 18 const struct bin_attribute *att, char *buf, in vboot_context_read() 62 const struct bin_attribute *attr, char *buf, in vboot_context_write() 104 static const struct bin_attribute *const cros_ec_vbc_bin_attrs[] = {
|
| /linux/drivers/mtd/spi-nor/ |
| H A D | sysfs.c | 53 const struct bin_attribute *bin_attr, char *buf, in sfdp_read() 67 static const struct bin_attribute *const spi_nor_sysfs_bin_entries[] = { 90 const struct bin_attribute *attr, int n) in spi_nor_sysfs_is_bin_visible()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | ultravisor.c | 35 const struct bin_attribute *bin_attr, char *to, in uv_msglog_read() 41 static struct bin_attribute uv_msglog_attr __ro_after_init = {
|