Home
last modified time | relevance | path

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

12345678910>>...37

/Linux-v5.4/block/
Dblk-sysfs.c22 ssize_t (*show)(struct request_queue *, char *); member
534 .show = queue_requests_show,
540 .show = queue_ra_show,
546 .show = queue_max_sectors_show,
552 .show = queue_max_hw_sectors_show,
557 .show = queue_max_segments_show,
562 .show = queue_max_discard_segments_show,
567 .show = queue_max_integrity_segments_show,
572 .show = queue_max_segment_size_show,
577 .show = elv_iosched_show,
[all …]
Dblk-mq-sysfs.c52 ssize_t (*show)(struct blk_mq_ctx *, char *); member
58 ssize_t (*show)(struct blk_mq_hw_ctx *, char *); member
74 if (!entry->show) in blk_mq_sysfs_show()
80 res = entry->show(ctx, page); in blk_mq_sysfs_show()
120 if (!entry->show) in blk_mq_hw_sysfs_show()
126 res = entry->show(hctx, page); in blk_mq_hw_sysfs_show()
187 .show = blk_mq_hw_sysfs_nr_tags_show,
191 .show = blk_mq_hw_sysfs_nr_reserved_tags_show,
195 .show = blk_mq_hw_sysfs_cpus_show,
207 .show = blk_mq_sysfs_show,
[all …]
Dblk-integrity.c219 ssize_t (*show)(struct blk_integrity *, char *); member
231 return entry->show(bi, page); in integrity_attr_show()
315 .show = integrity_format_show,
320 .show = integrity_tag_size_show,
325 .show = integrity_interval_show,
330 .show = integrity_verify_show,
336 .show = integrity_generate_show,
342 .show = integrity_device_show,
357 .show = &integrity_attr_show,
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh8 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]}" -j \
70 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
102 still_pending=$(devlink resource show "$DEVLINK_DEV" | \
114 devlink sb port pool show $port pool $pool -j \
142 devlink sb pool show "$DEVLINK_DEV" pool $pool -j \
173 devlink sb tc bind show $port tc $tc type $dir -j \
216 devlink -j trap show $DEVLINK_DEV trap $trap_name \
234 devlink -j trap show $DEVLINK_DEV trap $trap_name \
240 devlink -j trap show $DEVLINK_DEV trap $trap_name \
249 devlink -jv trap show $DEVLINK_DEV trap $trap_name \
[all …]
Dlib.sh113 ip link show dev ${NETIFS[p$i]} &> /dev/null
142 ip link show dev ${NETIFS[p$i]} &> /dev/null
231 ip link show dev $dev up \
499 ip -j link show dev $if_name | jq -r '.[]["master"]'
508 ip -j -s link show dev $if_name \
528 tc -j -s filter show dev $dev ${dir:-ingress} pref $pref \
544 ip -j link show dev $if_name | jq -r '.[]["address"]'
553 ageing_time=$(ip -j -d link show dev $bridge \
593 MTU_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].mtu')
888 bridge -j fdb show br $bridge brport $br_port1 \
[all …]
/Linux-v5.4/security/integrity/ima/
Dima_template_lib.c66 enum ima_show_type show, in ima_show_template_data_ascii() argument
98 enum ima_show_type show, in ima_show_template_data_binary() argument
102 u32 len = (show == IMA_SHOW_BINARY_OLD_STRING_FMT) ? in ima_show_template_data_binary()
105 if (show != IMA_SHOW_BINARY_NO_FIELD_LEN) { in ima_show_template_data_binary()
118 enum ima_show_type show, in ima_show_template_field_data() argument
122 switch (show) { in ima_show_template_field_data()
124 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
129 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
136 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest() argument
139 ima_show_template_field_data(m, show, DATA_FMT_DIGEST, field_data); in ima_show_template_digest()
[all …]
Dima_template_lib.h20 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show,
22 void ima_show_template_digest_ng(struct seq_file *m, enum ima_show_type show,
24 void ima_show_template_string(struct seq_file *m, enum ima_show_type show,
26 void ima_show_template_sig(struct seq_file *m, enum ima_show_type show,
28 void ima_show_template_buf(struct seq_file *m, enum ima_show_type show,
/Linux-v5.4/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-v5.4/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-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh473 bridge fdb show brport vxlan0 | grep 00:00:00:00:00:00 \
489 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep self \
492 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep -v self \
503 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep self \
514 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep self \
517 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep -v self \
528 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep -v self \
539 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep self \
542 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep -v self \
561 ip route show table local | grep 198.51.100.1 | grep -q offload
[all …]
/Linux-v5.4/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 *),
109 #define proc_create_single(name, mode, parent, show) ({NULL;}) argument
110 #define proc_create_single_data(name, mode, parent, show, data) ({NULL;}) argument
125 #define proc_create_net_single(name, mode, parent, show, data) ({NULL;}) argument
Discsi_boot_sysfs.h83 ssize_t (*show) (void *data, int type, char *buf); member
111 ssize_t (*show) (void *data, int type, char *buf),
118 ssize_t (*show) (void *data, int type, char *buf),
124 ssize_t (*show) (void *data, int type, char *buf),
131 ssize_t (*show)(void *data, int type, char *buf),
/Linux-v5.4/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-v5.4/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-v5.4/drivers/scsi/
Discsi_boot_sysfs.c26 ssize_t (*show) (void *data, int type, char *buf); member
45 if (boot_kobj->show) in iscsi_boot_show_attribute()
46 ret = boot_kobj->show(boot_kobj->data, boot_attr->type, str); in iscsi_boot_show_attribute()
51 .show = iscsi_boot_show_attribute,
341 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_kobj()
359 boot_kobj->show = show; in iscsi_boot_create_kobj()
404 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_target()
409 "target%d", index, data, show, is_visible, in iscsi_boot_create_target()
429 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_initiator()
435 "initiator", index, data, show, in iscsi_boot_create_initiator()
[all …]
/Linux-v5.4/drivers/hwmon/
Dgl518sm.c226 #define show(type, suffix, value) \ macro
234 show(TEMP, temp_input1, temp_in);
235 show(TEMP, temp_max1, temp_max);
236 show(TEMP, temp_hyst1, temp_hyst);
237 show(BOOL, fan_auto1, fan_auto1);
238 show(VDD, in_input0, voltage_in[0]);
239 show(IN, in_input1, voltage_in[1]);
240 show(IN, in_input2, voltage_in[2]);
241 show(IN, in_input3, voltage_in[3]);
242 show(VDD, in_min0, voltage_min[0]);
[all …]
/Linux-v5.4/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-v5.4/drivers/edac/
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 …]
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 …]
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool.rst25 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext**
28 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin**
31 *CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
33 *PERF-COMMANDS* := { **show** | **list** | **help** }
35 *NET-COMMANDS* := { **show** | **list** | **help** }
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Da5xx_debugfs.c78 static int show(struct seq_file *m, void *arg) in show() function
84 int (*show)(struct msm_gpu *gpu, struct drm_printer *p) = in show() local
87 return show(priv->gpu, &p); in show()
90 #define ENT(n) { .name = #n, .show = show, .data = n ##_print }
/Linux-v5.4/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-v5.4/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-v5.4/Documentation/networking/
Dvrf.txt153 $ ip [-d] link show type vrf
154 NOTE: The -d option is needed to show the table id
157 $ ip -d link show type vrf
174 $ ip -br link show type vrf
196 To show devices that have been assigned to a specific VRF add the master
198 $ ip link show vrf NAME
199 $ ip link show master NAME
202 $ ip link show vrf red
212 $ ip -br link show vrf red
222 $ ip [-6] neigh show vrf NAME
[all …]
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c315 cip->attr_name.show = show_name; in pvr2_sysfs_add_control()
320 cip->attr_type.show = show_type; in pvr2_sysfs_add_control()
325 cip->attr_min.show = show_min; in pvr2_sysfs_add_control()
330 cip->attr_max.show = show_max; in pvr2_sysfs_add_control()
335 cip->attr_def.show = show_def; in pvr2_sysfs_add_control()
348 cip->attr_enum.show = show_enum; in pvr2_sysfs_add_control()
353 cip->attr_bits.show = show_bits; in pvr2_sysfs_add_control()
365 cip->attr_val.show = show_val_norm; in pvr2_sysfs_add_control()
369 cip->attr_custom.show = show_val_custom; in pvr2_sysfs_add_control()
423 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc()
[all …]

12345678910>>...37