/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect_multi.sh | 35 declare -a NS 36 NS[0]="ns0-$(mktemp -u XXXXXX)" 37 NS[1]="ns1-$(mktemp -u XXXXXX)" 38 NS[2]="ns2-$(mktemp -u XXXXXX)" 39 NS[3]="ns3-$(mktemp -u XXXXXX)" 56 ip netns del ${NS[$i]} 2> /dev/null 85 ip netns add ${NS[0]} 87 ip netns add ${NS[$i]} 88 ip -n ${NS[$i]} link add veth0 type veth peer name veth$i netns ${NS[0]} 89 ip -n ${NS[$i]} link set veth0 up [all …]
|
H A D | test_xdp_features.sh | 4 readonly NS="ns1-$(mktemp -u XXXXXX)" 14 ip netns add ${NS} 16 ip link add v1 type veth peer name v0 netns ${NS} 21 ip -n ${NS} link set dev v0 up 22 ip -n ${NS} addr add $V0_IP4/24 dev v0 23 ip -n ${NS} addr add $V0_IP6/64 nodad dev v0 28 ip netns exec ${NS} ethtool -K v0 gro on 29 ip netns exec ${NS} ethtool -K v0 tx-checksumming off 35 ip netns del ${NS} 2> /dev/null 52 ip netns exec ${NS} ./xdp_features -t -f XDP_PASS \ [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | cmsg_time.sh | 13 cleanup_ns $NS 19 setup_ns NS 21 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null 24 ip -netns $NS link add type dummy 25 ip -netns $NS link set dev dummy0 up 26 ip -netns $NS addr add $IP4 dev dummy0 27 ip -netns $NS addr add $IP6 dev dummy0 30 ip netns exec $NS tc qdisc replace dev dummy0 root fq 53 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234) 56 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t | wc -l) [all …]
|
H A D | cmsg_so_mark.sh | 14 cleanup_ns $NS 20 setup_ns NS 22 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null 25 ip -netns $NS link add type dummy 26 ip -netns $NS link set dev dummy0 up 27 ip -netns $NS addr add $IP4 dev dummy0 28 ip -netns $NS addr add $IP6 dev dummy0 30 ip -netns $NS rule add fwmark $MARK lookup 300 31 ip -6 -netns $NS rule add fwmark $MARK lookup 300 32 ip -netns $NS route add prohibit any table 300 [all …]
|
H A D | netns-name.sh | 14 cleanup_ns $NS $test_ns 24 setup_ns NS test_ns 29 ip -netns $NS link add name $DEV type dummy || fail 30 ip -netns $NS link set dev $DEV netns $test_ns || 39 ip -netns $NS link add name $DEV type dummy || fail 40 ip -netns $NS link set dev $DEV netns $test_ns 2> /dev/null && 43 ip -netns $NS link del $DEV || fail 50 ip -netns $NS link add name $DEV type dummy || fail 51 ip -netns $NS link set dev $DEV netns $test_ns name $DEV2 || 61 ip -netns $NS link add name $DEV2 type dummy || fail [all …]
|
H A D | cmsg_ipv6.sh | 13 cleanup_ns $NS 25 setup_ns NS 26 NSEXE="ip netns exec $NS" 31 ip -netns $NS link add type dummy 32 ip -netns $NS link set dev dummy0 up 33 ip -netns $NS addr add $IP6 dev dummy0 70 ip -6 -netns $NS rule add tos $TOS lookup 300 71 ip -6 -netns $NS route add table 300 prohibit any
|
H A D | stress_reuseport_listen.sh | 10 setup_ns NS 11 ip netns exec $NS sysctl -q -w net.ipv6.ip_nonlocal_bind=1 16 cleanup_ns $NS 25 ip netns exec $NS ./stress_reuseport_listen 300 80
|
H A D | bareudp.sh | 169 local NS="${1}"; readonly NS 176 ip -netns "${NS}" link set dev "${DEV}" up 177 ip -netns "${NS}" address add dev "${DEV}" "${LOCAL_IP4}" peer "${PEER_IP4}" 178 ip -netns "${NS}" address add dev "${DEV}" "${LOCAL_IP6}" peer "${PEER_IP6}" nodad
|
H A D | fdb_flush.sh | 744 setup_ns NS 745 IP="ip -netns ${NS}" 746 BRIDGE="bridge -netns ${NS}" 763 cleanup_ns ${NS}
|
/linux/samples/bpf/ |
H A D | test_cgrp2_tc.sh | 16 NS='ns' 79 $IP netns add $NS || return $? 80 $IP link set dev $NS_IFC netns $NS || return $? 81 $IP -n $NS link set dev $NS_IFC up || return $? 82 $IP netns exec $NS sysctl -q net.ipv6.conf.$NS_IFC.disable_ipv6=0 83 $IP netns exec $NS sysctl -q net.ipv6.conf.$NS_IFC.accept_dad=0 88 $IP netns del $NS 132 echo "$NS net:" 133 $IP -n $NS link show dev $NS_IFC 134 $IP -n $NS -6 link show dev $NS_IFC
|
/linux/Documentation/filesystems/nfs/ |
H A D | nfs41-server.rst | 44 - **NS** Not Supported. 45 - **NS\*** Unimplemented optional feature. 67 | NS* | DELEGPURGE | OPT | FDELG (REQ) | … 87 | NS* | GETDEVICELIST | OPT | pNFS (OPT) | … 91 | NS* | GET_DIR_DELEGATION | OPT | DDELG (REQ) | … 115 | NS* | OPENATTR | OPT | | … 161 | NS | SET_SSV | REQ | | … 167 | NS* | WANT_DELEGATION | OPT | FDELG (OPT) | … 182 | NS* | CB_NOTIFY | OPT | DDELG (REQ) … 184 | NS* | CB_NOTIFY_DEVICEID | OPT | pNFS (OPT) … [all …]
|
/linux/arch/x86/platform/scx200/ |
H A D | scx200_32.c | 31 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) }, 32 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) }, 33 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_XBUS) }, 34 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_XBUS) },
|
/linux/arch/alpha/include/asm/ |
H A D | core_t2.h | 578 #define IOPORT(OS, NS) \ argument 579 __EXTERN_INLINE u##NS t2_ioread##NS(const void __iomem *xaddr) \ 586 __EXTERN_INLINE void t2_iowrite##NS(u##NS b, void __iomem *xaddr) \
|
/linux/security/apparmor/include/ |
H A D | policy_ns.h | 82 #define ns_unconfined(NS) (&(NS)->unconfined->label) argument
|
H A D | label.h | 205 #define next_in_ns(i, NS, L) \ argument 208 while ((L)->vec[___i] && (L)->vec[___i]->ns != (NS)) \ 213 #define label_for_each_in_ns(I, NS, L, P) \ argument 214 for ((I).i = next_in_ns(0, (NS), (L)); \ 216 (I).i = next_in_ns((I).i + 1, (NS), (L)))
|
H A D | lib.h | 290 #define __fn_build_in_ns(NS, P, NS_FN, OTHER_FN) \ argument 293 if ((P)->ns != (NS)) \
|
/linux/arch/arm/boot/dts/gemini/ |
H A D | gemini-ns2502.dts | 4 * Device Tree file for Edimax NS 2502 12 model = "Edimax NS-2502";
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | secure.txt | 46 /* Neither specified: default to visible in both S and NS */ 50 secure-status = "disabled"; /* NS-only */ 51 status = "okay"; secure-status = "disabled"; /* NS-only */
|
/linux/Documentation/hwmon/ |
H A D | smsc47b397.rst | 8 * SMSC SCH5307-NS 30 .. [1] And SMSC SCH5307-NS and SCH5317, which have different device IDs but are 167 The Device ID will read 0x6F (0x81 for SCH5307-NS, and 0x85 for SCH5317)
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-platform-devices-ampere-smpro | 55 …| Mesh (other) | 2 | 0 | Cross Point | X \| (Y << 5) \| NS <<11 … 57 …| Mesh (other) | 2 | 1 | Home Node(IO) | X \| (Y << 5) \| NS <<11 … 59 …| Mesh (other) | 2 | 2 | Home Node(Mem) | X \| (Y << 5) \| NS <<11 \| device<<1… 61 …| Mesh (other) | 2 | 4 | CCIX Node | X \| (Y << 5) \| NS <<11 …
|
/linux/drivers/block/drbd/ |
H A D | drbd_receiver.c | 540 conn_request_state(connection, NS(conn, C_BROKEN_PIPE), CS_HARD); in drbd_recv() 670 conn_request_state(connection, NS(conn, C_DISCONNECTING), CS_HARD); in drbd_try_connect() 751 conn_request_state(connection, NS(conn, C_DISCONNECTING), CS_HARD); in prepare_listen_socket() 793 conn_request_state(connection, NS(conn, C_DISCONNECTING), CS_HARD); in drbd_wait_for_connect() 937 if (conn_request_state(connection, NS(conn, C_WF_CONNECTION), CS_VERBOSE) < SS_SUCCESS) in conn_connect() 1122 rv = conn_request_state(connection, NS(conn, C_WF_REPORT_PARAMS), CS_VERBOSE); in conn_connect() 2532 _conn_request_state(connection, NS(conn, C_TIMEOUT), CS_HARD); in handle_write_conflicts() 3136 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); in drbd_asb_recover_1p() 3186 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); in drbd_asb_recover_2p() 3773 conn_request_state(connection, NS(conn, C_DISCONNECTING), CS_HARD); in receive_protocol() [all …]
|
H A D | drbd_nl.c | 1898 rv = _drbd_request_state(device, NS(disk, D_ATTACHING), CS_VERBOSE); in drbd_adm_attach() 2121 drbd_force_state(device, NS(disk, D_DISKLESS)); in drbd_adm_attach() 2144 drbd_force_state(device, NS(disk, D_FAILED)); in adm_detach() 2627 rv = conn_request_state(connection, NS(conn, C_UNCONNECTED), CS_VERBOSE); in drbd_adm_connect() 2651 rv = conn_request_state(connection, NS(conn, C_DISCONNECTING), in conn_try_disconnect() 2664 rv = conn_request_state(connection, NS(conn, C_DISCONNECTING), CS_VERBOSE); in conn_try_disconnect() 2677 rv = conn_request_state(connection, NS(conn, C_DISCONNECTING), in conn_try_disconnect() 2699 rv2 = conn_request_state(connection, NS(conn, C_STANDALONE), in conn_try_disconnect() 2763 _drbd_request_state(device, NS(conn, C_WF_SYNC_UUID), CS_VERBOSE + CS_SERIALIZE); in resync_after_online_grow() 2972 retcode = drbd_request_state(device, NS(disk, D_INCONSISTENT)); in drbd_adm_invalidate() [all …]
|
/linux/drivers/ata/ |
H A D | pata_ns87410.c | 141 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_87410), },
|
H A D | pata_cs5535.c | 180 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_CS5535_IDE), },
|
/linux/drivers/devfreq/ |
H A D | rk3399_dmc.c | 29 #define NS_TO_CYCLE(NS, MHz) (((NS) * (MHz)) / NSEC_PER_USEC) argument
|