/openbmc/linux/block/ |
H A D | blk-sysfs.c | 24 struct attribute attr; member 673 static umode_t queue_attr_visible(struct kobject *kobj, struct attribute *attr, in queue_attr_visible() 688 struct attribute *attr, int n) in blk_mq_queue_attr_visible() 715 queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in queue_attr_show() 731 queue_attr_store(struct kobject *kobj, struct attribute *attr, in queue_attr_store()
|
/openbmc/linux/kernel/ |
H A D | padata.c | 873 struct attribute attr; member 880 struct attribute *attr, char *buf) in show_cpumask() 898 struct attribute *attr, in store_cpumask() 947 struct attribute *attr, char *buf) in padata_sysfs_show() 961 static ssize_t padata_sysfs_store(struct kobject *kobj, struct attribute *attr, in padata_sysfs_store()
|
/openbmc/linux/drivers/mfd/ |
H A D | pcf50633-core.c | 81 struct device_attribute *attr, char *buf) in dump_regs_show() 112 struct device_attribute *attr, char *buf) in resume_reason_show()
|
/openbmc/linux/drivers/devfreq/ |
H A D | devfreq-event.c | 439 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() 452 struct device_attribute *attr, char *buf) in enable_count_show()
|
/openbmc/linux/kernel/bpf/ |
H A D | reuseport_array.c | 41 static int reuseport_array_alloc_check(union bpf_attr *attr) in reuseport_array_alloc_check() 149 static struct bpf_map *reuseport_array_alloc(union bpf_attr *attr) in reuseport_array_alloc()
|
H A D | bloom_filter.c | 84 static int bloom_map_alloc_check(union bpf_attr *attr) in bloom_map_alloc_check() 95 static struct bpf_map *bloom_map_alloc(union bpf_attr *attr) in bloom_map_alloc()
|
/openbmc/linux/tools/testing/selftests/perf_events/ |
H A D | sigtrap_threads.c | 52 struct perf_event_attr attr = { in make_event_attr() local 120 struct perf_event_attr attr = make_event_attr(false, &ctx.iterate_on, 0); in FIXTURE_SETUP() local
|
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | order-list-attributes.c | 13 static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in current_value_show() 77 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, in type_show()
|
/openbmc/linux/drivers/hwmon/ |
H A D | max1111.c | 100 struct device_attribute *attr, char *buf) in name_show() 106 struct device_attribute *attr, char *buf) in show_adc()
|
H A D | ftsteutates.c | 341 static umode_t fts_is_visible(const void *devdata, enum hwmon_sensor_types type, u32 attr, in fts_is_visible() 377 static int fts_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, in fts_read() 454 static int fts_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, in fts_write()
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | dev-mcelog.c | 96 show_trigger(struct device *s, struct device_attribute *attr, char *buf) in show_trigger() 103 static ssize_t set_trigger(struct device *s, struct device_attribute *attr, in set_trigger()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | subcore.c | 377 struct device_attribute *attr, const char *buf, in store_subcores_per_core() 410 struct device_attribute *attr, char *buf) in show_subcores_per_core()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | scsiglue.c | 589 static ssize_t max_sectors_show(struct device *dev, struct device_attribute *attr, char *buf) in max_sectors_show() 597 static ssize_t max_sectors_store(struct device *dev, struct device_attribute *attr, const char *buf, in max_sectors_store()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | classmate-laptop.c | 202 struct device_attribute *attr, in cmpc_accel_sensitivity_show_v4() 217 struct device_attribute *attr, in cmpc_accel_sensitivity_store_v4() 251 struct device_attribute *attr, in cmpc_accel_g_select_show_v4() 266 struct device_attribute *attr, in cmpc_accel_g_select_store_v4() 545 struct device_attribute *attr, in cmpc_accel_sensitivity_show() 560 struct device_attribute *attr, in cmpc_accel_sensitivity_store()
|
/openbmc/linux/net/devlink/ |
H A D | port.c | 372 const struct nlattr *attr, in devlink_port_fn_caps_set() 617 const struct nlattr *attr, in devlink_port_function_hw_addr_set() 645 const struct nlattr *attr, in devlink_port_fn_state_set() 659 struct nlattr *attr; in devlink_port_function_validate() local 724 const struct nlattr *attr, in devlink_port_function_set() 783 struct nlattr *attr = info->attrs[DEVLINK_ATTR_PORT_FUNCTION]; in devlink_nl_cmd_port_set_doit() local
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | rohm_bu21023.c | 730 static ssize_t swap_xy_show(struct device *dev, struct device_attribute *attr, in swap_xy_show() 739 static ssize_t swap_xy_store(struct device *dev, struct device_attribute *attr, in swap_xy_store() 769 static ssize_t inv_x_show(struct device *dev, struct device_attribute *attr, in inv_x_show() 778 static ssize_t inv_x_store(struct device *dev, struct device_attribute *attr, in inv_x_store() 808 static ssize_t inv_y_show(struct device *dev, struct device_attribute *attr, in inv_y_show() 817 static ssize_t inv_y_store(struct device *dev, struct device_attribute *attr, in inv_y_store()
|
/openbmc/linux/fs/f2fs/ |
H A D | sysfs.c | 55 struct attribute attr; member 768 struct attribute *attr, char *buf) in f2fs_attr_show() 777 static ssize_t f2fs_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_attr_store() 1276 struct attribute *attr, char *buf) in f2fs_stat_attr_show() 1285 static ssize_t f2fs_stat_attr_store(struct kobject *kobj, struct attribute *attr, in f2fs_stat_attr_store() 1314 struct attribute *attr, char *buf) in f2fs_sb_feat_attr_show()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 947 struct device_attribute *attr, char *buf) in cmo_allocs_failed_show() 954 struct device_attribute *attr, const char *buf, size_t count) in cmo_allocs_failed_store() 962 struct device_attribute *attr, const char *buf, size_t count) in cmo_desired_store() 1550 struct device_attribute *attr, char *buf) in name_show() 1557 struct device_attribute *attr, char *buf) in devspec_show() 1565 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
|
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 49 struct ib_qp_attr attr; in flush_work_handle() local 728 static int hns_roce_qp_has_sq(struct ib_qp_init_attr *attr) in hns_roce_qp_has_sq() 736 static int hns_roce_qp_has_rq(struct ib_qp_init_attr *attr) in hns_roce_qp_has_rq() 1257 struct ib_qp_attr *attr, int attr_mask) in check_mtu_validate() 1277 static int hns_roce_check_qp_attr(struct ib_qp *ibqp, struct ib_qp_attr *attr, in hns_roce_check_qp_attr() 1323 int hns_roce_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in hns_roce_modify_qp()
|
/openbmc/linux/arch/x86/events/ |
H A D | probe.c | 8 not_visible(struct kobject *kobj, struct attribute *attr, int i) in not_visible()
|
/openbmc/linux/drivers/platform/x86/intel/wmi/ |
H A D | thunderbolt.c | 23 struct device_attribute *attr, in force_power_store()
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 118 struct ib_port_attr attr; in get_port_state() local 571 const struct ib_gid_attr *attr) in set_roce_addr() 637 const struct ib_gid_attr *attr) in mlx5_get_roce_udp_sport_min() 1560 struct ib_port_attr attr; in mlx5_ib_modify_port() local 2445 struct device_attribute *attr, char *buf) in fw_pages_show() 2465 struct device_attribute *attr, char *buf) in hca_type_show() 2475 struct device_attribute *attr, char *buf) in hw_rev_show() 2485 struct device_attribute *attr, char *buf) in board_id_show() 2802 struct ib_srq_init_attr attr; in mlx5_ib_dev_res_init() local 2932 struct ib_port_attr attr; in mlx5_port_immutable() local [all …]
|
/openbmc/linux/drivers/video/fbdev/omap/ |
H A D | omapfb_main.c | 1238 struct device_attribute *attr, char *buf) in omapfb_show_caps_num() 1258 struct device_attribute *attr, char *buf) in omapfb_show_caps_text() 1305 struct device_attribute *attr, char *buf) in omapfb_show_panel_name() 1313 struct device_attribute *attr, in omapfb_show_bklight_level() 1328 struct device_attribute *attr, in omapfb_store_bklight_level() 1348 struct device_attribute *attr, char *buf) in omapfb_show_bklight_max() 1381 struct device_attribute *attr, char *buf) in omapfb_show_ctrl_name()
|
/openbmc/linux/fs/fuse/ |
H A D | inode.c | 200 void fuse_change_attributes_common(struct inode *inode, struct fuse_attr *attr, in fuse_change_attributes_common() 293 void fuse_change_attributes(struct inode *inode, struct fuse_attr *attr, in fuse_change_attributes() 377 static void fuse_init_inode(struct inode *inode, struct fuse_attr *attr, in fuse_init_inode() 424 int generation, struct fuse_attr *attr, in fuse_iget() 589 static void convert_fuse_statfs(struct kstatfs *stbuf, struct fuse_kstatfs *attr) in convert_fuse_statfs() 993 struct fuse_attr attr; in fuse_get_root_inode() local 1501 static void fuse_fill_attr_from_inode(struct fuse_attr *attr, in fuse_fill_attr_from_inode()
|
/openbmc/linux/drivers/rpmsg/ |
H A D | rpmsg_char.c | 363 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() 372 static ssize_t src_show(struct device *dev, struct device_attribute *attr, in src_show() 381 static ssize_t dst_show(struct device *dev, struct device_attribute *attr, in dst_show()
|