| /linux/drivers/s390/crypto/ |
| H A D | pkey_sysfs.c | 186 const struct bin_attribute *attr, in protkey_aes_128_read() 196 const struct bin_attribute *attr, in protkey_aes_192_read() 206 const struct bin_attribute *attr, in protkey_aes_256_read() 216 const struct bin_attribute *attr, in protkey_aes_128_xts_read() 226 const struct bin_attribute *attr, in protkey_aes_256_xts_read() 236 const struct bin_attribute *attr, in protkey_aes_xts_128_read() 246 const struct bin_attribute *attr, in protkey_aes_xts_256_read() 256 const struct bin_attribute *attr, in protkey_hmac_512_read() 266 const struct bin_attribute *attr, in protkey_hmac_1024_read() 284 static const struct bin_attribute *const protkey_attrs[] = { [all …]
|
| /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 | 59 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() 70 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() 93 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() 105 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG() 130 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] = {
|
| /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[] = {
|
| /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/drivers/pci/ |
| H A D | pci-sysfs.c | 740 const struct bin_attribute *bin_attr, char *buf, in pci_read_config() 815 const struct bin_attribute *bin_attr, char *buf, in pci_write_config() 885 static const struct bin_attribute *const pci_dev_config_attrs[] = { 891 const struct bin_attribute *a, in pci_dev_config_attr_bin_size() 913 const struct bin_attribute *attr, in pci_llseek_resource() 933 const struct bin_attribute *bin_attr, in pci_read_legacy_io() 958 const struct bin_attribute *bin_attr, in pci_write_legacy_io() 982 const struct bin_attribute *attr, in pci_mmap_legacy_mem() 1002 const struct bin_attribute *attr, in pci_mmap_legacy_io() 1040 b->legacy_io = kzalloc_objs(struct bin_attribute, 2, GFP_ATOMIC); in pci_create_legacy_files() [all …]
|
| /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/arch/alpha/kernel/ |
| H A D | pci-sysfs.c | 67 const struct bin_attribute *attr, in pci_mmap_resource() 96 const struct bin_attribute *attr, in pci_mmap_resource_sparse() 103 const struct bin_attribute *attr, in pci_mmap_resource_dense() 121 struct bin_attribute *res_attr; in pci_remove_resource_files() 157 char *suffix, struct bin_attribute *res_attr, in pci_create_one_attr() 177 struct bin_attribute *attr; in pci_create_attr()
|
| /linux/drivers/platform/x86/ |
| H A D | wmi-bmof.c | 22 static ssize_t bmof_read(struct file *filp, struct kobject *kobj, const struct bin_attribute *attr, in bmof_read() 33 static const struct bin_attribute * const bmof_attrs[] = { 38 static size_t bmof_bin_size(struct kobject *kobj, const struct bin_attribute *attr, int n) in bmof_bin_size()
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_sysfs.c | 65 const struct bin_attribute *attr, char *buf, in i915_l3_read() 93 const struct bin_attribute *attr, char *buf, in i915_l3_write() 142 static const struct bin_attribute dpf_attrs = { 151 static const struct bin_attribute dpf_attrs_1 = {
|
| /linux/mm/ |
| H A D | page_idle.c | 119 const struct bin_attribute *attr, char *buf, in page_idle_bitmap_read() 164 const struct bin_attribute *attr, char *buf, in page_idle_bitmap_write() 200 static const struct bin_attribute page_idle_bitmap_attr = 204 static const struct bin_attribute *const page_idle_bin_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/firmware/google/ |
| H A D | cbmem.c | 33 const struct bin_attribute *bin_attr, char *buf, loff_t pos, in mem_read() 43 const struct bin_attribute *bin_attr, char *buf, loff_t pos, in mem_write() 82 static const struct bin_attribute *const 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 = {
|