Searched defs:attr (Results 1 - 200 of 1408) sorted by relevance

12345678

/linux-4.1.27/fs/sysv/
H A Dfile.c31 static int sysv_setattr(struct dentry *dentry, struct iattr *attr) sysv_setattr() argument
/linux-4.1.27/fs/minix/
H A Dfile.c24 static int minix_setattr(struct dentry *dentry, struct iattr *attr) minix_setattr() argument
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_attrs.c23 fnic_show_state(struct device *dev, struct device_attribute *attr, char *buf) fnic_show_state() argument
32 fnic_show_drv_version(struct device *dev, struct device_attribute *attr, char *buf) fnic_show_drv_version() argument
38 fnic_show_link_state(struct device *dev, struct device_attribute *attr, char *buf) fnic_show_link_state() argument
/linux-4.1.27/drivers/sfi/
H A Dsfi_core.h69 struct bin_attribute attr; member in struct:sfi_table_attr
/linux-4.1.27/drivers/dio/
H A Ddio-sysfs.c20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) dio_show_id() argument
29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) dio_show_ipl() argument
38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) dio_show_secid() argument
47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) dio_show_name() argument
56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) dio_show_resource() argument
/linux-4.1.27/arch/x86/platform/uv/
H A Duv_sysfs.c28 partition_id_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) partition_id_show() argument
34 coherence_id_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) coherence_id_show() argument
/linux-4.1.27/net/batman-adv/
H A Dsysfs.h31 struct attribute attr; member in struct:batadv_attribute
/linux-4.1.27/net/tipc/
H A Dnetlink.c151 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr) tipc_nlmsg_parse() argument
/linux-4.1.27/samples/hw_breakpoint/
H A Ddata_breakpoint.c56 struct perf_event_attr attr; hw_break_module_init() local
/linux-4.1.27/sound/aoa/soundbus/
H A Dsysfs.c15 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show() argument
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/
H A Devent.h16 struct perf_event_attr attr; member in struct:event
/linux-4.1.27/drivers/isdn/gigaset/
H A Dproc.c26 static ssize_t set_cidmode(struct device *dev, struct device_attribute *attr, set_cidmode() argument
18 show_cidmode(struct device *dev, struct device_attribute *attr, char *buf) show_cidmode() argument
/linux-4.1.27/drivers/macintosh/
H A Dmacio_sysfs.c16 compatible_show (struct device *dev, struct device_attribute *attr, char *buf) compatible_show() argument
41 static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, modalias_show() argument
52 devspec_show(struct device *dev, struct device_attribute *attr, char *buf) devspec_show() argument
H A Dwindfarm.h43 struct device_attribute attr; member in struct:wf_control
113 struct device_attribute attr; member in struct:wf_sensor
/linux-4.1.27/drivers/hwmon/
H A Dtwl4030-madc-hwmon.c46 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); madc_read() local
H A Dwm8350-hwmon.c37 show_voltage(struct device *dev, struct device_attribute *attr, char *buf) show_voltage() argument
50 show_label(struct device *dev, struct device_attribute *attr, char *buf) show_label() argument
H A Dwm831x-hwmon.c42 show_voltage(struct device *dev, struct device_attribute *attr, char *buf) show_voltage() argument
56 show_chip_temp(struct device *dev, struct device_attribute *attr, char *buf) show_chip_temp() argument
74 show_label(struct device *dev, struct device_attribute *attr, char *buf) show_label() argument
H A Dhih6130.c174 hih6130_show_temperature(struct device *dev, struct device_attribute *attr, char *buf) hih6130_show_temperature() argument
196 hih6130_show_humidity(struct device *dev, struct device_attribute *attr, char *buf) hih6130_show_humidity() argument
H A Dhtu21.c91 htu21_show_temperature(struct device *dev, struct device_attribute *attr, char *buf) htu21_show_temperature() argument
103 htu21_show_humidity(struct device *dev, struct device_attribute *attr, char *buf) htu21_show_humidity() argument
H A Diio_hwmon.c43 iio_hwmon_read_val(struct device *dev, struct device_attribute *attr, char *buf) iio_hwmon_read_val() argument
H A Dlm70.c56 lm70_sense_temp(struct device *dev, struct device_attribute *attr, char *buf) lm70_sense_temp() argument
H A Dsht21.c133 sht21_show_temperature(struct device *dev, struct device_attribute *attr, char *buf) sht21_show_temperature() argument
155 sht21_show_humidity(struct device *dev, struct device_attribute *attr, char *buf) sht21_show_humidity() argument
H A Dad7314.c57 ad7314_show_temperature(struct device *dev, struct device_attribute *attr, char *buf) ad7314_show_temperature() argument
H A Dadcxx.c64 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); adcxx_read() local
H A Dfam15h_power.c51 show_power(struct device *dev, struct device_attribute *attr, char *buf) show_power() argument
87 show_power_crit(struct device *dev, struct device_attribute *attr, char *buf) show_power_crit() argument
96 fam15h_power_is_visible(struct kobject *kobj, struct attribute *attr, int index) fam15h_power_is_visible() argument
H A Dhwmon.c37 show_name(struct device *dev, struct device_attribute *attr, char *buf) show_name() argument
48 hwmon_dev_name_is_visible(struct kobject *kobj, struct attribute *attr, int n) hwmon_dev_name_is_visible() argument
H A Dk8temp.c115 struct sensor_device_attribute_2 *attr = show_temp() local
H A Dltc4151.c135 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); ltc4151_show_value() local
H A Dltc4260.c85 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); ltc4260_show_value() local
97 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); ltc4260_show_bool() local
H A Dmc13783-adc.c55 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); mc13783_adc_read() local
H A Dmcp3021.c86 static ssize_t show_in_input(struct device *dev, struct device_attribute *attr, show_in_input() argument
H A Dmenf21bmc_hwmon.c106 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); show_label() local
114 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); show_in() local
126 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); show_min() local
135 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); show_max() local
H A Dpwm-fan.c81 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, set_pwm() argument
99 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) show_pwm() argument
H A Ds3c-hwmon.c224 struct sensor_device_attribute *attr; s3c_hwmon_create_attr() local
98 s3c_hwmon_show_raw(struct device *dev, struct device_attribute *attr, char *buf) s3c_hwmon_show_raw() argument
162 s3c_hwmon_ch_show(struct device *dev, struct device_attribute *attr, char *buf) s3c_hwmon_ch_show() argument
192 s3c_hwmon_label_show(struct device *dev, struct device_attribute *attr, char *buf) s3c_hwmon_label_show() argument
H A Dw83l785ts.c129 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); show_temp() local
/linux-4.1.27/drivers/misc/
H A Dti_dac7512.c26 dac7512_store_val(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) dac7512_store_val() argument
H A Dhmc6352.c61 compass_calibration_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) compass_calibration_store() argument
67 compass_power_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) compass_power_mode_store() argument
73 compass_heading_data_show(struct device *dev, struct device_attribute *attr, char *buf) compass_heading_data_show() argument
H A Disl29020.c35 als_sensing_range_show(struct device *dev, struct device_attribute *attr, char *buf) als_sensing_range_show() argument
49 als_lux_input_data_show(struct device *dev, struct device_attribute *attr, char *buf) als_lux_input_data_show() argument
85 als_sensing_range_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) als_sensing_range_store() argument
H A Dapds9802als.c44 als_sensing_range_show(struct device *dev, struct device_attribute *attr, char *buf) als_sensing_range_show() argument
78 als_lux0_input_data_show(struct device *dev, struct device_attribute *attr, char *buf) als_lux0_input_data_show() argument
120 als_sensing_range_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) als_sensing_range_store() argument
H A Dds1682.c57 static ssize_t ds1682_show(struct device *dev, struct device_attribute *attr, ds1682_show() argument
83 static ssize_t ds1682_store(struct device *dev, struct device_attribute *attr, ds1682_store() argument
141 ds1682_eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) ds1682_eeprom_read() argument
165 ds1682_eeprom_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) ds1682_eeprom_write() argument
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Dsysfs.c42 i2400m_idle_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) i2400m_idle_timeout_store() argument
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dsysfs.c62 ath5k_attr_show_noise_immunity_level_max(struct device *dev, struct device_attribute *attr, char *buf) ath5k_attr_show_noise_immunity_level_max() argument
71 ath5k_attr_show_firstep_level_max(struct device *dev, struct device_attribute *attr, char *buf) ath5k_attr_show_firstep_level_max() argument
/linux-4.1.27/drivers/mfd/
H A Dwm831x-otp.c46 wm831x_unique_id_show(struct device *dev, struct device_attribute *attr, char *buf) wm831x_unique_id_show() argument
H A Djanz-cmodio.c156 static ssize_t mbus_show(struct device *dev, struct device_attribute *attr, mbus_show() argument
H A Dtps65911-comparator.c103 comp_threshold_show(struct device *dev, struct device_attribute *attr, char *buf) comp_threshold_show() argument
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_sysfs.c38 bnx2i_show_sq_info(struct device *dev, struct device_attribute *attr, char *buf) bnx2i_show_sq_info() argument
57 bnx2i_set_sq_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) bnx2i_set_sq_info() argument
94 bnx2i_show_ccell_info(struct device *dev, struct device_attribute *attr, char *buf) bnx2i_show_ccell_info() argument
111 bnx2i_set_ccell_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) bnx2i_set_ccell_info() argument
/linux-4.1.27/drivers/sh/intc/
H A Duserimask.c23 show_intc_userimask(struct device *dev, struct device_attribute *attr, char *buf) show_intc_userimask() argument
30 store_intc_userimask(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_intc_userimask() argument
/linux-4.1.27/drivers/pci/hotplug/
H A Dshpchp_sysfs.c38 static ssize_t show_ctrl (struct device *dev, struct device_attribute *attr, char *buf) show_ctrl() argument
H A Drpadlpar_sysfs.c32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, add_slot_store() argument
56 add_slot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) add_slot_show() argument
62 remove_slot_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t nbytes) remove_slot_store() argument
87 remove_slot_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) remove_slot_show() argument
/linux-4.1.27/drivers/pcmcia/
H A Drsrc_mgr.c48 static int static_find_io(struct pcmcia_socket *s, unsigned int attr, static_find_io() argument
H A Drsrc_iodyn.c87 static int iodyn_find_io(struct pcmcia_socket *s, unsigned int attr, iodyn_find_io() argument
H A Dsocket_sysfs.c36 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, pccard_show_type() argument
49 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, pccard_show_voltage() argument
63 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, pccard_show_vpp() argument
73 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, pccard_show_vcc() argument
84 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, pccard_store_insert() argument
99 pccard_show_card_pm_state(struct device *dev, struct device_attribute *attr, char *buf) pccard_show_card_pm_state() argument
107 pccard_store_card_pm_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pccard_store_card_pm_state() argument
130 pccard_store_eject(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pccard_store_eject() argument
146 pccard_show_irq_mask(struct device *dev, struct device_attribute *attr, char *buf) pccard_show_irq_mask() argument
154 pccard_store_irq_mask(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pccard_store_irq_mask() argument
179 pccard_show_resource(struct device *dev, struct device_attribute *attr, char *buf) pccard_show_resource() argument
186 pccard_store_resource(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pccard_store_resource() argument
/linux-4.1.27/drivers/net/wireless/b43/
H A Dsysfs.c50 b43_attr_interfmode_show(struct device *dev, struct device_attribute *attr, char *buf) b43_attr_interfmode_show() argument
92 b43_attr_interfmode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) b43_attr_interfmode_store() argument
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dexynos_drm_buf.c24 enum dma_attr attr; lowlevel_buffer_allocate() local
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
H A Dipoib_ethtool.c43 struct ib_device_attr *attr; ipoib_get_drvinfo() local
H A Dipoib_vlan.c42 static ssize_t show_parent(struct device *d, struct device_attribute *attr, show_parent() argument
/linux-4.1.27/drivers/uwb/
H A Ddriver.c77 beacon_timeout_ms_show(struct class *class, struct class_attribute *attr, char *buf) beacon_timeout_ms_show() argument
85 beacon_timeout_ms_store(struct class *class, struct class_attribute *attr, const char *buf, size_t size) beacon_timeout_ms_store() argument
H A Dscan.c100 uwb_rc_scan_show(struct device *dev, struct device_attribute *attr, char *buf) uwb_rc_scan_show() argument
116 uwb_rc_scan_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) uwb_rc_scan_store() argument
/linux-4.1.27/fs/ntfs/
H A Dattrib.h54 ATTR_RECORD *attr; member in struct:__anon11130
/linux-4.1.27/fs/ocfs2/cluster/
H A Dsys.c38 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, version_show() argument
H A Dmasklog.c68 struct attribute attr; member in struct:mlog_attribute
107 static ssize_t mlog_show(struct kobject *obj, struct attribute *attr, mlog_show() argument
115 static ssize_t mlog_store(struct kobject *obj, struct attribute *attr, mlog_store() argument
/linux-4.1.27/drivers/pps/
H A Dsysfs.c32 static ssize_t assert_show(struct device *dev, struct device_attribute *attr, assert_show() argument
46 static ssize_t clear_show(struct device *dev, struct device_attribute *attr, clear_show() argument
60 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, mode_show() argument
69 static ssize_t echo_show(struct device *dev, struct device_attribute *attr, echo_show() argument
78 static ssize_t name_show(struct device *dev, struct device_attribute *attr, name_show() argument
87 static ssize_t path_show(struct device *dev, struct device_attribute *attr, path_show() argument
/linux-4.1.27/include/net/netfilter/
H A Dnfnetlink_queue.h45 inline int nfqnl_attach_expect(struct nf_conn *ct, const struct nlattr *attr, nfqnl_attach_expect() argument
27 nfqnl_ct_parse(const struct sk_buff *skb, const struct nlattr *attr, enum ip_conntrack_info *ctinfo) nfqnl_ct_parse() argument
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dpower.c32 auto_poweron_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) auto_poweron_show() argument
38 auto_poweron_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t n) auto_poweron_store() argument
H A Dsuspend.c144 store_hibernate(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_hibernate() argument
210 show_hibernate(struct device *dev, struct device_attribute *attr, char *buf) show_hibernate() argument
/linux-4.1.27/arch/powerpc/kernel/
H A Deeh_sysfs.c57 eeh_pe_state_show(struct device *dev, struct device_attribute *attr, char *buf) eeh_pe_state_show() argument
72 eeh_pe_state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) eeh_pe_state_store() argument
/linux-4.1.27/arch/ia64/mm/
H A Dioremap.c27 u64 attr; early_ioremap() local
41 u64 attr; ioremap() local
/linux-4.1.27/arch/arm/plat-orion/include/plat/
H A Daddr-map.h40 const u8 attr; member in struct:orion_addr_map_info
/linux-4.1.27/fs/
H A Dattr.c31 int inode_change_ok(const struct inode *inode, struct iattr *attr) inode_change_ok() argument
142 void setattr_copy(struct inode *inode, const struct iattr *attr) setattr_copy() argument
190 int notify_change(struct dentry * dentry, struct iattr * attr, struct inode **delegated_inode) notify_change() argument
/linux-4.1.27/fs/coda/
H A Dcoda_linux.c70 void coda_vattr_to_iattr(struct inode *inode, struct coda_vattr *attr) coda_vattr_to_iattr() argument
H A Dcnode.c26 static void coda_fill_inode(struct inode *inode, struct coda_vattr *attr) coda_fill_inode() argument
93 struct coda_vattr attr; coda_cnode_make() local
59 coda_iget(struct super_block * sb, struct CodaFid * fid, struct coda_vattr * attr) coda_iget() argument
/linux-4.1.27/net/ieee802154/
H A Dsysfs.c41 name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show() argument
/linux-4.1.27/lib/
H A Dtest_firmware.c50 trigger_request_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) trigger_request_store() argument
/linux-4.1.27/mm/
H A Dfailslab.c5 struct fault_attr attr; member in struct:__anon14051
/linux-4.1.27/tools/perf/bench/
H A Dfutex.h73 static inline int pthread_attr_setaffinity_np(pthread_attr_t *attr, pthread_attr_setaffinity_np() argument
/linux-4.1.27/tools/perf/tests/
H A Dparse-no-sample-id-all.c54 struct attr_event attr; member in struct:test_attr_event
H A Dpmu.c147 struct perf_event_attr attr; test__pmu() local
H A Dsw-clock.c29 struct perf_event_attr attr = { __test__sw_clock_freq() local
H A Dattr.c60 static int store_event(struct perf_event_attr *attr, pid_t pid, int cpu, store_event() argument
130 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, test_attr__open() argument
/linux-4.1.27/tools/perf/util/
H A Dcloexec.c23 struct perf_event_attr attr = { perf_flag_probe() local
H A Dtool.h43 event_attr_op attr; member in struct:perf_tool
/linux-4.1.27/drivers/zorro/
H A Dzorro-sysfs.c42 show_serial(struct device *dev, struct device_attribute *attr, char *buf) show_serial() argument
52 static ssize_t zorro_show_resource(struct device *dev, struct device_attribute *attr, char *buf) zorro_show_resource() argument
92 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show() argument
/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-timer.c21 led_delay_on_show(struct device *dev, struct device_attribute *attr, char *buf) led_delay_on_show() argument
29 led_delay_on_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) led_delay_on_store() argument
46 led_delay_off_show(struct device *dev, struct device_attribute *attr, char *buf) led_delay_off_show() argument
54 led_delay_off_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) led_delay_off_store() argument
H A Dledtrig-backlight.c64 bl_trig_invert_show(struct device *dev, struct device_attribute *attr, char *buf) bl_trig_invert_show() argument
73 bl_trig_invert_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t num) bl_trig_invert_store() argument
H A Dledtrig-gpio.c66 gpio_trig_brightness_show(struct device *dev, struct device_attribute *attr, char *buf) gpio_trig_brightness_show() argument
75 gpio_trig_brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) gpio_trig_brightness_store() argument
96 gpio_trig_inverted_show(struct device *dev, struct device_attribute *attr, char *buf) gpio_trig_inverted_show() argument
105 gpio_trig_inverted_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) gpio_trig_inverted_store() argument
130 gpio_trig_gpio_show(struct device *dev, struct device_attribute *attr, char *buf) gpio_trig_gpio_show() argument
139 gpio_trig_gpio_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) gpio_trig_gpio_store() argument
H A Dledtrig-oneshot.c29 led_shot(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) led_shot() argument
42 led_invert_show(struct device *dev, struct device_attribute *attr, char *buf) led_invert_show() argument
51 led_invert_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) led_invert_store() argument
73 led_delay_on_show(struct device *dev, struct device_attribute *attr, char *buf) led_delay_on_show() argument
81 led_delay_on_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) led_delay_on_store() argument
96 led_delay_off_show(struct device *dev, struct device_attribute *attr, char *buf) led_delay_off_show() argument
104 led_delay_off_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) led_delay_off_store() argument
H A Dledtrig-transient.c47 transient_activate_show(struct device *dev, struct device_attribute *attr, char *buf) transient_activate_show() argument
56 transient_activate_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) transient_activate_store() argument
99 transient_duration_show(struct device *dev, struct device_attribute *attr, char *buf) transient_duration_show() argument
108 transient_duration_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) transient_duration_store() argument
124 transient_state_show(struct device *dev, struct device_attribute *attr, char *buf) transient_state_show() argument
135 transient_state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) transient_state_store() argument
/linux-4.1.27/drivers/macintosh/ams/
H A Dams-input.c110 ams_input_show_joystick(struct device *dev, struct device_attribute *attr, char *buf) ams_input_show_joystick() argument
116 ams_input_store_joystick(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ams_input_store_joystick() argument
H A Dams-core.c57 ams_show_current(struct device *dev, struct device_attribute *attr, char *buf) ams_show_current() argument
/linux-4.1.27/drivers/ide/
H A Dide-sysfs.c22 static ssize_t media_show(struct device *dev, struct device_attribute *attr, media_show() argument
30 static ssize_t drivename_show(struct device *dev, struct device_attribute *attr, drivename_show() argument
38 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, modalias_show() argument
46 static ssize_t model_show(struct device *dev, struct device_attribute *attr, model_show() argument
54 static ssize_t firmware_show(struct device *dev, struct device_attribute *attr, firmware_show() argument
62 static ssize_t serial_show(struct device *dev, struct device_attribute *attr, serial_show() argument
92 store_delete_devices(struct device *portdev, struct device_attribute *attr, const char *buf, size_t n) store_delete_devices() argument
108 store_scan(struct device *portdev, struct device_attribute *attr, const char *buf, size_t n) store_scan() argument
H A Dide-park.c88 ssize_t ide_park_show(struct device *dev, struct device_attribute *attr, ide_park_show() argument
111 ssize_t ide_park_store(struct device *dev, struct device_attribute *attr, ide_park_store() argument
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sysfs.c42 ixgbe_hwmon_show_location(struct device *dev, struct device_attribute *attr, char *buf) ixgbe_hwmon_show_location() argument
52 ixgbe_hwmon_show_temp(struct device *dev, struct device_attribute *attr, char *buf) ixgbe_hwmon_show_temp() argument
71 ixgbe_hwmon_show_cautionthresh(struct device *dev, struct device_attribute *attr, char *buf) ixgbe_hwmon_show_cautionthresh() argument
85 ixgbe_hwmon_show_maxopthresh(struct device *dev, struct device_attribute *attr, char *buf) ixgbe_hwmon_show_maxopthresh() argument
/linux-4.1.27/drivers/staging/i2o/
H A Dbus-osm.c65 i2o_bus_store_scan(struct device *d, struct device_attribute *attr, const char *buf, size_t count) i2o_bus_store_scan() argument
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dvvp_object.c78 vvp_attr_get(const struct lu_env *env, struct cl_object *obj, struct cl_attr *attr) vvp_attr_get() argument
100 vvp_attr_set(const struct lu_env *env, struct cl_object *obj, const struct cl_attr *attr, unsigned valid) vvp_attr_set() argument
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dsysfs.c27 wl1271_sysfs_show_bt_coex_state(struct device *dev, struct device_attribute *attr, char *buf) wl1271_sysfs_show_bt_coex_state() argument
45 wl1271_sysfs_store_bt_coex_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) wl1271_sysfs_store_bt_coex_state() argument
87 wl1271_sysfs_show_hw_pg_ver(struct device *dev, struct device_attribute *attr, char *buf) wl1271_sysfs_show_hw_pg_ver() argument
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Dsysfs.c75 b43legacy_attr_interfmode_show(struct device *dev, struct device_attribute *attr, char *buf) b43legacy_attr_interfmode_show() argument
109 b43legacy_attr_interfmode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) b43legacy_attr_interfmode_store() argument
157 b43legacy_attr_preamble_show(struct device *dev, struct device_attribute *attr, char *buf) b43legacy_attr_preamble_show() argument
181 b43legacy_attr_preamble_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) b43legacy_attr_preamble_store() argument
/linux-4.1.27/drivers/acpi/
H A Dbgrt.c19 show_version(struct device *dev, struct device_attribute *attr, char *buf) show_version() argument
26 show_status(struct device *dev, struct device_attribute *attr, char *buf) show_status() argument
33 show_type(struct device *dev, struct device_attribute *attr, char *buf) show_type() argument
40 show_xoffset(struct device *dev, struct device_attribute *attr, char *buf) show_xoffset() argument
47 show_yoffset(struct device *dev, struct device_attribute *attr, char *buf) show_yoffset() argument
54 image_read(struct file *file, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) image_read() argument
/linux-4.1.27/drivers/usb/usbip/
H A Dvhci_sysfs.c30 static ssize_t status_show(struct device *dev, struct device_attribute *attr, status_show() argument
111 static ssize_t store_detach(struct device *dev, struct device_attribute *attr, store_detach() argument
172 static ssize_t store_attach(struct device *dev, struct device_attribute *attr, store_attach() argument
/linux-4.1.27/drivers/usb/wusbcore/
H A Ddev-sysfs.c31 wusb_disconnect_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) wusb_disconnect_store() argument
58 wusb_cdid_show(struct device *dev, struct device_attribute *attr, char *buf) wusb_cdid_show() argument
74 wusb_ck_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) wusb_ck_store() argument
/linux-4.1.27/drivers/platform/x86/
H A Dintel-rst.c27 irst_show_wakeup_events(struct device *dev, struct device_attribute *attr, char *buf) irst_show_wakeup_events() argument
44 irst_store_wakeup_events(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) irst_store_wakeup_events() argument
74 irst_show_wakeup_time(struct device *dev, struct device_attribute *attr, char *buf) irst_show_wakeup_time() argument
90 irst_store_wakeup_time(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) irst_store_wakeup_time() argument
/linux-4.1.27/ipc/
H A Dcompat_mq.c25 static inline int get_compat_mq_attr(struct mq_attr *attr, get_compat_mq_attr() argument
37 static inline int put_compat_mq_attr(const struct mq_attr *attr, put_compat_mq_attr() argument
55 struct mq_attr attr; COMPAT_SYSCALL_DEFINE4() local
/linux-4.1.27/arch/s390/kernel/
H A Didle.c51 show_idle_count(struct device *dev, struct device_attribute *attr, char *buf) show_idle_count() argument
68 show_idle_time(struct device *dev, struct device_attribute *attr, char *buf) show_idle_time() argument
/linux-4.1.27/arch/sh/drivers/
H A Dpush-switch.c20 switch_show(struct device *dev, struct device_attribute *attr, char *buf) switch_show() argument
/linux-4.1.27/arch/mips/txx9/generic/
H A D7segled.c40 ascii_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) ascii_store() argument
49 raw_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) raw_store() argument
61 map_seg7_show(struct device *dev, struct device_attribute *attr, char *buf) map_seg7_show() argument
69 map_seg7_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) map_seg7_store() argument
/linux-4.1.27/arch/arm/mach-u300/
H A Ddummyspichip.c36 dummy_looptest(struct device *dev, struct device_attribute *attr, char *buf) dummy_looptest() argument
/linux-4.1.27/arch/arm/mach-ux500/
H A Dcpu.c109 ux500_get_process(struct device *dev, struct device_attribute *attr, char *buf) ux500_get_process() argument
/linux-4.1.27/net/netfilter/
H A Dnfnetlink_queue_ct.c39 nfqnl_ct_parse(const struct sk_buff *skb, const struct nlattr *attr, nfqnl_ct_parse() argument
100 int nfqnl_attach_expect(struct nf_conn *ct, const struct nlattr *attr, nfqnl_attach_expect() argument
/linux-4.1.27/tools/perf/
H A Dperf-sys.h174 sys_perf_event_open(struct perf_event_attr *attr, sys_perf_event_open() argument
/linux-4.1.27/include/linux/
H A Ddma-attrs.h50 static inline void dma_set_attr(enum dma_attr attr, struct dma_attrs *attrs) dma_set_attr() argument
63 static inline int dma_get_attr(enum dma_attr attr, struct dma_attrs *attrs) dma_get_attr() argument
71 static inline void dma_set_attr(enum dma_attr attr, struct dma_attrs *attrs) dma_set_attr() argument
75 static inline int dma_get_attr(enum dma_attr attr, struct dma_attrs *attrs) dma_get_attr() argument
H A Devm.h56 static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) evm_inode_setattr() argument
H A Dfault-inject.h54 fault_create_debugfs_attr(const char *name, struct dentry *parent, struct fault_attr *attr) fault_create_debugfs_attr() argument
H A Dhw_breakpoint.h11 static inline void hw_breakpoint_init(struct perf_event_attr *attr) hw_breakpoint_init() argument
25 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) ptrace_breakpoint_init() argument
92 register_user_hw_breakpoint(struct perf_event_attr *attr, register_user_hw_breakpoint() argument
100 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, register_wide_hw_breakpoint_cpu() argument
105 register_wide_hw_breakpoint(struct perf_event_attr *attr, register_wide_hw_breakpoint() argument
97 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) modify_user_hw_breakpoint() argument
/linux-4.1.27/drivers/md/
H A Ddm-sysfs.c12 struct attribute attr; member in struct:dm_sysfs_attr
21 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr, dm_attr_show() argument
46 static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr, dm_attr_store() argument
/linux-4.1.27/drivers/i2c/
H A Di2c-slave-eeprom.c77 i2c_slave_eeprom_bin_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) i2c_slave_eeprom_bin_read() argument
95 i2c_slave_eeprom_bin_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) i2c_slave_eeprom_bin_write() argument
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_hca.c245 ehca_query_sma_attr(struct ehca_shca *shca, u8 port, struct ehca_sma_attr *attr) ehca_query_sma_attr() argument
/linux-4.1.27/drivers/net/bonding/
H A Dbond_sysfs_slave.c18 struct attribute attr; member in struct:slave_attribute
96 slave_show(struct kobject *kobj, struct attribute *attr, char *buf) slave_show() argument
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_hwmon.c43 igb_hwmon_show_location(struct device *dev, struct device_attribute *attr, char *buf) igb_hwmon_show_location() argument
53 igb_hwmon_show_temp(struct device *dev, struct device_attribute *attr, char *buf) igb_hwmon_show_temp() argument
72 igb_hwmon_show_cautionthresh(struct device *dev, struct device_attribute *attr, char *buf) igb_hwmon_show_cautionthresh() argument
86 igb_hwmon_show_maxopthresh(struct device *dev, struct device_attribute *attr, char *buf) igb_hwmon_show_maxopthresh() argument
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dthermal.c124 ath10k_thermal_show_temp(struct device *dev, struct device_attribute *attr, char *buf) ath10k_thermal_show_temp() argument
/linux-4.1.27/drivers/misc/eeprom/
H A Dsunxi_sid.c62 sid_read(struct file *fd, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t pos, size_t size) sid_read() argument
H A Deeprom_93xx46.c288 eeprom_93xx46_store_erase(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) eeprom_93xx46_store_erase() argument
/linux-4.1.27/drivers/soc/tegra/fuse/
H A Dfuse-tegra.c56 fuse_read(struct file *fd, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t pos, size_t size) fuse_read() argument
/linux-4.1.27/drivers/soc/versatile/
H A Dsoc-integrator.c63 integrator_get_manf(struct device *dev, struct device_attribute *attr, char *buf) integrator_get_manf() argument
73 integrator_get_arch(struct device *dev, struct device_attribute *attr, char *buf) integrator_get_arch() argument
83 integrator_get_fpga(struct device *dev, struct device_attribute *attr, char *buf) integrator_get_fpga() argument
93 integrator_get_build(struct device *dev, struct device_attribute *attr, char *buf) integrator_get_build() argument
H A Dsoc-realview.c54 realview_get_manf(struct device *dev, struct device_attribute *attr, char *buf) realview_get_manf() argument
64 realview_get_board(struct device *dev, struct device_attribute *attr, char *buf) realview_get_board() argument
74 realview_get_arch(struct device *dev, struct device_attribute *attr, char *buf) realview_get_arch() argument
84 realview_get_build(struct device *dev, struct device_attribute *attr, char *buf) realview_get_build() argument
/linux-4.1.27/drivers/staging/android/
H A Dtimed_output.c30 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, enable_show() argument
39 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, enable_store() argument
/linux-4.1.27/drivers/staging/iio/meter/
H A Dade7854.c25 ade7854_read_8bit(struct device *dev, struct device_attribute *attr, char *buf) ade7854_read_8bit() argument
42 ade7854_read_16bit(struct device *dev, struct device_attribute *attr, char *buf) ade7854_read_16bit() argument
59 ade7854_read_24bit(struct device *dev, struct device_attribute *attr, char *buf) ade7854_read_24bit() argument
76 ade7854_read_32bit(struct device *dev, struct device_attribute *attr, char *buf) ade7854_read_32bit() argument
93 ade7854_write_8bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7854_write_8bit() argument
114 ade7854_write_16bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7854_write_16bit() argument
135 ade7854_write_24bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7854_write_24bit() argument
156 ade7854_write_32bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7854_write_32bit() argument
H A Dade7753.c136 ade7753_read_8bit(struct device *dev, struct device_attribute *attr, char *buf) ade7753_read_8bit() argument
151 ade7753_read_16bit(struct device *dev, struct device_attribute *attr, char *buf) ade7753_read_16bit() argument
166 ade7753_read_24bit(struct device *dev, struct device_attribute *attr, char *buf) ade7753_read_24bit() argument
181 ade7753_write_8bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7753_write_8bit() argument
199 ade7753_write_16bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7753_write_16bit() argument
377 ade7753_read_frequency(struct device *dev, struct device_attribute *attr, char *buf) ade7753_read_frequency() argument
395 ade7753_write_frequency(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7753_write_frequency() argument
H A Dade7754.c136 ade7754_read_8bit(struct device *dev, struct device_attribute *attr, char *buf) ade7754_read_8bit() argument
151 ade7754_read_16bit(struct device *dev, struct device_attribute *attr, char *buf) ade7754_read_16bit() argument
166 ade7754_read_24bit(struct device *dev, struct device_attribute *attr, char *buf) ade7754_read_24bit() argument
181 ade7754_write_8bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7754_write_8bit() argument
199 ade7754_write_16bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7754_write_16bit() argument
407 ade7754_read_frequency(struct device *dev, struct device_attribute *attr, char *buf) ade7754_read_frequency() argument
427 ade7754_write_frequency(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7754_write_frequency() argument
H A Dade7759.c135 ade7759_read_8bit(struct device *dev, struct device_attribute *attr, char *buf) ade7759_read_8bit() argument
150 ade7759_read_16bit(struct device *dev, struct device_attribute *attr, char *buf) ade7759_read_16bit() argument
165 ade7759_read_40bit(struct device *dev, struct device_attribute *attr, char *buf) ade7759_read_40bit() argument
180 ade7759_write_8bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7759_write_8bit() argument
198 ade7759_write_16bit(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7759_write_16bit() argument
346 ade7759_read_frequency(struct device *dev, struct device_attribute *attr, char *buf) ade7759_read_frequency() argument
366 ade7759_write_frequency(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ade7759_write_frequency() argument
/linux-4.1.27/drivers/staging/iio/trigger/
H A Diio-trig-periodic-rtc.c48 iio_trig_periodic_read_freq(struct device *dev, struct device_attribute *attr, char *buf) iio_trig_periodic_read_freq() argument
58 iio_trig_periodic_write_freq(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) iio_trig_periodic_write_freq() argument
H A Diio-trig-bfin-timer.c81 iio_bfin_tmr_frequency_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) iio_bfin_tmr_frequency_store() argument
118 iio_bfin_tmr_frequency_show(struct device *dev, struct device_attribute *attr, char *buf) iio_bfin_tmr_frequency_show() argument
/linux-4.1.27/drivers/regulator/
H A Duserspace-consumer.c56 static ssize_t reg_set_state(struct device *dev, struct device_attribute *attr, reg_set_state() argument
37 reg_show_name(struct device *dev, struct device_attribute *attr, char *buf) reg_show_name() argument
45 reg_show_state(struct device *dev, struct device_attribute *attr, char *buf) reg_show_state() argument
H A Dvirtual.c118 static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr, set_min_uV() argument
144 static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr, set_max_uV() argument
170 static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr, set_min_uA() argument
196 static ssize_t set_max_uA(struct device *dev, struct device_attribute *attr, set_max_uA() argument
234 static ssize_t set_mode(struct device *dev, struct device_attribute *attr, set_mode() argument
111 show_min_uV(struct device *dev, struct device_attribute *attr, char *buf) show_min_uV() argument
137 show_max_uV(struct device *dev, struct device_attribute *attr, char *buf) show_max_uV() argument
163 show_min_uA(struct device *dev, struct device_attribute *attr, char *buf) show_min_uA() argument
189 show_max_uA(struct device *dev, struct device_attribute *attr, char *buf) show_max_uA() argument
215 show_mode(struct device *dev, struct device_attribute *attr, char *buf) show_mode() argument
/linux-4.1.27/drivers/s390/char/
H A Dsclp_ocf.c88 cpc_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) cpc_name_show() argument
102 hmc_network_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) hmc_network_show() argument
/linux-4.1.27/drivers/s390/net/
H A Dqeth_l2_sys.c14 qeth_bridge_port_role_state_show(struct device *dev, struct device_attribute *attr, char *buf, int show_state) qeth_bridge_port_role_state_show() argument
67 qeth_bridge_port_role_show(struct device *dev, struct device_attribute *attr, char *buf) qeth_bridge_port_role_show() argument
73 qeth_bridge_port_role_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) qeth_bridge_port_role_store() argument
108 qeth_bridge_port_state_show(struct device *dev, struct device_attribute *attr, char *buf) qeth_bridge_port_state_show() argument
117 qeth_bridgeport_hostnotification_show(struct device *dev, struct device_attribute *attr, char *buf) qeth_bridgeport_hostnotification_show() argument
135 qeth_bridgeport_hostnotification_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) qeth_bridgeport_hostnotification_store() argument
H A Dctcm_sysfs.c124 static ssize_t stats_write(struct device *dev, struct device_attribute *attr, stats_write() argument
23 ctcm_buffer_show(struct device *dev, struct device_attribute *attr, char *buf) ctcm_buffer_show() argument
33 ctcm_buffer_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ctcm_buffer_write() argument
112 stats_show(struct device *dev, struct device_attribute *attr, char *buf) stats_show() argument
136 ctcm_proto_show(struct device *dev, struct device_attribute *attr, char *buf) ctcm_proto_show() argument
146 ctcm_proto_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) ctcm_proto_store() argument
176 ctcm_type_show(struct device *dev, struct device_attribute *attr, char *buf) ctcm_type_show() argument
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlovsub_object.c105 lovsub_attr_set(const struct lu_env *env, struct cl_object *obj, const struct cl_attr *attr, unsigned valid) lovsub_attr_set() argument
H A Dlovsub_dev.c67 lovsub_req_attr_set(const struct lu_env *env, const struct cl_req_slice *slice, const struct cl_object *obj, struct cl_req_attr *attr, u64 flags) lovsub_req_attr_set() argument
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dobdo.c214 void obdo_from_iattr(struct obdo *oa, struct iattr *attr, unsigned int ia_valid) obdo_from_iattr() argument
250 void iattr_from_obdo(struct iattr *attr, struct obdo *oa, u32 valid) iattr_from_obdo() argument
/linux-4.1.27/drivers/devfreq/
H A Dgovernor_userspace.c45 static ssize_t store_freq(struct device *dev, struct device_attribute *attr, store_freq() argument
67 static ssize_t show_freq(struct device *dev, struct device_attribute *attr, show_freq() argument
/linux-4.1.27/drivers/edac/
H A Damd64_edac_inj.c219 amd64_edac_inj_is_visible(struct kobject *kobj, struct attribute *attr, int idx) amd64_edac_inj_is_visible() argument
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
H A Dmce-internal.h23 struct device_attribute attr; /* device attribute */ member in struct:mce_bank
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_sysfs.c64 struct nvif_control_pstate_attr_v0 attr = { nouveau_sysfs_pstate_get() local
/linux-4.1.27/drivers/base/
H A Dsoc.c27 struct soc_device_attribute *attr; member in struct:soc_device
45 soc_attribute_mode(struct kobject *kobj, struct attribute *attr, int index) soc_attribute_mode() argument
69 soc_info_get(struct device *dev, struct device_attribute *attr, char *buf) soc_info_get() argument
H A Ddriver.c102 driver_create_file(struct device_driver *drv, const struct driver_attribute *attr) driver_create_file() argument
120 driver_remove_file(struct device_driver *drv, const struct driver_attribute *attr) driver_remove_file() argument
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Dpm.c117 db1x_pmattr_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) db1x_pmattr_show() argument
147 db1x_pmattr_store(struct kobject *kobj, struct kobj_attribute *attr, const char *instr, size_t bytes) db1x_pmattr_store() argument
/linux-4.1.27/drivers/usb/host/
H A Dehci-sysfs.c23 show_companion(struct device *dev, struct device_attribute *attr, char *buf) show_companion() argument
50 store_companion(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_companion() argument
81 show_uframe_periodic_max(struct device *dev, struct device_attribute *attr, char *buf) show_uframe_periodic_max() argument
94 store_uframe_periodic_max(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_uframe_periodic_max() argument
/linux-4.1.27/drivers/usb/misc/
H A Dtrancevibrator.c48 static ssize_t show_speed(struct device *dev, struct device_attribute *attr, show_speed() argument
57 static ssize_t set_speed(struct device *dev, struct device_attribute *attr, set_speed() argument
/linux-4.1.27/fs/sysfs/
H A Dgroup.c24 struct attribute *const *attr; remove_files() local
38 struct attribute *const *attr; create_files() local
274 struct attribute *const *attr; sysfs_merge_group() local
302 struct attribute *const *attr; sysfs_unmerge_group() local
/linux-4.1.27/drivers/w1/slaves/
H A Dw1_ds2423.c43 w1_slave_show(struct device *device, struct device_attribute *attr, char *out_buf) w1_slave_show() argument
/linux-4.1.27/fs/hpfs/
H A Dinode.c258 int hpfs_setattr(struct dentry *dentry, struct iattr *attr) hpfs_setattr() argument
/linux-4.1.27/fs/jffs2/
H A Dacl.c243 struct iattr attr; jffs2_set_acl() local
/linux-4.1.27/fs/ncpfs/
H A Dsymlink.c112 __le32 attr; ncp_symlink() local
/linux-4.1.27/fs/nfs/
H A Dnfs4file.c29 struct iattr attr; nfs4_file_open() local
/linux-4.1.27/drivers/platform/mips/
H A Dcpu_hwmon.c48 get_hwmon_name(struct device *dev, struct device_attribute *attr, char *buf) get_hwmon_name() argument
80 cpu0_temp_label(struct device *dev, struct device_attribute *attr, char *buf) cpu0_temp_label() argument
86 cpu1_temp_label(struct device *dev, struct device_attribute *attr, char *buf) cpu1_temp_label() argument
92 get_cpu0_temp(struct device *dev, struct device_attribute *attr, char *buf) get_cpu0_temp() argument
99 get_cpu1_temp(struct device *dev, struct device_attribute *attr, char *buf) get_cpu1_temp() argument
/linux-4.1.27/kernel/bpf/
H A Darraymap.c25 static struct bpf_map *array_map_alloc(union bpf_attr *attr) array_map_alloc() argument
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-sysparam.c113 struct param_attr *attr = container_of(kobj_attr, struct param_attr, sys_param_show() local
134 struct param_attr *attr = container_of(kobj_attr, struct param_attr, sys_param_store() local
155 struct param_attr *attr; opal_sys_param_init() local
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_mpic_timer_wakeup.c55 fsl_timer_wakeup_show(struct device *dev, struct device_attribute *attr, char *buf) fsl_timer_wakeup_show() argument
72 fsl_timer_wakeup_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fsl_timer_wakeup_store() argument
H A Dmv64x60_pci.c28 mv64x60_hs_reg_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) mv64x60_hs_reg_read() argument
49 mv64x60_hs_reg_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) mv64x60_hs_reg_write() argument
/linux-4.1.27/arch/s390/pci/
H A Dpci_sysfs.c37 static ssize_t recover_store(struct device *dev, struct device_attribute *attr, recover_store() argument
61 util_string_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) util_string_read() argument
/linux-4.1.27/arch/sh/drivers/dma/
H A Ddma-sysfs.c26 dma_show_devices(struct device *dev, struct device_attribute *attr, char *buf) dma_show_devices() argument
61 dma_show_dev_id(struct device *dev, struct device_attribute *attr, char *buf) dma_show_dev_id() argument
68 dma_store_dev_id(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) dma_store_dev_id() argument
79 dma_store_config(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) dma_store_config() argument
94 dma_show_mode(struct device *dev, struct device_attribute *attr, char *buf) dma_show_mode() argument
101 dma_store_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) dma_store_mode() argument
/linux-4.1.27/arch/mips/kernel/
H A Dvpe-cmp.c24 static ssize_t store_kill(struct device *dev, struct device_attribute *attr, store_kill() argument
40 static ssize_t ntcs_show(struct device *cd, struct device_attribute *attr, ntcs_show() argument
48 static ssize_t ntcs_store(struct device *dev, struct device_attribute *attr, ntcs_store() argument
/linux-4.1.27/fs/btrfs/
H A Dsysfs.h70 static inline struct kobj_attribute *attr_to_btrfs_attr(struct attribute *attr) attr_to_btrfs_attr() argument
76 attr_to_btrfs_feature_attr(struct attribute *attr) attr_to_btrfs_feature_attr() argument
/linux-4.1.27/fs/configfs/
H A Dinode.c213 struct configfs_attribute *attr; configfs_get_name() local
/linux-4.1.27/net/atm/
H A Datm_sysfs.c13 show_type(struct device *cdev, struct device_attribute *attr, char *buf) show_type() argument
21 show_address(struct device *cdev, struct device_attribute *attr, char *buf) show_address() argument
29 show_atmaddress(struct device *cdev, struct device_attribute *attr, char *buf) show_atmaddress() argument
58 show_atmindex(struct device *cdev, struct device_attribute *attr, char *buf) show_atmindex() argument
66 show_carrier(struct device *cdev, struct device_attribute *attr, char *buf) show_carrier() argument
75 show_link_rate(struct device *cdev, struct device_attribute *attr, char *buf) show_link_rate() argument
/linux-4.1.27/net/wimax/
H A Dop-msg.c368 struct nlattr *attr = info->attrs[WIMAX_GNL_MSG_PIPE_NAME]; wimax_gnl_doit_msg_from_user() local
/linux-4.1.27/net/wireless/
H A Dsysfs.c40 name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show() argument
48 addresses_show(struct device *dev, struct device_attribute *attr, char *buf) addresses_show() argument
/linux-4.1.27/samples/kobject/
H A Dkobject-example.c30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, foo_show() argument
36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, foo_store() argument
56 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, b_show() argument
68 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, b_store() argument
/linux-4.1.27/tools/lib/lockdep/include/liblockdep/
H A Drwlock.h20 __rwlock_init(liblockdep_pthread_rwlock_t *lock, const char *name, struct lock_class_key *key, const pthread_rwlockattr_t *attr) __rwlock_init() argument
/linux-4.1.27/tools/testing/selftests/timers/
H A Dmqueue-lat.c73 struct mq_attr attr; mqueue_lat_test() local
/linux-4.1.27/fs/affs/
H A Dinode.c214 affs_notify_change(struct dentry *dentry, struct iattr *attr) affs_notify_change() argument
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_pipeline.c57 attr_show_args(struct device *dev, struct device_attribute *attr, char *buf) attr_show_args() argument
/linux-4.1.27/drivers/leds/
H A Dled-triggers.c33 ssize_t led_trigger_store(struct device *dev, struct device_attribute *attr, led_trigger_store() argument
80 ssize_t led_trigger_show(struct device *dev, struct device_attribute *attr, led_trigger_show() argument
/linux-4.1.27/drivers/iio/trigger/
H A Diio-trig-sysfs.c29 iio_sysfs_trig_add(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) iio_sysfs_trig_add() argument
48 iio_sysfs_trig_remove(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) iio_sysfs_trig_remove() argument
102 iio_sysfs_trigger_poll(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) iio_sysfs_trigger_poll() argument
/linux-4.1.27/drivers/mmc/core/
H A Dbus.c31 type_show(struct device *dev, struct device_attribute *attr, char *buf) type_show() argument
H A Dsdio_bus.c49 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf) modalias_show() argument
/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_sysfs.c47 static ssize_t status_show(struct device *dev, struct device_attribute *attr, status_show() argument
57 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, appid_show() argument
68 static ssize_t version_show(struct device *dev, struct device_attribute *attr, version_show() argument
81 static ssize_t type_show(struct device *dev, struct device_attribute *attr, type_show() argument
93 static ssize_t tempsens_show(struct device *dev, struct device_attribute *attr, tempsens_show() argument
104 freerunning_timer_show(struct device *dev, struct device_attribute *attr, char *buf) freerunning_timer_show() argument
116 queue_working_time_show(struct device *dev, struct device_attribute *attr, char *buf) queue_working_time_show() argument
128 base_clock_show(struct device *dev, struct device_attribute *attr, char *buf) base_clock_show() argument
156 curr_bitstream_show(struct device *dev, struct device_attribute *attr, char *buf) curr_bitstream_show() argument
172 next_bitstream_show(struct device *dev, struct device_attribute *attr, char *buf) next_bitstream_show() argument
192 next_bitstream_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) next_bitstream_store() argument
218 reload_bitstream_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) reload_bitstream_store() argument
277 genwqe_is_visible(struct kobject *kobj, struct attribute *attr, int n) genwqe_is_visible() argument
/linux-4.1.27/drivers/misc/mic/bus/
H A Dmic_bus.c31 device_show(struct device *d, struct device_attribute *attr, char *buf) device_show() argument
39 vendor_show(struct device *d, struct device_attribute *attr, char *buf) vendor_show() argument
47 modalias_show(struct device *d, struct device_attribute *attr, char *buf) modalias_show() argument
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_attr.c120 struct bin_attribute *attr; member in struct:sysfs_entry
170 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, qla4xxx_serial_num_show() argument
178 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, qla4xxx_iscsi_version_show() argument
187 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, qla4xxx_optrom_version_show() argument
197 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, qla4xxx_board_id_show() argument
205 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_state_show() argument
216 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, qla4xxx_phy_port_cnt_show() argument
228 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, qla4xxx_phy_port_num_show() argument
240 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, qla4xxx_iscsi_func_cnt_show() argument
252 qla4xxx_hba_model_show(struct device *dev, struct device_attribute *attr, qla4xxx_hba_model_show() argument
261 qla4xxx_fw_timestamp_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_timestamp_show() argument
270 qla4xxx_fw_build_user_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_build_user_show() argument
278 qla4xxx_fw_ext_timestamp_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_ext_timestamp_show() argument
286 qla4xxx_fw_load_src_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_load_src_show() argument
308 qla4xxx_fw_uptime_show(struct device *dev, struct device_attribute *attr, qla4xxx_fw_uptime_show() argument
154 qla4xxx_fw_version_show(struct device *dev, struct device_attribute *attr, char *buf) qla4xxx_fw_version_show() argument
/linux-4.1.27/drivers/scsi/
H A Discsi_boot_sysfs.c32 struct attribute attr; member in struct:iscsi_boot_attr
40 iscsi_boot_show_attribute(struct kobject *kobj, struct attribute *attr, char *buf) iscsi_boot_show_attribute() argument
115 iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) iscsi_boot_tgt_attr_is_visible() argument
196 iscsi_boot_eth_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) iscsi_boot_eth_attr_is_visible() argument
268 iscsi_boot_ini_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) iscsi_boot_ini_attr_is_visible() argument
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft-sysfs.c114 store_gamma_curve(struct device *device, struct device_attribute *attr, const char *buf, size_t count) store_gamma_curve() argument
139 show_gamma_curve(struct device *device, struct device_attribute *attr, char *buf) show_gamma_curve() argument
180 store_debug(struct device *device, struct device_attribute *attr, const char *buf, size_t count) store_debug() argument
196 show_debug(struct device *device, struct device_attribute *attr, char *buf) show_debug() argument
/linux-4.1.27/drivers/staging/fsl-mc/bus/
H A Ddpbp.c335 dpbp_get_attributes(struct fsl_mc_io *mc_io, uint16_t token, struct dpbp_attr *attr) dpbp_get_attributes() argument
H A Ddpmcp.c287 dpmcp_get_attributes(struct fsl_mc_io *mc_io, uint16_t token, struct dpmcp_attr *attr) dpmcp_get_attributes() argument
/linux-4.1.27/drivers/staging/iio/accel/
H A Dadis16240_core.c29 adis16240_spi_read_signed(struct device *dev, struct device_attribute *attr, char *buf, unsigned bits) adis16240_spi_read_signed() argument
53 adis16240_read_12bit_signed(struct device *dev, struct device_attribute *attr, char *buf) adis16240_read_12bit_signed() argument
H A Dsca3000_ring.c140 sca3000_query_ring_int(struct device *dev, struct device_attribute *attr, char *buf) sca3000_query_ring_int() argument
162 sca3000_set_ring_int(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) sca3000_set_ring_int() argument
204 sca3000_show_buffer_scale(struct device *dev, struct device_attribute *attr, char *buf) sca3000_show_buffer_scale() argument
/linux-4.1.27/drivers/staging/iio/frequency/
H A Dad9832.c75 static ssize_t ad9832_write(struct device *dev, struct device_attribute *attr, ad9832_write() argument
H A Dad9834.c65 ad9834_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ad9834_write() argument
144 ad9834_store_wavetype(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) ad9834_store_wavetype() argument
204 ad9834_show_out0_wavetype_available(struct device *dev, struct device_attribute *attr, char *buf) ad9834_show_out0_wavetype_available() argument
226 ad9834_show_out1_wavetype_available(struct device *dev, struct device_attribute *attr, char *buf) ad9834_show_out1_wavetype_available() argument
/linux-4.1.27/drivers/staging/iio/
H A Diio_dummy_evgen.c158 iio_evgen_poke(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) iio_evgen_poke() argument
/linux-4.1.27/drivers/ptp/
H A Dptp_sysfs.c191 static ssize_t ptp_pin_show(struct device *dev, struct device_attribute *attr, ptp_pin_show() argument
213 static ssize_t ptp_pin_store(struct device *dev, struct device_attribute *attr, ptp_pin_store() argument
25 clock_name_show(struct device *dev, struct device_attribute *attr, char *page) clock_name_show() argument
70 extts_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) extts_enable_store() argument
95 extts_fifo_show(struct device *dev, struct device_attribute *attr, char *page) extts_fifo_show() argument
128 period_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) period_store() argument
155 pps_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pps_enable_store() argument
/linux-4.1.27/drivers/rapidio/
H A Drio-sysfs.c41 static ssize_t routes_show(struct device *dev, struct device_attribute *attr, char *buf) routes_show() argument
346 port_destid_show(struct device *dev, struct device_attribute *attr, port_destid_show() argument
358 static ssize_t sys_size_show(struct device *dev, struct device_attribute *attr, sys_size_show() argument
60 lprev_show(struct device *dev, struct device_attribute *attr, char *buf) lprev_show() argument
70 lnext_show(struct device *dev, struct device_attribute *attr, char *buf) lnext_show() argument
91 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) modalias_show() argument
/linux-4.1.27/drivers/rtc/
H A Drtc-ds1672.c134 static ssize_t show_control(struct device *dev, struct device_attribute *attr, show_control() argument
H A Drtc-pcf2123.c68 struct device_attribute attr; member in struct:pcf2123_sysfs_reg
87 static ssize_t pcf2123_show(struct device *dev, struct device_attribute *attr, pcf2123_show() argument
110 static ssize_t pcf2123_store(struct device *dev, struct device_attribute *attr, pcf2123_store() argument
H A Drtc-sysfs.c28 name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show() argument
35 date_show(struct device *dev, struct device_attribute *attr, char *buf) date_show() argument
51 time_show(struct device *dev, struct device_attribute *attr, char *buf) time_show() argument
67 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) since_epoch_show() argument
84 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) max_user_freq_show() argument
90 max_user_freq_store(struct device *dev, struct device_attribute *attr, max_user_freq_store() argument
112 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) hctosys_show() argument
137 rtc_sysfs_show_wakealarm(struct device *dev, struct device_attribute *attr, rtc_sysfs_show_wakealarm() argument
162 rtc_sysfs_set_wakealarm(struct device *dev, struct device_attribute *attr, rtc_sysfs_set_wakealarm() argument
H A Drtc-test.c77 test_irq_show(struct device *dev, struct device_attribute *attr, char *buf) test_irq_show() argument
82 test_irq_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) test_irq_store() argument
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_object.c152 osc_attr_get(const struct lu_env *env, struct cl_object *obj, struct cl_attr *attr) osc_attr_get() argument
162 osc_attr_set(const struct lu_env *env, struct cl_object *obj, const struct cl_attr *attr, unsigned valid) osc_attr_set() argument
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfa_cee.c166 bfa_nw_cee_get_attr(struct bfa_cee *cee, struct bfa_cee_attr *attr, bfa_nw_cee_get_attr() argument
H A Dbfa_cee.h49 struct bfa_cee_attr *attr; member in struct:bfa_cee
/linux-4.1.27/drivers/firmware/efi/
H A Druntime-wrappers.c215 static efi_status_t virt_efi_query_variable_info(u32 attr, virt_efi_query_variable_info() argument
152 virt_efi_get_variable(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, unsigned long *data_size, void *data) virt_efi_get_variable() argument
181 virt_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) virt_efi_set_variable() argument
198 virt_efi_set_variable_nonblocking(efi_char16_t *name, efi_guid_t *vendor, u32 attr, unsigned long data_size, void *data) virt_efi_set_variable_nonblocking() argument
/linux-4.1.27/drivers/firmware/
H A Dmemmap.c64 struct attribute attr; member in struct:memmap_attribute
392 static inline struct memmap_attribute *to_memmap_attr(struct attribute *attr) to_memmap_attr() argument
397 memmap_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) memmap_attr_show() argument
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_srq.c215 int ipath_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, ipath_modify_srq() argument
351 int ipath_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr) ipath_query_srq() argument
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dsrq.c228 int mlx4_ib_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, mlx4_ib_modify_srq() argument

Completed in 3720 milliseconds

12345678