Home
last modified time | relevance | path

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

12345678910>>...43

/linux-6.14.4/tools/testing/selftests/net/
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 …]
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.sh13 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
39 local exp=$3
56 elif [ "$2" != "$3" ]; then
[all …]
Dcmsg_so_priority.sh13 TGT6_RAW=2001:db8::3
32 cleanup_ns $NS
37 setup_ns NS
42 local ip_type=$3
55 tc -n $NS filter add dev dummy1 \
62 ip -n $NS link set dev lo up
63 ip -n $NS link add name dummy1 up type dummy
65 ip -n $NS link add link dummy1 name dummy1.10 up type vlan id 10 \
66 egress-qos-map 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
68 ip -n $NS address add $IP4 dev dummy1.10
[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
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 …]
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 …]
/linux-6.14.4/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-6.14.4/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-6.14.4/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-6.14.4/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()
196 struct ipc_namespace *ns = in ipc_set_ownership() local
199 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in ipc_set_ownership()
200 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership()
[all …]
Dmq_sysctl.c82 struct ipc_namespace *ns = in mq_set_ownership() local
85 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in mq_set_ownership()
86 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in mq_set_ownership()
104 mode >>= 3; in mq_permissions()
108 return (mode << 6) | (mode << 3) | mode; in mq_permissions()
117 bool setup_mq_sysctls(struct ipc_namespace *ns) in setup_mq_sysctls() argument
121 setup_sysctl_set(&ns->mq_set, &set_root, set_is_seen); in setup_mq_sysctls()
129 tbl[i].data = &ns->mq_queues_max; in setup_mq_sysctls()
132 tbl[i].data = &ns->mq_msg_max; in setup_mq_sysctls()
135 tbl[i].data = &ns->mq_msgsize_max; in setup_mq_sysctls()
[all …]
/linux-6.14.4/tools/testing/selftests/net/mptcp/
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 …]
Dmptcp_lib.sh17 declare -rx MPTCP_LIB_EVENT_CLOSED=3 # MPTCP_EVENT_CLOSED
110 # $1-2: listener/connector ns ; $3 port ; $4-5 listener/connector stat file
114 local port="${3}"
231 MPTCP_LIB_SUBTESTS_LAST_TS_MS="$(date +%s%3N)"
337 # $1: info name ; $2: evts_ns ; [$3: event type; [$4: addr]]
339 grep "${4:-}" "${2}" | mptcp_lib_get_info_value "${1}" "^type:${3:-1},"
356 # $1: ns, $2: MIB counter
358 local ns="${1}"
362 count=$(ip netns exec "${ns}" nstat -asz "${counter}" |
375 local size="${3}"
[all …]
/linux-6.14.4/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-6.14.4/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 …]
Dnetdev.c57 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit() local
66 if (!nsim_ipsec_tx(ns, skb)) in nsim_start_xmit()
69 peer_ns = rcu_dereference(ns->peer); in nsim_start_xmit()
93 u64_stats_update_begin(&ns->syncp); in nsim_start_xmit()
94 ns->tx_packets++; in nsim_start_xmit()
95 ns->tx_bytes += len; in nsim_start_xmit()
96 u64_stats_update_end(&ns->syncp); in nsim_start_xmit()
103 u64_stats_update_begin(&ns->syncp); in nsim_start_xmit()
104 ns->tx_dropped++; in nsim_start_xmit()
105 u64_stats_update_end(&ns->syncp); in nsim_start_xmit()
[all …]
/linux-6.14.4/tools/testing/selftests/tc-testing/plugin-lib/
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-6.14.4/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-6.14.4/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-6.14.4/drivers/pwm/
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-6.14.4/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
164 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() argument
170 res = to_acct(READ_ONCE(ns->bacct)); in acct_get()
182 if (res != to_acct(READ_ONCE(ns->bacct))) { in acct_get()
201 cmpxchg(&acct->ns->bacct, pin, NULL); in acct_pin_kill()
224 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() local
285 acct->ns = ns; in acct_on()
[all …]
/linux-6.14.4/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-6.14.4/arch/arm/boot/dts/rockchip/
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 */
389 rx-sample-delay-ns = <12>;
493 rockchip,pins = <3 RK_PC2 2 &pcfg_pull_none_drv_8ma>;
[all …]

12345678910>>...43