Searched refs:attr (Results 26 - 50 of 3244) sorted by relevance

1234567891011>>

/linux-master/fs/orangefs/
H A Dorangefs-sysfs.c166 struct attribute attr; member in struct:orangefs_attribute
168 struct orangefs_attribute *attr,
171 struct orangefs_attribute *attr,
177 struct attribute *attr,
182 attribute = container_of(attr, struct orangefs_attribute, attr);
189 struct attribute *attr,
199 attribute = container_of(attr, struct orangefs_attribute, attr);
211 struct orangefs_attribute *attr, cha
176 orangefs_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
188 orangefs_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t len) argument
210 sysfs_int_show(struct kobject *kobj, struct orangefs_attribute *attr, char *buf) argument
280 sysfs_int_store(struct kobject *kobj, struct orangefs_attribute *attr, const char *buf, size_t count) argument
320 sysfs_service_op_show(struct kobject *kobj, struct orangefs_attribute *attr, char *buf) argument
535 sysfs_service_op_store(struct kobject *kobj, struct orangefs_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/soundwire/
H A Dsysfs_slave.c71 struct device_attribute *attr, \
96 struct device_attribute *attr, char *buf)
105 &dev_attr_modalias.attr,
111 &dev_attr_mipi_revision.attr,
112 &dev_attr_wake_capable.attr,
113 &dev_attr_test_mode_capable.attr,
114 &dev_attr_clk_stop_mode1.attr,
115 &dev_attr_simple_clk_stop_capable.attr,
116 &dev_attr_clk_stop_timeout.attr,
117 &dev_attr_ch_prep_timeout.attr,
95 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument
158 words_show(struct device *dev, struct device_attribute *attr, char *buf) argument
232 status_show(struct device *dev, struct device_attribute *attr, char *buf) argument
241 device_number_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/tools/lib/bpf/
H A Dskel_internal.h69 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, argument
75 return kern_sys_bpf(cmd, attr, size);
77 return syscall(__NR_bpf, cmd, attr, size);
226 union bpf_attr attr; local
228 memset(&attr, 0, attr_sz);
230 attr.map_type = map_type;
231 strncpy(attr.map_name, map_name, sizeof(attr.map_name));
232 attr
243 union bpf_attr attr; local
257 union bpf_attr attr; local
269 union bpf_attr attr; local
280 union bpf_attr attr; local
293 union bpf_attr attr; local
314 union bpf_attr attr; local
[all...]
/linux-master/tools/perf/tests/
H A Dbp_account.c42 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) argument
46 memset(attr, 0, sizeof(struct perf_event_attr));
47 attr->type = PERF_TYPE_BREAKPOINT;
48 attr->size = sizeof(struct perf_event_attr);
50 attr->config = 0;
51 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W;
52 attr->bp_addr = (unsigned long) addr;
53 attr->bp_len = sizeof(long);
55 attr->sample_period = 1;
56 attr
71 wp_event(void *addr, struct perf_event_attr *attr) argument
76 bp_event(void *addr, struct perf_event_attr *attr) argument
83 struct perf_event_attr attr, attr_mod, attr_new; local
115 struct perf_event_attr attr; local
139 struct perf_event_attr attr; local
153 struct perf_event_attr attr; local
[all...]
H A Dparse-events.c39 __u32 type = evsel->core.attr.type;
40 __u64 config = evsel->core.attr.config;
54 return (evsel->attr.config & PERF_HW_EVENT_MASK) == expected_config;
91 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type);
93 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type);
94 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period);
107 PERF_TYPE_TRACEPOINT == evsel->core.attr.type);
109 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type);
111 1 == evsel->core.attr.sample_period);
130 evsel->attr
[all...]
/linux-master/lib/
H A Dfault-inject-usercopy.c6 struct fault_attr attr; member in struct:__anon5585
8 .attr = FAULT_ATTR_INITIALIZER,
13 return setup_fault_attr(&fail_usercopy.attr, str);
24 &fail_usercopy.attr);
37 return should_fail(&fail_usercopy.attr, 1);
/linux-master/tools/net/ynl/lib/
H A Dynl-priv.h102 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) argument
184 return attr->nla_type & NLA_TYPE_MASK;
187 static inline unsigned int ynl_attr_data_len(const struct nlattr *attr) argument
189 return attr->nla_len - NLA_HDRLEN;
192 static inline void *ynl_attr_data(const struct nlattr *attr) argument
194 return (unsigned char *)attr + NLA_HDRLEN;
197 static inline void *ynl_attr_data_end(const struct nlattr *attr) argument
199 return ynl_attr_data(attr) + ynl_attr_data_len(attr);
217 ynl_attr_if_good(const void *end, struct nlattr *attr) argument
229 struct nlattr *attr; local
238 struct nlattr *attr; local
262 struct nlattr *attr; local
275 ynl_attr_nest_end(struct nlmsghdr *nlh, struct nlattr *attr) argument
284 struct nlattr *attr; local
301 struct nlattr *attr; local
317 ynl_attr_get_str(const struct nlattr *attr) argument
322 ynl_attr_get_s8(const struct nlattr *attr) argument
327 ynl_attr_get_s16(const struct nlattr *attr) argument
332 ynl_attr_get_s32(const struct nlattr *attr) argument
337 ynl_attr_get_s64(const struct nlattr *attr) argument
345 ynl_attr_get_u8(const struct nlattr *attr) argument
350 ynl_attr_get_u16(const struct nlattr *attr) argument
355 ynl_attr_get_u32(const struct nlattr *attr) argument
360 ynl_attr_get_u64(const struct nlattr *attr) argument
416 ynl_attr_get_uint(const struct nlattr *attr) argument
428 ynl_attr_get_sint(const struct nlattr *attr) argument
[all...]
/linux-master/tools/testing/selftests/lsm/
H A Dcommon.h9 static inline int lsm_get_self_attr(unsigned int attr, struct lsm_ctx *ctx, argument
12 return syscall(__NR_lsm_get_self_attr, attr, ctx, size, flags);
17 static inline int lsm_set_self_attr(unsigned int attr, struct lsm_ctx *ctx, argument
20 return syscall(__NR_lsm_set_self_attr, attr, ctx, size, flags);
31 extern int read_proc_attr(const char *attr, char *value, size_t size);
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c53 struct ib_port_attribute *attr, char *buf)
62 struct ib_port_attribute *attr,
89 struct ib_port_attribute *attr, const char *buf,
105 struct ib_port_attribute *attr,
125 struct ib_port_attribute *attr, char *buf)
156 struct ib_port_attribute *attr, char *buf)
196 &ib_port_attr_loopback.attr,
197 &ib_port_attr_led_override.attr,
198 &ib_port_attr_hrtbt_enable.attr,
199 &ib_port_attr_status.attr,
52 hrtbt_enable_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
61 hrtbt_enable_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
88 loopback_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
104 led_override_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
124 status_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
155 status_str_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
285 qib_ccmgta_is_bin_visible(struct kobject *kobj, struct bin_attribute *attr, int n) argument
304 struct ib_port_attribute attr; member in struct:qib_sl2vl_attr
308 sl2vl_attr_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
372 struct ib_port_attribute attr; member in struct:qib_diagc_attr
376 diagc_attr_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
387 diagc_attr_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
454 rc_acks_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
465 rc_acks_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
477 rc_qacks_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
488 rc_qacks_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
500 rc_delayed_comp_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
511 rc_delayed_comp_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
564 hw_rev_show(struct device *device, struct device_attribute *attr, char *buf) argument
574 hca_type_show(struct device *device, struct device_attribute *attr, char *buf) argument
588 version_show(struct device *device, struct device_attribute *attr, char *buf) argument
596 boardversion_show(struct device *device, struct device_attribute *attr, char *buf) argument
608 localbus_info_show(struct device *device, struct device_attribute *attr, char *buf) argument
620 nctxts_show(struct device *device, struct device_attribute *attr, char *buf) argument
637 nfreectxts_show(struct device *device, struct device_attribute *attr, char *buf) argument
649 serial_show(struct device *device, struct device_attribute *attr, char *buf) argument
662 chip_reset_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
685 tempsense_show(struct device *device, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/scsi/
H A Discsi_boot_sysfs.c24 struct attribute attr; member in struct:iscsi_boot_attr
33 struct attribute *attr, char *buf)
38 container_of(attr, struct iscsi_boot_attr, attr);
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,
32 iscsi_boot_show_attribute(struct kobject *kobj, struct attribute *attr, char *buf) argument
107 iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
190 iscsi_boot_eth_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
265 iscsi_boot_ini_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
314 iscsi_boot_acpitbl_attr_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dsample.c13 struct mlx5_flow_attr *attr)
15 struct mlx5e_sample_attr *sample_attr = &attr->sample_attr;
23 attr->flags |= MLX5_ATTR_FLAG_SAMPLE;
31 struct mlx5_flow_attr *attr)
34 attr->action & MLX5_FLOW_CONTEXT_ACTION_DECAP)
43 struct mlx5_flow_attr *attr)
45 return mlx5e_tc_act_sample_is_multi_table(priv->mdev, attr);
10 tc_act_parse_sample(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument
30 mlx5e_tc_act_sample_is_multi_table(struct mlx5_core_dev *mdev, struct mlx5_flow_attr *attr) argument
41 tc_act_is_multi_table_act_sample(struct mlx5e_priv *priv, const struct flow_action_entry *act, struct mlx5_flow_attr *attr) argument
/linux-master/fs/sysv/
H A Dfile.c33 struct dentry *dentry, struct iattr *attr)
38 error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
42 if ((attr->ia_valid & ATTR_SIZE) &&
43 attr->ia_size != i_size_read(inode)) {
44 error = inode_newsize_ok(inode, attr->ia_size);
47 truncate_setsize(inode, attr->ia_size);
51 setattr_copy(&nop_mnt_idmap, inode, attr);
32 sysv_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
/linux-master/fs/minix/
H A Dfile.c26 struct dentry *dentry, struct iattr *attr)
31 error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
35 if ((attr->ia_valid & ATTR_SIZE) &&
36 attr->ia_size != i_size_read(inode)) {
37 error = inode_newsize_ok(inode, attr->ia_size);
41 truncate_setsize(inode, attr->ia_size);
45 setattr_copy(&nop_mnt_idmap, inode, attr);
25 minix_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
/linux-master/drivers/infiniband/core/
H A Dsysfs.c50 struct ib_port_attribute attr; member in struct:port_table_attribute
77 struct device_attribute attr; member in struct:hw_stats_device_attribute
86 struct ib_port_attribute attr; member in struct:hw_stats_port_attribute
106 struct attribute *attr, char *buf)
109 container_of(attr, struct ib_port_attribute, attr);
119 struct attribute *attr,
123 container_of(attr, struct ib_port_attribute, attr);
147 struct device_attribute *attr, cha
105 port_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
118 port_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument
146 hw_stat_device_show(struct device *dev, struct device_attribute *attr, char *buf) argument
157 hw_stat_device_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
170 hw_stat_port_show(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
182 hw_stat_port_store(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, const char *buf, size_t count) argument
195 gid_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument
216 struct ib_port_attr attr; local
242 struct ib_port_attr attr; local
255 struct ib_port_attr attr; local
268 struct ib_port_attr attr; local
281 struct ib_port_attr attr; local
294 struct ib_port_attr attr; local
307 struct ib_port_attr attr; local
386 struct ib_port_attr attr; local
461 _show_port_gid_attr( struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf, ssize_t (*print)(const struct ib_gid_attr *gid_attr, char *buf)) argument
481 show_port_gid(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
510 show_port_gid_attr_ndev(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
517 show_port_gid_attr_gid_type(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
525 show_port_pkey(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
558 get_perf_mad(struct ib_device *dev, int port_num, __be16 attr, void *data, int offset, size_t size) argument
602 show_pma_counter(struct ib_device *ibdev, u32 port_num, struct ib_port_attribute *attr, char *buf) argument
939 struct hw_stats_device_attribute *attr; local
1039 struct hw_stats_port_attribute *attr; local
1140 setup_gid_attrs(struct ib_port *port, const struct ib_port_attr *attr) argument
1202 setup_port(struct ib_core_device *coredev, int port_num, const struct ib_port_attr *attr) argument
1320 node_type_show(struct device *device, struct device_attribute *attr, char *buf) argument
1344 node_guid_show(struct device *device, struct device_attribute *attr, char *buf) argument
1358 node_desc_show(struct device *device, struct device_attribute *attr, char *buf) argument
1366 node_desc_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
1386 fw_ver_show(struct device *device, struct device_attribute *attr, char *buf) argument
1437 struct ib_port_attr attr; local
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_srq.c13 struct ib_srq_attr *attr = &init->attr; local
15 if (attr->max_wr > rxe->attr.max_srq_wr) {
17 attr->max_wr, rxe->attr.max_srq_wr);
21 if (attr->max_wr <= 0) {
22 rxe_dbg_dev(rxe, "max_wr(%d) <= 0\n", attr->max_wr);
26 if (attr->max_wr < RXE_MIN_SRQ_WR)
27 attr
100 rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, struct ib_srq_attr *attr, enum ib_srq_attr_mask mask) argument
151 rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, struct ib_srq_attr *attr, enum ib_srq_attr_mask mask, struct rxe_modify_srq_cmd *ucmd, struct ib_udata *udata) argument
[all...]
/linux-master/arch/x86/coco/
H A Dcore.c28 static bool noinstr intel_cc_platform_has(enum cc_attr attr) argument
30 switch (attr) {
46 static __maybe_unused __always_inline bool amd_cc_platform_vtom(enum cc_attr attr) argument
48 switch (attr) {
70 static bool noinstr amd_cc_platform_has(enum cc_attr attr) argument
75 return amd_cc_platform_vtom(attr);
77 switch (attr) {
112 bool noinstr cc_platform_has(enum cc_attr attr) argument
116 return amd_cc_platform_has(attr);
118 return intel_cc_platform_has(attr);
164 amd_cc_platform_clear(enum cc_attr attr) argument
175 cc_platform_clear(enum cc_attr attr) argument
186 amd_cc_platform_set(enum cc_attr attr) argument
197 cc_platform_set(enum cc_attr attr) argument
[all...]
/linux-master/tools/perf/arch/x86/tests/
H A Damd-ibs-via-core-pmu.c26 struct perf_event_attr attr; local
28 memset(&attr, 0, sizeof(struct perf_event_attr));
29 attr.type = type;
30 attr.size = sizeof(struct perf_event_attr);
31 attr.config = config;
32 attr.disabled = 1;
33 attr.precise_ip = 1;
34 attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID;
35 attr.sample_period = 100000;
37 return sys_perf_event_open(&attr,
[all...]
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_pci.c15 struct device_attribute *attr, char *buf)
23 struct device_attribute *attr, char *buf)
31 struct device_attribute *attr, char *buf)
40 struct device_attribute *attr, char *buf)
49 struct device_attribute *attr, char *buf)
65 &dev_attr_module_type.attr,
66 &dev_attr_module_version.attr,
67 &dev_attr_fw_type.attr,
68 &dev_attr_fw_version.attr,
69 &dev_attr_serial_number.attr,
14 module_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
22 module_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
30 fw_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
39 fw_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
48 serial_number_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/hwmon/
H A Dwm831x-hwmon.c31 struct device_attribute *attr, char *buf)
34 int channel = to_sensor_dev_attr(attr)->index;
45 struct device_attribute *attr, char *buf)
48 int channel = to_sensor_dev_attr(attr)->index;
63 struct device_attribute *attr, char *buf)
65 int channel = to_sensor_dev_attr(attr)->index;
104 &sensor_dev_attr_in0_input.dev_attr.attr,
105 &sensor_dev_attr_in1_input.dev_attr.attr,
106 &sensor_dev_attr_in2_input.dev_attr.attr,
107 &sensor_dev_attr_in3_input.dev_attr.attr,
30 show_voltage(struct device *dev, struct device_attribute *attr, char *buf) argument
44 show_chip_temp(struct device *dev, struct device_attribute *attr, char *buf) argument
62 show_label(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dindir_table.h15 struct mlx5_flow_attr *attr,
22 struct mlx5_flow_attr *attr,
27 mlx5_esw_indir_table_decap_vport(struct mlx5_flow_attr *attr);
44 struct mlx5_flow_attr *attr,
58 struct mlx5_flow_attr *attr,
66 mlx5_esw_indir_table_decap_vport(struct mlx5_flow_attr *attr) argument
43 mlx5_esw_indir_table_get(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, u16 vport, bool decap) argument
57 mlx5_esw_indir_table_needed(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, u16 vport_num, struct mlx5_core_dev *dest_mdev) argument
/linux-master/drivers/net/ipa/
H A Dipa_sysfs.c47 version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
57 &dev_attr_version.attr,
71 struct device_attribute *attr, char *buf)
81 struct device_attribute *attr, char *buf)
91 &dev_attr_rx_offload.attr,
92 &dev_attr_tx_offload.attr,
102 struct attribute *attr, int n)
110 dev_attr = container_of(attr, struct device_attribute, attr);
111 ea = container_of(dev_attr, struct dev_ext_attribute, attr);
70 rx_offload_show(struct device *dev, struct device_attribute *attr, char *buf) argument
80 tx_offload_show(struct device *dev, struct device_attribute *attr, char *buf) argument
101 ipa_endpoint_id_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument
118 endpoint_id_attr_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/ufs/core/
H A Dufs-sysfs.c85 struct device_attribute *attr,
114 struct device_attribute *attr, char *buf)
122 struct device_attribute *attr, const char *buf, size_t count)
124 return ufs_sysfs_pm_lvl_store(dev, attr, buf, count, true);
128 struct device_attribute *attr, char *buf)
137 struct device_attribute *attr, char *buf)
146 struct device_attribute *attr, char *buf)
154 struct device_attribute *attr, const char *buf, size_t count)
156 return ufs_sysfs_pm_lvl_store(dev, attr, buf, count, false);
160 struct device_attribute *attr, cha
84 ufs_sysfs_pm_lvl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count, bool rpm) argument
113 rpm_lvl_show(struct device *dev, struct device_attribute *attr, char *buf) argument
121 rpm_lvl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
127 rpm_target_dev_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
136 rpm_target_link_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
145 spm_lvl_show(struct device *dev, struct device_attribute *attr, char *buf) argument
153 spm_lvl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
159 spm_target_dev_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
168 spm_target_link_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
201 auto_hibern8_show(struct device *dev, struct device_attribute *attr, char *buf) argument
230 auto_hibern8_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
260 wb_on_show(struct device *dev, struct device_attribute *attr, char *buf) argument
268 wb_on_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
305 rtc_update_ms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
313 rtc_update_ms_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
334 enable_wb_buf_flush_show(struct device *dev, struct device_attribute *attr, char *buf) argument
343 enable_wb_buf_flush_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
377 wb_flush_threshold_show(struct device *dev, struct device_attribute *attr, char *buf) argument
386 wb_flush_threshold_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
418 pm_qos_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
438 pm_qos_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
488 clock_scaling_show(struct device *dev, struct device_attribute *attr, char *buf) argument
496 write_booster_show(struct device *dev, struct device_attribute *attr, char *buf) argument
522 monitor_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
530 monitor_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
557 monitor_chunk_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
565 monitor_chunk_size_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
583 read_total_sectors_show(struct device *dev, struct device_attribute *attr, char *buf) argument
591 read_total_busy_show(struct device *dev, struct device_attribute *attr, char *buf) argument
600 read_nr_requests_show(struct device *dev, struct device_attribute *attr, char *buf) argument
608 read_req_latency_avg_show(struct device *dev, struct device_attribute *attr, char *buf) argument
619 read_req_latency_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
629 read_req_latency_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
639 read_req_latency_sum_show(struct device *dev, struct device_attribute *attr, char *buf) argument
649 write_total_sectors_show(struct device *dev, struct device_attribute *attr, char *buf) argument
658 write_total_busy_show(struct device *dev, struct device_attribute *attr, char *buf) argument
667 write_nr_requests_show(struct device *dev, struct device_attribute *attr, char *buf) argument
675 write_req_latency_avg_show(struct device *dev, struct device_attribute *attr, char *buf) argument
686 write_req_latency_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
696 write_req_latency_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
706 write_req_latency_sum_show(struct device *dev, struct device_attribute *attr, char *buf) argument
758 lane_show(struct device *dev, struct device_attribute *attr, char *buf) argument
766 mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
774 rate_show(struct device *dev, struct device_attribute *attr, char *buf) argument
782 gear_show(struct device *dev, struct device_attribute *attr, char *buf) argument
792 dev_pm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
800 link_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1499 ufs_unit_descriptor_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument
1522 dyn_cap_needed_attribute_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dsysfs.c21 struct device_attribute *attr, char *buf) \
62 &dev_attr_immu_tsb_hits_ctx0_8k_tte.attr,
63 &dev_attr_immu_tsb_ticks_ctx0_8k_tte.attr,
64 &dev_attr_immu_tsb_hits_ctx0_64k_tte.attr,
65 &dev_attr_immu_tsb_ticks_ctx0_64k_tte.attr,
66 &dev_attr_immu_tsb_hits_ctx0_4mb_tte.attr,
67 &dev_attr_immu_tsb_ticks_ctx0_4mb_tte.attr,
68 &dev_attr_immu_tsb_hits_ctx0_256mb_tte.attr,
69 &dev_attr_immu_tsb_ticks_ctx0_256mb_tte.attr,
70 &dev_attr_immu_tsb_hits_ctxnon0_8k_tte.attr,
123 show_mmustat_enable(struct device *s, struct device_attribute *attr, char *buf) argument
131 store_mmustat_enable(struct device *s, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/pps/
H A Dsysfs.c18 static ssize_t assert_show(struct device *dev, struct device_attribute *attr, argument
32 static ssize_t clear_show(struct device *dev, struct device_attribute *attr, argument
46 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, argument
55 static ssize_t echo_show(struct device *dev, struct device_attribute *attr, argument
64 static ssize_t name_show(struct device *dev, struct device_attribute *attr, argument
73 static ssize_t path_show(struct device *dev, struct device_attribute *attr, argument
83 &dev_attr_assert.attr,
84 &dev_attr_clear.attr,
85 &dev_attr_mode.attr,
86 &dev_attr_echo.attr,
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_attr_remote.h15 int xfs_attr_rmtval_remove(struct xfs_attr_intent *attr);
18 int xfs_attr_rmtval_set_blk(struct xfs_attr_intent *attr);
19 int xfs_attr_rmtval_find_space(struct xfs_attr_intent *attr);

Completed in 186 milliseconds

1234567891011>>