/linux/tools/lib/bpf/ |
H A D | bpf.c | 72 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf() argument 75 return syscall(__NR_bpf, cmd, attr, size); in sys_bpf() 78 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd() argument 83 fd = sys_bpf(cmd, attr, size); in sys_bpf_fd() 87 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts) in sys_bpf_prog_load() argument 92 fd = sys_bpf_fd(BPF_PROG_LOAD, attr, size); in sys_bpf_prog_load() 114 union bpf_attr attr; in probe_memcg_account() local 118 memset(&attr, 0, attr_sz); in probe_memcg_account() 119 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in probe_memcg_account() 120 attr.insns = ptr_to_u64(insns); in probe_memcg_account() [all …]
|
H A D | skel_internal.h | 69 long kern_sys_bpf(__u32 cmd, void *attr, __u32 attr_size); 71 static inline int skel_sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in skel_sys_bpf() argument 75 return kern_sys_bpf(cmd, attr, size); in skel_sys_bpf() 77 return syscall(__NR_bpf, cmd, attr, size); in skel_sys_bpf() 226 union bpf_attr attr; in skel_map_create() local 228 memset(&attr, 0, attr_sz); in skel_map_create() 230 attr.map_type = map_type; in skel_map_create() 231 strncpy(attr.map_name, map_name, sizeof(attr.map_name)); in skel_map_create() 232 attr.key_size = key_size; in skel_map_create() 233 attr.value_size = value_size; in skel_map_create() [all …]
|
/linux/drivers/infiniband/core/ |
H A D | sysfs.c | 50 struct ib_port_attribute attr; member 77 struct device_attribute attr; member 86 struct ib_port_attribute attr; member 106 struct attribute *attr, char *buf) in port_attr_show() argument 109 container_of(attr, struct ib_port_attribute, attr); in port_attr_show() 119 struct attribute *attr, in port_attr_store() argument 123 container_of(attr, struct ib_port_attribute, attr); in port_attr_store() 147 struct device_attribute *attr, char *buf) in hw_stat_device_show() argument 150 container_of(attr, struct hw_stats_device_attribute, attr); in hw_stat_device_show() 158 struct device_attribute *attr, in hw_stat_device_store() argument [all …]
|
/linux/tools/arch/x86/include/asm/ |
H A D | inat.h | 115 static inline int inat_is_legacy_prefix(insn_attr_t attr) 117 attr &= INAT_PFX_MASK; in inat_is_address_size_prefix() 118 return attr && attr <= INAT_LGCPFX_MAX; in inat_is_address_size_prefix() 121 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix() argument 123 return (attr & INAT_PFX_MASK) == INAT_PFX_ADDRSZ; in inat_is_operand_size_prefix() 126 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_rex_prefix() argument 128 return (attr & INAT_PFX_MASK) == INAT_PFX_OPNDSZ; in inat_is_rex_prefix() 131 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_last_prefix_id() argument 133 return (attr in inat_last_prefix_id() 110 inat_is_legacy_prefix(insn_attr_t attr) inat_is_legacy_prefix() argument 116 inat_is_address_size_prefix(insn_attr_t attr) inat_is_address_size_prefix() argument 139 inat_is_vex_prefix(insn_attr_t attr) inat_is_vex_prefix() argument 146 inat_is_evex_prefix(insn_attr_t attr) inat_is_evex_prefix() argument 151 inat_is_vex3_prefix(insn_attr_t attr) inat_is_vex3_prefix() argument 156 inat_is_escape(insn_attr_t attr) inat_is_escape() argument 161 inat_escape_id(insn_attr_t attr) inat_escape_id() argument 166 inat_is_group(insn_attr_t attr) inat_is_group() argument 171 inat_group_id(insn_attr_t attr) inat_group_id() argument 176 inat_group_common_attribute(insn_attr_t attr) inat_group_common_attribute() argument 181 inat_has_immediate(insn_attr_t attr) inat_has_immediate() argument 186 inat_immediate_size(insn_attr_t attr) inat_immediate_size() argument 191 inat_has_modrm(insn_attr_t attr) inat_has_modrm() argument 196 inat_is_force64(insn_attr_t attr) inat_is_force64() argument 201 inat_has_second_immediate(insn_attr_t attr) inat_has_second_immediate() argument 206 inat_has_moffset(insn_attr_t attr) inat_has_moffset() argument 211 inat_has_variant(insn_attr_t attr) inat_has_variant() argument 216 inat_accept_vex(insn_attr_t attr) inat_accept_vex() argument 221 inat_must_vex(insn_attr_t attr) inat_must_vex() argument 226 inat_must_evex(insn_attr_t attr) inat_must_evex() argument [all...] |
/linux/fs/orangefs/ |
H A D | orangefs-sysfs.c | 166 struct attribute attr; member 168 struct orangefs_attribute *attr, 171 struct orangefs_attribute *attr, 177 struct attribute *attr, in orangefs_attr_show() argument 182 attribute = container_of(attr, struct orangefs_attribute, attr); in orangefs_attr_show() 189 struct attribute *attr, in orangefs_attr_store() argument 199 attribute = container_of(attr, struct orangefs_attribute, attr); in orangefs_attr_store() 211 struct orangefs_attribute *attr, char *buf) in sysfs_int_show() argument 219 if (!strcmp(attr->attr.name, "op_timeout_secs")) { in sysfs_int_show() 225 } else if (!strcmp(attr->attr.name, in sysfs_int_show() [all …]
|
/linux/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 24 struct attribute attr; member 33 struct attribute *attr, char *buf) in iscsi_boot_show_attribute() argument 38 container_of(attr, struct iscsi_boot_attr, attr); in iscsi_boot_show_attribute() 71 .attr = { .name = __stringify(sysfs_name), .mode = 0444 }, \ 92 &iscsi_boot_attr_tgt_index.attr, 93 &iscsi_boot_attr_tgt_flags.attr, 94 &iscsi_boot_attr_tgt_ip.attr, 95 &iscsi_boot_attr_tgt_port.attr, 96 &iscsi_boot_attr_tgt_lun.attr, 97 &iscsi_boot_attr_tgt_chap.attr, [all …]
|
H A D | scsi_transport_iscsi.c | 127 show_transport_handle(struct device *dev, struct device_attribute *attr, in show_transport_handle() argument 142 struct device_attribute *attr,char *buf) \ 152 &dev_attr_handle.attr, 153 &dev_attr_caps.attr, 188 show_ep_handle(struct device *dev, struct device_attribute *attr, char *buf) in show_ep_handle() argument 196 &dev_attr_ep_handle.attr, 321 show_##type##_##name(struct device *dev, struct device_attribute *attr, \ 442 struct attribute *attr, int i) in iscsi_iface_attr_is_visible() argument 449 if (attr == &dev_attr_iface_def_taskmgmt_tmo.attr) in iscsi_iface_attr_is_visible() 451 else if (attr == &dev_attr_iface_header_digest.attr) in iscsi_iface_attr_is_visible() [all …]
|
/linux/drivers/memory/ |
H A D | dfl-emif.c | 52 struct device_attribute attr; member 58 container_of(dev_attr, struct emif_attr, attr) 61 struct device_attribute *attr, char *buf) in emif_state_show() argument 63 struct emif_attr *eattr = to_emif_attr(attr); in emif_state_show() 74 struct device_attribute *attr, in emif_clear_store() argument 77 struct emif_attr *eattr = to_emif_attr(attr); in emif_clear_store() 108 { .attr = __ATTR(inf##_index##_##_name, 0444, \ 114 { .attr = __ATTR(inf##_index##_clear, 0200, \ 148 &emif_attr_inf0_init_done.attr.attr, 149 &emif_attr_inf0_cal_fail.attr.attr, [all …]
|
/linux/drivers/ufs/core/ |
H A D | ufs-sysfs.c | 85 struct device_attribute *attr, in ufs_sysfs_pm_lvl_store() argument 114 struct device_attribute *attr, char *buf) in rpm_lvl_show() argument 122 struct device_attribute *attr, const char *buf, size_t count) in rpm_lvl_store() argument 124 return ufs_sysfs_pm_lvl_store(dev, attr, buf, count, true); in rpm_lvl_store() 128 struct device_attribute *attr, char *buf) in rpm_target_dev_state_show() argument 137 struct device_attribute *attr, char *buf) in rpm_target_link_state_show() argument 146 struct device_attribute *attr, char *buf) in spm_lvl_show() argument 154 struct device_attribute *attr, const char *buf, size_t count) in spm_lvl_store() argument 156 return ufs_sysfs_pm_lvl_store(dev, attr, buf, count, false); in spm_lvl_store() 160 struct device_attribute *attr, char *buf) in spm_target_dev_state_show() argument [all …]
|
/linux/tools/net/ynl/lib/ |
H A D | ynl-priv.h | 102 int ynl_attr_validate(struct ynl_parse_arg *yarg, const struct nlattr *attr); 182 static inline unsigned int ynl_attr_type(const struct nlattr *attr) in ynl_attr_type() argument 184 return attr->nla_type & NLA_TYPE_MASK; in ynl_attr_type() 187 static inline unsigned int ynl_attr_data_len(const struct nlattr *attr) in ynl_attr_data_len() argument 189 return attr->nla_len - NLA_HDRLEN; in ynl_attr_data_len() 192 static inline void *ynl_attr_data(const struct nlattr *attr) in ynl_attr_data() argument 194 return (unsigned char *)attr + NLA_HDRLEN; in ynl_attr_data() 197 static inline void *ynl_attr_data_end(const struct nlattr *attr) in ynl_attr_data_end() argument 199 return (char *)ynl_attr_data(attr) + ynl_attr_data_len(attr); in ynl_attr_data_end() 202 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument [all …]
|
/linux/kernel/ |
H A D | fail_function.c | 58 struct fei_attr *attr; in fei_attr_new() local 60 attr = kzalloc(sizeof(*attr), GFP_KERNEL); in fei_attr_new() 61 if (attr) { in fei_attr_new() 62 attr->kp.symbol_name = kstrdup(sym, GFP_KERNEL); in fei_attr_new() 63 if (!attr->kp.symbol_name) { in fei_attr_new() 64 kfree(attr); in fei_attr_new() 67 attr->kp.pre_handler = fei_kprobe_handler; in fei_attr_new() 68 attr->kp.post_handler = fei_post_handler; in fei_attr_new() 69 attr->retval = adjust_error_retval(addr, 0); in fei_attr_new() 70 INIT_LIST_HEAD(&attr->list); in fei_attr_new() [all …]
|
/linux/drivers/base/ |
H A D | soc.c | 22 static ssize_t soc_info_show(struct device *dev, struct device_attribute *attr, 27 struct soc_device_attribute *attr; member 48 struct attribute *attr, in soc_attribute_mode() argument 54 if ((attr == &dev_attr_machine.attr) && soc_dev->attr->machine) in soc_attribute_mode() 55 return attr->mode; in soc_attribute_mode() 56 if ((attr == &dev_attr_family.attr) && soc_dev->attr->family) in soc_attribute_mode() 57 return attr->mode; in soc_attribute_mode() 58 if ((attr == &dev_attr_revision.attr) && soc_dev->attr->revision) in soc_attribute_mode() 59 return attr->mode; in soc_attribute_mode() 60 if ((attr == &dev_attr_serial_number.attr) && soc_dev->attr->serial_number) in soc_attribute_mode() [all …]
|
/linux/drivers/hwmon/ |
H A D | nct7802.c | 83 struct device_attribute *attr, char *buf) in temp_type_show() argument 86 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in temp_type_show() 98 struct device_attribute *attr, const char *buf, in temp_type_store() argument 102 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in temp_type_store() 119 struct device_attribute *attr, char *buf) in pwm_mode_show() argument 121 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in pwm_mode_show() 139 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show() local 144 if (!attr->index) in pwm_show() 147 ret = regmap_read(data->regmap, attr->index, &val); in pwm_show() 157 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_store() local [all …]
|
H A D | adt7462.c | 781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show() local 784 if (!temp_enabled(data, attr->index)) in temp_min_show() 787 return sprintf(buf, "%d\n", 1000 * (data->temp_min[attr->index] - 64)); in temp_min_show() 794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store() local 799 if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) in temp_min_store() 806 data->temp_min[attr->index] = temp; in temp_min_store() 807 i2c_smbus_write_byte_data(client, ADT7462_TEMP_MIN_REG(attr->index), in temp_min_store() 817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show() local 820 if (!temp_enabled(data, attr->index)) in temp_max_show() 823 return sprintf(buf, "%d\n", 1000 * (data->temp_max[attr->index] - 64)); in temp_max_show() [all …]
|
/linux/drivers/hwmon/occ/ |
H A D | common.c | 230 struct device_attribute *attr, char *buf) in occ_show_temp_1() argument 237 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_1() 266 struct device_attribute *attr, char *buf) in occ_show_temp_2() argument 273 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_2() 317 struct device_attribute *attr, char *buf) in occ_show_temp_10() argument 324 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_10() 364 struct device_attribute *attr, char *buf) in occ_show_freq_1() argument 371 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_1() 394 struct device_attribute *attr, char *buf) in occ_show_freq_2() argument 401 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_2() [all …]
|
/linux/lib/ |
H A D | fault-inject.c | 37 int setup_fault_attr(struct fault_attr *attr, char *str) in setup_fault_attr() 54 attr->probability = probability; in fail_dump() 55 attr->interval = interval; in fail_dump() 56 atomic_set(&attr->times, times); 57 atomic_set(&attr->space, space); 63 static void fail_dump(struct fault_attr *attr) 65 if (attr->verbose > 0 && __ratelimit(&attr->ratelimit_state)) { 68 "space %d, times %d\n", attr->dname, in fail_stacktrace() argument 69 attr in fail_stacktrace() 19 setup_fault_attr(struct fault_attr * attr,char * str) setup_fault_attr() argument 43 fail_dump(struct fault_attr * attr) fail_dump() argument 59 fail_task(struct fault_attr * attr,struct task_struct * task) fail_task() argument 92 fail_stacktrace(struct fault_attr * attr) fail_stacktrace() argument 104 should_fail_ex(struct fault_attr * attr,ssize_t size,int flags) should_fail_ex() argument 162 should_fail(struct fault_attr * attr,ssize_t size) should_fail() argument 213 fault_create_debugfs_attr(const char * name,struct dentry * parent,struct fault_attr * attr) fault_create_debugfs_attr() argument [all...] |
/linux/fs/ntfs3/ |
H A D | record.c | 38 struct ATTRIB *attr; in mi_new_attt_id() local 52 attr = NULL; in mi_new_attt_id() 55 attr = mi_enum_attr(ni, mi, attr); in mi_new_attt_id() 56 if (!attr) { in mi_new_attt_id() 62 t16 = le16_to_cpu(attr->id); in mi_new_attt_id() 65 attr = NULL; in mi_new_attt_id() 199 struct ATTRIB *attr) in mi_enum_attr() argument 207 if (!attr) { in mi_enum_attr() 225 attr = Add2Ptr(rec, off); in mi_enum_attr() 231 off = PtrOffset(rec, attr); in mi_enum_attr() [all …]
|
H A D | frecord.c | 76 const struct ATTRIB *attr; in ni_std() local 78 attr = mi_find_attr(ni, &ni->mi, NULL, ATTR_STD, NULL, 0, NULL); in ni_std() 79 return attr ? resident_data_ex(attr, sizeof(struct ATTR_STD_INFO)) : in ni_std() 90 const struct ATTRIB *attr; in ni_std5() local 92 attr = mi_find_attr(ni, &ni->mi, NULL, ATTR_STD, NULL, 0, NULL); in ni_std5() 94 return attr ? resident_data_ex(attr, sizeof(struct ATTR_STD_INFO5)) : in ni_std5() 190 struct ATTRIB *ni_find_attr(struct ntfs_inode *ni, struct ATTRIB *attr, in ni_find_attr() argument 206 return mi_find_attr(ni, &ni->mi, attr, type, name, name_len, in ni_find_attr() 223 attr = mi_find_attr(ni, m, NULL, type, name, name_len, &le->id); in ni_find_attr() 225 if (!attr) in ni_find_attr() [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe.c | 47 rxe->attr.vendor_id = RXE_VENDOR_ID; in rxe_init_device_param() 48 rxe->attr.max_mr_size = RXE_MAX_MR_SIZE; in rxe_init_device_param() 49 rxe->attr.page_size_cap = RXE_PAGE_SIZE_CAP; in rxe_init_device_param() 50 rxe->attr.max_qp = RXE_MAX_QP; in rxe_init_device_param() 51 rxe->attr.max_qp_wr = RXE_MAX_QP_WR; in rxe_init_device_param() 52 rxe->attr.device_cap_flags = RXE_DEVICE_CAP_FLAGS; in rxe_init_device_param() 53 rxe->attr.kernel_cap_flags = IBK_ALLOW_USER_UNREG; in rxe_init_device_param() 54 rxe->attr.max_send_sge = RXE_MAX_SGE; in rxe_init_device_param() 55 rxe->attr.max_recv_sge = RXE_MAX_SGE; in rxe_init_device_param() 56 rxe->attr.max_sge_rd = RXE_MAX_SGE_RD; in rxe_init_device_param() [all …]
|
H A D | rxe_srq.c | 13 struct ib_srq_attr *attr = &init->attr; in rxe_srq_chk_init() local 15 if (attr->max_wr > rxe->attr.max_srq_wr) { in rxe_srq_chk_init() 17 attr->max_wr, rxe->attr.max_srq_wr); in rxe_srq_chk_init() 21 if (attr->max_wr <= 0) { in rxe_srq_chk_init() 22 rxe_dbg_dev(rxe, "max_wr(%d) <= 0\n", attr->max_wr); in rxe_srq_chk_init() 26 if (attr->max_wr < RXE_MIN_SRQ_WR) in rxe_srq_chk_init() 27 attr->max_wr = RXE_MIN_SRQ_WR; in rxe_srq_chk_init() 29 if (attr->max_sge > rxe->attr.max_srq_sge) { in rxe_srq_chk_init() 31 attr->max_sge, rxe->attr.max_srq_sge); in rxe_srq_chk_init() 35 if (attr->max_sge < RXE_MIN_SRQ_SGE) in rxe_srq_chk_init() [all …]
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_tlv.c | 57 struct fbnic_tlv_msg *attr; in fbnic_tlv_attr_put_flag() local 60 if (attr_max_len < sizeof(*attr)) in fbnic_tlv_attr_put_flag() 64 attr = &msg[le16_to_cpu(msg->hdr.len)]; in fbnic_tlv_attr_put_flag() 70 attr->hdr = hdr; in fbnic_tlv_attr_put_flag() 99 struct fbnic_tlv_msg *attr; in fbnic_tlv_attr_put_value() local 102 if (attr_max_len < sizeof(*attr) + len) in fbnic_tlv_attr_put_value() 106 attr = &msg[le16_to_cpu(msg->hdr.len)]; in fbnic_tlv_attr_put_value() 114 attr->value[len / sizeof(hdr)] = 0; in fbnic_tlv_attr_put_value() 117 memcpy(attr->value, value, len); in fbnic_tlv_attr_put_value() 119 attr->hdr = hdr; in fbnic_tlv_attr_put_value() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_sysfs_pm.c | 28 sysfs_gt_attribute_w_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_w_func() argument 45 gt = intel_gt_sysfs_get_drvdata(kobj, attr->name); in sysfs_gt_attribute_w_func() 53 sysfs_gt_attribute_r_func(struct kobject *kobj, struct attribute *attr, in sysfs_gt_attribute_r_func() argument 83 gt = intel_gt_sysfs_get_drvdata(kobj, attr->name); in sysfs_gt_attribute_r_func() 100 struct attribute *attr, char *buff) \ 102 u32 val = sysfs_gt_attribute_r_##_attr_type##_func(kobj, attr, \ 108 struct kobj_attribute *attr, char *buff) \ 110 return _name ##_show_common(kobj, &attr->attr, buff); \ 113 struct device_attribute *attr, char *buff) \ 115 return _name##_show_common(&dev->kobj, &attr->attr, buff); \ [all …]
|
/linux/drivers/usb/typec/ |
H A D | pd.c | 37 dual_role_power_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_power_show() argument 44 usb_suspend_supported_show(struct device *dev, struct device_attribute *attr, char *buf) in usb_suspend_supported_show() argument 51 higher_capability_show(struct device *dev, struct device_attribute *attr, char *buf) in higher_capability_show() argument 58 unconstrained_power_show(struct device *dev, struct device_attribute *attr, char *buf) in unconstrained_power_show() argument 65 usb_communication_capable_show(struct device *dev, struct device_attribute *attr, char *buf) in usb_communication_capable_show() argument 72 dual_role_data_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_data_show() argument 80 struct device_attribute *attr, char *buf) in unchunked_extended_messages_supported_show() argument 87 peak_current_show(struct device *dev, struct device_attribute *attr, char *buf) in peak_current_show() argument 94 fast_role_swap_current_show(struct device *dev, struct device_attribute *attr, char *buf) in fast_role_swap_current_show() argument 100 static ssize_t voltage_show(struct device *dev, struct device_attribute *attr, char *buf) in voltage_show() argument [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 30 static void mlx5e_tc_tun_route_attr_cleanup(struct mlx5e_tc_tun_route_attr *attr) in mlx5e_tc_tun_route_attr_cleanup() argument 32 if (attr->n) in mlx5e_tc_tun_route_attr_cleanup() 33 neigh_release(attr->n); in mlx5e_tc_tun_route_attr_cleanup() 34 if (attr->route_dev) in mlx5e_tc_tun_route_attr_cleanup() 35 dev_put(attr->route_dev); in mlx5e_tc_tun_route_attr_cleanup() 108 struct mlx5e_tc_tun_route_attr *attr) in mlx5e_route_lookup_ipv4_get() argument 124 attr->fl.fl4.flowi4_oif = uplink_dev->ifindex; in mlx5e_route_lookup_ipv4_get() 129 attr->fl.fl4.flowi4_oif = tunnel->get_remote_ifindex(dev); in mlx5e_route_lookup_ipv4_get() 132 rt = ip_route_output_key(dev_net(dev), &attr->fl.fl4); in mlx5e_route_lookup_ipv4_get() 154 if (!attr->ttl) in mlx5e_route_lookup_ipv4_get() [all …]
|
/linux/drivers/fpga/ |
H A D | dfl-fme-perf.c | 179 struct device_attribute *attr, char *buf) in cpumask_show() argument 191 &dev_attr_cpumask.attr, 222 &format_attr_event.attr, 223 &format_attr_evtype.attr, 224 &format_attr_portid.attr, 523 struct device_attribute *attr, char *buf) in fme_perf_event_show() argument 529 eattr = container_of(attr, struct dev_ext_attribute, attr); in fme_perf_event_show() 558 .attr = FME_EVENT_ATTR(_name), \ 565 &fme_perf_event_clock.attr.attr, 577 .attr = FME_EVENT_ATTR(cache_##_name), \ [all …]
|