Home
last modified time | relevance | path

Searched refs:attr (Results 2351 - 2375 of 6288) sorted by relevance

1...<<919293949596979899100>>...252

/kernel/linux/linux-6.6/drivers/iio/temperature/
H A Dmax31856.c329 struct device_attribute *attr, in show_fault_ovuv()
336 struct device_attribute *attr, in show_fault_oc()
343 struct device_attribute *attr, in show_filter()
353 struct device_attribute *attr, in set_filter()
387 &iio_dev_attr_fault_ovuv.dev_attr.attr,
388 &iio_dev_attr_fault_oc.dev_attr.attr,
389 &iio_dev_attr_in_temp_filter_notch_center_frequency.dev_attr.attr,
328 show_fault_ovuv(struct device *dev, struct device_attribute *attr, char *buf) show_fault_ovuv() argument
335 show_fault_oc(struct device *dev, struct device_attribute *attr, char *buf) show_fault_oc() argument
342 show_filter(struct device *dev, struct device_attribute *attr, char *buf) show_filter() argument
352 set_filter(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) set_filter() argument
/kernel/linux/linux-6.6/drivers/pci/
H A Dslot.c19 struct attribute *attr, char *buf) in pci_slot_attr_show()
22 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_show()
27 struct attribute *attr, const char *buf, size_t len) in pci_slot_attr_store()
30 struct pci_slot_attribute *attribute = to_pci_slot_attr(attr); in pci_slot_attr_store()
94 &pci_slot_attr_address.attr,
95 &pci_slot_attr_max_speed.attr,
96 &pci_slot_attr_cur_speed.attr,
18 pci_slot_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) pci_slot_attr_show() argument
26 pci_slot_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t len) pci_slot_attr_store() argument
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dlochnagar-hwmon.c237 u32 attr, int chan) in lochnagar_is_visible()
245 if (attr == hwmon_power_average_interval) in lochnagar_is_visible()
256 u32 attr, int chan, long *val) in lochnagar_read()
269 switch (attr) { in lochnagar_read()
285 enum hwmon_sensor_types type, u32 attr, in lochnagar_read_string()
300 u32 attr, int chan, long val) in lochnagar_write()
304 if (type != hwmon_power || attr != hwmon_power_average_interval) in lochnagar_write()
235 lochnagar_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr, int chan) lochnagar_is_visible() argument
255 lochnagar_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int chan, long *val) lochnagar_read() argument
284 lochnagar_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int chan, const char **str) lochnagar_read_string() argument
299 lochnagar_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int chan, long val) lochnagar_write() argument
/kernel/linux/linux-6.6/drivers/iio/chemical/
H A Dsps30.c190 struct device_attribute *attr, in start_cleaning_store()
210 struct device_attribute *attr, in cleaning_period_show()
227 static ssize_t cleaning_period_store(struct device *dev, struct device_attribute *attr, in cleaning_period_store() argument
265 struct device_attribute *attr, in cleaning_period_available_show()
278 &iio_dev_attr_start_cleaning.dev_attr.attr,
279 &iio_dev_attr_cleaning_period.dev_attr.attr,
280 &iio_dev_attr_cleaning_period_available.dev_attr.attr,
189 start_cleaning_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) start_cleaning_store() argument
209 cleaning_period_show(struct device *dev, struct device_attribute *attr, char *buf) cleaning_period_show() argument
264 cleaning_period_available_show(struct device *dev, struct device_attribute *attr, char *buf) cleaning_period_available_show() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_srq.c127 if (init_attr->attr.max_wr > dev->dsr->caps.max_srq_wr || in pvrdma_create_srq()
128 init_attr->attr.max_sge > dev->dsr->caps.max_srq_sge) { in pvrdma_create_srq()
178 cmd->attrs.max_wr = init_attr->attr.max_wr; in pvrdma_create_srq()
179 cmd->attrs.max_sge = init_attr->attr.max_sge; in pvrdma_create_srq()
180 cmd->attrs.srq_limit = init_attr->attr.srq_limit; in pvrdma_create_srq()
268 * @attr: the shared receive queue's new attributes
274 int pvrdma_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, in pvrdma_modify_srq() argument
290 cmd->attrs.srq_limit = attr->srq_limit; in pvrdma_modify_srq()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dbpf_off_cpu.c42 struct perf_event_attr attr = { in off_cpu_config() local
45 .size = sizeof(attr), /* to capture ABI version */ in off_cpu_config()
52 evsel = evsel__new(&attr); in off_cpu_config()
58 evsel->core.attr.freq = 1; in off_cpu_config()
59 evsel->core.attr.sample_period = 1; in off_cpu_config()
61 evsel->core.attr.sample_type = PERF_SAMPLE_CALLCHAIN; in off_cpu_config()
316 sample_type = evsel->core.attr.sample_type; in off_cpu_write()
/kernel/linux/linux-6.6/net/netlink/
H A Dpolicy.c117 * @maxtype: the new policy's max attr type
258 struct nlattr *attr; in __netlink_policy_dump_write_attr() local
260 attr = nla_nest_start(skb, nestattr); in __netlink_policy_dump_write_attr()
261 if (!attr) in __netlink_policy_dump_write_attr()
269 nla_nest_cancel(skb, attr); in __netlink_policy_dump_write_attr()
388 nla_nest_end(skb, attr); in __netlink_policy_dump_write_attr()
389 WARN_ON(attr->nla_len > estimate); in __netlink_policy_dump_write_attr()
393 nla_nest_cancel(skb, attr); in __netlink_policy_dump_write_attr()
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Duffd-stress.c50 pthread_attr_t attr; variable
188 if (pthread_create(&locking_threads[cpu], &attr, in stress()
192 if (pthread_create(&uffd_threads[cpu], &attr, uffd_poll_thread, &args[cpu])) in stress()
195 if (pthread_create(&uffd_threads[cpu], &attr, in stress()
201 if (pthread_create(&background_threads[cpu], &attr, in stress()
263 pthread_attr_init(&attr); in userfaultfd_stress()
264 pthread_attr_setstacksize(&attr, 16*1024*1024); in userfaultfd_stress()
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H A Dnf-queue.c36 static int parse_attr_cb(const struct nlattr *attr, void *data) in parse_attr_cb() argument
39 int type = mnl_attr_get_type(attr); in parse_attr_cb()
42 if (mnl_attr_type_valid(attr, NFQA_MAX) < 0) in parse_attr_cb()
51 if (mnl_attr_validate(attr, MNL_TYPE_U32) < 0) { in parse_attr_cb()
57 if (mnl_attr_validate2(attr, MNL_TYPE_UNSPEC, in parse_attr_cb()
64 if (mnl_attr_validate2(attr, MNL_TYPE_UNSPEC, in parse_attr_cb()
73 tb[type] = attr; in parse_attr_cb()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.c333 e->attr.config |= (1ull << 63); in event_ebb_init()
338 e->attr.config |= (1ull << 62) | ((u64)ifm << 60); in event_bhrb_init()
345 e->attr.exclusive = 1; in event_leader_ebb_init()
346 e->attr.pinned = 1; in event_leader_ebb_init()
359 event.attr.exclude_kernel = 1; in ebb_child()
360 event.attr.exclude_hv = 1; in ebb_child()
361 event.attr.exclude_idle = 1; in ebb_child()
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dscm.c88 struct device_attribute *attr, char *buf) \
109 &dev_attr_persistence.attr,
110 &dev_attr_oper_state.attr,
111 &dev_attr_data_state.attr,
112 &dev_attr_rank.attr,
113 &dev_attr_release.attr,
114 &dev_attr_res_id.attr,
/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-device.c243 struct device_attribute attr; member
250 struct config_rom_attribute *attr = in show_immediate() local
251 container_of(dattr, struct config_rom_attribute, attr); in show_immediate()
265 if (attr->key == key) { in show_immediate()
282 struct config_rom_attribute *attr = in show_text_leaf() local
283 container_of(dattr, struct config_rom_attribute, attr); in show_text_leaf()
303 ret = fw_csr_string(dir, attr->key, buf, bufsize); in show_text_leaf()
336 struct device_attribute *attr; in init_fw_attribute_group() local
339 for (j = 0; attrs[j].attr.name != NULL; j++) in init_fw_attribute_group()
340 group->attrs[j] = &attrs[j].attr; in init_fw_attribute_group()
356 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) modalias_show() argument
368 rom_index_show(struct device *dev, struct device_attribute *attr, char *buf) rom_index_show() argument
384 config_rom_show(struct device *dev, struct device_attribute *attr, char *buf) config_rom_show() argument
398 guid_show(struct device *dev, struct device_attribute *attr, char *buf) guid_show() argument
412 is_local_show(struct device *dev, struct device_attribute *attr, char *buf) is_local_show() argument
442 units_show(struct device *dev, struct device_attribute *attr, char *buf) units_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Delan_i2c_core.c532 struct device_attribute *attr, in elan_sysfs_read_fw_checksum()
542 struct device_attribute *attr, in elan_sysfs_read_product_id()
553 struct device_attribute *attr, in elan_sysfs_read_fw_ver()
563 struct device_attribute *attr, in elan_sysfs_read_sm_ver()
573 struct device_attribute *attr, in elan_sysfs_read_iap_ver()
583 struct device_attribute *attr, in elan_sysfs_update_fw()
635 struct device_attribute *attr, in calibrate_store()
701 struct device_attribute *attr, in elan_sysfs_read_mode()
734 &dev_attr_product_id.attr,
735 &dev_attr_firmware_version.attr,
531 elan_sysfs_read_fw_checksum(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_fw_checksum() argument
541 elan_sysfs_read_product_id(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_product_id() argument
552 elan_sysfs_read_fw_ver(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_fw_ver() argument
562 elan_sysfs_read_sm_ver(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_sm_ver() argument
572 elan_sysfs_read_iap_ver(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_iap_ver() argument
582 elan_sysfs_update_fw(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) elan_sysfs_update_fw() argument
634 calibrate_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) calibrate_store() argument
700 elan_sysfs_read_mode(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_mode() argument
749 acquire_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) acquire_store() argument
808 min_show(struct device *dev, struct device_attribute *attr, char *buf) min_show() argument
831 max_show(struct device *dev, struct device_attribute *attr, char *buf) max_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dxdomain.c681 static ssize_t key_show(struct device *dev, struct device_attribute *attr, in key_show() argument
700 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument
711 static ssize_t prtcid_show(struct device *dev, struct device_attribute *attr, in prtcid_show() argument
720 static ssize_t prtcvers_show(struct device *dev, struct device_attribute *attr, in prtcvers_show() argument
729 static ssize_t prtcrevs_show(struct device *dev, struct device_attribute *attr, in prtcrevs_show() argument
738 static ssize_t prtcstns_show(struct device *dev, struct device_attribute *attr, in prtcstns_show() argument
748 &dev_attr_key.attr,
749 &dev_attr_modalias.attr,
750 &dev_attr_prtcid.attr,
751 &dev_attr_prtcvers.attr,
1108 device_show(struct device *dev, struct device_attribute *attr, char *buf) device_show() argument
1118 device_name_show(struct device *dev, struct device_attribute *attr, char *buf) device_name_show() argument
1132 vendor_show(struct device *dev, struct device_attribute *attr, char *buf) vendor_show() argument
1142 vendor_name_show(struct device *dev, struct device_attribute *attr, char *buf) vendor_name_show() argument
1156 unique_id_show(struct device *dev, struct device_attribute *attr, char *buf) unique_id_show() argument
[all...]
/kernel/linux/linux-5.10/drivers/greybus/
H A Dsvc.c25 struct device_attribute *attr, char *buf) in endo_id_show()
34 struct device_attribute *attr, char *buf) in ap_intf_id_show()
48 struct device_attribute *attr, const char *buf, in intf_eject_store()
69 static ssize_t watchdog_show(struct device *dev, struct device_attribute *attr, in watchdog_show() argument
79 struct device_attribute *attr, const char *buf, in watchdog_store()
101 struct device_attribute *attr, char *buf) in watchdog_action_show()
114 struct device_attribute *attr, in watchdog_action_store()
248 &dev_attr_endo_id.attr,
249 &dev_attr_ap_intf_id.attr,
250 &dev_attr_intf_eject.attr,
24 endo_id_show(struct device *dev, struct device_attribute *attr, char *buf) endo_id_show() argument
33 ap_intf_id_show(struct device *dev, struct device_attribute *attr, char *buf) ap_intf_id_show() argument
47 intf_eject_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) intf_eject_store() argument
78 watchdog_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) watchdog_store() argument
100 watchdog_action_show(struct device *dev, struct device_attribute *attr, char *buf) watchdog_action_show() argument
113 watchdog_action_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) watchdog_action_store() argument
414 gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector, u32 *value) gb_svc_dme_peer_get() argument
448 gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector, u32 value) gb_svc_dme_peer_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dsamsung-laptop.c646 struct device_attribute *attr, char *buf) in get_performance_level()
670 struct device_attribute *attr, const char *buf, in set_performance_level()
737 struct device_attribute *attr, in get_battery_life_extender()
751 struct device_attribute *attr, in set_battery_life_extender()
806 struct device_attribute *attr, in get_usb_charge()
820 struct device_attribute *attr, in set_usb_charge()
871 struct device_attribute *attr, in get_lid_handling()
885 struct device_attribute *attr, in set_lid_handling()
905 &dev_attr_performance_level.attr,
906 &dev_attr_battery_life_extender.attr,
645 get_performance_level(struct device *dev, struct device_attribute *attr, char *buf) get_performance_level() argument
669 set_performance_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_performance_level() argument
736 get_battery_life_extender(struct device *dev, struct device_attribute *attr, char *buf) get_battery_life_extender() argument
750 set_battery_life_extender(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_battery_life_extender() argument
805 get_usb_charge(struct device *dev, struct device_attribute *attr, char *buf) get_usb_charge() argument
819 set_usb_charge(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_usb_charge() argument
870 get_lid_handling(struct device *dev, struct device_attribute *attr, char *buf) get_lid_handling() argument
884 set_lid_handling(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_lid_handling() argument
1198 samsung_sysfs_is_visible(struct kobject *kobj, struct attribute *attr, int idx) samsung_sysfs_is_visible() argument
[all...]
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-device.c243 struct device_attribute attr; member
250 struct config_rom_attribute *attr = in show_immediate() local
251 container_of(dattr, struct config_rom_attribute, attr); in show_immediate()
265 if (attr->key == key) { in show_immediate()
282 struct config_rom_attribute *attr = in show_text_leaf() local
283 container_of(dattr, struct config_rom_attribute, attr); in show_text_leaf()
303 ret = fw_csr_string(dir, attr->key, buf, bufsize); in show_text_leaf()
336 struct device_attribute *attr; in init_fw_attribute_group() local
339 for (j = 0; attrs[j].attr.name != NULL; j++) in init_fw_attribute_group()
340 group->attrs[j] = &attrs[j].attr; in init_fw_attribute_group()
356 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) modalias_show() argument
368 rom_index_show(struct device *dev, struct device_attribute *attr, char *buf) rom_index_show() argument
383 config_rom_show(struct device *dev, struct device_attribute *attr, char *buf) config_rom_show() argument
397 guid_show(struct device *dev, struct device_attribute *attr, char *buf) guid_show() argument
410 is_local_show(struct device *dev, struct device_attribute *attr, char *buf) is_local_show() argument
440 units_show(struct device *dev, struct device_attribute *attr, char *buf) units_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/greybus/
H A Dsvc.c26 struct device_attribute *attr, char *buf) in endo_id_show()
35 struct device_attribute *attr, char *buf) in ap_intf_id_show()
49 struct device_attribute *attr, const char *buf, in intf_eject_store()
70 static ssize_t watchdog_show(struct device *dev, struct device_attribute *attr, in watchdog_show() argument
80 struct device_attribute *attr, const char *buf, in watchdog_store()
102 struct device_attribute *attr, char *buf) in watchdog_action_show()
115 struct device_attribute *attr, in watchdog_action_store()
249 &dev_attr_endo_id.attr,
250 &dev_attr_ap_intf_id.attr,
251 &dev_attr_intf_eject.attr,
25 endo_id_show(struct device *dev, struct device_attribute *attr, char *buf) endo_id_show() argument
34 ap_intf_id_show(struct device *dev, struct device_attribute *attr, char *buf) ap_intf_id_show() argument
48 intf_eject_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) intf_eject_store() argument
79 watchdog_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) watchdog_store() argument
101 watchdog_action_show(struct device *dev, struct device_attribute *attr, char *buf) watchdog_action_show() argument
114 watchdog_action_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) watchdog_action_store() argument
415 gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector, u32 *value) gb_svc_dme_peer_get() argument
449 gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector, u32 value) gb_svc_dme_peer_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Delan_i2c_core.c569 struct device_attribute *attr, in elan_sysfs_read_fw_checksum()
579 struct device_attribute *attr, in elan_sysfs_read_product_id()
590 struct device_attribute *attr, in elan_sysfs_read_fw_ver()
600 struct device_attribute *attr, in elan_sysfs_read_sm_ver()
610 struct device_attribute *attr, in elan_sysfs_read_iap_ver()
620 struct device_attribute *attr, in elan_sysfs_update_fw()
672 struct device_attribute *attr, in calibrate_store()
738 struct device_attribute *attr, in elan_sysfs_read_mode()
771 &dev_attr_product_id.attr,
772 &dev_attr_firmware_version.attr,
568 elan_sysfs_read_fw_checksum(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_fw_checksum() argument
578 elan_sysfs_read_product_id(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_product_id() argument
589 elan_sysfs_read_fw_ver(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_fw_ver() argument
599 elan_sysfs_read_sm_ver(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_sm_ver() argument
609 elan_sysfs_read_iap_ver(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_iap_ver() argument
619 elan_sysfs_update_fw(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) elan_sysfs_update_fw() argument
671 calibrate_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) calibrate_store() argument
737 elan_sysfs_read_mode(struct device *dev, struct device_attribute *attr, char *buf) elan_sysfs_read_mode() argument
786 acquire_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) acquire_store() argument
845 min_show(struct device *dev, struct device_attribute *attr, char *buf) min_show() argument
868 max_show(struct device *dev, struct device_attribute *attr, char *buf) max_show() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dperf_cpum_sf.c783 struct perf_event_attr *attr = &event->attr; in __hw_perf_event_init_rate() local
787 if (attr->freq) { in __hw_perf_event_init_rate()
788 if (!attr->sample_freq) in __hw_perf_event_init_rate()
790 rate = getrate(attr->freq, attr->sample_freq, si); in __hw_perf_event_init_rate()
791 attr->freq = 0; /* Don't call perf_adjust_period() */ in __hw_perf_event_init_rate()
794 rate = getrate(attr->freq, attr->sample_period, si); in __hw_perf_event_init_rate()
798 attr in __hw_perf_event_init_rate()
811 struct perf_event_attr *attr = &event->attr; __hw_perf_event_init() local
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Ddeadline.c2661 const struct sched_attr *attr) in sched_dl_overflow()
2663 u64 period = attr->sched_period ?: attr->sched_deadline; in sched_dl_overflow()
2664 u64 runtime = attr->sched_runtime; in sched_dl_overflow()
2670 if (attr->sched_flags & SCHED_FLAG_SUGOV) in sched_dl_overflow()
2726 void __setparam_dl(struct task_struct *p, const struct sched_attr *attr) in __setparam_dl() argument
2730 dl_se->dl_runtime = attr->sched_runtime; in __setparam_dl()
2731 dl_se->dl_deadline = attr->sched_deadline; in __setparam_dl()
2732 dl_se->dl_period = attr->sched_period ?: dl_se->dl_deadline; in __setparam_dl()
2733 dl_se->flags = attr in __setparam_dl()
2660 sched_dl_overflow(struct task_struct *p, int policy, const struct sched_attr *attr) sched_dl_overflow() argument
2738 __getparam_dl(struct task_struct *p, struct sched_attr *attr) __getparam_dl() argument
2768 __checkparam_dl(const struct sched_attr *attr) __checkparam_dl() argument
2837 dl_param_changed(struct task_struct *p, const struct sched_attr *attr) dl_param_changed() argument
[all...]
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dport.c47 static ssize_t devtype_show(struct device *dev, struct device_attribute *attr, in devtype_show() argument
78 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() argument
86 &dev_attr_devtype.attr,
87 &dev_attr_modalias.attr,
95 static ssize_t start_show(struct device *dev, struct device_attribute *attr, in start_show() argument
104 static ssize_t size_show(struct device *dev, struct device_attribute *attr, in size_show() argument
115 struct device_attribute *attr, char *buf) \
131 struct device_attribute *attr, char *buf) in target_type_show()
171 struct device_attribute *attr, char *buf) in target_list_show()
191 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show() argument
130 target_type_show(struct device *dev, struct device_attribute *attr, char *buf) target_type_show() argument
170 target_list_show(struct device *dev, struct device_attribute *attr, char *buf) target_list_show() argument
199 mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) mode_store() argument
221 dpa_resource_show(struct device *dev, struct device_attribute *attr, char *buf) dpa_resource_show() argument
231 dpa_size_show(struct device *dev, struct device_attribute *attr, char *buf) dpa_size_show() argument
240 dpa_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) dpa_size_store() argument
269 interleave_granularity_show(struct device *dev, struct device_attribute *attr, char *buf) interleave_granularity_show() argument
280 interleave_ways_show(struct device *dev, struct device_attribute *attr, char *buf) interleave_ways_show() argument
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Ddeadline.c2857 const struct sched_attr *attr) in sched_dl_overflow()
2859 u64 period = attr->sched_period ?: attr->sched_deadline; in sched_dl_overflow()
2860 u64 runtime = attr->sched_runtime; in sched_dl_overflow()
2866 if (attr->sched_flags & SCHED_FLAG_SUGOV) in sched_dl_overflow()
2922 void __setparam_dl(struct task_struct *p, const struct sched_attr *attr) in __setparam_dl() argument
2926 dl_se->dl_runtime = attr->sched_runtime; in __setparam_dl()
2927 dl_se->dl_deadline = attr->sched_deadline; in __setparam_dl()
2928 dl_se->dl_period = attr->sched_period ?: dl_se->dl_deadline; in __setparam_dl()
2929 dl_se->flags = attr in __setparam_dl()
2856 sched_dl_overflow(struct task_struct *p, int policy, const struct sched_attr *attr) sched_dl_overflow() argument
2934 __getparam_dl(struct task_struct *p, struct sched_attr *attr) __getparam_dl() argument
2956 __checkparam_dl(const struct sched_attr *attr) __checkparam_dl() argument
3025 dl_param_changed(struct task_struct *p, const struct sched_attr *attr) dl_param_changed() argument
[all...]
/kernel/linux/linux-5.10/net/core/
H A Drtnetlink.c1204 struct nlattr *attr; in rtnl_fill_stats() local
1206 attr = nla_reserve_64bit(skb, IFLA_STATS64, in rtnl_fill_stats()
1208 if (!attr) in rtnl_fill_stats()
1211 sp = nla_data(attr); in rtnl_fill_stats()
1214 attr = nla_reserve(skb, IFLA_STATS, in rtnl_fill_stats()
1216 if (!attr) in rtnl_fill_stats()
1219 copy_rtnl_link_stats(nla_data(attr), sp); in rtnl_fill_stats()
1444 u32 *prog_id, u8 *mode, u8 tgt_mode, u32 attr, in rtnl_xdp_report_one()
1455 err = nla_put_u32(skb, attr, curr_id); in rtnl_xdp_report_one()
2373 struct nlattr *attr; in do_setvfinfo() local
1443 rtnl_xdp_report_one(struct sk_buff *skb, struct net_device *dev, u32 *prog_id, u8 *mode, u8 tgt_mode, u32 attr, u32 (*get_prog_id)(struct net_device *dev)) rtnl_xdp_report_one() argument
2801 struct nlattr *attr; do_setlink() local
2826 struct nlattr *attr; do_setlink() local
3257 __rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, struct nlattr **attr, struct netlink_ext_ack *extack) __rtnl_newlink() argument
3520 struct nlattr **attr; rtnl_newlink() local
3647 rtnl_alt_ifname(int cmd, struct net_device *dev, struct nlattr *attr, bool *changed, struct netlink_ext_ack *extack) rtnl_alt_ifname() argument
3697 struct nlattr *attr; rtnl_linkprop() local
4906 struct nlattr *br_spec, *attr, *br_flags_attr = NULL; rtnl_bridge_setlink() local
4986 struct nlattr *br_spec, *attr = NULL; rtnl_bridge_dellink() local
5076 struct nlattr *attr = NULL; rtnl_get_offload_stats() local
5154 struct nlattr *attr; rtnl_fill_statsinfo() local
5307 int attr = IFLA_STATS_LINK_XSTATS; if_nlmsg_stats_size() local
5327 int attr = IFLA_STATS_LINK_XSTATS_SLAVE; if_nlmsg_stats_size() local
[all...]
/kernel/linux/linux-5.10/drivers/firmware/
H A Dedd.c55 struct attribute attr; member
68 .attr = {.name = __stringify(_name), .mode = _mode }, \
101 #define to_edd_attr(_attr) container_of(_attr,struct edd_attribute,attr)
105 edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf) in edd_attr_show() argument
108 struct edd_attribute *edd_attr = to_edd_attr(attr); in edd_attr_show()
692 struct edd_attribute * attr; in edd_populate_dir() local
696 for (i = 0; (attr = edd_attrs[i]) && !error; i++) { in edd_populate_dir()
697 if (!attr->test || in edd_populate_dir()
698 (attr->test && attr in edd_populate_dir()
[all...]

Completed in 37 milliseconds

1...<<919293949596979899100>>...252