Home
last modified time | relevance | path

Searched +full:3 +full:ns (Results 1 – 25 of 1241) sorted by relevance

12345678910>>...50

/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap-zoom-common.dtsi9 ranges = <3 0 0x10000000 0x1000000>, /* CS3: 16MB for UART */
17 uart@3,0 {
19 reg = <3 0 8>; /* CS3, offset 0, IO size 8 */
32 gpmc,cs-on-ns = <5>;
33 gpmc,cs-rd-off-ns = <155>;
34 gpmc,cs-wr-off-ns = <155>;
35 gpmc,adv-on-ns = <15>;
36 gpmc,adv-rd-off-ns = <40>;
37 gpmc,adv-wr-off-ns = <40>;
38 gpmc,oe-on-ns = <45>;
[all …]
Domap3-devkit8000-common.dtsi27 gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */
196 MATRIX_KEY(3, 1, KEY_F5)
200 MATRIX_KEY(3, 2, KEY_F6)
201 MATRIX_KEY(0, 3, KEY_F7)
202 MATRIX_KEY(1, 3, KEY_0)
203 MATRIX_KEY(2, 3, KEY_F8)
233 gpmc,cs-on-ns = <0>;
234 gpmc,cs-rd-off-ns = <44>;
235 gpmc,cs-wr-off-ns = <44>;
236 gpmc,adv-on-ns = <6>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Domap-zoom-common.dtsi9 ranges = <3 0 0x10000000 0x1000000>, /* CS3: 16MB for UART */
17 serial@3,0 {
19 reg = <3 0 8>; /* CS3, offset 0, IO size 8 */
32 gpmc,cs-on-ns = <5>;
33 gpmc,cs-rd-off-ns = <155>;
34 gpmc,cs-wr-off-ns = <155>;
35 gpmc,adv-on-ns = <15>;
36 gpmc,adv-rd-off-ns = <40>;
37 gpmc,adv-wr-off-ns = <40>;
38 gpmc,oe-on-ns = <45>;
[all …]
Domap3-devkit8000-common.dtsi27 gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */
196 MATRIX_KEY(3, 1, KEY_F5)
200 MATRIX_KEY(3, 2, KEY_F6)
201 MATRIX_KEY(0, 3, KEY_F7)
202 MATRIX_KEY(1, 3, KEY_0)
203 MATRIX_KEY(2, 3, KEY_F8)
233 gpmc,cs-on-ns = <0>;
234 gpmc,cs-rd-off-ns = <44>;
235 gpmc,cs-wr-off-ns = <44>;
236 gpmc,adv-on-ns = <6>;
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dxfrm_policy.sh32 local ns=$1
34 local remote=$3
39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
45 local ns=$1
47 local remote=$3
53 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
54 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
56 do_esp_policy $ns $me $remote $lnet $rnet
73 local ns=$1
[all …]
Dudpgro_fwd.sh7 readonly BASE="ns-$(mktemp -u XXXXXX)"
24 local ns
28 for ns in $NS_SRC $NS_DST; do
29 ip netns del $ns 2>/dev/null
37 local ns
39 for ns in $NS_SRC $NS_DST; do
40 ip netns add $ns
41 ip -n $ns link set dev lo up
44 ip netns exec $ns sysctl -qw net.ipv6.conf.default.router_solicitations=0
45 ip netns exec $ns sysctl -qw net.ipv6.conf.all.router_solicitations=0
[all …]
Dcmsg_time.sh4 NS=ns
12 ip netns del $NS
18 ip netns add $NS
20 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null
23 ip -netns $NS link add type dummy
24 ip -netns $NS link set dev dummy0 up
25 ip -netns $NS addr add $IP4 dev dummy0
26 ip -netns $NS addr add $IP6 dev dummy0
29 ip netns exec $NS tc qdisc replace dev dummy0 root fq
40 elif [ "$2" != "$3" ]; then
[all …]
Dveth.sh5 readonly STATS="$(mktemp -p /tmp ns-XXXXXX)"
21 local ns
27 for ns in $NS_SRC $NS_DST; do
28 ip netns del $ns 2>/dev/null
35 local ns
37 for ns in $NS_SRC $NS_DST; do
38 ip netns add $ns
39 ip -n $ns link set dev lo up
44 for ns in $SRC $DST; do
45 ip link set dev veth$ns netns $BASE$ns up
[all …]
Dlib.sh21 local start_time="$(date -u +%s%3N)"
30 local current_time="$(date -u +%s%3N)"
40 local ns=""
43 for ns in "$@"; do
44 [ -z "${ns}" ] && continue
45 ip netns pids "${ns}" 2> /dev/null | xargs -r kill || true
46 ip netns delete "${ns}" &> /dev/null || true
47 if ! busywait $BUSYWAIT_TIMEOUT ip netns list \| grep -vq "^$ns$" &> /dev/null; then
48 echo "Warn: Failed to remove namespace $ns"
65 local ns=""
[all …]
Dtest_bridge_neigh_suppress.sh7 # ARP/NS messages from the first host are suppressed on the VXLAN port when
69 local msg="$3"
122 local ns=$1; shift
129 pkts=$(tc -n $ns -j -s filter show $id \
140 local ns=$1; shift
142 ip netns exec $ns sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
143 ip netns exec $ns sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1
144 ip netns exec $ns sysctl -qw net.ipv6.conf.all.accept_dad=0
145 ip netns exec $ns sysctl -qw net.ipv6.conf.default.accept_dad=0
150 local ns
[all …]
Dtraceroute.sh16 local msg="$3"
36 local ns
41 ns="$1"
49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
65 local ns=$1
67 local addr6=$3
72 ip netns add ${ns}
74 ip netns exec ${ns} ip link set lo up
76 ip netns exec ${ns} ip addr add dev lo ${addr}
79 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
[all …]
Dvrf-xfrm-tests.sh42 local msg="$3"
88 local ns=$1
90 local table=$3
92 if [ -n "${ns}" ]; then
93 ns="-netns ${ns}"
96 ip ${ns} link add ${vrf} type vrf table ${table}
97 ip ${ns} link set ${vrf} up
98 ip ${ns} route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
101 ip ${ns} addr add 127.0.0.1/8 dev ${vrf}
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dxfrm_policy.sh32 local ns=$1
34 local remote=$3
39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
45 local ns=$1
47 local remote=$3
53 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
54 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
56 do_esp_policy $ns $me $remote $lnet $rnet
73 local ns=$1
[all …]
Dtraceroute.sh16 local msg="$3"
36 local ns
41 ns="$1"
49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
65 local ns=$1
67 local addr6=$3
72 ip netns add ${ns}
74 ip netns exec ${ns} ip link set lo up
76 ip netns exec ${ns} ip addr add dev lo ${addr}
79 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
Dtest_xdp_redirect_multi.sh29 NUM=3
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]}
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh7 local ns=$1; shift
13 ip -n $ns -j -p -$family route show $route \
29 local ns=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
39 local ns=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
48 local ns=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
57 local ns=$1; shift
62 for i in $(seq 1 3); do
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh7 local ns=$1; shift
13 ip -n $ns -j -p -$family route show $route \
29 local ns=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
39 local ns=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
48 local ns=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
57 local ns=$1; shift
62 for i in $(seq 1 3); do
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
Dnft_zones_many.sh7 ns="ns-$sfx"
18 ip netns del $ns
31 checktool "ip netns add $ns" "create net namespace"
40 ip -net "$ns" link set lo up
45 ip netns exec $ns sysctl -q net.netfilter.nf_conntrack_udp_timeout=3600
46 ip netns exec $ns nft -f /dev/stdin<<EOF
69 ) | ip netns exec $ns nft -f /dev/stdin
73 local outerstart=$(date +%s%3N)
77 local start=$(date +%s%3N)
81 …dd if=/dev/zero of=/dev/stdout bs=8k count=1000 2>/dev/null | ip netns exec "$ns" socat STDIN UDP:…
[all …]
/kernel/linux/linux-6.6/ipc/
Dipc_sysctl.c23 struct ipc_namespace *ns = in proc_ipc_dointvec_minmax_orphans() local
31 if (ns->shm_rmid_forced) in proc_ipc_dointvec_minmax_orphans()
32 shm_destroy_orphaned(ns); in proc_ipc_dointvec_minmax_orphans()
54 struct ipc_namespace *ns = in proc_ipc_sem_dointvec() local
58 semmni = ns->sem_ctls[3]; in proc_ipc_sem_dointvec()
62 ret = sem_check_semmni(ns); in proc_ipc_sem_dointvec()
68 ns->sem_ctls[3] = semmni; in proc_ipc_sem_dointvec()
197 struct ipc_namespace *ns = in ipc_set_ownership() local
200 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in ipc_set_ownership()
201 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership()
[all …]
/kernel/linux/linux-6.6/Documentation/arch/m68k/
Dbuddha-driver.rst54 $b00-$bff IDE-Select 3 (Port 1, Register set 1)
59 $d00-$dff IDE-Select 5 (Port 3, Register set 1,
124 A6=1 (for example $840 for port 0, register set 0), a 780ns
142 about 30ns to the clocks on the Zorro bus, that's why the
143 values are no multiple of 71. One clock-cycle is 71ns long
147 497ns Select (7 clock cycles) , IOR/IOW after 172ns (2 clock cycles)
152 639ns Select (9 clock cycles), IOR/IOW after 243ns (3 clock cycles)
155 781ns Select (11 clock cycles), IOR/IOW after 314ns (4 clock cycles)
157 value 3
158 355ns Select (5 clock cycles), IOR/IOW after 101ns (1 clock cycle)
[all …]
/kernel/linux/linux-5.10/Documentation/m68k/
Dbuddha-driver.rst54 $b00-$bff IDE-Select 3 (Port 1, Register set 1)
59 $d00-$dff IDE-Select 5 (Port 3, Register set 1,
124 A6=1 (for example $840 for port 0, register set 0), a 780ns
142 about 30ns to the clocks on the Zorro bus, that's why the
143 values are no multiple of 71. One clock-cycle is 71ns long
147 497ns Select (7 clock cycles) , IOR/IOW after 172ns (2 clock cycles)
152 639ns Select (9 clock cycles), IOR/IOW after 243ns (3 clock cycles)
155 781ns Select (11 clock cycles), IOR/IOW after 314ns (4 clock cycles)
157 value 3
158 355ns Select (5 clock cycles), IOR/IOW after 101ns (1 clock cycle)
[all …]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dipsec.c16 struct netdevsim *ns = filp->private_data; in nsim_dbg_netdev_ops_read() local
17 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_dbg_netdev_ops_read()
24 * (num SAs * 3 lines each * ~60 bytes per line) + one more line in nsim_dbg_netdev_ops_read()
45 sap->ipaddr[1], sap->ipaddr[2], sap->ipaddr[3]); in nsim_dbg_netdev_ops_read()
53 sap->key[2], sap->key[3]); in nsim_dbg_netdev_ops_read()
132 struct netdevsim *ns; in nsim_ipsec_add_sa() local
138 ns = netdev_priv(dev); in nsim_ipsec_add_sa()
139 ipsec = &ns->ipsec; in nsim_ipsec_add_sa()
180 memcpy(&sa.ipaddr[3], &xs->id.daddr.a4, 4); in nsim_ipsec_add_sa()
197 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_del_sa() local
[all …]
/kernel/linux/linux-6.6/drivers/net/netdevsim/
Dipsec.c16 struct netdevsim *ns = filp->private_data; in nsim_dbg_netdev_ops_read() local
17 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_dbg_netdev_ops_read()
24 * (num SAs * 3 lines each * ~60 bytes per line) + one more line in nsim_dbg_netdev_ops_read()
49 i, (sap->rx ? 'r' : 't'), &sap->ipaddr[3]); in nsim_dbg_netdev_ops_read()
57 sap->key[2], sap->key[3]); in nsim_dbg_netdev_ops_read()
137 struct netdevsim *ns; in nsim_ipsec_add_sa() local
143 ns = netdev_priv(dev); in nsim_ipsec_add_sa()
144 ipsec = &ns->ipsec; in nsim_ipsec_add_sa()
189 memcpy(&sa.ipaddr[3], &xs->id.daddr.a4, 4); in nsim_ipsec_add_sa()
205 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_del_sa() local
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/
Ddiag.sh8 ns="ns1-$rndh"
21 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGUSR1 &>/dev/null
24 [ -z "$(ip netns pids "${ns}")" ] && break
31 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGKILL &>/dev/null
33 ip netns del $ns
51 ip netns exec $ns cat /proc/net/protocols | awk '$1~/^MPTCP$/{print $3}'
58 local msg="$3"
86 __chk_nr "ss -inmHMN $ns | $condition" "$@"
107 nr=$(ss -inmHMN $ns | $condition)
144 local msg="$3"
[all …]
/kernel/linux/linux-5.10/arch/nds32/kernel/vdso/
Dgettimeofday.c57 asm volatile ("movi $r15, %3\n" in clock_gettime_fallback()
85 u64 ns; in do_monotonic_coarse() local
91 ns = vdata->xtime_coarse_nsec + vdata->wtm_clock_nsec; in do_monotonic_coarse()
95 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_monotonic_coarse()
96 ts->tv_nsec = ns; in do_monotonic_coarse()
119 u64 ns; in do_realtime() local
123 ns = vdata->xtime_clock_nsec; in do_realtime()
124 ns += vgetsns(vdata); in do_realtime()
125 ns >>= vdata->cs_shift; in do_realtime()
128 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_realtime()
[all …]

12345678910>>...50