| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | router_mpath_nh_res.sh | 299 ip nexthop replace id 103 group 101/102 type resilient idle_timer 0 300 ip nexthop replace id 106 group 104/105 type resilient idle_timer 0 303 ip nexthop replace id 103 group 101,1/102,1 type resilient 305 ip nexthop replace id 103 group 101,2/102,1 type resilient 307 ip nexthop replace id 103 group 101,11/102,45 type resilient 310 ip nexthop replace id 103 group 101,1/102,1 type resilient 313 ip nexthop replace id 106 group 104,1/105,1 type resilient 315 ip nexthop replace id 106 group 104,2/105,1 type resilient 317 ip nexthop replace id 106 group 104,11/105,45 type resilient 320 ip nexthop replace id 106 group 104,1/105,1 type resilient [all …]
|
| H A D | bridge_mdb.sh | 146 # Check basic add, replace and delete behavior. 151 bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null 152 check_err $? "Failed to replace $name host entry" 201 # Check basic add, replace and delete behavior. 206 bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \ 208 check_err $? "Failed to replace $name entry" 219 bridge mdb replace dev br0 port $swp1 $grp_key permanent vid 10 \ 222 check_err $? "Failed to replace protocol of $name entry" 420 ## Replace tests. 426 bridge mdb replace dev br0 port $swp1 grp $grp permanent vid 10 \ [all …]
|
| H A D | router_mpath_nh.sh | 242 ip nexthop replace id 103 group 101,$weight_rp12/102,$weight_rp13 259 ip nexthop replace id 103 group 101/102 278 ip nexthop replace id 106 group 104,$weight_rp12/105,$weight_rp13 294 ip nexthop replace id 106 group 104/105 307 ip nexthop replace id 101 via fe80:2::22 dev $rp12 308 ip nexthop replace id 102 via fe80:3::23 dev $rp13 314 ip nexthop replace id 102 via 169.254.3.23 dev $rp13 315 ip nexthop replace id 101 via 169.254.2.22 dev $rp12 347 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1001 351 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1002 [all …]
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | nexthop.sh | 280 $IP nexthop replace id 10 group 1/2/3 287 log_test "Nexthop group replace" 303 $IP nexthop replace id 10 group 1/2/3 &> /dev/null 312 log_test "Nexthop group replace failure" 327 $IP nexthop replace id 10 group 1/2/3 type resilient 341 log_test "Resilient nexthop group replace" 357 $IP nexthop replace id 10 group 1/2/3 type resilient &> /dev/null 371 log_test "Resilient nexthop group replace failure" 410 $IP nexthop replace id 10 group 1/2,3 type resilient 436 $IP nexthop replace id 10 group 1,50/2,150/3,1 type resilient [all …]
|
| /linux/Documentation/doc-guide/ |
| H A D | parse-headers.rst | 77 The EXCEPTIONS_FILE contain two types of statements: \ **ignore**\ or \ **replace**\ . 87 The syntax for the replace tag is: 90 replace \ **type**\ \ **name**\ \ **new_value**\ 92 The \ **replace**\ means that it will generate cross references for a 101 The ignore or replace statement will apply to ioctl definitions like: 109 The ignore or replace statement will apply to any other #define found 116 The ignore or replace statement will apply to typedef statements at C_FILE. 122 The ignore or replace statement will apply to the name of struct statements 129 The ignore or replace statement will apply to the name of enum statements 136 The ignore or replace statement will apply to the name of enum value [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | fib_nexthops.sh | 497 # Replace FDB nexthop to non-FDB and vice versa 499 run_cmd "$IP nexthop replace id 70 via 2001:db8:91::2 dev veth1" 500 log_test $? 0 "Replace FDB nexthop to non-FDB nexthop" 501 run_cmd "$IP nexthop replace id 70 via 2001:db8:91::2 fdb" 502 log_test $? 0 "Replace non-FDB nexthop to FDB nexthop" 504 # Replace FDB nexthop address while in a group 506 run_cmd "$IP nexthop replace id 70 via 2001:db8:91::3 fdb" 507 log_test $? 0 "Replace FDB nexthop address while in a group" 509 # Cannot replace FDB nexthop to non-FDB and vice versa while in a group 510 run_cmd "$IP nexthop replace id 70 via 2001:db8:91::2 dev veth1" [all …]
|
| H A D | test_bridge_backup_port.sh | 254 run_cmd "tc -n $sw1 qdisc replace dev swp1 clsact" 255 run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass" 257 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 258 run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass" 260 run_cmd "bridge -n $sw1 fdb replace $dmac dev swp1 master static vlan 10" 373 run_cmd "tc -n $sw1 qdisc replace dev swp1 clsact" 374 run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass" 376 run_cmd "tc -n $sw1 qdisc replace dev vx0 clsact" 377 run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass" 379 run_cmd "ip -n $sw1 nexthop replace i [all...] |
| H A D | test_vxlan_mdb.sh | 334 # Basic add, replace and delete behavior. 340 run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 $grp_key permanent dst $vtep_ip src_vni 10010" 358 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 $grp_key permanent proto 123 dst $vtep_ip src… 369 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 $grp_key permanent dst $vtep_ip dst_port 1234… 380 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 $grp_key permanent dst $vtep_ip vni 1234 src_… 391 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 $grp_key permanent dst $vtep_ip src_vni 10010… 547 # Basic add, replace and delete behavior. 555 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 grp $grp permanent filter_mode exclude source… 574 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 grp $grp permanent filter_mode include source… 582 …run_cmd "bridge -n $ns1 mdb replace dev vx0 port vx0 grp $grp permanent filter_mode exclude source… [all …]
|
| /linux/Documentation/translations/zh_CN/doc-guide/ |
| H A D | parse-headers.rst | 75 <例外文件> 包含两种类型的语句: \ **ignore**\ 或 \ **replace**\ . 89 replace \ **type**\ \ **name**\ \ **new_value**\ 91 The \ **replace**\ 味着它将为 \ **type**\ 类型的 \ **name**\ 符号生成交叉引 100 ignore 或 replace 语句应用于ioctl定义,如: 108 ignore 或 replace 语句应用于在<C文件>中找到的任何其他 ``#define`` 。 114 ignore 和 replace 语句应用于<C文件>中的typedef语句。 120 ignore 和 replace 语句应用于<C文件>中的结构体名称语句。 126 ignore 和 replace 语句应用于<C文件>中的枚举名称语句。 132 ignore 和 replace 语句应用于<C文件>中的枚举值名称语句。 157 replace symbol BAR1 :c:type:\`foo\` [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | generator.py | 99 main_c = main_c.replace("%%MODEL_NAME%%", self.name) 100 main_c = main_c.replace("%%TRACEPOINT_HANDLERS_SKEL%%", tracepoint_handlers) 101 main_c = main_c.replace("%%TRACEPOINT_ATTACH%%", tracepoint_attach) 102 main_c = main_c.replace("%%TRACEPOINT_DETACH%%", tracepoint_detach) 103 main_c = main_c.replace("%%DESCRIPTION%%", self.description) 104 main_c = main_c.replace("%%PARENT%%", parent) 105 main_c = main_c.replace("%%INCLUDE_PARENT%%", parent_include) 133 kconfig = kconfig.replace("%%MODEL_NAME%%", self.name) 134 kconfig = kconfig.replace("%%MODEL_NAME_UP%%", self.name.upper()) 135 kconfig = kconfig.replace("%%MONITOR_CLASS_TYPE%%", monitor_class_type) [all …]
|
| H A D | automata.py | 93 state = raw_state.replace('"', '').replace('};', '').replace(',','_') 130 event = line[-2].replace('"','') 136 event = event.replace("\\n", " ") 168 origin_state = line[0].replace('"','').replace(',','_') 169 dest_state = line[2].replace('"','').replace(',','_') 170 possible_events = line[-2].replace('"','').replace("\\n", " ")
|
| /linux/Documentation/translations/it_IT/doc-guide/ |
| H A D | parse-headers.rst | 80 \ **ignore**\ o \ **replace**\ . 90 La sintassi per replace è: 92 replace \ **tipo**\ \ **nome**\ \ **nuovo_valore**\ 94 La dichiarazione \ **replace**\ significa che verrà generato un 104 La dichiarazione ignore o replace verrà applicata su definizioni di ioctl 113 La dichiarazione ignore o replace verrà applicata su una qualsiasi #define 120 La dichiarazione ignore o replace verrà applicata ad una dichiarazione typedef 127 La dichiarazione ignore o replace verrà applicata ai nomi di strutture 134 La dichiarazione ignore o replace verrà applicata ai nomi di enumerati 141 La dichiarazione ignore o replace verrà applicata ai nomi di valori di [all …]
|
| /linux/tools/testing/selftests/livepatch/test_modules/ |
| H A D | test_klp_atomic_replace.c | 10 static int replace; variable 11 module_param(replace, int, 0644); 12 MODULE_PARM_DESC(replace, "replace (default=0)"); 39 /* set .replace in the init function below for demo purposes */ 44 patch.replace = replace; in test_klp_atomic_replace_init() 57 MODULE_DESCRIPTION("Livepatch test: atomic replace");
|
| H A D | test_klp_callbacks_demo2.c | 10 static int replace; variable 11 module_param(replace, int, 0644); 12 MODULE_PARM_DESC(replace, "replace (default=0)"); 75 /* set .replace in the init function below for demo purposes */ 80 patch.replace = replace; in test_klp_callbacks_demo2_init()
|
| /linux/Documentation/driver-api/surface_aggregator/ |
| H A D | internal.rst | 3 .. |ssh_ptl| replace:: :c:type:`struct ssh_ptl <ssh_ptl>` 4 .. |ssh_ptl_submit| replace:: :c:func:`ssh_ptl_submit` 5 .. |ssh_ptl_cancel| replace:: :c:func:`ssh_ptl_cancel` 6 .. |ssh_ptl_shutdown| replace:: :c:func:`ssh_ptl_shutdown` 7 .. |ssh_ptl_rx_rcvbuf| replace:: :c:func:`ssh_ptl_rx_rcvbuf` 8 .. |ssh_rtl| replace:: :c:type:`struct ssh_rtl <ssh_rtl>` 9 .. |ssh_rtl_submit| replace:: :c:func:`ssh_rtl_submit` 10 .. |ssh_rtl_cancel| replace:: :c:func:`ssh_rtl_cancel` 11 .. |ssh_rtl_shutdown| replace:: :c:func:`ssh_rtl_shutdown` 12 .. |ssh_packet| replace:: :c:type:`struct ssh_packet <ssh_packet>` [all …]
|
| H A D | client.rst | 3 .. |ssam_controller| replace:: :c:type:`struct ssam_controller <ssam_controller>` 4 .. |ssam_device| replace:: :c:type:`struct ssam_device <ssam_device>` 5 .. |ssam_device_driver| replace:: :c:type:`struct ssam_device_driver <ssam_device_driver>` 6 .. |ssam_client_bind| replace:: :c:func:`ssam_client_bind` 7 .. |ssam_client_link| replace:: :c:func:`ssam_client_link` 8 .. |ssam_get_controller| replace:: :c:func:`ssam_get_controller` 9 .. |ssam_controller_get| replace:: :c:func:`ssam_controller_get` 10 .. |ssam_controller_put| replace:: :c:func:`ssam_controller_put` 11 .. |ssam_device_alloc| replace:: :c:func:`ssam_device_alloc` 12 .. |ssam_device_add| replace:: :c:func:`ssam_device_add` [all …]
|
| H A D | ssh.rst | 3 .. |u8| replace:: :c:type:`u8 <u8>` 4 .. |u16| replace:: :c:type:`u16 <u16>` 5 .. |TYPE| replace:: ``TYPE`` 6 .. |LEN| replace:: ``LEN`` 7 .. |SEQ| replace:: ``SEQ`` 8 .. |SYN| replace:: ``SYN`` 9 .. |NAK| replace:: ``NAK`` 10 .. |ACK| replace:: ``ACK`` 11 .. |DATA| replace:: ``DATA`` 12 .. |DATA_SEQ| replace:: ``DATA_SEQ`` [all …]
|
| /linux/Documentation/livepatch/ |
| H A D | cumulative-patches.rst | 2 Atomic Replace & Cumulative Patches 13 An elegant solution comes with the feature called "Atomic Replace". It allows 15 from all older livepatches and completely replace them in one transition. 20 The atomic replace can be enabled by setting "replace" flag in struct klp_patch, 26 .replace = true, 50 The atomic replace allows: 67 A good practice is to set .replace flag in any released livepatch. 81 that are necessary to properly replace any older patch. 83 As a result, it might be dangerous to replace newer cumulative patches by
|
| /linux/tools/testing/selftests/livepatch/ |
| H A D | test-sysfs.sh | 23 check_sysfs_rights "$MOD_LIVEPATCH" "replace" "-r--r--r--" 91 start_test "sysfs test replace enabled" 94 load_lp $MOD_LIVEPATCH replace=1 96 check_sysfs_rights "$MOD_LIVEPATCH" "replace" "-r--r--r--" 97 check_sysfs_value "$MOD_LIVEPATCH" "replace" "1" 102 check_result "% insmod test_modules/$MOD_LIVEPATCH.ko replace=1 115 start_test "sysfs test replace disabled" 117 load_lp $MOD_LIVEPATCH replace=0 119 check_sysfs_rights "$MOD_LIVEPATCH" "replace" "-r--r--r--" 120 check_sysfs_value "$MOD_LIVEPATCH" "replace" "0" [all …]
|
| H A D | test-livepatch.sh | 63 load_lp $MOD_REPLACE replace=0 87 % insmod test_modules/$MOD_REPLACE.ko replace=0 114 # - load an atomic replace livepatch and check that the other three modules were 116 # - remove all livepatches besides the atomic replace one and verify that the 117 # atomic replace livepatch is still active 118 # - remove the atomic replace livepatch and verify that none are active 120 start_test "atomic replace livepatch" 137 load_lp $MOD_REPLACE replace=1 145 # These modules were disabled by the atomic replace 180 % insmod test_modules/$MOD_REPLACE.ko replace=1
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | fib_offload.sh | 129 # Mimic route replace by removing the route and adding it back with 173 # Replace prefix route with prefix route. 177 ip -6 route replace 2001:db8:3::/64 metric 100 dev $spine_p2 179 check_err $? "prefix route not offloaded after replace" 181 # Replace prefix route with multipath route. 182 ip -6 route replace 2001:db8:3::/64 metric 100 \ 186 check_err $? "multipath route not offloaded after replace" 188 # Replace multipath route with prefix route. A prefix route cannot 189 # replace a multipath route, so it is appended. 190 ip -6 route replace 2001:db8:3::/64 metric 100 dev $spine_p1 [all …]
|
| /linux/scripts/coccinelle/api/alloc/ |
| H A D | zalloc-simple.cocci | 162 msg_safe=msg.replace("[","@(").replace("]",")") 192 msg_safe=msg.replace("[","@(").replace("]",")") 222 msg_safe=msg.replace("[","@(").replace("]",")") 252 msg_safe=msg.replace("[","@(").replace("]",")") 282 msg_safe=msg.replace("[","@(").replace("]",")") 312 msg_safe=msg.replace("[","@(").replace("]",")") 342 msg_safe=msg.replace("[","@(").replace("]",")") 372 msg_safe=msg.replace("[","@(").replace("]",")") 402 msg_safe=msg.replace("[","@(").replace("]",")")
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
| H A D | u32.json | 26 "name": "Add/Replace u32 with source match and invalid indev", 37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.… 48 "name": "Replace valid u32 with source match and invalid indev", 60 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.… 93 "name": "Add/Replace u32 with custom hash table and invalid handle", 104 "cmdUnderTest": "$TC filter replace dev $DEV1 ingress prio 99 handle 42:42 u32 divisor 256", 115 "name": "Replace valid u32 with custom hash table and invalid handle", 127 "cmdUnderTest": "$TC filter replace dev $DEV1 ingress prio 99 handle 42:42 u32 divisor 128", 161 "name": "Add/Replace u32 filter with invalid hash table id", 172 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 20 u32 ht 47:47 action drop… [all …]
|
| /linux/fs/btrfs/ |
| H A D | dev-replace.c | 18 #include "dev-replace.h" 27 * Device replace overview 39 * if replace gets canceled, sources device still contains up-to-date data. 55 * Due to the content difference, we need to avoid nocow write when dev-replace 59 * After replace is done, the finishing part is done by swapping the target and 98 * We don't have a replace item or it's corrupted. If there is in btrfs_init_dev_replace() 99 * a replace target, fail the mount. in btrfs_init_dev_replace() 103 "found replace target device without a valid replace item"); in btrfs_init_dev_replace() 158 * We don't have an active replace item but if there is a in btrfs_init_dev_replace() 159 * replace target, fail the mount. in btrfs_init_dev_replace() [all …]
|
| /linux/tools/testing/selftests/turbostat/ |
| H A D | defcolumns.py | 26 expected_columns_debug = proc_turbostat.stdout.replace(b',', b'\t').strip() 27 …ns = expected_columns_debug.replace(b'usec\t', b'').replace(b'Time_Of_Day_Seconds\t', b'').replace…
|