Home
last modified time | relevance | path

Searched refs:sysctl (Results 1 – 25 of 256) sorted by relevance

1234567891011

/OK3568_Linux_fs/kernel/net/ipv6/
H A Dsysctl_net_ipv6.c36 ipv6.sysctl.multipath_hash_policy); in proc_rt6_multipath_hash_policy()
47 .data = &init_net.ipv6.sysctl.bindv6only,
54 .data = &init_net.ipv6.sysctl.anycast_src_echo_reply,
61 .data = &init_net.ipv6.sysctl.flowlabel_consistency,
68 .data = &init_net.ipv6.sysctl.auto_flowlabels,
77 .data = &init_net.ipv6.sysctl.fwmark_reflect,
84 .data = &init_net.ipv6.sysctl.idgen_retries,
91 .data = &init_net.ipv6.sysctl.idgen_delay,
98 .data = &init_net.ipv6.sysctl.flowlabel_state_ranges,
105 .data = &init_net.ipv6.sysctl.ip_nonlocal_bind,
[all …]
H A Daf_inet6.c214 np->repflow = net->ipv6.sysctl.flowlabel_reflect & FLOWLABEL_REFLECT_ESTABLISHED; in inet6_create()
215 sk->sk_ipv6only = net->ipv6.sysctl.bindv6only; in inet6_create()
935 net->ipv6.sysctl.bindv6only = 0; in inet6_net_init()
936 net->ipv6.sysctl.icmpv6_time = 1*HZ; in inet6_net_init()
937 net->ipv6.sysctl.icmpv6_echo_ignore_all = 0; in inet6_net_init()
938 net->ipv6.sysctl.icmpv6_echo_ignore_multicast = 0; in inet6_net_init()
939 net->ipv6.sysctl.icmpv6_echo_ignore_anycast = 0; in inet6_net_init()
945 bitmap_set(net->ipv6.sysctl.icmpv6_ratemask, 0, ICMPV6_ERRMSG_MAX + 1); in inet6_net_init()
946 bitmap_clear(net->ipv6.sysctl.icmpv6_ratemask, ICMPV6_PKT_TOOBIG, 1); in inet6_net_init()
947 net->ipv6.sysctl.icmpv6_ratemask_ptr = net->ipv6.sysctl.icmpv6_ratemask; in inet6_net_init()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/procps/
H A Dprocps_3.3.17.bb16 file://sysctl.conf \
46 install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf
48 install -d ${D}${sysconfdir}/sysctl.d
49 ln -sf ../sysctl.conf ${D}${sysconfdir}/sysctl.d/99-sysctl.conf
53 CONFFILES:${PN} = "${sysconfdir}/sysctl.conf"
57 base_sbindir_progs += "sysctl"
82 ${PN}-sysctl"
88 RDEPENDS:${PN}-sysctl += "${PN}-lib"
92 FILES:${PN}-sysctl = "${base_sbindir}/sysctl.${BPN} ${sysconfdir}/sysctl.conf ${sysconfdir}/sysctl.…
95 ALTERNATIVE:${PN}:remove = "sysctl"
[all …]
/OK3568_Linux_fs/buildroot/package/openrc/
H A D0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch4 Subject: [PATCH] init.d/sysctl.in: add support for busybox sysctl
9 Busybox version of sysctl does not support --system argument,
11 to recognize busybox sysctl and execute proper function based
16 init.d/sysctl.in | 27 ++++++++++++++++++++++++++-
19 diff --git a/init.d/sysctl.in b/init.d/sysctl.in
21 --- a/init.d/sysctl.in
22 +++ b/init.d/sysctl.in
33 + for conf in /etc/sysctl.conf /etc/sysctl.d/*.conf; do
36 + sysctl $quiet -p "$conf" || retval=1
53 + sysctl -h > /dev/null 2>&1
[all …]
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dprog_cgroup_sysctl.rst8 provides cgroup-bpf hook for sysctl.
11 process inside that cgroup tries to read from or write to sysctl knob in proc.
30 * ``write`` indicates whether sysctl value is being read (``0``) or written
33 * ``file_pos`` indicates file position sysctl is being accessed at, read
35 position in sysctl proc file ``read(2)`` will be reading from or ``write(2)``
37 whole sysctl value by ``bpf_sysctl_set_new_value()`` on ``write(2)`` even
39 value to the field can be used to access part of sysctl value starting from
40 specified ``file_pos``. Not all sysctl support access with ``file_pos !=
41 0``, e.g. writes to numeric sysctl entries must always be at file position
42 ``0``. See also ``kernel.sysctl_writes_strict`` sysctl.
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dip_defrag.sh17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1
18 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1
19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1
21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1
22 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1
23 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1
25 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null…
26 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null…
27 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1
30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
H A Droute_localnet.sh16 sysctl -w net.ipv4.conf.veth0.route_localnet=1
17 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.route_localnet=1
40 sysctl -w net.ipv4.conf.veth0.arp_announce=2
41 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_announce=2
57 sysctl -w net.ipv4.conf.veth0.arp_ignore=3
58 ip netns exec "${PEER_NS}" sysctl -w net.ipv4.conf.veth1.arp_ignore=3
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_sysctl.c33 const char *sysctl; member
54 .sysctl = "kernel/ostype",
65 .sysctl = "kernel/ostype",
76 .sysctl = "kernel/ostype",
97 .sysctl = "kernel/ostype",
118 .sysctl = "kernel/domainname",
141 .sysctl = "kernel/domainname",
157 .sysctl = "kernel/ostype",
178 .sysctl = "kernel/ostype",
205 .sysctl = "kernel/ostype",
[all …]
H A Dtest_kmod.sh23 sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null
24 sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null
50 JE=`sysctl -n net.core.bpf_jit_enable`
51 JH=`sysctl -n net.core.bpf_jit_harden`
56 sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null
57 sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null
H A Dtest_tcp_check_syncookie.sh39 ns1_exec sysctl -w net.ipv4.tcp_syncookies=2
40 ns1_exec sysctl -w net.ipv4.tcp_window_scaling=0
41 ns1_exec sysctl -w net.ipv4.tcp_timestamps=0
42 ns1_exec sysctl -w net.ipv4.tcp_sack=0
H A Dtest_lwt_ip_encap.sh116 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.all.rp_filter=0
117 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0
118 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.all.rp_filter=0
119 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.default.rp_filter=0
120 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.default.rp_filter=0
121 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.default.rp_filter=0
124 ip netns exec ${NS1} sysctl -wq net.ipv6.conf.all.accept_dad=0
125 ip netns exec ${NS2} sysctl -wq net.ipv6.conf.all.accept_dad=0
126 ip netns exec ${NS3} sysctl -wq net.ipv6.conf.all.accept_dad=0
127 ip netns exec ${NS1} sysctl -wq net.ipv6.conf.default.accept_dad=0
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/
H A Dipvs.sh141 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1
147 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1
148 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_announce=2
150 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.rp_filter=0
151 ip netns exec ns2 sysctl -qw net.ipv4.conf.veth21.rp_filter=0
160 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1
176 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=0
177 ip netns exec ns1 sysctl -qw net.ipv4.conf.all.send_redirects=0
178 ip netns exec ns1 sysctl -qw net.ipv4.conf.default.send_redirects=0
185 ip netns exec ns2 sysctl -qw net.ipv4.conf.all.arp_ignore=1
[all …]
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtc_l2_redirect.sh48 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0
49 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ipt2.rp_filter=0
53 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0
54 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ip6t2.rp_filter=0
65 sysctl -q -w net.ipv4.conf.all.rp_filter=0
66 sysctl -q -w net.ipv6.conf.all.forwarding=1
78 sysctl -q -w net.ipv4.conf.all.rp_filter=$RP_FILTER
79 sysctl -q -w net.ipv6.conf.all.forwarding=$IPV6_FORWARDING
94 sysctl -q -w net.ipv4.conf.ipt.rp_filter=0
95 sysctl -q -w net.ipv4.conf.ipt.forwarding=1
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dindex.rst64 ip-sysctl
67 ipvs-sysctl
72 mpls-sysctl
77 netfilter-sysctl
79 nf_conntrack-sysctl
95 seg6-sysctl
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/busybox/busybox/
H A D0001-sysctl-ignore-EIO-of-stable_secret-below-proc-sys-ne.patch4 Subject: [PATCH] sysctl: ignore EIO of stable_secret below
15 procps/sysctl.c | 9 ++++++++-
18 diff --git a/procps/sysctl.c b/procps/sysctl.c
20 --- a/procps/sysctl.c
21 +++ b/procps/sysctl.c
/OK3568_Linux_fs/kernel/drivers/pcmcia/
H A Dti113x.h507 u32 sysctl; in ti12xx_tie_interrupts() local
510 sysctl = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti12xx_tie_interrupts()
511 if (sysctl & TI122X_SCR_INTRTIE) in ti12xx_tie_interrupts()
520 sysctl |= TI122X_SCR_INTRTIE; in ti12xx_tie_interrupts()
521 config_writel(socket, TI113X_SYSTEM_CONTROL, sysctl); in ti12xx_tie_interrupts()
529 u32 sysctl = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti12xx_untie_interrupts() local
530 sysctl &= ~TI122X_SCR_INTRTIE; in ti12xx_untie_interrupts()
531 config_writel(socket, TI113X_SYSTEM_CONTROL, sysctl); in ti12xx_untie_interrupts()
543 u32 mfunc, mfunc_old, devctl, sysctl; in ti12xx_irqroute_func1() local
552 sysctl = config_readl(socket, TI113X_SYSTEM_CONTROL); in ti12xx_irqroute_func1()
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/ralink/
H A Dphy-ralink-usb.c58 struct regmap *sysctl; member
97 regmap_update_bits(phy->sysctl, RT_SYSC_REG_CLKCFG1, in ralink_usb_phy_power_on()
101 regmap_update_bits(phy->sysctl, RT_SYSC_REG_SYSCFG1, in ralink_usb_phy_power_on()
119 regmap_read(phy->sysctl, RT_SYSC_REG_USB_PHY_CFG, &t); in ralink_usb_phy_power_on()
135 regmap_update_bits(phy->sysctl, RT_SYSC_REG_CLKCFG1, in ralink_usb_phy_power_off()
189 phy->sysctl = syscon_regmap_lookup_by_phandle(dev->of_node, "ralink,sysctl"); in ralink_usb_phy_probe()
190 if (IS_ERR(phy->sysctl)) { in ralink_usb_phy_probe()
192 return PTR_ERR(phy->sysctl); in ralink_usb_phy_probe()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/collectd/collectd/
H A D0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch4 Subject: [PATCH] Remove including sys/sysctl.h on glibc based systems
10 sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated and
34 #include <sys/sysctl.h>
47 #include <sys/sysctl.h>
48 /* Using sysctl interface to retrieve the boot time on *BSD / Darwin / OS X
/OK3568_Linux_fs/kernel/arch/riscv/boot/dts/kendryte/
H A Dk210.dtsi41 clocks = <&sysctl K210_CLK_CPU>;
59 clocks = <&sysctl K210_CLK_CPU>;
92 sysctl: sysctl@50440000 { label
93 compatible = "kendryte,k210-sysctl", "simple-mfd";
104 clocks = <&sysctl K210_CLK_ACLK>;
122 clocks = <&sysctl K210_CLK_CPU>;
/OK3568_Linux_fs/buildroot/package/irrlicht/
H A D0002-remove-sys-sysctl.h.patch4 Subject: [PATCH] remove sys/sysctl.h
6 With musl irrlicht doesn't build due to missing sys/sysctl.h
8 fatal error: sys/sysctl.h: No such file or directory
11 "sysctl does not work, and NEVER worked. using it is bogus.
32 -#include <sys/sysctl.h>
/OK3568_Linux_fs/buildroot/package/procps-ng/
H A DS02sysctl46 /sbin/sysctl -p "$file" $SYSCTL_ARGS || prog_status="FAIL"
47 done 2>&1 >&3 | /usr/bin/logger -t sysctl -p kern.err
48 } 3>&1 | /usr/bin/logger -t sysctl -p kern.info
63 /sbin/sysctl -p "$file" $SYSCTL_ARGS || prog_status="FAIL"
/OK3568_Linux_fs/buildroot/package/busybox/
H A DS02sysctl46 /sbin/sysctl -p "$file" $SYSCTL_ARGS || prog_status="FAIL"
47 done 2>&1 >&3 | /usr/bin/logger -t sysctl -p kern.err
48 } 3>&1 | /usr/bin/logger -t sysctl -p kern.info
63 /sbin/sysctl -p "$file" $SYSCTL_ARGS || prog_status="FAIL"
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dfsl_esdhc.c48 uint sysctl; /* System Control Register */ member
326 esdhc_clrsetbits32(&regs->sysctl, SYSCTL_TIMEOUT_MASK, timeout << 16); in esdhc_setup_data()
506 esdhc_write32(&regs->sysctl, esdhc_read32(&regs->sysctl) | in esdhc_send_cmd_common()
508 while (esdhc_read32(&regs->sysctl) & SYSCTL_RSTC) in esdhc_send_cmd_common()
512 esdhc_write32(&regs->sysctl, in esdhc_send_cmd_common()
513 esdhc_read32(&regs->sysctl) | in esdhc_send_cmd_common()
515 while ((esdhc_read32(&regs->sysctl) & SYSCTL_RSTD)) in esdhc_send_cmd_common()
559 esdhc_clrbits32(&regs->sysctl, SYSCTL_CKEN); in set_sysctl()
562 esdhc_clrsetbits32(&regs->sysctl, SYSCTL_CLOCK_MASK, clk); in set_sysctl()
569 esdhc_setbits32(&regs->sysctl, SYSCTL_PEREN | SYSCTL_CKEN); in set_sysctl()
[all …]
H A Domap_hsmmc.c240 writel(readl(&mmc_base->sysctl) | SOFTRESETALL, &mmc_base->sysctl); in omap_hsmmc_init_setup()
242 while ((readl(&mmc_base->sysctl) & SOFTRESETALL) != 0x0) { in omap_hsmmc_init_setup()
260 mmc_reg_out(&mmc_base->sysctl, (ICE_MASK | DTO_MASK | CEN_MASK), in omap_hsmmc_init_setup()
262 mmc_reg_out(&mmc_base->sysctl, ICE_MASK | CLKD_MASK, in omap_hsmmc_init_setup()
265 while ((readl(&mmc_base->sysctl) & ICS_MASK) == ICS_NOTREADY) { in omap_hsmmc_init_setup()
271 writel(readl(&mmc_base->sysctl) | CEN_ENABLE, &mmc_base->sysctl); in omap_hsmmc_init_setup()
294 mmc_reg_out(&mmc_base->sysctl, bit, bit); in mmc_reset_controller_fsm()
312 if (!(readl(&mmc_base->sysctl) & bit)) { in mmc_reset_controller_fsm()
314 while (!(readl(&mmc_base->sysctl) & bit)) { in mmc_reset_controller_fsm()
321 while ((readl(&mmc_base->sysctl) & bit) != 0) { in mmc_reset_controller_fsm()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Darmv8_deprecated.c236 struct ctl_table *insns_sysctl, *sysctl; in register_insn_emulation_sysctl() local
238 insns_sysctl = kcalloc(nr_insn_emulated + 1, sizeof(*sysctl), in register_insn_emulation_sysctl()
245 sysctl = &insns_sysctl[i]; in register_insn_emulation_sysctl()
247 sysctl->mode = 0644; in register_insn_emulation_sysctl()
248 sysctl->maxlen = sizeof(int); in register_insn_emulation_sysctl()
250 sysctl->procname = insn->ops->name; in register_insn_emulation_sysctl()
251 sysctl->data = &insn->current_mode; in register_insn_emulation_sysctl()
252 sysctl->extra1 = &insn->min; in register_insn_emulation_sysctl()
253 sysctl->extra2 = &insn->max; in register_insn_emulation_sysctl()
254 sysctl->proc_handler = emulation_proc_handler; in register_insn_emulation_sysctl()

1234567891011