/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_util.c | 126 int32_t PthreadCreate(pthread_t *tid, const pthread_attr_t *attr, void *(*entry)(void *), void *arg) in PthreadCreate() argument 128 return pthread_create(tid, attr, entry, arg); in PthreadCreate() 138 int32_t PthreadMutexInit(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr) in PthreadMutexInit() argument 140 return pthread_mutex_init(mutex, attr); in PthreadMutexInit()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | efi.c | 30 u64 attr = md->attribute; in create_mapping_protection() local 54 if ((attr & (EFI_MEMORY_XP | EFI_MEMORY_RO)) == in create_mapping_protection() 59 if (attr & EFI_MEMORY_RO) in create_mapping_protection() 63 if (((attr & (EFI_MEMORY_RP | EFI_MEMORY_WP | EFI_MEMORY_XP)) == in create_mapping_protection()
|
/kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
H A D | 7segled.c | 41 struct device_attribute *attr, in ascii_store() 50 struct device_attribute *attr, in raw_store() 62 struct device_attribute *attr, in map_seg7_show() 70 struct device_attribute *attr, in map_seg7_store() 40 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
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | acpi_lpit.c | 57 struct device_attribute *attr, in low_power_idle_system_residency_us_show() 72 struct device_attribute *attr, in low_power_idle_cpu_residency_us_show() 117 &dev_attr_low_power_idle_system_residency_us.attr, in lpit_update_residency() 125 &dev_attr_low_power_idle_cpu_residency_us.attr, in lpit_update_residency() 56 low_power_idle_system_residency_us_show(struct device *dev, struct device_attribute *attr, char *buf) low_power_idle_system_residency_us_show() argument 71 low_power_idle_cpu_residency_us_show(struct device *dev, struct device_attribute *attr, char *buf) low_power_idle_cpu_residency_us_show() argument
|
H A D | event.c | 97 struct nlattr *attr; in acpi_bus_generate_netlink_event() local 120 attr = in acpi_bus_generate_netlink_event() 123 if (!attr) { in acpi_bus_generate_netlink_event() 128 event = nla_data(attr); in acpi_bus_generate_netlink_event()
|
/kernel/linux/linux-5.10/drivers/acpi/dptf/ |
H A D | dptf_pch_fivr.c | 58 struct device_attribute *attr,\ 74 struct device_attribute *attr,\ 100 &dev_attr_freq_mhz_low_clock.attr, 101 &dev_attr_freq_mhz_high_clock.attr,
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | dpseci.h | 83 struct dpseci_attr *attr); 175 u8 queue, struct dpseci_rx_queue_attr *attr); 188 u8 queue, struct dpseci_tx_queue_attr *attr); 251 struct dpseci_sec_attr *attr);
|
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/ |
H A D | dpcon.c | 159 * @attr: Object's attributes 166 struct dpcon_attr *attr) in dpcon_get_attributes() 184 attr->id = le32_to_cpu(dpcon_rsp->id); in dpcon_get_attributes() 185 attr->qbman_ch_id = le16_to_cpu(dpcon_rsp->qbman_ch_id); in dpcon_get_attributes() 186 attr->num_priorities = dpcon_rsp->num_priorities; in dpcon_get_attributes() 163 dpcon_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpcon_attr *attr) dpcon_get_attributes() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 23 e->attr.disabled = 1; in setup_event() 24 e->attr.exclude_kernel = 1; in setup_event() 25 e->attr.exclude_hv = 1; in setup_event() 26 e->attr.exclude_idle = 1; in setup_event()
|
H A D | count_instructions.c | 23 e->attr.disabled = 1; in setup_event() 24 e->attr.exclude_kernel = 1; in setup_event() 25 e->attr.exclude_hv = 1; in setup_event() 26 e->attr.exclude_idle = 1; in setup_event()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.h | 72 int ocrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 80 int _ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr, 82 int ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr, 90 int ocrdma_create_srq(struct ib_srq *srq, struct ib_srq_init_attr *attr,
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
H A D | ah.c | 119 rdma_copy_ah_attr(&ah->attr, init_attr->ah_attr); in rvt_create_ah() 145 rdma_destroy_ah_attr(&ah->attr); in rvt_destroy_ah() 163 ah->attr = *ah_attr; in rvt_modify_ah() 179 *ah_attr = ah->attr; in rvt_query_ah()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | as370-hwmon.c | 47 u32 attr, int channel, long *temp) in as370_hwmon_read() 52 switch (attr) { in as370_hwmon_read() 66 u32 attr, int channel) in as370_hwmon_is_visible() 71 switch (attr) { in as370_hwmon_is_visible() 46 as370_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *temp) as370_hwmon_read() argument 65 as370_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel) as370_hwmon_is_visible() argument
|
H A D | sparx5-temp.c | 49 u32 attr, int channel, long *temp) in s5_read() 55 switch (attr) { in s5_read() 83 u32 attr, int channel) in s5_is_visible() 88 switch (attr) { in s5_is_visible() 48 s5_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *temp) s5_read() argument 82 s5_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, int channel) s5_is_visible() argument
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | sclp_ocf.c | 97 struct kobj_attribute *attr, char *page) in cpc_name_show() 111 struct kobj_attribute *attr, char *page) in hmc_network_show() 125 &cpc_name_attr.attr, 126 &hmc_network_attr.attr, 96 cpc_name_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) cpc_name_show() argument 110 hmc_network_show(struct kobject *kobj, struct kobj_attribute *attr, char *page) hmc_network_show() argument
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | cs_internal.h | 42 unsigned int attr; member 49 unsigned int attr, 154 int pcmcia_read_cis_mem(struct pcmcia_socket *s, int attr, 156 int pcmcia_write_cis_mem(struct pcmcia_socket *s, int attr,
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-sysfs.c | 11 struct device_attribute *attr, in companion_show() 38 struct device_attribute *attr, in companion_store() 69 struct device_attribute *attr, in uframe_periodic_max_show() 82 struct device_attribute *attr, in uframe_periodic_max_store() 10 companion_show(struct device *dev, struct device_attribute *attr, char *buf) companion_show() argument 37 companion_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) companion_store() argument 68 uframe_periodic_max_show(struct device *dev, struct device_attribute *attr, char *buf) uframe_periodic_max_show() argument 81 uframe_periodic_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) uframe_periodic_max_store() argument
|
/kernel/linux/linux-5.10/include/net/ |
H A D | rtnetlink.h | 111 int attr); 114 int *prividx, int attr); 132 * @validate_link_af: Validate a IFLA_AF_SPEC attribute, must check attr 148 const struct nlattr *attr); 150 const struct nlattr *attr);
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | nlattr.c | 164 struct nlattr *tb[NLMSGERR_ATTR_MAX + 1], *attr; in libbpf_nla_dump_errormsg() local 180 attr = (struct nlattr *) ((void *) err + hlen); in libbpf_nla_dump_errormsg() 181 alen = (void *)nlh + nlh->nlmsg_len - (void *)attr; in libbpf_nla_dump_errormsg() 183 if (libbpf_nla_parse(tb, NLMSGERR_ATTR_MAX, attr, alen, in libbpf_nla_dump_errormsg()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | sw-clock.c | 37 struct perf_event_attr attr = { in __test__sw_clock_freq() local 49 attr.sample_freq = 500; in __test__sw_clock_freq() 57 evsel = evsel__new(&attr); in __test__sw_clock_freq() 83 knob, (u64)attr.sample_freq); in __test__sw_clock_freq()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | intel-m10-bmc.c | 34 struct device_attribute *attr, char *buf) in bmc_version_show() 49 struct device_attribute *attr, char *buf) in bmcfw_version_show() 64 &dev_attr_bmc_version.attr, 65 &dev_attr_bmcfw_version.attr, 33 bmc_version_show(struct device *dev, struct device_attribute *attr, char *buf) bmc_version_show() argument 48 bmcfw_version_show(struct device *dev, struct device_attribute *attr, char *buf) bmcfw_version_show() argument
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | wmi-bmof.c | 30 struct bin_attribute *attr, in read_bmof() 34 container_of(attr, struct bmof_priv, bmof_bin_attr); in read_bmof() 73 priv->bmof_bin_attr.attr.name = "bmof"; in wmi_bmof_probe() 74 priv->bmof_bin_attr.attr.mode = 0400; in wmi_bmof_probe() 29 read_bmof(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) read_bmof() argument
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ep93xx.c | 91 struct device_attribute *attr, char *buf) in comp_preload_show() 102 struct device_attribute *attr, char *buf) in comp_delete_show() 113 &dev_attr_comp_preload.attr, 114 &dev_attr_comp_delete.attr, 90 comp_preload_show(struct device *dev, struct device_attribute *attr, char *buf) comp_preload_show() argument 101 comp_delete_show(struct device *dev, struct device_attribute *attr, char *buf) comp_delete_show() argument
|
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | xilinx_tmr_manager.c | 83 static ssize_t errcnt_show(struct device *dev, struct device_attribute *attr, in errcnt_show() argument 93 struct device_attribute *attr, in dis_block_break_store() 113 &dev_attr_dis_block_break.attr, 114 &dev_attr_errcnt.attr, 92 dis_block_break_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) dis_block_break_store() argument
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | event.c | 99 struct nlattr *attr; in acpi_bus_generate_netlink_event() local 122 attr = in acpi_bus_generate_netlink_event() 125 if (!attr) { in acpi_bus_generate_netlink_event() 130 event = nla_data(attr); in acpi_bus_generate_netlink_event()
|