Home
last modified time | relevance | path

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

12345678910>>...39

/kernel/linux/linux-5.10/kernel/bpf/
Dbtf.c343 void (*showfn)(struct btf_show *show, const char *fmt, va_list args);
383 void (*show)(const struct btf *btf, const struct btf_type *t, member
385 struct btf_show *show);
767 static const char *btf_show_name(struct btf_show *show) in btf_show_name() argument
776 const struct btf_member *m = show->state.member; in btf_show_name()
777 const struct btf_type *t = show->state.type; in btf_show_name()
779 u32 id = show->state.type_id; in btf_show_name()
785 show->state.name[0] = '\0'; in btf_show_name()
792 if (show->state.array_member) in btf_show_name()
797 member = btf_name_by_offset(show->btf, m->name_off); in btf_show_name()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh8 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \
76 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
113 still_pending=$(devlink resource show "$DEVLINK_DEV" | \
131 devlink sb port pool show $port pool $pool -j \
171 devlink sb pool show "$DEVLINK_DEV" pool $pool -j \
212 devlink sb tc bind show $port tc $tc type $dir -j \
267 devlink -j trap show $DEVLINK_DEV trap $trap_name \
285 devlink -j trap show $DEVLINK_DEV trap $trap_name \
291 devlink -j trap show $DEVLINK_DEV trap $trap_name \
300 devlink -jv trap show $DEVLINK_DEV trap $trap_name \
[all …]
Dlib.sh124 ip link show dev ${NETIFS[p$i]} &> /dev/null
153 ip link show dev ${NETIFS[p$i]} &> /dev/null
327 ip link show dev $dev up \
604 ip -j link show dev $if_name | jq -r '.[]["master"]'
613 ip -j -s link show dev $if_name \
634 tc -j -s filter show dev $dev ${dir:-ingress} pref $pref \
644 tc -j -s filter show $id \
663 tc -j -s qdisc show dev "$dev" \
673 tc -j -s qdisc show dev "$dev" invisible \
713 ip -j link show dev $if_name | jq -r '.[]["address"]'
[all …]
/kernel/linux/linux-5.10/security/integrity/ima/
Dima_template_lib.c64 enum ima_show_type show, in ima_show_template_data_ascii() argument
96 enum ima_show_type show, in ima_show_template_data_binary() argument
100 u32 len = (show == IMA_SHOW_BINARY_OLD_STRING_FMT) ? in ima_show_template_data_binary()
103 if (show != IMA_SHOW_BINARY_NO_FIELD_LEN) { in ima_show_template_data_binary()
116 enum ima_show_type show, in ima_show_template_field_data() argument
120 switch (show) { in ima_show_template_field_data()
122 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data()
127 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data()
134 void ima_show_template_digest(struct seq_file *m, enum ima_show_type show, in ima_show_template_digest() argument
137 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,
/kernel/linux/linux-5.10/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 *);
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh475 bridge fdb show brport vxlan0
491 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
494 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
505 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
516 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0
519 de:ad:be:ef:13:37 self -v 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 bridge fdb show brport vxlan0
544 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0
563 ip route show table local 198.51.100.1
[all …]
/kernel/linux/linux-5.10/drivers/cpuidle/
Dsysfs.c140 ssize_t (*show)(struct cpuidle_device *, char *); member
167 if (cattr->show) { in cpuidle_show()
169 ret = cattr->show(dev, buf); in cpuidle_show()
191 .show = cpuidle_show,
210 ssize_t (*show)(struct cpuidle_state *, \ member
216 #define define_one_state_ro(_name, show) \ argument
217 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0444, show, NULL)
219 #define define_one_state_rw(_name, show, store) \ argument
220 static struct cpuidle_state_attr attr_##_name = __ATTR(_name, 0644, show, store)
359 #define define_one_state_s2idle_ro(_name, show) \ argument
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/
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 …]
/kernel/linux/linux-5.10/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…
Daltnames.sh23 output=$(ip -j -p link show $SHORT_NAME)
32 ip -j -p link show $DUMMY_DEV &>/dev/null
38 output=$(ip -j -p link show $LONG_NAME)
50 ip -j -p link show $SHORT_NAME &>/dev/null
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-link.rst17 *COMMANDS* := { **show** | **list** | **pin** | **help** }
22 | **bpftool** **link { show | list }** [*LINK*]
32 **bpftool link { show | list }** [*LINK*]
34 specified show information only about given link,
68 When showing BPF links, show file names of pinned
77 **# bpftool link show**
85 **# bpftool --json --pretty link show**
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** }
/kernel/linux/linux-5.10/include/linux/
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),
Dproc_fs.h100 int (*show)(struct seq_file *, void *), void *data);
101 #define proc_create_single(name, mode, parent, show) \ argument
102 proc_create_single_data(name, mode, parent, show, NULL)
125 int (*show)(struct seq_file *, void *), void *data);
133 int (*show)(struct seq_file *, void *),
178 #define proc_create_single(name, mode, parent, show) ({NULL;}) argument
179 #define proc_create_single_data(name, mode, parent, show, data) ({NULL;}) argument
194 #define proc_create_net_single(name, mode, parent, show, data) ({NULL;}) argument
/kernel/linux/linux-5.10/scripts/coccinelle/api/
Ddevice_attr_show.cocci4 /// show() must not use snprintf() when formatting the value to be
20 identifier show, dev, attr, buf;
24 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
32 identifier show, dev, attr, buf;
35 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/block/
Dblk-mq-sysfs.c50 ssize_t (*show)(struct blk_mq_ctx *, char *); member
56 ssize_t (*show)(struct blk_mq_hw_ctx *, char *); member
72 if (!entry->show) in blk_mq_sysfs_show()
76 res = entry->show(ctx, page); in blk_mq_sysfs_show()
114 if (!entry->show) in blk_mq_hw_sysfs_show()
118 res = entry->show(hctx, page); in blk_mq_hw_sysfs_show()
182 .show = blk_mq_hw_sysfs_nr_tags_show,
186 .show = blk_mq_hw_sysfs_nr_reserved_tags_show,
190 .show = blk_mq_hw_sysfs_cpus_show,
202 .show = blk_mq_sysfs_show,
[all …]
Dblk-integrity.c217 ssize_t (*show)(struct blk_integrity *, char *); member
229 return entry->show(bi, page); in integrity_attr_show()
313 .show = integrity_format_show,
318 .show = integrity_tag_size_show,
323 .show = integrity_interval_show,
328 .show = integrity_verify_show,
334 .show = integrity_generate_show,
340 .show = integrity_device_show,
355 .show = &integrity_attr_show,
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh121 size=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].size')
134 count=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].snapshot | length')
376 devlink health show $DL_HANDLE reporter empty >/dev/null
379 devlink health dump show $DL_HANDLE reporter empty >/dev/null
400 local show=$(devlink health show $DL_HANDLE reporter $name -j | jq -e -r ".[][][]")
403 local state=$(echo $show | jq -r ".state")
407 local error=$(echo $show | jq -r ".error")
411 local recover=`echo $show | jq -r ".recover"`
415 local grace_period=$(echo $show | jq -r ".grace_period")
420 local auto_recover=$(echo $show | jq -r ".auto_recover")
[all …]
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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, \
341 ssize_t(*show) (struct edac_device_instance *, char *); member
352 if (instance_attr->show) in edac_dev_instance_show()
353 return instance_attr->show(instance, buffer); in edac_dev_instance_show()
372 .show = edac_dev_instance_show,
379 .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 …]

12345678910>>...39