Home
last modified time | relevance | path

Searched refs:attr (Results 1476 - 1500 of 7190) sorted by relevance

1...<<51525354555657585960>>...288

/kernel/linux/linux-6.6/drivers/acpi/
H A Ddevice_sysfs.c36 struct attribute attr; member
53 &data_node_path.attr,
59 #define to_attr(a) container_of(a, struct acpi_data_node_attr, attr)
62 struct attribute *attr, char *buf) in acpi_data_node_attr_show()
65 struct acpi_data_node_attr *dn_attr = to_attr(attr); in acpi_data_node_attr_show()
337 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) in modalias_show() argument
344 struct device_attribute *attr, char *buf) in real_power_state_show()
360 struct device_attribute *attr, char *buf) in power_state_show()
370 eject_store(struct device *d, struct device_attribute *attr, in eject_store() argument
402 hid_show(struct device *dev, struct device_attribute *attr, cha argument
61 acpi_data_node_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) acpi_data_node_attr_show() argument
343 real_power_state_show(struct device *dev, struct device_attribute *attr, char *buf) real_power_state_show() argument
359 power_state_show(struct device *dev, struct device_attribute *attr, char *buf) power_state_show() argument
410 uid_show(struct device *dev, struct device_attribute *attr, char *buf) uid_show() argument
419 adr_show(struct device *dev, struct device_attribute *attr, char *buf) adr_show() argument
431 path_show(struct device *dev, struct device_attribute *attr, char *buf) path_show() argument
441 description_show(struct device *dev, struct device_attribute *attr, char *buf) description_show() argument
468 sun_show(struct device *dev, struct device_attribute *attr, char *buf) sun_show() argument
484 hrv_show(struct device *dev, struct device_attribute *attr, char *buf) hrv_show() argument
499 status_show(struct device *dev, struct device_attribute *attr, char *buf) status_show() argument
[all...]
/kernel/linux/linux-6.6/fs/exfat/
H A Dexfat_fs.h209 unsigned short attr; member
287 unsigned short attr; member
358 unsigned short attr, mode_t mode) in exfat_make_mode()
360 if ((attr & ATTR_READONLY) && !(attr & ATTR_SUBDIR)) in exfat_make_mode()
363 if (attr & ATTR_SUBDIR) in exfat_make_mode()
372 unsigned short attr = EXFAT_I(inode)->attr; in exfat_make_attr() local
375 attr |= ATTR_SUBDIR; in exfat_make_attr()
377 attr | in exfat_make_attr()
357 exfat_make_mode(struct exfat_sb_info *sbi, unsigned short attr, mode_t mode) exfat_make_mode() argument
381 exfat_save_attr(struct inode *inode, unsigned short attr) exfat_save_attr() argument
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dfilecheck.c74 struct kobj_attribute *attr,
77 struct kobj_attribute *attr,
92 &ocfs2_filecheck_attr_chk.attr,
93 &ocfs2_filecheck_attr_fix.attr,
94 &ocfs2_filecheck_attr_set.attr,
108 ocfs2_filecheck_show(struct kobject *kobj, struct attribute *attr, char *buf) in ocfs2_filecheck_show() argument
111 struct kobj_attribute *kattr = container_of(attr, in ocfs2_filecheck_show()
112 struct kobj_attribute, attr); in ocfs2_filecheck_show()
122 ocfs2_filecheck_store(struct kobject *kobj, struct attribute *attr, in ocfs2_filecheck_store() argument
126 struct kobj_attribute *kattr = container_of(attr, in ocfs2_filecheck_store()
298 ocfs2_filecheck_attr_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) ocfs2_filecheck_attr_show() argument
446 ocfs2_filecheck_attr_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) ocfs2_filecheck_attr_store() argument
[all...]
/kernel/linux/linux-6.6/fs/vboxsf/
H A Dutils.c52 const struct shfl_fsobjattr *attr; in vboxsf_init_inode() local
56 attr = &info->attr; in vboxsf_init_inode()
58 #define mode_set(r) ((attr->mode & (SHFL_UNIX_##r)) ? (S_##r) : 0) in vboxsf_init_inode()
78 if (SHFL_IS_DIRECTORY(attr->mode)) { in vboxsf_init_inode()
94 } else if (SHFL_IS_SYMLINK(attr->mode)) { in vboxsf_init_inode()
290 info.attr.mode = mode_set(IRUSR); in vboxsf_setattr()
291 info.attr.mode |= mode_set(IWUSR); in vboxsf_setattr()
292 info.attr.mode |= mode_set(IXUSR); in vboxsf_setattr()
293 info.attr in vboxsf_setattr()
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_attr_remote.c36 * However, on a v5 filesystem, maximally sized remote attr values require one
570 * Find a hole for the attr and store it in the delayed attr context. This
571 * initializes the context to roll through allocating an attr extent for a
572 * delayed attr operation
576 struct xfs_attr_intent *attr) in xfs_attr_rmtval_find_space()
578 struct xfs_da_args *args = attr->xattri_da_args; in xfs_attr_rmtval_find_space()
579 struct xfs_bmbt_irec *map = &attr->xattri_map; in xfs_attr_rmtval_find_space()
582 attr->xattri_lblkno = 0; in xfs_attr_rmtval_find_space()
583 attr in xfs_attr_rmtval_find_space()
575 xfs_attr_rmtval_find_space( struct xfs_attr_intent *attr) xfs_attr_rmtval_find_space() argument
605 xfs_attr_rmtval_set_blk( struct xfs_attr_intent *attr) xfs_attr_rmtval_set_blk() argument
681 xfs_attr_rmtval_remove( struct xfs_attr_intent *attr) xfs_attr_rmtval_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dcros_ec_lightbar.c33 struct device_attribute *attr, char *buf) in interval_msec_show()
41 struct device_attribute *attr, in interval_msec_store()
158 struct device_attribute *attr, char *buf) in version_show()
176 struct device_attribute *attr, in brightness_store()
217 static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, in led_rgb_store() argument
285 struct device_attribute *attr, char *buf) in sequence_show()
378 static ssize_t sequence_store(struct device *dev, struct device_attribute *attr, in sequence_store() argument
422 static ssize_t program_store(struct device *dev, struct device_attribute *attr, in program_store() argument
481 struct device_attribute *attr, in userspace_control_show()
488 struct device_attribute *attr, in userspace_control_store()
32 interval_msec_show(struct device *dev, struct device_attribute *attr, char *buf) interval_msec_show() argument
40 interval_msec_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) interval_msec_store() argument
157 version_show(struct device *dev, struct device_attribute *attr, char *buf) version_show() argument
175 brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) brightness_store() argument
284 sequence_show(struct device *dev, struct device_attribute *attr, char *buf) sequence_show() argument
480 userspace_control_show(struct device *dev, struct device_attribute *attr, char *buf) userspace_control_show() argument
487 userspace_control_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) userspace_control_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay-sysfs.c353 struct attribute attr; member
382 &overlay_attr_name.attr,
383 &overlay_attr_manager.attr,
384 &overlay_attr_input_size.attr,
385 &overlay_attr_screen_width.attr,
386 &overlay_attr_position.attr,
387 &overlay_attr_output_size.attr,
388 &overlay_attr_enabled.attr,
389 &overlay_attr_global_alpha.attr,
390 &overlay_attr_pre_mult_alpha.attr,
396 overlay_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) overlay_attr_show() argument
411 overlay_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t size) overlay_attr_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dlm95241.c129 static int lm95241_read_chip(struct device *dev, u32 attr, int channel, in lm95241_read_chip() argument
134 switch (attr) { in lm95241_read_chip()
143 static int lm95241_read_temp(struct device *dev, u32 attr, int channel, in lm95241_read_temp() argument
148 switch (attr) { in lm95241_read_temp()
187 u32 attr, int channel, long *val) in lm95241_read()
191 return lm95241_read_chip(dev, attr, channel, val); in lm95241_read()
193 return lm95241_read_temp(dev, attr, channel, val); in lm95241_read()
199 static int lm95241_write_chip(struct device *dev, u32 attr, int channel, in lm95241_write_chip() argument
209 switch (attr) { in lm95241_write_chip()
238 static int lm95241_write_temp(struct device *dev, u32 attr, in argument
186 lm95241_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) lm95241_read() argument
322 lm95241_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) lm95241_write() argument
335 lm95241_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) lm95241_is_visible() argument
[all...]
H A Dtmp401.c307 static int tmp401_temp_read(struct device *dev, u32 attr, int channel, long *val) in tmp401_temp_read() argument
314 switch (attr) { in tmp401_temp_read()
321 reg = TMP401_TEMP_MSB[tmp401_temp_reg_index[attr]][channel]; in tmp401_temp_read()
347 reg = TMP432_STATUS_REG[tmp401_status_reg_index[attr]]; in tmp401_temp_read()
359 static int tmp401_temp_write(struct device *dev, u32 attr, int channel, in tmp401_temp_write() argument
368 switch (attr) { in tmp401_temp_write()
372 reg = TMP401_TEMP_MSB[tmp401_temp_reg_index[attr]][channel]; in tmp401_temp_write()
374 attr == hwmon_temp_crit ? 8 : 4); in tmp401_temp_write()
400 static int tmp401_chip_read(struct device *dev, u32 attr, int channel, long *val) in tmp401_chip_read() argument
406 switch (attr) { in tmp401_chip_read()
440 tmp401_chip_write(struct device *dev, u32 attr, int channel, long val) tmp401_chip_write() argument
471 tmp401_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) tmp401_read() argument
484 tmp401_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val) tmp401_write() argument
497 tmp401_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) tmp401_is_visible() argument
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-roccat-koneplus.c131 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
140 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
154 .attr = { .name = #thingy, .mode = 0660 }, \
163 .attr = { .name = #thingy, .mode = 0440 }, \
171 .attr = { .name = #thingy, .mode = 0220 }, \
186 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings()
193 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private), in koneplus_sysfs_read_profilex_settings()
204 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_buttons()
211 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private), in koneplus_sysfs_read_profilex_buttons()
223 .attr
185 koneplus_sysfs_read_profilex_settings(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) koneplus_sysfs_read_profilex_settings() argument
203 koneplus_sysfs_read_profilex_buttons(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) koneplus_sysfs_read_profilex_buttons() argument
240 koneplus_sysfs_show_actual_profile(struct device *dev, struct device_attribute *attr, char *buf) koneplus_sysfs_show_actual_profile() argument
248 koneplus_sysfs_set_actual_profile(struct device *dev, struct device_attribute *attr, char const *buf, size_t size) koneplus_sysfs_set_actual_profile() argument
296 koneplus_sysfs_show_firmware_version(struct device *dev, struct device_attribute *attr, char *buf) koneplus_sysfs_show_firmware_version() argument
[all...]
H A Dhid-roccat-kovaplus.c174 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
183 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
197 .attr = { .name = #thingy, .mode = 0660 }, \
206 .attr = { .name = #thingy, .mode = 0220 }, \
216 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
223 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_settings()
234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
241 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_buttons()
253 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
259 .attr
215 kovaplus_sysfs_read_profilex_settings(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_settings() argument
233 kovaplus_sysfs_read_profilex_buttons(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_buttons() argument
270 kovaplus_sysfs_show_actual_profile(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_profile() argument
278 kovaplus_sysfs_set_actual_profile(struct device *dev, struct device_attribute *attr, char const *buf, size_t size) kovaplus_sysfs_set_actual_profile() argument
323 kovaplus_sysfs_show_actual_cpi(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_cpi() argument
332 kovaplus_sysfs_show_actual_sensitivity_x(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_x() argument
342 kovaplus_sysfs_show_actual_sensitivity_y(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_y() argument
352 kovaplus_sysfs_show_firmware_version(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_firmware_version() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c84 struct mlx5_esw_flow_attr *attr) in mlx5_eswitch_set_rule_flow_source()
86 if (!MLX5_CAP_ESW_FLOWTABLE(esw->dev, flow_source) || !attr || !attr->in_rep) in mlx5_eswitch_set_rule_flow_source()
89 if (attr->int_port) { in mlx5_eswitch_set_rule_flow_source()
90 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port); in mlx5_eswitch_set_rule_flow_source()
95 spec->flow_context.flow_source = (attr->in_rep->vport == MLX5_VPORT_UPLINK) ? in mlx5_eswitch_set_rule_flow_source()
123 struct mlx5_flow_attr *attr, in mlx5_eswitch_set_rule_source_port()
127 struct mlx5_esw_flow_attr *esw_attr = attr->esw_attr; in mlx5_eswitch_set_rule_source_port()
136 if (mlx5_esw_indir_table_decap_vport(attr)) in mlx5_eswitch_set_rule_source_port()
137 vport = mlx5_esw_indir_table_decap_vport(attr); in mlx5_eswitch_set_rule_source_port()
82 mlx5_eswitch_set_rule_flow_source(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_esw_flow_attr *attr) mlx5_eswitch_set_rule_flow_source() argument
121 mlx5_eswitch_set_rule_source_port(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr, struct mlx5_eswitch *src_esw, u16 vport) mlx5_eswitch_set_rule_source_port() argument
174 esw_setup_decap_indir(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) esw_setup_decap_indir() argument
188 esw_cleanup_decap_indir(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) esw_cleanup_decap_indir() argument
226 esw_setup_ft_dest(struct mlx5_flow_destination *dest, struct mlx5_flow_act *flow_act, struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, int i) esw_setup_ft_dest() argument
280 esw_put_dest_tables_loop(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, int from, int to) esw_put_dest_tables_loop() argument
307 esw_setup_chain_src_port_rewrite(struct mlx5_flow_destination *dest, struct mlx5_flow_act *flow_act, struct mlx5_eswitch *esw, struct mlx5_fs_chains *chains, struct mlx5_flow_attr *attr, int *i) esw_setup_chain_src_port_rewrite() argument
339 esw_cleanup_chain_src_port_rewrite(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) esw_cleanup_chain_src_port_rewrite() argument
348 esw_is_indir_table(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) esw_is_indir_table() argument
373 esw_setup_indir_table(struct mlx5_flow_destination *dest, struct mlx5_flow_act *flow_act, struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, int *i) esw_setup_indir_table() argument
410 esw_cleanup_indir_table(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) esw_cleanup_indir_table() argument
565 esw_setup_dests(struct mlx5_flow_destination *dest, struct mlx5_flow_act *flow_act, struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, struct mlx5_flow_spec *spec, int *i) esw_setup_dests() argument
617 esw_cleanup_dests(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr) esw_cleanup_dests() argument
636 esw_setup_meter(struct mlx5_flow_attr *attr, struct mlx5_flow_act *flow_act) esw_setup_meter() argument
650 mlx5_eswitch_add_offloaded_rule(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5_eswitch_add_offloaded_rule() argument
787 mlx5_eswitch_add_fwd_rule(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5_eswitch_add_fwd_rule() argument
869 __mlx5_eswitch_del_rule(struct mlx5_eswitch *esw, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr, bool fwd_rule) __mlx5_eswitch_del_rule() argument
912 mlx5_eswitch_del_offloaded_rule(struct mlx5_eswitch *esw, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr) mlx5_eswitch_del_offloaded_rule() argument
920 mlx5_eswitch_del_fwd_rule(struct mlx5_eswitch *esw, struct mlx5_flow_handle *rule, struct mlx5_flow_attr *attr) mlx5_eswitch_del_fwd_rule() argument
1484 struct mlx5_vport_tbl_attr attr; esw_vport_tbl_put() local
1499 struct mlx5_vport_tbl_attr attr; esw_vport_tbl_get() local
1557 struct mlx5_chains_attr attr = {}; esw_chains_create() local
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-kovaplus.c176 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
185 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
199 .attr = { .name = #thingy, .mode = 0660 }, \
208 .attr = { .name = #thingy, .mode = 0220 }, \
218 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
225 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_settings()
236 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
243 retval = kovaplus_select_profile(usb_dev, *(uint *)(attr->private), in kovaplus_sysfs_read_profilex_buttons()
255 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
261 .attr
217 kovaplus_sysfs_read_profilex_settings(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_settings() argument
235 kovaplus_sysfs_read_profilex_buttons(struct file *fp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) kovaplus_sysfs_read_profilex_buttons() argument
272 kovaplus_sysfs_show_actual_profile(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_profile() argument
280 kovaplus_sysfs_set_actual_profile(struct device *dev, struct device_attribute *attr, char const *buf, size_t size) kovaplus_sysfs_set_actual_profile() argument
325 kovaplus_sysfs_show_actual_cpi(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_cpi() argument
334 kovaplus_sysfs_show_actual_sensitivity_x(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_x() argument
344 kovaplus_sysfs_show_actual_sensitivity_y(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_actual_sensitivity_y() argument
354 kovaplus_sysfs_show_firmware_version(struct device *dev, struct device_attribute *attr, char *buf) kovaplus_sysfs_show_firmware_version() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dchp.c148 .attr = {
202 .attr = {
233 struct device_attribute *attr, char *buf) in chp_status_show()
246 struct device_attribute *attr, in chp_status_write()
278 struct device_attribute *attr, char *buf) in chp_configure_show()
294 struct device_attribute *attr, in chp_configure_write()
314 static ssize_t chp_type_show(struct device *dev, struct device_attribute *attr, in chp_type_show() argument
328 static ssize_t chp_cmg_show(struct device *dev, struct device_attribute *attr, in chp_cmg_show() argument
343 struct device_attribute *attr, char *buf) in chp_shared_show()
356 static ssize_t chp_chid_show(struct device *dev, struct device_attribute *attr, in chp_chid_show() argument
232 chp_status_show(struct device *dev, struct device_attribute *attr, char *buf) chp_status_show() argument
245 chp_status_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) chp_status_write() argument
277 chp_configure_show(struct device *dev, struct device_attribute *attr, char *buf) chp_configure_show() argument
293 chp_configure_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) chp_configure_write() argument
342 chp_shared_show(struct device *dev, struct device_attribute *attr, char *buf) chp_shared_show() argument
373 chp_chid_external_show(struct device *dev, struct device_attribute *attr, char *buf) chp_chid_external_show() argument
390 chp_esc_show(struct device *dev, struct device_attribute *attr, char *buf) chp_esc_show() argument
404 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
[all...]
/kernel/linux/linux-6.6/kernel/events/
H A Dcore.c928 struct perf_event_attr *attr, in perf_cgroup_connect()
1037 struct perf_event_attr *attr, in perf_cgroup_connect()
1522 event_type = event->attr.pinned ? EVENT_PINNED : EVENT_FLEXIBLE; in get_event_type()
1545 if (event->attr.pinned) in get_event_groups()
1798 if (event->attr.inherit_stat) in list_add_event()
1813 event->state = event->attr.disabled ? PERF_EVENT_STATE_OFF : in perf_event__state_init()
1895 __perf_event_read_size(event->attr.read_format, in perf_event__header_size()
1897 __perf_event_header_size(event, event->attr.sample_type); in perf_event__header_size()
1903 u64 sample_type = event->attr.sample_type; in perf_event__id_header_size()
1942 if (__perf_event_read_size(event->attr in perf_event_validate_size()
927 perf_cgroup_connect(int fd, struct perf_event *event, struct perf_event_attr *attr, struct perf_event *group_leader) perf_cgroup_connect() argument
1036 perf_cgroup_connect(pid_t pid, struct perf_event *event, struct perf_event_attr *attr, struct perf_event *group_leader) perf_cgroup_connect() argument
3172 perf_event_modify_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) perf_event_modify_breakpoint() argument
3196 perf_event_modify_attr(struct perf_event *event, struct perf_event_attr *attr) perf_event_modify_attr() argument
4990 struct perf_event_attr *attr = &event->attr; is_sb_event() local
11342 nr_addr_filters_show(struct device *dev, struct device_attribute *attr, char *page) nr_addr_filters_show() argument
11355 type_show(struct device *dev, struct device_attribute *attr, char *page) type_show() argument
11364 perf_event_mux_interval_ms_show(struct device *dev, struct device_attribute *attr, char *page) perf_event_mux_interval_ms_show() argument
11376 perf_event_mux_interval_ms_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) perf_event_mux_interval_ms_store() argument
11868 perf_event_alloc(struct perf_event_attr *attr, int cpu, struct task_struct *task, struct perf_event *group_leader, struct perf_event *parent_event, perf_overflow_handler_t overflow_handler, void *context, int cgroup_fd) perf_event_alloc() argument
12103 perf_copy_attr(struct perf_event_attr __user *uattr, struct perf_event_attr *attr) perf_copy_attr() argument
12361 perf_check_permission(struct perf_event_attr *attr, struct task_struct *task) perf_check_permission() argument
12407 struct perf_event_attr attr; SYSCALL_DEFINE5() local
12804 perf_event_create_kernel_counter(struct perf_event_attr *attr, int cpu, struct task_struct *task, perf_overflow_handler_t overflow_handler, void *context) perf_event_create_kernel_counter() argument
13762 perf_event_sysfs_show(struct device *dev, struct device_attribute *attr, char *page) perf_event_sysfs_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_action.c535 struct mlx5dr_ste_actions_attr *attr, in dr_actions_apply()
543 last_ste, attr, &added_stes); in dr_actions_apply()
546 last_ste, attr, &added_stes); in dr_actions_apply()
628 struct mlx5dr_ste_actions_attr *attr, in dr_action_modify_ttl_adjust()
646 attr->modify_actions--; in dr_action_modify_ttl_adjust()
760 struct mlx5dr_ste_actions_attr attr = {}; in mlx5dr_actions_build_ste_arr() local
768 attr.gvmi = dmn->info.caps.gvmi; in mlx5dr_actions_build_ste_arr()
769 attr.hit_gvmi = dmn->info.caps.gvmi; in mlx5dr_actions_build_ste_arr()
770 attr.final_icm_addr = nic_dmn->default_icm_addr; in mlx5dr_actions_build_ste_arr()
783 attr in mlx5dr_actions_build_ste_arr()
531 dr_actions_apply(struct mlx5dr_domain *dmn, enum mlx5dr_domain_nic_type nic_type, u8 *action_type_set, u8 *last_ste, struct mlx5dr_ste_actions_attr *attr, u32 *new_num_stes) dr_actions_apply() argument
627 dr_action_modify_ttl_adjust(struct mlx5dr_domain *dmn, struct mlx5dr_ste_actions_attr *attr, bool rx_rule, bool *recalc_cs_required) dr_action_modify_ttl_adjust() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dpython.c372 return pevent->evsel->core.attr.type == PERF_TYPE_TRACEPOINT; in is_tracepoint()
424 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
715 struct perf_event_attr attr = { in pyrf_evsel__init() local
776 &attr.type, &attr.config, &attr.sample_freq, in pyrf_evsel__init()
777 &sample_period, &attr.sample_type, in pyrf_evsel__init()
778 &attr.read_format, &disabled, &inherit, in pyrf_evsel__init()
784 &attr.wakeup_events, &attr in pyrf_evsel__init()
1407 test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, int fd, int group_fd, unsigned long flags) test_attr__open() argument
[all...]
/kernel/linux/linux-6.6/drivers/memstick/core/
H A Dmspro_block.c117 unsigned char attr; member
212 static struct mspro_sys_attr *mspro_from_sysfs_attr(struct attribute *attr) in mspro_from_sysfs_attr() argument
215 = container_of(attr, struct device_attribute, attr); in mspro_from_sysfs_attr()
244 struct device_attribute *attr,
248 struct device_attribute *attr, in mspro_block_attr_show_default()
251 struct mspro_sys_attr *s_attr = container_of(attr, in mspro_block_attr_show_default()
270 struct device_attribute *attr, in mspro_block_attr_show_sysinfo()
273 struct mspro_sys_attr *x_attr = container_of(attr, in mspro_block_attr_show_sysinfo()
334 struct device_attribute *attr, in mspro_block_attr_show_modelname()
247 mspro_block_attr_show_default(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_default() argument
269 mspro_block_attr_show_sysinfo(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_sysinfo() argument
333 mspro_block_attr_show_modelname(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_modelname() argument
344 mspro_block_attr_show_mbr(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_mbr() argument
368 mspro_block_attr_show_specfile(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_specfile() argument
400 mspro_block_attr_show_devinfo(struct device *dev, struct device_attribute *attr, char *buffer) mspro_block_attr_show_devinfo() argument
900 struct mspro_attribute *attr = NULL; mspro_block_read_attributes() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dpython.c470 return pevent->evsel->core.attr.type == PERF_TYPE_TRACEPOINT; in is_tracepoint()
524 tp_format = trace_event__tp_format_id(evsel->core.attr.config); in get_tracepoint_field()
818 struct perf_event_attr attr = { in pyrf_evsel__init() local
879 &attr.type, &attr.config, &attr.sample_freq, in pyrf_evsel__init()
880 &sample_period, &attr.sample_type, in pyrf_evsel__init()
881 &attr.read_format, &disabled, &inherit, in pyrf_evsel__init()
887 &attr.wakeup_events, &attr in pyrf_evsel__init()
1506 test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, int fd, int group_fd, unsigned long flags) test_attr__open() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_list_item_group.cpp34 bool DOMListItemGroup::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr() argument
40 if (attr.first == DOM_LISTITEM_TYPE) { in SetSpecializedAttr()
41 type_ = attr.second; in SetSpecializedAttr()
44 if (attr.first == DOM_LISTITEM_CARD_TYPE) { in SetSpecializedAttr()
45 isCard_ = StringToBool(attr.second); in SetSpecializedAttr()
48 if (attr.first == DOM_LISTITEM_CARD_BLUR) { in SetSpecializedAttr()
49 isCardBlur_ = StringToBool(attr.second); in SetSpecializedAttr()
52 if (attr.first == DOM_ID) { in SetSpecializedAttr()
54 groupId_ = attr.second; in SetSpecializedAttr()
H A Ddom_popup.cpp81 bool DOMPopup::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr() argument
94 if (attr.first == DOM_PLACEMENT) { in SetSpecializedAttr()
95 auto valueIt = BinarySearchFindIndex(placeMap, ArraySize(placeMap), attr.second.c_str()); in SetSpecializedAttr()
100 } else if (attr.first == DOM_ARROW_OFFSET) { in SetSpecializedAttr()
101 popupChild_->GetPopupParam()->SetArrowOffset(ParseDimension(attr.second)); in SetSpecializedAttr()
103 } else if (attr.first == DOM_CLICKABLE) { in SetSpecializedAttr()
104 clickable_ = StringToBool(attr.second); in SetSpecializedAttr()
106 } else if (attr.first == DOM_KEEP_ALIVE) { in SetSpecializedAttr()
107 popupChild_->GetPopupParam()->SetHasAction(StringToBool(attr.second)); in SetSpecializedAttr()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/input/
H A Ddom_radio_util.cpp102 for (const auto& attr : attrs) { in SetChildAttr()
103 if (attr.first == DOM_INPUT_CHECKED) { in SetChildAttr()
104 checked = StringToBool(attr.second); in SetChildAttr()
105 } else if (attr.first == DOM_INPUT_NAME) { in SetChildAttr()
106 CheckRadioGroup(node, component, attr.second); in SetChildAttr()
107 } else if (attr.first == DOM_DISABLED) { in SetChildAttr()
108 component->SetDisabled(StringToBool(attr.second)); in SetChildAttr()
109 } else if (attr.first == DOM_INPUT_VALUE) { in SetChildAttr()
110 component->SetValue(attr.second); in SetChildAttr()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/encoder/
H A Dvideo_encoder_sample.cpp79 CHECK_AND_BREAK_LOG(!(bufferInfo.attr.flags & AVCODEC_BUFFER_FLAGS_EOS), "Read EOS frame, thread out"); in BufferInputThread()
82 bufferInfo.attr.size, bufferInfo.attr.flags, bufferInfo.attr.pts); in BufferInputThread()
116 CHECK_AND_BREAK_LOG(!(bufferInfo.attr.flags & AVCODEC_BUFFER_FLAGS_EOS), "Read EOS frame, thread out"); in SurfaceInputThread()
142 bufferInfo.attr.size, bufferInfo.attr.flags, bufferInfo.attr.pts); in OutputThread()
143 CHECK_AND_BREAK_LOG(!(bufferInfo.attr.flags & AVCODEC_BUFFER_FLAGS_EOS), "Catch EOS frame, thread out"); in OutputThread()
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/
H A Dpm.c116 #define ATTRCMP(x) (0 == strcmp(attr->attr.name, #x))
119 struct kobj_attribute *attr, in db1x_pmattr_show()
137 idx = (attr->attr.name)[4] - '0'; in db1x_pmattr_show()
149 struct kobj_attribute *attr, in db1x_pmattr_store()
172 tmp = (attr->attr.name)[4] - '0'; in db1x_pmattr_store()
210 #define ATTR_LIST(x) & x ## _attribute.attr
118 db1x_pmattr_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) db1x_pmattr_show() argument
148 db1x_pmattr_store(struct kobject *kobj, struct kobj_attribute *attr, const char *instr, size_t bytes) db1x_pmattr_store() argument
/kernel/linux/linux-5.10/drivers/fpga/
H A Ddfl-afu-error.c113 static ssize_t errors_show(struct device *dev, struct device_attribute *attr, in errors_show() argument
129 static ssize_t errors_store(struct device *dev, struct device_attribute *attr, in errors_store() argument
145 struct device_attribute *attr, char *buf) in first_error_show()
162 struct device_attribute *attr, in first_malformed_req_show()
182 &dev_attr_errors.attr,
183 &dev_attr_first_error.attr,
184 &dev_attr_first_malformed_req.attr,
189 struct attribute *attr, int n) in port_err_attrs_visible()
200 return attr->mode; in port_err_attrs_visible()
144 first_error_show(struct device *dev, struct device_attribute *attr, char *buf) first_error_show() argument
161 first_malformed_req_show(struct device *dev, struct device_attribute *attr, char *buf) first_malformed_req_show() argument
188 port_err_attrs_visible(struct kobject *kobj, struct attribute *attr, int n) port_err_attrs_visible() argument

Completed in 34 milliseconds

1...<<51525354555657585960>>...288