/linux/kernel/bpf/ |
A D | btf.c | 967 snprintf(show->state.name, sizeof(show->state.name), in btf_show_name() 1023 show->showfn(show, fmt, args); in btf_show() 1043 show->state.depth_to_show = show->state.depth; \ 1060 return show->obj.head + show->obj.size - data; in btf_show_obj_size_left() 1079 return show->obj.safe + (data - show->obj.data); in __btf_show_obj_safe() 1214 btf_show(show, "%s%s%s", btf_show_indent(show), in btf_show_start_aggr_type() 1226 btf_show_delim(show), btf_show_newline(show)); in btf_show_end_aggr_type() 2856 show->state.depth_check = show->state.depth + 1; in btf_array_show() 3214 show->state.depth_check = show->state.depth + 1; in btf_struct_show() 5867 memset(&show->state, 0, sizeof(show->state)); in btf_type_show() [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
A D | ethtool-fec.sh | 12 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 19 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 27 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 35 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 43 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 51 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 57 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2) 69 $ETHTOOL --json --show-fec $NSIM_NETDEV | jq empty >>/dev/null 2>&1 74 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].config[]') 92 $ETHTOOL --show-fec $NSIM_NETDEV >>/dev/null 2>&1 [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
A D | devlink_lib.sh | 25 devlink dev show $DEVLINK_DEV &> /dev/null 140 devlink sb port pool show $port pool $pool -j \ 180 devlink sb pool show "$DEVLINK_DEV" pool $pool -j \ 221 devlink sb tc bind show $port tc $tc type $dir -j \ 276 devlink -j trap show $DEVLINK_DEV trap $trap_name \ 294 devlink -j trap show $DEVLINK_DEV trap $trap_name \ 300 devlink -j trap show $DEVLINK_DEV trap $trap_name \ 309 devlink -jv trap show $DEVLINK_DEV trap $trap_name \ 318 devlink -js trap show $DEVLINK_DEV trap $trap_name \ 326 devlink -js trap show $DEVLINK_DEV trap $trap_name \ [all …]
|
A D | bridge_mld.sh | 150 bridge -j -d -s mdb show dev br0 \ 154 bridge -j -d -s mdb show dev br0 \ 175 bridge -j -d -s mdb show dev br0 \ 186 bridge -j -d -s mdb show dev br0 \ 288 bridge -j -d -s mdb show dev br0 \ 299 bridge -j -d -s mdb show dev br0 \ 305 bridge -j -d -s mdb show dev br0 \ 433 bridge -j -d -s mdb show dev br0 \ 493 bridge -j -d -s mdb show dev br0 \ 499 bridge -j -d -s mdb show dev br0 \ [all …]
|
A D | bridge_igmp.sh | 152 bridge -j -d -s mdb show dev br0 \ 156 bridge -j -d -s mdb show dev br0 \ 177 bridge -j -d -s mdb show dev br0 \ 188 bridge -j -d -s mdb show dev br0 \ 291 bridge -j -d -s mdb show dev br0 \ 302 bridge -j -d -s mdb show dev br0 \ 308 bridge -j -d -s mdb show dev br0 \ 436 bridge -j -d -s mdb show dev br0 \ 496 bridge -j -d -s mdb show dev br0 \ 502 bridge -j -d -s mdb show dev br0 \ [all …]
|
A D | lib.sh | 183 ip link show dev ${NETIFS[p$i]} &> /dev/null 212 ip link show dev ${NETIFS[p$i]} &> /dev/null 419 ip link show dev $dev up \ 705 ip -j -s link show dev $if_name \ 736 tc -j -s filter show $id \ 755 tc -j -s qdisc show dev "$dev" \ 765 tc -j -s qdisc show dev "$dev" invisible \ 1432 bridge -j -d -s mdb show dev br0 \ 1438 bridge -j -d -s mdb show dev br0 \ 1474 bridge -j -d -s mdb show dev br0 \ [all …]
|
/linux/Documentation/translations/zh_CN/filesystems/ |
A D | sysfs.txt | 129 .show = show_foo, 166 if (dev_attr->show) 170 dev_attr->show); 180 在声明属性时,必须指定 show() 或 store() 方法,以实现属性的 193 - 在读方面(read(2)),show() 方法应该填充整个缓冲区。回想属性 198 向后搜索到零或使用‘0’偏移执行一个pread(2)操作,show()方法将 211 - 写操作导致的 show() 方法重载,会忽略当前文件位置。 215 - show() 方法应该返回写入缓冲区的字节数,也就是 scnprintf()的 218 - show() 方法在将格式化返回值返回用户空间的时候,禁止使用snprintf()。 225 - show() 或 store() 可以返回错误值。当得到一个非法值,必须返回一个 [all …]
|
/linux/Documentation/translations/zh_TW/filesystems/ |
A D | sysfs.txt | 132 .show = show_foo, 169 if (dev_attr->show) 173 dev_attr->show); 183 在聲明屬性時,必須指定 show() 或 store() 方法,以實現屬性的 196 - 在讀方面(read(2)),show() 方法應該填充整個緩衝區。回想屬性 201 向後搜索到零或使用『0』偏移執行一個pread(2)操作,show()方法將 214 - 寫操作導致的 show() 方法重載,會忽略當前文件位置。 218 - show() 方法應該返回寫入緩衝區的字節數,也就是 scnprintf()的 221 - show() 方法在將格式化返回值返回用戶空間的時候,禁止使用snprintf()。 228 - show() 或 store() 可以返回錯誤值。當得到一個非法值,必須返回一個 [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
A D | vxlan.sh | 475 bridge fdb show brport vxlan0 676 bridge fdb show dev vxlan0 679 bridge fdb show dev vxlan0 683 bridge fdb show dev vxlan0 695 bridge fdb show dev vxlan0 701 bridge fdb show dev vxlan0 713 bridge fdb show dev vxlan0 797 bridge fdb show dev vxlan0 803 bridge fdb show dev vxlan0 1101 bridge fdb show brport vxlan0 [all …]
|
A D | rtnetlink.sh | 696 ip nexthop show id 1 701 ip nexthop show id 1 707 ip nexthop show id 1 712 ip nexthop show id 1 717 ip nexthop show id 1 749 ip nexthop show id 1 752 ip nexthop show id 2 755 ip nexthop show id 10 761 ip nexthop show id 10 767 ip nexthop show id 10 [all …]
|
/linux/security/integrity/ima/ |
A D | ima_template_lib.c | 67 enum ima_show_type show, in ima_show_template_data_ascii() argument 129 enum ima_show_type show, in ima_show_template_data_binary() argument 133 u32 len = (show == IMA_SHOW_BINARY_OLD_STRING_FMT) ? in ima_show_template_data_binary() 136 if (show != IMA_SHOW_BINARY_NO_FIELD_LEN) { in ima_show_template_data_binary() 150 enum ima_show_type show, in ima_show_template_field_data() argument 154 switch (show) { in ima_show_template_field_data() 156 ima_show_template_data_ascii(m, show, datafmt, field_data); in ima_show_template_field_data() 161 ima_show_template_data_binary(m, show, datafmt, field_data); in ima_show_template_field_data() 177 ima_show_template_field_data(m, show, DATA_FMT_DIGEST_WITH_ALGO, in ima_show_template_digest_ng() 190 ima_show_template_field_data(m, show, DATA_FMT_HEX, field_data); in ima_show_template_sig() [all …]
|
A D | ima_template_lib.h | 20 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, 30 void ima_show_template_uint(struct seq_file *m, enum ima_show_type show,
|
/linux/drivers/cpuidle/ |
A D | sysfs.c | 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 361 __ATTR(_name, 0444, show, NULL) 413 if (cattr->show) in cpuidle_state_show() 438 .show = cpuidle_state_show, 526 __ATTR(_name, 0444, show, NULL) 564 if (dattr->show) in cpuidle_driver_show() [all …]
|
/linux/tools/testing/selftests/wireguard/ |
A D | netns.sh | 520 for ip in $(n0 wg show wg0 allowed-ips); do 542 done < <(n0 wg show wg0 allowed-ips) 576 } < <(n0 wg show wg0 allowed-ips) 579 ! n0 wg show doesnotexist || false 583 [[ $(n0 wg show wg0 private-key) == "$key1" ]] 586 [[ $(n0 wg show wg0 private-key) == "(none)" ]] 590 [[ $(n0 wg show wg0 public-key) == "$pub2" ]] 591 [[ -z $(n0 wg show wg0 peers) ]] 593 [[ -z $(n0 wg show wg0 peers) ]] 596 [[ $(n0 wg show wg0 peers) == "$pub2" ]] [all …]
|
/linux/drivers/hwmon/ |
A D | gl518sm.c | 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); 243 show(IN, in_min1, voltage_min[1]); 244 show(IN, in_min2, voltage_min[2]); 245 show(IN, in_min3, voltage_min[3]); 247 show(IN, in_max1, voltage_max[1]); 248 show(IN, in_max2, voltage_max[2]); 249 show(IN, in_max3, voltage_max[3]); [all …]
|
/linux/drivers/scsi/ |
A D | iscsi_boot_sysfs.c | 26 ssize_t (*show) (void *data, int type, char *buf); member 45 if (boot_kobj->show) in iscsi_boot_show_attribute() 51 .show = iscsi_boot_show_attribute, 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() 435 "initiator", index, data, show, in iscsi_boot_create_initiator() 455 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_ethernet() 461 "ethernet%d", index, data, show, in iscsi_boot_create_ethernet() 481 ssize_t (*show)(void *data, int type, char *buf), in iscsi_boot_create_acpitbl() [all …]
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-link.rst | 18 *COMMANDS* := { **show** | **list** | **pin** | **help** } 23 | **bpftool** **link { show | list }** [*LINK*] 33 **bpftool link { show | list }** [*LINK*] 35 specified show information only about given link, 69 When showing BPF links, show file names of pinned 78 **# bpftool link show** 86 **# bpftool --json --pretty link show**
|
A D | bpftool.rst | 25 { **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/samples/bpf/ |
A D | test_cgrp2_tc.sh | 102 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/tools/testing/selftests/net/ |
A D | netdevice.sh | 21 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/scripts/coccinelle/api/ |
A D | device_attr_show.cocci | 4 /// 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)
|
/linux/include/linux/ |
A D | iscsi_boot_sysfs.h | 83 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),
|
A D | proc_fs.h | 101 int (*show)(struct seq_file *, void *), void *data); 102 #define proc_create_single(name, mode, parent, show) \ argument 103 proc_create_single_data(name, mode, parent, show, NULL) 126 int (*show)(struct seq_file *, void *), void *data); 134 int (*show)(struct seq_file *, void *), 179 #define proc_create_single(name, mode, parent, show) ({NULL;}) argument 180 #define proc_create_single_data(name, mode, parent, show, data) ({NULL;}) argument 195 #define proc_create_net_single(name, mode, parent, show, data) ({NULL;}) argument
|
/linux/drivers/edac/ |
A D | edac_device_sysfs.c | 109 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, 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, 454 if (block_attr->show) in edac_dev_block_show() 455 return block_attr->show(kobj, attr, buffer); in edac_dev_block_show() [all …]
|
A D | edac_pci_sysfs.c | 92 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 …]
|