Home
last modified time | relevance | path

Searched +full:4 +full:ns (Results 1 – 25 of 1066) sorted by relevance

12345678910>>...43

/linux/tools/testing/selftests/net/
H A Dxfrm_policy.sh31 local ns=$1
34 local lnet=$4
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
47 local lnet=$4
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 Dvrf-xfrm-tests.sh86 local ns=$1
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}
100 ip ${ns} -6 addr add ::1 dev ${vrf} nodad
102 ip ${ns} ru del pref 0
[all …]
H A Dcmsg_so_mark.sh14 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 Dtest_ingress_egress_chaining.sh7 # Kselftest framework requirement - SKIP code is 4.
8 ksft_skip=4
20 ns="ns$((RANDOM%899+100))"
37 ip netns del $ns &> /dev/null
47 ip netns add $ns
48 ip link set dev $peer2 netns $ns
49 ip netns exec $ns ip addr add $ip_peer2/24 dev $peer2
50 ip netns exec $ns ip link set $peer2 up
72 …ip netns exec $ns timeout -k 2 10 ./udpgso_bench_tx -t -l 2 -4 -D $ip_peer1 || fail "traffic faile…
/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_redirect_multi.sh
/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-overo-tobiduo-common.dtsi21 smsc2: ethernet@4,0 {
26 gpmc,cs-on-ns = <0>;
27 gpmc,cs-rd-off-ns = <42>;
28 gpmc,cs-wr-off-ns = <36>;
29 gpmc,adv-on-ns = <6>;
30 gpmc,adv-rd-off-ns = <12>;
31 gpmc,adv-wr-off-ns = <12>;
32 gpmc,oe-on-ns = <0>;
33 gpmc,oe-off-ns = <42>;
34 gpmc,we-on-ns = <0>;
[all …]
H A Dam335x-chilisom.dtsi79 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
88 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
102 ldo2_reg: regulator@4 {
146 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
156 gpmc,cs-on-ns = <0>;
157 gpmc,cs-rd-off-ns = <44>;
158 gpmc,cs-wr-off-ns = <44>;
159 gpmc,adv-on-ns = <6>;
160 gpmc,adv-rd-off-ns = <34>;
161 gpmc,adv-wr-off-ns = <44>;
[all …]
H A Dam335x-nano.dts275 gpmc,cs-on-ns = <0>;
276 gpmc,cs-rd-off-ns = <160>;
277 gpmc,cs-wr-off-ns = <160>;
278 gpmc,adv-on-ns = <10>;
279 gpmc,adv-rd-off-ns = <30>;
280 gpmc,adv-wr-off-ns = <30>;
281 gpmc,oe-on-ns = <40>;
282 gpmc,oe-off-ns = <160>;
283 gpmc,we-on-ns = <40>;
284 gpmc,we-off-ns = <160>;
[all …]
H A Dam335x-igep0033.dtsi136 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
145 gpmc,cs-on-ns = <0>;
146 gpmc,cs-rd-off-ns = <44>;
147 gpmc,cs-wr-off-ns = <44>;
148 gpmc,adv-on-ns = <6>;
149 gpmc,adv-rd-off-ns = <34>;
150 gpmc,adv-wr-off-ns = <44>;
151 gpmc,we-on-ns = <0>;
152 gpmc,we-off-ns = <40>;
153 gpmc,oe-on-ns = <0>;
[all …]
H A Domap3-lilly-dbb056.dts111 bus-width = <4>;
113 cd-gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* gpio_164 */
128 <4 0 0x20000000 0x01000000>,
131 ethernet@4,0 {
135 gpmc,cs-on-ns = <10>;
136 gpmc,cs-rd-off-ns = <65>;
137 gpmc,cs-wr-off-ns = <65>;
138 gpmc,adv-on-ns = <0>;
139 gpmc,adv-rd-off-ns = <10>;
140 gpmc,adv-wr-off-ns = <10>;
[all …]
H A Dam335x-phycore-som.dtsi146 i2c_tmp102: temp@4b {
199 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
208 gpmc,cs-on-ns = <0>;
209 gpmc,cs-rd-off-ns = <30>;
210 gpmc,cs-wr-off-ns = <30>;
211 gpmc,adv-on-ns = <0>;
212 gpmc,adv-rd-off-ns = <30>;
213 gpmc,adv-wr-off-ns = <30>;
214 gpmc,we-on-ns = <0>;
215 gpmc,we-off-ns = <20>;
[all …]
H A Domap3-lilly-a83x.dtsi287 bus-width = <4>;
363 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
374 gpmc,wait-monitoring-ns = <0>;
375 gpmc,burst-length = <4>;
376 gpmc,cs-on-ns = <0>;
377 gpmc,cs-rd-off-ns = <100>;
378 gpmc,cs-wr-off-ns = <100>;
379 gpmc,adv-on-ns = <0>;
380 gpmc,adv-rd-off-ns = <100>;
381 gpmc,adv-wr-off-ns = <100>;
[all …]
/linux/Documentation/arch/m68k/
H A Dbuddha-driver.rst31 address is written to $4a, then the whole Byte is written to
32 $48, while it doesn't matter how often you're writing to $4a
35 address just written. Make sure $4a is written before $48,
56 $c00-$cff IDE-Select 4 (Port 2, Register set 0,
124 A6=1 (for example $840 for port 0, register set 0), a 780ns
131 only the upper three bits are used (Bits 7 to 5). Bit 4
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)
[all …]
/linux/arch/powerpc/boot/
H A Daddnote.c67 ((unsigned long long)GET_32BE((off)+4ULL)))
72 PUT_32BE((off) + 4, (unsigned long long)(v))))
77 (((unsigned long long)GET_32LE((off)+4ULL)) << 32ULL))
82 PUT_32LE((off) + 4, (unsigned long long)(v) >> 32L))
102 #define EI_CLASS 4
106 #define PH_OFFSET (e_class == ELFCLASS32 ? 4 : 8)
110 #define PT_NOTE 4 /* Program header type = note */
113 unsigned char elf_magic[4] = { 0x7f, 'E', 'L', 'F' };
120 long nnote, nnote2, ns; in main() local
141 if (memcmp(&buf[E_IDENT+EI_MAGIC], elf_magic, 4) != 0) in main()
[all …]
/linux/arch/arm/boot/dts/intel/socfpga/
H A Dsocfpga_cyclone5_mercury_sa1.dtsi47 i2c-sda-hold-time-ns = <300>;
58 i2c-sda-hold-time-ns = <300>;
82 spi-rx-bus-width = <4>;
83 spi-tx-bus-width = <4>;
86 cdns,read-delay = <4>;
87 cdns,tshsl-ns = <50>;
88 cdns,tsd2d-ns = <50>;
89 cdns,tchsh-ns = <4>;
90 cdns,tslch-ns = <4>;
121 /* Add 2ns RX clock delay (1.2ns + 0.78ns)*/
[all …]
H A Dsocfpga_cyclone5_mercury_sa2.dtsi47 i2c-sda-hold-time-ns = <300>;
63 i2c-sda-hold-time-ns = <300>;
85 spi-rx-bus-width = <4>;
86 spi-tx-bus-width = <4>;
89 cdns,read-delay = <4>;
90 cdns,tshsl-ns = <50>;
91 cdns,tsd2d-ns = <50>;
92 cdns,tchsh-ns = <4>;
93 cdns,tslch-ns = <4>;
124 /* Add 2ns RX clock delay (1.2ns + 0.78ns)*/
[all …]
H A Dsocfpga_arria10_mercury_aa1.dtsi48 i2c-sda-hold-time-ns = <300>;
63 i2c-sda-hold-time-ns = <300>;
83 /* Add 2ns RX clock delay (1.2ns + 0.78ns)*/
91 /* Add 1.38ns TX clock delay (0.96ns + 0.42ns)*/
127 bus-width = <4>;
156 spi-rx-bus-width = <4>;
157 spi-tx-bus-width = <4>;
160 cdns,read-delay = <4>;
161 cdns,tshsl-ns = <50>;
162 cdns,tsd2d-ns = <50>;
[all …]
/linux/drivers/pcmcia/
H A Dsoc_common.h63 * The PC Card Standard, Release 7, section 4.13.4, says that twIORD
64 * has a minimum value of 165ns. Section 4.13.5 says that twIOWR has
65 * a minimum value of 165ns, as well. Section 4.7.2 (describing
67 * minimum value of 150ns for a 250ns cycle time (for 5V operation;
68 * see section 4.7.4), or 300ns for a 600ns cycle time (for 3.3V
69 * operation, also section 4.7.4). Section 4.7.3 says that taOE
70 * has a maximum value of 150ns for a 300ns cycle time (for 5V
71 * operation), or 300ns for a 600ns cycle time (for 3.3V operation).
75 * PCMCIA I/O command width time is 165ns. The default PCMCIA 5V attribute
76 * and memory command width time is 150ns; the PCMCIA 3.3V attribute and
[all …]
/linux/net/ipv6/
H A Dioam6.c23 static void ioam6_ns_release(struct ioam6_namespace *ns) in ioam6_ns_release() argument
25 kfree_rcu(ns, rcu); in ioam6_ns_release()
35 struct ioam6_namespace *ns = (struct ioam6_namespace *)ptr; in ioam6_free_ns() local
37 if (ns) in ioam6_free_ns()
38 ioam6_ns_release(ns); in ioam6_free_ns()
51 const struct ioam6_namespace *ns = obj; in ioam6_ns_cmpfn() local
53 return (ns->id != *(__be16 *)arg->key); in ioam6_ns_cmpfn()
110 struct ioam6_namespace *ns; in ioam6_genl_addns() local
124 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_addns()
125 if (ns) { in ioam6_genl_addns()
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_clash.sh59 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"
76 local j="$4"
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
88 echo "FAIL: ping from $ns to $daddr"
[all …]
/linux/drivers/ptp/
H A Dptp_dte.c18 #define DTE_NCO_SUM2_SHIFT 4ULL
28 #define DTE_NUM_REGS_TO_RESTORE 4
30 /* Full wrap around is 44bits in ns (~4.887 hrs) */
52 static void dte_write_nco(void __iomem *regs, s64 ns) in dte_write_nco() argument
56 sum2 = (u32)((ns >> DTE_NCO_SUM2_SHIFT) & DTE_NCO_SUM2_MASK); in dte_write_nco()
62 sum3 = (u32)(((ns >> DTE_NCO_SUM3_SHIFT) & DTE_NCO_SUM3_MASK) << in dte_write_nco()
73 s64 ns; in dte_read_nco() local
76 * ignoring sum1 (4 bits) gives a 16ns resolution, which in dte_read_nco()
81 ns = ((s64)sum3 << DTE_NCO_SUM3_SHIFT) | in dte_read_nco()
84 return ns; in dte_read_nco()
[all …]
/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
63 ip -n $ns link add name dummy$i type dummy
[all …]
/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron.dtsi188 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */
189 i2c-scl-rising-time-ns = <100>; /* 45ns measured */
324 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */
325 i2c-scl-rising-time-ns = <100>; /* 40ns measured */
339 i2c-scl-falling-time-ns = <50>; /* 10ns measured */
340 i2c-scl-rising-time-ns = <800>; /* 600ns measured */
347 i2c-scl-falling-time-ns = <50>; /* 11ns measured */
348 i2c-scl-rising-time-ns = <300>; /* 225ns measured */
370 bus-width = <4>;
389 rx-sample-delay-ns = <12>;
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-lp-sk-nand.dtso62 gpmc,cs-on-ns = <0>;
63 gpmc,cs-rd-off-ns = <40>;
64 gpmc,cs-wr-off-ns = <40>;
65 gpmc,adv-on-ns = <0>;
66 gpmc,adv-rd-off-ns = <25>;
67 gpmc,adv-wr-off-ns = <25>;
68 gpmc,we-on-ns = <0>;
69 gpmc,we-off-ns = <20>;
70 gpmc,oe-on-ns = <3>;
71 gpmc,oe-off-ns = <30>;
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_lib.sh8 readonly KSFT_SKIP=4
110 local ns="${1}"
111 local hist="/tmp/${ns}.out"
116 ip netns exec "${ns}" nstat -as | grep Tcp
120 # $1-2: listener/connector ns ; $3 port
347 # $1: info name ; $2: evts_ns ; [$3: event type; [$4: addr]]
349 grep "${4:-}" "${2}" 2>/dev/null |
357 local port="${4}"
358 shift 4 # rest are PIDs
402 local ns="${1}"
[all …]

12345678910>>...43