/linux/drivers/s390/crypto/ |
H A D | pkey_sysfs.c | 187 const struct bin_attribute *attr, in protkey_aes_128_read() 197 const struct bin_attribute *attr, in protkey_aes_192_read() 207 const struct bin_attribute *attr, in protkey_aes_256_read() 217 const struct bin_attribute *attr, in protkey_aes_128_xts_read() 227 const struct bin_attribute *attr, in protkey_aes_256_xts_read() 237 const struct bin_attribute *attr, in protkey_aes_xts_128_read() 247 const struct bin_attribute *attr, in protkey_aes_xts_256_read() 257 const struct bin_attribute *attr, in protkey_hmac_512_read() 267 const struct bin_attribute *attr, in protkey_hmac_1024_read() 285 static const struct bin_attribute *const protkey_attrs[] = { [all …]
|
/linux/include/linux/ |
H A D | sysfs.h | 27 struct bin_attribute; 104 const struct bin_attribute *, int); 106 const struct bin_attribute *, 110 const struct bin_attribute *const *bin_attrs; 111 const struct bin_attribute *const *bin_attrs_new; 207 struct kobject *kobj, const struct bin_attribute *attr, int n) \ 216 struct kobject *kobj, const struct bin_attribute *a, int n) \ 304 struct bin_attribute { struct 309 ssize_t (*read)(struct file *, struct kobject *, const struct bin_attribute *, argument 311 ssize_t (*read_new)(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] = {
|
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[] = {
|
/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 | 698 const struct bin_attribute *bin_attr, char *buf, in pci_read_config() 773 const struct bin_attribute *bin_attr, char *buf, in pci_write_config() 843 static const struct bin_attribute *const pci_dev_config_attrs[] = { 849 const struct bin_attribute *a, in pci_dev_config_attr_bin_size() 871 const struct bin_attribute *attr, in pci_llseek_resource() 891 const struct bin_attribute *bin_attr, in pci_read_legacy_io() 916 const struct bin_attribute *bin_attr, in pci_write_legacy_io() 940 const struct bin_attribute *attr, in pci_mmap_legacy_mem() 960 const struct bin_attribute *attr, in pci_mmap_legacy_io() 998 b->legacy_io = kcalloc(2, sizeof(struct bin_attribute), in pci_create_legacy_files() [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | secvar-sysfs.c | 55 const struct bin_attribute *attr, char *buf, loff_t off, in data_read() 88 const struct bin_attribute *attr, char *buf, loff_t off, in update_write() 107 static struct bin_attribute data_attr __ro_after_init = __BIN_ATTR_RO(data, 0); 109 static struct bin_attribute update_attr __ro_after_init = __BIN_ATTR_WO(update, 0); 111 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/drivers/platform/x86/ |
H A D | wmi-bmof.c | 23 static ssize_t bmof_read(struct file *filp, struct kobject *kobj, const struct bin_attribute *attr, in bmof_read() 34 static const struct bin_attribute * const bmof_attrs[] = { 39 static size_t bmof_bin_size(struct kobject *kobj, const struct bin_attribute *attr, int n) in bmof_bin_size()
|
/linux/mm/ |
H A D | page_idle.c | 120 const struct bin_attribute *attr, char *buf, in page_idle_bitmap_read() 165 const struct bin_attribute *attr, char *buf, in page_idle_bitmap_write() 201 static const struct bin_attribute page_idle_bitmap_attr = 205 static const struct bin_attribute *const page_idle_bin_attrs[] = {
|
/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/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 63 const struct bin_attribute *attr, char *buf, in i915_l3_read() 91 const struct bin_attribute *attr, char *buf, in i915_l3_write() 140 static const struct bin_attribute dpf_attrs = { 149 static const struct bin_attribute dpf_attrs_1 = {
|
/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/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/arch/s390/kernel/ |
H A D | cpacf.c | 17 const struct bin_attribute *attr, \ 46 const struct bin_attribute *attr, char *buf, loff_t offs, \ 72 static const struct bin_attribute *const cpacf_attrs[] = {
|