Home
last modified time | relevance | path

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

12345678910>>...42

/linux/tools/testing/selftests/net/
H A Dxfrm_policy.sh31 local ns=$1
33 local remote=$3
38 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
40 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
44 local ns=$1
46 local remote=$3
52 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
53 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
55 do_esp_policy $ns $me $remote $lnet $rnet
72 local ns=$1
[all …]
H A Dtest_bridge_neigh_suppress.sh7 # ARP/NS messages from the first host are suppressed on the VXLAN port when
71 local msg="$3"
124 local ns=$1; shift
131 pkts=$(tc -n $ns -j -s filter show $id \
142 local ns=$1; shift
144 ip netns exec $ns sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
145 ip netns exec $ns sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1
146 ip netns exec $ns sysctl -qw net.ipv6.conf.all.accept_dad=0
147 ip netns exec $ns sysctl -qw net.ipv6.conf.default.accept_dad=0
152 local ns
[all...]
H A Dvrf-xfrm-tests.sh40 local msg="$3"
86 local ns=$1
88 local table=$3
90 if [ -n "${ns}" ]; then
91 ns="-netns ${ns}"
94 ip ${ns} link add ${vrf} type vrf table ${table}
95 ip ${ns} link set ${vrf} up
96 ip ${ns} route add vrf ${vrf} unreachable default metric 8192
97 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} addr add 127.0.0.1/8 dev ${vrf}
[all …]
H A Dlib.sh78 local start_time="$(date -u +%s%3N)"
87 local current_time="$(date -u +%s%3N)"
157 local ns
161 for ns in "${ns_list[@]}"; do
162 if [ "${ns}" != "${item}" ]; then
163 NS_LIST+=("${ns}")
170 local ns=""
173 for ns in "$@"; do
174 [ -z "${ns}" ] && continue
175 ip netns pids "${ns}"
[all...]
H A Dnetdev-l2addr.sh14 cleanup_ns "$NS"
28 local ns="$3"
30 ip -j -n "$ns" link show dev "$dev" | jq -er ".[0].$type"
33 setup_ns NS
35 nsim=$(create_netdevsim $NSIM_ADDR "$NS")
37 get_addr address "$nsim" "$NS" >/dev/null || fail "Couldn't get ether addr"
38 get_addr broadcast "$nsim" "$NS" >/dev/null || fail "Couldn't get brd addr"
39 get_addr permaddr "$nsim" "$NS" >/dev/null && fail "Found perm_addr without setting it"
41 ip -n "$NS" link set dev "$nsim" address "$TEST_ADDR"
42 ip -n "$NS" link set dev "$nsim" brd "$TEST_ADDR"
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A 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 …]
/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_redirect_multi.sh
/linux/tools/testing/selftests/net/forwarding/
H A 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 …]
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_clash.sh27 …meta l4proto udp dnat to numgen random mod 3 map { 0 : 10.0.2.1 . 9000, 1 : 10.0.2.1 . 9001, 2 : 1…
59 local ns="$1"
63 ip netns exec "$ns" socat UDP-RECVFROM:$port,fork PIPE 2>/dev/null &
67 wait_local_port_listen "$ns" $port udp
73 local ns="$1"
75 local i="$3"
78 ip -net "$ns" link set "$dev" up
79 ip -net "$ns" addr add "10.0.$i.$j/24" dev "$dev"
84 local ns="$1"
87 if ! ip netns exec "$ns" ping -q -c 1 $daddr > /dev/null;then
[all …]
H A Dconntrack_resize.sh56 local ns="$1"
62 ip netns exec "$ns" bash -c "for i in \$(seq 1 $bulk); do \
75 local ns="$1"
77 local msg="$3"
79 local now=$(ip netns exec "$ns" conntrack -C)
82 echo "expected $count entries in $ns, not $now: $msg"
109 local ns="$1"
111 ip netns exec "$ns" conntrack -F 2>/dev/null
115 local ns="$1"
123 ct_flush_once "$ns"
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_lib.sh16 declare -rx MPTCP_LIB_EVENT_CLOSED=3 # MPTCP_EVENT_CLOSED
109 # $1-2: listener/connector ns ; $3 port ; $4-5 listener/connector stat file
113 local port="${3}"
230 MPTCP_LIB_SUBTESTS_LAST_TS_MS="$(date +%s%3N)"
338 # $1: info name ; $2: evts_ns ; [$3: event type; [$4: addr]]
341 mptcp_lib_get_info_value "${1}" "^type:${3:-1},"
379 # $1: ns, $2: MIB counter
381 local ns="${1}"
385 count=$(ip netns exec "${ns}" nstat -asz "${counter}" |
398 local size="${3}"
[all …]
H A Ddiag.sh11 ns=""
22 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGUSR1 &>/dev/null
25 [ -z "$(ip netns pids "${ns}")" ] && break
34 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGKILL &>/dev/null
36 mptcp_lib_ns_exit "${ns}"
44 ip netns exec $ns cat /proc/net/protocols | awk '$1~/^MPTCP$/{print $3}'
51 local msg="$3"
78 __chk_nr "ss -inmHMN $ns | $condition" "$@"
91 __chk_nr "ss -nlHMON $ns | wc -l" "$expected" "$msg - mptcp" 0
92 __chk_nr "ss -nlHtON $ns | wc -l" "$expected" "$msg - subflows"
[all …]
H A Dmptcp_join.sh93 21 0 3 64,
391 local ns2_enable=$3
481 local ns="${!1}"
483 local target="${3}"
486 if ! ip netns exec "${ns}" ${iptables} \
528 local what=$3
570 local connect_addr="$3"
579 local ns="$1"
589 ip -net "$ns" link set "$veth" down
598 # $1: ns, $2: old rm_addr counter in $ns
[all …]
/linux/Documentation/arch/m68k/
H A 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 …]
/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DnsPlugin.py22 self.sub_class = 'ns/SubPlugin'
47 ns = self.args.NAMES['NS']
48 f = open('/run/netns/{}'.format(ns))
81 if self.args.verbose > 3:
102 cmdlist.insert(0, self.args.NAMES['NS'])
119 ns = self.args.NAMES["NS"];
127 netns.create(ns)
128 netns.pushns(newns=ns)
130 … ip.link('add', ifname=dev1, kind='veth', peer={'ifname': dev0, 'net_ns_fd':'/proc/1/ns/net'})
165 ns = self.args.NAMES['NS']
[all …]
/linux/kernel/
H A Dacct.c23 * lost the old acct_file. 3/10/98, Al Viro.
68 static int acct_parm[3] = {4, 2, 30};
78 .maxlen = 3*sizeof(int),
105 struct pid_namespace *ns; member
159 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() argument
165 res = to_acct(READ_ONCE(ns->bacct)); in acct_get()
177 if (res != to_acct(READ_ONCE(ns->bacct))) { in acct_get()
196 cmpxchg(&acct->ns->bacct, pin, NULL); in acct_pin_kill()
220 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() local
268 acct->ns = ns; in acct_on()
[all …]
/linux/security/keys/
H A Dpersistent.c13 unsigned persistent_keyring_expiry = 3 * 24 * 3600; /* Expire after 3 days of non-use */
20 static int key_create_persistent_register(struct user_namespace *ns) in key_create_persistent_register() argument
31 ns->persistent_keyring_register = reg; in key_create_persistent_register()
40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() argument
46 if (!ns->persistent_keyring_register) { in key_create_persistent()
47 long err = key_create_persistent_register(ns); in key_create_persistent()
51 reg_ref = make_key_ref(ns->persistent_keyring_register, true); in key_create_persistent()
62 ns->persistent_keyring_register); in key_create_persistent()
73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent() argument
86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent()
[all …]
/linux/drivers/pwm/
H A Dpwm-ab8500.c50 * q = (32 - FreqPWMOutx[3:0]) / AB8500_PWM_CLKRATE in ab8500_pwm_apply()
53 * FreqPWMOutx[3:0] | output frequency | output frequency | 1024q = period in ab8500_pwm_apply()
56 * b0000 | 293 Hz | 292.968750 Hz | 3413333.33 ns in ab8500_pwm_apply()
57 * b0001 | 302 Hz | 302.419355 Hz | 3306666.66 ns in ab8500_pwm_apply()
58 * b0010 | 312 Hz | 312.500000 Hz | 3200000 ns in ab8500_pwm_apply()
59 * b0011 | 323 Hz | 323.275862 Hz | 3093333.33 ns in ab8500_pwm_apply()
60 * b0100 | 334 Hz | 334.821429 Hz | 2986666.66 ns in ab8500_pwm_apply()
61 * b0101 | 347 Hz | 347.222222 Hz | 2880000 ns in ab8500_pwm_apply()
62 * b0110 | 360 Hz | 360.576923 Hz | 2773333.33 ns in ab8500_pwm_apply()
63 * b0111 | 375 Hz | 375.000000 Hz | 2666666.66 ns in ab8500_pwm_apply()
[all …]
/linux/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh21 arp_ping eth-arp: Basic arp ping between two NS
23 connect_v4 ip4-xon: Basic ipv4 ping between two NS
109 info "Adding DP/Bridge IF: sbx:$1 dp:$2 {$3, $4, $5}"
117 info "Adding IF to DP: br:$3 if:$4 ($2)"
120 -t "$2" "$3" "$4" || return 1
123 -u -t "$2" "$3" "$4" >$ovs_dir/$4.out 2>$ovs_dir/$4.err &
130 info "Deleting IF from DP: br:$2 if:$3"
131 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py del-if "$2" "$3" || return 1
155 info "Adding netns attached: sbx:$1 dp:$2 {$3, $4, $5}"
156 ovs_sbx "$1" ip netns add "$3" || return 1
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,gic-v5.yaml47 3 for SPI. LPI interrupts must not be described in the bindings since
52 The 3rd cell is the flags, encoded as follows:
53 bits[3:0] trigger type and level flags.
60 const: 3
99 "ns-" stands for non-secure, "s-" for secure, "realm-" for realm
104 enum: [ ns-config, s-config, realm-config, el3-config, ns-setlpi,
151 "ns-" stands for non-secure, "s-" for secure, "realm-" for realm
156 enum: [ ns-config, s-config, realm-config, el3-config ]
187 "ns-" stands for non-secure, "s-" for secure, "realm-" for realm
192 enum: [ ns-translate, s-translate, realm-translate, el3-translate ]
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dhcor-drc-compact.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
34 gpios = <&gpioz 3 GPIO_ACTIVE_LOW>;
63 st,min-sample-time-ns = <5000>;
67 st,min-sample-time-ns = <5000>;
71 st,min-sample-time-ns = <5000>;
79 st,min-sample-time-ns = <5000>;
83 st,min-sample-time-ns = <5000>;
87 st,min-sample-time-ns = <5000>;
139 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
142 /* Timing values are in nS */
[all …]
/linux/arch/arm64/boot/dts/apple/
H A Ds8000.dtsi10 #include "s800-0-3.dtsi"
19 clock-latency-ns = <650>;
24 clock-latency-ns = <75000>;
28 opp-level = <3>;
29 clock-latency-ns = <27000>;
34 clock-latency-ns = <32000>;
39 clock-latency-ns = <35000>;
44 clock-latency-ns = <45000>;
49 clock-latency-ns = <58000>;
56 clock-latency-ns = <58000>;
H A Ds8003.dtsi10 #include "s800-0-3.dtsi"
19 clock-latency-ns = <500>;
24 clock-latency-ns = <45000>;
28 opp-level = <3>;
29 clock-latency-ns = <22000>;
34 clock-latency-ns = <25000>;
39 clock-latency-ns = <28000>;
44 clock-latency-ns = <35000>;
49 clock-latency-ns = <38000>;
56 clock-latency-ns = <38000>;
/linux/tools/perf/scripts/python/
H A Dcompaction-times.py48 def ns(sec, nsec): function
51 def time(ns): argument
52 return "%dns" % ns if opt_ns else "%dus" % (round(ns, -3) / 1000)
70 def __init__(self, ns): argument
71 self.ns = ns
77 self.ns += rhs.ns
85 s = "%s " % time(self.ns)
97 self.ns = ns(secs, nsecs) - self.ns
168 self.ns += rhs.ns
173 self.pending = cnode(ns(secs, nsecs))
[all …]
/linux/drivers/net/netdevsim/
H A Dnetdev.c42 struct netdevsim *ns = netdev_priv(dev); in nsim_start_peer_tx_queue() local
50 peer_ns = rcu_dereference(ns->peer); in nsim_start_peer_tx_queue()
122 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit() local
133 if (!nsim_ipsec_tx(ns, skb)) in nsim_start_xmit()
136 peer_ns = rcu_dereference(ns->peer); in nsim_start_xmit()
140 dr = nsim_do_psp(skb, ns, peer_ns, &psp_ext); in nsim_start_xmit()
185 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu() local
187 if (ns->xdp.prog && !ns->xdp.prog->aux->xdp_has_frags && in nsim_change_mtu()
204 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_mac() local
205 struct nsim_dev *nsim_dev = ns->nsim_dev; in nsim_set_vf_mac()
[all …]

12345678910>>...42