Home
last modified time | relevance | path

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

12345678910>>...44

/Linux-v6.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 …]
/Linux-v6.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.sh5 readonly BASE="ns-$(mktemp -u XXXXXX)"
22 local ns
26 for ns in $NS_SRC $NS_DST; do
27 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
[all …]
Dunicast_extensions.sh45 hide_output(){ exec 3>&1 4>&2 >/dev/null 2>/dev/null; }
46 show_output(){ exec >&3 2>&4; }
64 # Caller must set up foo-ns and bar-ns namespaces
68 ip -n foo-ns address add $1/$3 dev foo || return 1
69 ip -n foo-ns link set foo up || return 1
70 ip -n bar-ns address add $2/$3 dev bar || return 1
71 ip -n bar-ns link set bar up || return 1
73 ip netns exec foo-ns timeout 2 ping -c 1 $2 || return 1
74 ip netns exec bar-ns timeout 2 ping -c 1 $1 || return 1
76 nettest -B -N bar-ns -O foo-ns -r $1 || return 1
[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 …]
Dtest_bridge_neigh_suppress.sh7 # ARP/NS messages from the first host are suppressed on the VXLAN port when
70 local msg="$3"
123 local ns=$1; shift
130 pkts=$(tc -n $ns -j -s filter show $id \
141 local ns=$1; shift
143 ip netns add $ns
144 ip -n $ns link set dev lo up
146 ip netns exec $ns sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
147 ip netns exec $ns sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1
148 ip netns exec $ns sysctl -qw net.ipv6.conf.all.accept_dad=0
[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 …]
Dfib_nexthop_multiprefix.sh27 local msg="$3"
73 local ns=${1}
75 ip netns del ${ns} 2>/dev/null
77 ip netns add ${ns}
78 ip -netns ${ns} addr add 127.0.0.1/8 dev lo
79 ip -netns ${ns} link set lo up
81 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
82 case ${ns} in
84 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
87 ip netns exec $ns sysctl -q -w net.ipv4.ip_forward=1
[all …]
Dicmp_redirect.sh65 local msg="$3"
117 local ns=$1
121 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \
123 for (i = 3; i <= NF; ++i) {
143 local ns
145 for ns in h1 h2 r1 r2; do
146 ip netns del $ns 2>/dev/null
152 local ns=$1
154 ip -netns ${ns} link add ${VRF} type vrf table ${VRF_TABLE}
155 ip -netns ${ns} link set ${VRF} up
[all …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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()
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()
133 struct netdevsim *ns; in nsim_ipsec_add_sa() local
139 ns = netdev_priv(dev); in nsim_ipsec_add_sa()
140 ipsec = &ns->ipsec; in nsim_ipsec_add_sa()
185 memcpy(&sa.ipaddr[3], &xs->id.daddr.a4, 4); in nsim_ipsec_add_sa()
202 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_del_sa() local
[all …]
/Linux-v6.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 …]
/Linux-v6.6/tools/testing/selftests/net/openvswitch/
Dopenvswitch.sh16 arp_ping eth-arp: Basic arp ping between two NS
18 connect_v4 ip4-xon: Basic ipv4 ping between two NS
74 info "Adding DP/Bridge IF: sbx:$1 dp:$2 {$3, $4, $5}"
82 info "Adding IF to DP: br:$2 if:$3"
84 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py add-if "$2" "$3" \
88 -u "$2" "$3" >$ovs_dir/$3.out 2>$ovs_dir/$3.err &
95 info "Deleting IF from DP: br:$2 if:$3"
96 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py del-if "$2" "$3" || return 1
111 info "Adding netns attached: sbx:$1 dp:$2 {$3, $4, $5}"
112 ovs_sbx "$1" ip netns add "$3" || return 1
[all …]
/Linux-v6.6/security/keys/
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-v6.6/drivers/mtd/nand/raw/
Dnandsim.c9 * Note: NS means "NAND Simulator".
103 [3] = CONFIG_NANDSIM_FOURTH_ID_BYTE,
111 module_param_named(fourth_id_byte, id_bytes[3], byte, 0400);
149 MODULE_PARM_DESC(weakblocks, "Weak erase blocks [: remaining erase cycles (defaults to 3)]"
152 MODULE_PARM_DESC(weakpages, "Weak pages [: maximum writes (defaults to 3)]"
156 MODULE_PARM_DESC(gravepages, "Pages that lose data [: maximum reads (defaults to 3)]"
189 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) argument
192 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0))) argument
195 #define NS_STATUS_FAILED(ns) (NAND_STATUS_FAIL | NS_STATUS_OK(ns)) argument
198 #define NS_RAW_OFFSET(ns) \ argument
[all …]
/Linux-v6.6/drivers/pwm/
Dpwm-ab8500.c51 * q = (32 - FreqPWMOutx[3:0]) / AB8500_PWM_CLKRATE in ab8500_pwm_apply()
54 * FreqPWMOutx[3:0] | output frequency | output frequency | 1024q = period in ab8500_pwm_apply()
57 * b0000 | 293 Hz | 292.968750 Hz | 3413333.33 ns in ab8500_pwm_apply()
58 * b0001 | 302 Hz | 302.419355 Hz | 3306666.66 ns in ab8500_pwm_apply()
59 * b0010 | 312 Hz | 312.500000 Hz | 3200000 ns in ab8500_pwm_apply()
60 * b0011 | 323 Hz | 323.275862 Hz | 3093333.33 ns in ab8500_pwm_apply()
61 * b0100 | 334 Hz | 334.821429 Hz | 2986666.66 ns in ab8500_pwm_apply()
62 * b0101 | 347 Hz | 347.222222 Hz | 2880000 ns in ab8500_pwm_apply()
63 * b0110 | 360 Hz | 360.576923 Hz | 2773333.33 ns in ab8500_pwm_apply()
64 * b0111 | 375 Hz | 375.000000 Hz | 2666666.66 ns in ab8500_pwm_apply()
[all …]
/Linux-v6.6/kernel/
Dacct.c23 * lost the old acct_file. 3/10/98, Al Viro.
73 static int acct_parm[3] = {4, 2, 30};
83 .maxlen = 3*sizeof(int),
110 struct pid_namespace *ns; member
163 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() argument
169 res = to_acct(READ_ONCE(ns->bacct)); in acct_get()
181 if (res != to_acct(READ_ONCE(ns->bacct))) { in acct_get()
196 cmpxchg(&acct->ns->bacct, pin, NULL); in acct_pin_kill()
216 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() local
263 acct->ns = ns; in acct_on()
[all …]
/Linux-v6.6/arch/arm/boot/dts/st/
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-v6.6/ipc/
Dipc_sysctl.c22 struct ipc_namespace *ns = in proc_ipc_dointvec_minmax_orphans() local
30 if (ns->shm_rmid_forced) in proc_ipc_dointvec_minmax_orphans()
31 shm_destroy_orphaned(ns); in proc_ipc_dointvec_minmax_orphans()
53 struct ipc_namespace *ns = in proc_ipc_sem_dointvec() local
57 semmni = ns->sem_ctls[3]; in proc_ipc_sem_dointvec()
61 ret = sem_check_semmni(ns); in proc_ipc_sem_dointvec()
67 ns->sem_ctls[3] = semmni; in proc_ipc_sem_dointvec()
198 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in ipc_permissions() local
200 if (((table->data == &ns->ids[IPC_SEM_IDS].next_id) || in ipc_permissions()
201 (table->data == &ns->ids[IPC_MSG_IDS].next_id) || in ipc_permissions()
[all …]

12345678910>>...44