Home
last modified time | relevance | path

Searched refs:show (Results 1 – 25 of 860) sorted by relevance

12345678910>>...35

/Linux-v4.19/block/
Dblk-sysfs.c22 ssize_t (*show)(struct request_queue *, char *); member
521 .show = queue_requests_show,
527 .show = queue_ra_show,
533 .show = queue_max_sectors_show,
539 .show = queue_max_hw_sectors_show,
544 .show = queue_max_segments_show,
549 .show = queue_max_discard_segments_show,
554 .show = queue_max_integrity_segments_show,
559 .show = queue_max_segment_size_show,
564 .show = elv_iosched_show,
[all …]
Dblk-mq-sysfs.c31 ssize_t (*show)(struct blk_mq_ctx *, char *); member
37 ssize_t (*show)(struct blk_mq_hw_ctx *, char *); member
53 if (!entry->show) in blk_mq_sysfs_show()
59 res = entry->show(ctx, page); in blk_mq_sysfs_show()
99 if (!entry->show) in blk_mq_hw_sysfs_show()
105 res = entry->show(hctx, page); in blk_mq_hw_sysfs_show()
170 .show = blk_mq_hw_sysfs_nr_tags_show,
174 .show = blk_mq_hw_sysfs_nr_reserved_tags_show,
178 .show = blk_mq_hw_sysfs_cpus_show,
189 .show = blk_mq_sysfs_show,
[all …]
Dblk-integrity.c241 ssize_t (*show)(struct blk_integrity *, char *); member
253 return entry->show(bi, page); in integrity_attr_show()
337 .show = integrity_format_show,
342 .show = integrity_tag_size_show,
347 .show = integrity_interval_show,
352 .show = integrity_verify_show,
358 .show = integrity_generate_show,
364 .show = integrity_device_show,
378 .show = &integrity_attr_show,
/Linux-v4.19/security/integrity/ima/
Dima_template_lib.c70 enum ima_show_type show, in ima_show_template_data_ascii() argument
101 enum ima_show_type show, in ima_show_template_data_binary() argument
105 u32 len = (show == IMA_SHOW_BINARY_OLD_STRING_FMT) ? in ima_show_template_data_binary()
108 if (show != IMA_SHOW_BINARY_NO_FIELD_LEN) { in ima_show_template_data_binary()
121 enum ima_show_type show, in ima_show_template_field_data() argument
125 switch (show) { in ima_show_template_field_data()
127 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
132 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
139 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest() argument
142 ima_show_template_field_data(m, show, DATA_FMT_DIGEST, field_data); in ima_show_template_digest()
[all …]
Dima_template_lib.h24 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show,
26 void ima_show_template_digest_ng(struct seq_file *m, enum ima_show_type show,
28 void ima_show_template_string(struct seq_file *m, enum ima_show_type show,
30 void ima_show_template_sig(struct seq_file *m, enum ima_show_type show,
/Linux-v4.19/Documentation/translations/zh_CN/filesystems/
Dsysfs.txt105 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
129 .show = show_foo,
142 ssize_t (*show)(struct kobject *, struct attribute *, char *);
167 if (dev_attr->show)
168 ret = dev_attr->show(dev, dev_attr, buf);
171 dev_attr->show);
181 在声明属性时,必须指定 show() 或 store() 方法,以实现属性的
184 ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf);
194 - 在读方面(read(2)),show() 方法应该填充整个缓冲区。回想属性
199 向后搜索到零或使用‘0’偏移执行一个pread(2)操作,show()方法将
[all …]
/Linux-v4.19/drivers/cpuidle/
Dsysfs.c164 ssize_t (*show)(struct cpuidle_device *, char *); member
168 #define define_one_ro(_name, show) \ argument
169 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
170 #define define_one_rw(_name, show, store) \ argument
171 static struct cpuidle_attr attr_##_name = __ATTR(_name, 0644, show, store)
196 if (cattr->show) { in cpuidle_show()
198 ret = cattr->show(dev, buf); in cpuidle_show()
220 .show = cpuidle_show,
239 ssize_t (*show)(struct cpuidle_state *, \ member
245 #define define_one_state_ro(_name, show) \ argument
[all …]
/Linux-v4.19/include/linux/
Dproc_fs.h40 int (*show)(struct seq_file *, void *), void *data);
41 #define proc_create_single(name, mode, parent, show) \ argument
42 proc_create_single_data(name, mode, parent, show, NULL)
65 int (*show)(struct seq_file *, void *), void *data);
73 int (*show)(struct seq_file *, void *),
99 #define proc_create_single(name, mode, parent, show) ({NULL;}) argument
100 #define proc_create_single_data(name, mode, parent, show, data) ({NULL;}) argument
115 #define proc_create_net_single(name, mode, parent, show, data) ({NULL;}) argument
Discsi_boot_sysfs.h91 ssize_t (*show) (void *data, int type, char *buf); member
119 ssize_t (*show) (void *data, int type, char *buf),
126 ssize_t (*show) (void *data, int type, char *buf),
132 ssize_t (*show) (void *data, int type, char *buf),
139 ssize_t (*show)(void *data, int type, char *buf),
/Linux-v4.19/tools/testing/selftests/net/
Dnetdevice.sh21 ip link show "$netdev" |grep -q UP
55 ip link show $netdev |grep -q "$MACADDR"
64 ip address show "$netdev" |grep '^[[:space:]]*inet'
186 ip link show 2>/dev/null >/dev/null
198 ip link show |grep '^[0-9]' | grep -oE '[[:space:]].*eth[0-9]*:|[[:space:]].*enp[0-9]s[0-9]:' | cut…
/Linux-v4.19/samples/bpf/
Dtest_cgrp2_tc.sh102 local dropped=$($TC -s qdisc show dev $HOST_IFC | tail -3 | \
126 $IP link show dev $HOST_IFC
127 $IP -6 a show dev $HOST_IFC
128 $TC -s qdisc show dev $HOST_IFC
131 $IP -n $NS link show dev $NS_IFC
132 $IP -n $NS -6 link show dev $NS_IFC
/Linux-v4.19/drivers/scsi/
Discsi_boot_sysfs.c34 ssize_t (*show) (void *data, int type, char *buf); member
53 if (boot_kobj->show) in iscsi_boot_show_attribute()
54 ret = boot_kobj->show(boot_kobj->data, boot_attr->type, str); in iscsi_boot_show_attribute()
59 .show = iscsi_boot_show_attribute,
349 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_kobj()
367 boot_kobj->show = show; in iscsi_boot_create_kobj()
412 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_target()
417 "target%d", index, data, show, is_visible, in iscsi_boot_create_target()
437 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_initiator()
443 "initiator", index, data, show, in iscsi_boot_create_initiator()
[all …]
/Linux-v4.19/drivers/hwmon/
Dgl518sm.c239 #define show(type, suffix, value) \ macro
247 show(TEMP, temp_input1, temp_in);
248 show(TEMP, temp_max1, temp_max);
249 show(TEMP, temp_hyst1, temp_hyst);
250 show(BOOL, fan_auto1, fan_auto1);
251 show(VDD, in_input0, voltage_in[0]);
252 show(IN, in_input1, voltage_in[1]);
253 show(IN, in_input2, voltage_in[2]);
254 show(IN, in_input3, voltage_in[3]);
255 show(VDD, in_min0, voltage_min[0]);
[all …]
/Linux-v4.19/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh17 DEVLINK_DEV=$(devlink port show | grep "${NETIFS[p1]}" | \
35 devlink -j resource show "$DEVLINK_DEV" &> /dev/null
73 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
105 still_pending=$(devlink resource show "$DEVLINK_DEV" | \
Dlib.sh110 ip link show dev ${NETIFS[p$i]} &> /dev/null
139 ip link show dev ${NETIFS[p$i]} &> /dev/null
228 ip link show dev $dev up \
477 ip -j link show dev $if_name | jq -r '.[]["master"]'
484 ip -j -s link show dev $if_name | jq '.[]["stats64"]["tx"]["packets"]'
493 tc -j -s filter show dev $dev ${dir:-ingress} pref $pref \
501 ip -j link show dev $if_name | jq -r '.[]["address"]'
510 ageing_time=$(ip -j -d link show dev $bridge \
813 bridge -j fdb show br $bridge brport $br_port1 \
829 tc -j -s filter show dev $host1_if ingress \
[all …]
/Linux-v4.19/arch/ia64/kernel/
Derr_inject.c56 #define show(name) \ macro
75 show(call_start) in show() function
126 show(err_type_info)
157 show(err_struct_info)
197 show(status)
198 show(capabilities)
199 show(resources)
/Linux-v4.19/drivers/edac/
Dedac_pci_sysfs.c92 ssize_t(*show) (struct edac_pci_ctl_info *, char *); member
103 if (instance_attr->show) in edac_pci_instance_show()
104 return instance_attr->show(pci, buffer); in edac_pci_instance_show()
123 .show = edac_pci_instance_show,
130 .show = _show, \
233 ssize_t(*show) (void *, char *); member
244 if (edac_pci_dev->show) in edac_pci_dev_show()
245 return edac_pci_dev->show(edac_pci_dev->value, buffer); in edac_pci_dev_show()
262 .show = edac_pci_dev_show,
270 .show = _show, \
[all …]
Dedac_device_sysfs.c109 ssize_t(*show) (struct edac_device_ctl_info *, char *); member
123 if (ctl_info_attr->show) in edac_dev_ctl_info_show()
124 return ctl_info_attr->show(edac_dev, buffer); in edac_dev_ctl_info_show()
143 .show = edac_dev_ctl_info_show,
150 .show = _show, \
340 ssize_t(*show) (struct edac_device_instance *, char *); member
351 if (instance_attr->show) in edac_dev_instance_show()
352 return instance_attr->show(instance, buffer); in edac_dev_instance_show()
371 .show = edac_dev_instance_show,
378 .show = _show, \
[all …]
/Linux-v4.19/fs/exofs/
Dsys.c29 ssize_t (*show)(struct exofs_dev *, char *); member
39 return a->show ? a->show(edp, buf) : 0; in odev_attr_show()
52 .show = odev_attr_show,
94 #define OSD_ATTR(name, mode, show, store) \ argument
96 __ATTR(name, mode, show, store)
/Linux-v4.19/tools/bpf/bpftool/Documentation/
Dbpftool.rst25 { **show** | **list** | **dump** | **update** | **lookup** | **getnext** | **delete**
28 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin**
31 *CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
33 *PERF-COMMANDS* := { **show** | **list** | **help** }
/Linux-v4.19/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c85 static int show(struct seq_file *m, void *arg) in show() function
91 int (*show)(struct msm_gpu *gpu, struct drm_printer *p) = in show() local
94 return show(priv->gpu, &p); in show()
97 #define ENT(n) { .name = #n, .show = show, .data = n ##_print }
/Linux-v4.19/drivers/isdn/capi/
Dkcapi_proc.c101 .show = controller_show,
108 .show = contrstats_show,
183 .show = applications_show,
190 .show = applstats_show,
225 .show = capi_driver_show,
/Linux-v4.19/fs/nilfs2/
Dsysfs.h56 ssize_t (*show)(struct kobject *, struct attribute *, \
67 ssize_t (*show)(struct nilfs_##name##_attr *, struct the_nilfs *, \
83 ssize_t (*show)(struct nilfs_##name##_attr *, struct nilfs_root *, \
91 #define NILFS_ATTR(type, name, mode, show, store) \ argument
93 __ATTR(name, mode, show, store)
/Linux-v4.19/Documentation/filesystems/
Dsysfs.txt90 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
115 .show = show_foo,
125 show and store methods of the attribute owners.
128 ssize_t (*show)(struct kobject *, struct attribute *, char *);
154 if (dev_attr->show)
155 ret = dev_attr->show(dev, dev_attr, buf);
158 dev_attr->show);
168 To read or write attributes, show() or store() methods must be
172 ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf);
184 - On read(2), the show() method should fill the entire buffer.
[all …]
/Linux-v4.19/Documentation/networking/
Dvrf.txt139 $ ip [-d] link show type vrf
140 NOTE: The -d option is needed to show the table id
143 $ ip -d link show type vrf
160 $ ip -br link show type vrf
182 To show devices that have been assigned to a specific VRF add the master
184 $ ip link show vrf NAME
185 $ ip link show master NAME
188 $ ip link show vrf red
198 $ ip -br link show vrf red
208 $ ip [-6] neigh show vrf NAME
[all …]

12345678910>>...35