Home
last modified time | relevance | path

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

12345678910>>...47

/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-fec.sh13 configured=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2 | head -1 | cut -d' ' -f1)
16 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
23 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
31 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
39 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
47 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
55 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
61 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
73 $ETHTOOL --json --show-fec $NSIM_NETDEV | jq empty >>/dev/null 2>&1
78 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].config[]')
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Ddevlink_lib.sh11 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \
25 devlink dev show $DEVLINK_DEV &> /dev/null
85 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
122 still_pending=$(devlink resource show "$DEVLINK_DEV" | \
142 devlink sb port pool show $port pool $pool -j \
182 devlink sb pool show "$DEVLINK_DEV" pool $pool -j \
223 devlink sb tc bind show $port tc $tc type $dir -j \
278 devlink -j trap show $DEVLINK_DEV trap $trap_name \
296 devlink -j trap show $DEVLINK_DEV trap $trap_name \
302 devlink -j trap show $DEVLINK_DEV trap $trap_name \
[all …]
H A Dbridge_igmp.sh126 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
135 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
142 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
163 bridge -j -d -s mdb show dev br0 \
167 bridge -j -d -s mdb show dev br0 \
188 bridge -j -d -s mdb show dev br0 \
199 bridge -j -d -s mdb show dev br0 \
302 bridge -j -d -s mdb show dev br0 \
313 bridge -j -d -s mdb show dev br0 \
319 bridge -j -d -s mdb show dev br0 \
[all …]
H A Dbridge_mld.sh163 bridge -j -d -s mdb show dev br0 \
167 bridge -j -d -s mdb show dev br0 \
188 bridge -j -d -s mdb show dev br0 \
199 bridge -j -d -s mdb show dev br0 \
301 bridge -j -d -s mdb show dev br0 \
312 bridge -j -d -s mdb show dev br0 \
318 bridge -j -d -s mdb show dev br0 \
446 bridge -j -d -s mdb show dev br0 \
506 bridge -j -d -s mdb show dev br0 \
512 bridge -j -d -s mdb show dev br0 \
[all …]
/linux/tools/testing/selftests/net/
H A Dtest_neigh.sh77 mac=$(ip -n "$ns2" -j link show dev veth1 | jq -r '.[]["address"]')
178 delay_probe=$(ip -n "$ns1" -j ntable show dev veth0 name "$tbl_name" | jq '.[]["delay_probe"]')
206 retrans_time=$(ip -n "$ns1" -j ntable show dev veth0 name "$tbl_name" | jq '.[]["retrans"]')
207 ucast_probes=$(ip -n "$ns1" -j ntable show dev veth0 name "$tbl_name" | jq '.[]["ucast_probes"]')
208 app_probes=$(ip -n "$ns1" -j ntable show dev veth0 name "$tbl_name" | jq '.[]["app_probes"]')
209 …mcast_reprobes=$(ip -n "$ns1" -j ntable show dev veth0 name "$tbl_name" | jq '.[]["mcast_reprobes"…
244 …orig_thresh1=$(ip -j ntable show name "$tbl_name" | jq '.[] | select(has("thresh1")) | .["thresh1"…
245 …orig_thresh2=$(ip -j ntable show name "$tbl_name" | jq '.[] | select(has("thresh2")) | .["thresh2"…
246 …orig_thresh3=$(ip -j ntable show name "$tbl_name" | jq '.[] | select(has("thresh3")) | .["thresh3"…
251 …forced_gc_runs_t0=$(ip -j -s ntable show name "$tbl_name" | jq '.[] | select(has("forced_gc_runs")…
[all …]
/linux/Documentation/translations/zh_CN/filesystems/
H A 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 *);
166 if (dev_attr->show)
167 ret = dev_attr->show(dev, dev_attr, buf);
170 dev_attr->show);
180 在声明属性时,必须指定 show() 或 store() 方法,以实现属性的
183 ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf);
193 - 在读方面(read(2)),show() 方法应该填充整个缓冲区。回想属性
198 向后搜索到零或使用‘0’偏移执行一个pread(2)操作,show()方法将
[all …]
/linux/Documentation/translations/zh_TW/filesystems/
H A Dsysfs.txt108 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
132 .show = show_foo,
145 ssize_t (*show)(struct kobject *, struct attribute *, char *);
169 if (dev_attr->show)
170 ret = dev_attr->show(dev, dev_attr, buf);
173 dev_attr->show);
183 在聲明屬性時,必須指定 show() 或 store() 方法,以實現屬性的
186 ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf);
196 - 在讀方面(read(2)),show() 方法應該填充整個緩衝區。回想屬性
201 向後搜索到零或使用‘0’偏移執行一個pread(2)操作,show()方法將
[all …]
/linux/kernel/bpf/
H A Dbtf.c419 __printf(2, 0) void (*showfn)(struct btf_show *show, const char *fmt, va_list args);
459 void (*show)(const struct btf *btf, const struct btf_type *t, member
461 struct btf_show *show);
965 static const char *btf_show_name(struct btf_show *show) in btf_show_name() argument
974 const struct btf_member *m = show->state.member; in btf_show_name()
977 u32 id = show->state.type_id; in btf_show_name()
983 show->state.name[0] = '\0'; in btf_show_name()
990 if (show->state.array_member) in btf_show_name()
995 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name()
1007 t = btf_type_by_id(show->btf, id); in btf_show_name()
[all …]
/linux/security/integrity/ima/
H A 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_digest_ngv2(struct seq_file *m, enum ima_show_type show,
26 void ima_show_template_string(struct seq_file *m, enum ima_show_type show,
28 void ima_show_template_sig(struct seq_file *m, enum ima_show_type show,
30 void ima_show_template_buf(struct seq_file *m, enum ima_show_type show,
32 void ima_show_template_uint(struct seq_file *m, enum ima_show_type show,
H A Dima_template_lib.c80 enum ima_show_type show, in ima_show_template_data_ascii() argument
143 enum ima_show_type show, in ima_show_template_data_binary() argument
147 u32 len = (show == IMA_SHOW_BINARY_OLD_STRING_FMT) ? in ima_show_template_data_binary()
150 if (show != IMA_SHOW_BINARY_NO_FIELD_LEN) { in ima_show_template_data_binary()
164 enum ima_show_type show, in ima_show_template_field_data() argument
168 switch (show) { in ima_show_template_field_data()
170 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
175 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
182 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest() argument
185 ima_show_template_field_data(m, show, DATA_FMT_DIGEST, field_data); in ima_show_template_digest()
[all …]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool.rst29 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** |
32 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin** |
35 *LINK-COMMANDS* := { **show** | **list** | **pin** | **detach** | **help** }
37 *CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
39 *PERF-COMMANDS* := { **show** | **list** | **help** }
41 *NET-COMMANDS* := { **show** | **list** | **help** }
45 *BTF-COMMANDS* := { **show** | **list** | **dump** | **help** }
49 *STRUCT-OPS-COMMANDS* := { **show** | **list** | **dump** | **register** | **unregister** | **help*…
H A Dbpftool-link.rst21 *COMMANDS* := { **show** | **list** | **pin** | **help** }
26 | **bpftool** **link { show | list }** [*LINK*]
36 bpftool link { show | list } [*LINK*]
37 Show information about active links. If *LINK* is specified show
68 When showing BPF links, show file names of pinned links.
76 **# bpftool link show**
84 **# bpftool --json --pretty link show**
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_debugfs.c281 {"topology", .show = xe_gt_debugfs_simple_show, .data = topology},
282 {"ggtt", .show = xe_gt_debugfs_simple_show, .data = ggtt},
283 {"register-save-restore", .show = xe_gt_debugfs_simple_show, .data = register_save_restore},
284 {"workarounds", .show = xe_gt_debugfs_simple_show, .data = workarounds},
285 {"tunings", .show = xe_gt_debugfs_simple_show, .data = tunings},
286 {"default_lrc_rcs", .show = xe_gt_debugfs_simple_show, .data = rcs_default_lrc},
287 {"default_lrc_ccs", .show = xe_gt_debugfs_simple_show, .data = ccs_default_lrc},
288 {"default_lrc_bcs", .show = xe_gt_debugfs_simple_show, .data = bcs_default_lrc},
289 {"default_lrc_vcs", .show = xe_gt_debugfs_simple_show, .data = vcs_default_lrc},
290 {"default_lrc_vecs", .show = xe_gt_debugfs_simple_show, .data = vecs_default_lrc},
[all …]
H A Dxe_guc_debugfs.c112 { "guc_info", .show = guc_debugfs_show, .data = xe_guc_print_info },
113 { "guc_ctb", .show = guc_debugfs_show, .data = guc_ctb },
118 { "guc_pc", .show = guc_debugfs_show, .data = guc_pc },
123 { "guc_log", .show = guc_debugfs_show, .data = guc_log },
124 { "guc_log_dmesg", .show = guc_debugfs_show, .data = guc_log_dmesg },
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh28 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
43 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"
148 ip -n ${s_ns} -d link show eth0 | grep -q 'prio 1000000'
150 ip -n ${s_ns} -d link show eth1 | grep -q 'prio 0'
152 ip -n ${s_ns} -d link show eth2 | grep -q 'prio -50'
255 maddr_list=$(ip -n ${s_ns} maddr show dev eth${i})
278 maddr_list=$(ip -n ${s_ns} maddr show dev eth${i})
385 local bond_mac=$(ip -n "$s_ns" -j link show bond0 | jq -r '.[]["address"]')
386 local eth0_mac=$(ip -n "$s_ns" -j link show eth0 | jq -r '.[]["address"]')
387 local eth1_mac=$(ip -n "$s_ns" -j link show eth1 | jq -r '.[]["address"]')
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan.sh486 bridge fdb show brport vxlan0
502 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
505 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
516 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
527 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
530 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
541 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
552 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
555 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
574 ip $IP_FLAG route show table local $LOCAL_IP_1
[all …]
H A Drtnetlink.sh516 bridge fdb show brport $swp1 de:ad:be:ef:13:37
537 ip -4 neigh show dev $swp1 192.0.2.2
540 ip -6 neigh show dev $swp1 2001:db8:1::2
567 ip -4 route show 198.51.100.0/24 vrf v$swp1
570 ip -6 route show 2001:db8:2::/64 vrf v$swp1
577 ip -4 route show 198.51.100.0/24 vrf v$swp1
580 ip -6 route show 2001:db8:2::/64 vrf v$swp1
587 ip -4 route show 198.51.100.0/24 vrf v$swp1
590 ip -6 route show 2001:db8:2::/64 vrf v$swp1
663 ip nexthop show id 1
[all …]
/linux/include/drm/
H A Ddrm_debugfs.h51 #define DRM_DEBUGFS_GPUVA_INFO(show, data) {"gpuvas", show, DRIVER_GEM_GPUVA, data} argument
69 int (*show)(struct seq_file*, void*); member
115 int (*show)(struct seq_file*, void*); member
149 int (*show)(struct seq_file*, void*), void *data);
173 int (*show)(struct seq_file*, void*), in drm_debugfs_add_file()
/linux/tools/testing/selftests/wireguard/
H A Dnetns.sh159 [[ $(ip1 link show dev wg0) =~ mtu\ ([0-9]+) ]] && orig_mtu="${BASH_REMATCH[1]}"
167 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip2 -stats link show dev …
169 { read _; read _; read _; read rx_bytes _; read _; read tx_bytes _; } < <(ip1 -stats link show dev …
171 read _ rx_bytes tx_bytes < <(n2 wg show wg0 transfer)
173 read _ rx_bytes tx_bytes < <(n1 wg show wg0 transfer)
175 read _ timestamp < <(n1 wg show wg0 latest-handshakes)
216 [[ $(n2 wg show wg0 endpoints) == "$pub1 127.212.121.99:9999" ]]
222 [[ $(n2 wg show wg0 endpoints) == "$pub1 [::1]:9998" ]]
242 [[ $(n1 wg show wg0 endpoints) == "$pub2 [::1]:9997" ]]
279 read _ _ tx_bytes_before < <(n0 wg show wg1 transfer)
[all …]
/linux/drivers/cpuidle/
H A Dsysfs.c147 ssize_t (*show)(struct cpuidle_device *, char *); member
174 if (cattr->show) { in cpuidle_show()
176 ret = cattr->show(dev, buf); in cpuidle_show()
198 .show = cpuidle_show,
217 ssize_t (*show)(struct cpuidle_state *, \ member
223 #define define_one_state_ro(_name, show) \ argument
224 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
226 #define define_one_state_rw(_name, show, store) \ argument
227 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0644, show, store)
367 #define define_one_state_s2idle_ro(_name, show) \ argument
[all …]
/linux/scripts/coccinelle/api/
H A Ddevice_attr_show.cocci4 /// show() should only use sysfs_emit() or sysfs_emit_at() when formatting
18 identifier show, dev, attr, buf;
22 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
30 identifier show, dev, attr, buf;
34 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
/linux/include/linux/
H A 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),
H A Dproc_fs.h108 int (*show)(struct seq_file *, void *), void *data);
109 #define proc_create_single(name, mode, parent, show) \ argument
110 proc_create_single_data(name, mode, parent, show, NULL)
142 int (*show)(struct seq_file *, void *), void *data);
150 int (*show)(struct seq_file *, void *),
198 #define proc_create_single(name, mode, parent, show) ({NULL;}) argument
199 #define proc_create_single_data(name, mode, parent, show, data) ({NULL;}) argument
223 #define proc_create_net_single(name, mode, parent, show, data) ({NULL;}) argument
224 #define proc_create_net_single_write(name, mode, parent, show, write, data) ({NULL;}) argument
/linux/drivers/hwmon/
H A 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/drivers/scsi/
H A 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 …]

12345678910>>...47