Home
last modified time | relevance | path

Searched +full:local +full:- +full:pid (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2021-2022 NXP
13 # https://github.com/vladimiroltean/tsn-scripts
14 # WARNING: isochron versions pre-1.0 are unstable,
25 local uds_address=$1
26 local extra_args=""
28 if ! [ -z "${uds_address}" ]; then
29 extra_args="${extra_args} -z ${uds_address}"
34 chrt -f 10 phc2sys -m \
35 -a -rr \
[all …]
/openbmc/linux/tools/perf/tests/shell/
H A Ddaemon.sh3 # SPDX-License-Identifier: GPL-2.0
7 local line=$1
8 local name=$2
9 local base=$3
10 local output=$4
11 local lock=$5
12 local up=$6
14 local line_name
16 local line_base
18 local line_output
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/vblade/files/
H A Dvblade.init5 # chkconfig: - 30 70
12 # integrate vblade.init from Fedora's vblade-14-6.fc12.src.rpm
20 [ -n "$5" ] && ALLOWMACS="-m $5"
21 ID="$1-e$2.$3"
22 if [ ! -d "/var/run/$prog" ]; then
25 PID_FILE=/var/run/$prog/${ID}.pid
27 pid=$!
29 echo $pid > $PID_FILE
30 echo -n $"$4 (e$2.$3@$1) [pid $pid]"
36 local ret
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/libusbgx/
H A Dusbgx.initd4 # Required-Start: $local_fs
5 # Should-Start:
6 # Required-Stop: $local_fs
7 # Should-Stop:
8 # Default-Start: 2 3 4 5
9 # Default-Stop: 0 1 6
10 # Short-Description: Example initscript
20 DAEMON=/usr/bin/gadget-start
22 PIDFILE=/var/run/$NAME.pid
27 [ -x "$DAEMON" ] || exit 0
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
31 s32 pid; in tasks_kfunc_map_value_lookup() local
34 status = bpf_probe_read_kernel(&pid, sizeof(pid), &p->pid); in tasks_kfunc_map_value_lookup()
38 return bpf_map_lookup_elem(&__tasks_kfunc_map, &pid); in tasks_kfunc_map_value_lookup()
43 struct __tasks_kfunc_map_value local, *v; in tasks_kfunc_map_insert() local
46 s32 pid; in tasks_kfunc_map_insert() local
48 status = bpf_probe_read_kernel(&pid, sizeof(pid), &p->pid); in tasks_kfunc_map_insert()
52 local.task = NULL; in tasks_kfunc_map_insert()
53 status = bpf_map_update_elem(&__tasks_kfunc_map, &pid, &local, BPF_NOEXIST); in tasks_kfunc_map_insert()
[all …]
H A Dtask_kfunc_failure.c1 // SPDX-License-Identifier: GPL-2.0
42 acquired = bpf_task_acquire(v->task); in BPF_PROG()
142 kptr = bpf_kptr_xchg(&v->task, NULL); in BPF_PROG()
175 bpf_task_release(v->task); in BPF_PROG()
196 struct __tasks_kfunc_map_value local, *v; in BPF_PROG() local
199 s32 pid; in BPF_PROG() local
201 status = bpf_probe_read_kernel(&pid, sizeof(pid), &task->pid); in BPF_PROG()
205 local.task = NULL; in BPF_PROG()
206 status = bpf_map_update_elem(&__tasks_kfunc_map, &pid, &local, BPF_NOEXIST); in BPF_PROG()
210 v = bpf_map_lookup_elem(&__tasks_kfunc_map, &pid); in BPF_PROG()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dfunctions1 # -*-Shell-script-*-
7 # SPDX-License-Identifier: GPL-2.0-only
18 # the pidof supports "-x" option. If you want to use it for such a
20 # 1) If there is no "pidof -x", replace the "pidof $1" with another
21 # command like(for core-image-minimal):
24 # 2) If there is "pidof -x", replace "pidof" with "pidof -x".
26 # pidofproc - print the pid of a process
31 pid=`pidof $1`
35 echo $pid
54 pid=`pidofproc $1` && kill $pid
[all …]
H A Dmountall.sh3 # SPDX-License-Identifier: GPL-2.0-only
8 # Required-Start: mountvirtfs
9 # Required-Stop:
10 # Default-Start: S
11 # Default-Stop:
12 # Short-Description: Mount all filesystems.
19 # Mount local filesystems in /etc/fstab. For some reason, people
20 # might want to mount "proc" several times, and mount -v complains
21 # about this. So we mount "proc" filesystems without -v.
23 test "$VERBOSE" != no && echo "Mounting local filesystems..."
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd/
H A Dgpsd.init4 # Required-Start: $remote_fs $syslog $network
5 # Should-Start: bluetooth dbus udev
6 # Required-Stop: $remote_fs $syslog $network
7 # Should-Stop:
8 # Default-Start: 2 3 4 5
9 # Default-Stop: 0 1 6
10 # X-Start-Before: ntp
11 # Short-Description: GPS (Global Positioning System) daemon start/stop script
26 PIDFILE=/var/run/$NAME.pid
31 [ -x "$DAEMON" ] || exit 0
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dgre_gso.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Kselftest framework requirement - SKIP code is 4.
10 # all tests in this script. Can be overridden with -t option
16 IP="ip -netns ns1"
19 PID=
23 local rc=$1
24 local expected=$2
25 local msg="$3"
27 if [ ${rc} -eq ${expected} ]; then
28 printf " TEST: %-60s [ OK ]\n" "${msg}"
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/ulogd2/ulogd2/
H A Dulogd.init4 # Required-Start: $local_fs
5 # Should-Start:
6 # Required-Stop: $local_fs
7 # Should-Stop:
8 # Default-Start: 2 3 4 5
9 # Default-Stop: 0 1 6
10 # Short-Description: Userspace logging daemon for netfilter/iptables
18 # try-restart restart the service if the service is already running
21 # force-reload cause the configuration to be reloaded if the service supports
25 # The start, stop, restart, force-reload, and status actions shall be supported
[all …]
/openbmc/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,smp2p.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
16 of a single 32-bit value between two processors. Each value has a single
17 writer (the local side) and a single reader (the remote side). Values are
18 uniquely identified in the system by the directed edge (local processor ID to
35 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
/openbmc/openbmc/poky/meta-skeleton/recipes-skeleton/service/service/
H A Dskeleton4 # Required-Start: $local_fs
5 # Should-Start:
6 # Required-Stop: $local_fs
7 # Should-Stop:
8 # Default-Start: 2 3 4 5
9 # Default-Stop: 0 1 6
10 # Short-Description: Example initscript
20 # try-restart restart the service if the service is already running
23 # force-reload cause the configuration to be reloaded if the service supports
27 # The start, stop, restart, force-reload, and status actions shall be supported
[all …]
/openbmc/phosphor-pid-control/tools/
H A Dfan_rpm_loop_test.sh3 # shim system-level operations to allow for unit testing
9 # Store commanded rpm as thermal set-point.
12 # rpm - rpm set-point.
14 printf '%d\n' "$1" > /etc/thermal.d/set-point
25 local -i start_rpm=$1
26 local -i stop_rpm=$2
27 local -i num_steps=$3
28 local -i dwell=$4
31 local -i h=$((num_steps / 2))
36 local -i rpm0=$((start_rpm))
[all …]
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dserv.py4 # SPDX-License-Identifier: GPL-2.0-only
20 PIDPREFIX = "/tmp/PRServer_%s_%s.pid"
29 "get-pr": self.handle_get_pr,
30 "test-pr": self.handle_test_pr,
31 "test-package": self.handle_test_package,
32 "max-package-pr": self.handle_max_package_pr,
33 "import-one": self.handle_import_one,
35 "is-readonly": self.handle_is_readonly,
84 # Check whether the local server already knows the requested configuration.
102 # and the maximum local value
[all …]
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_lib.sh2 # SPDX-License-Identifier: GPL-2.0
9 readonly KSFT_TEST="${MPTCP_LIB_KSFT_TEST:-$(basename "${0}" .sh)}"
11 # These variables are used in some selftests, read-only
12 declare -rx MPTCP_LIB_EVENT_CREATED=1 # MPTCP_EVENT_CREATED
13 declare -rx MPTCP_LIB_EVENT_ESTABLISHED=2 # MPTCP_EVENT_ESTABLISHED
14 declare -rx MPTCP_LIB_EVENT_CLOSED=3 # MPTCP_EVENT_CLOSED
15 declare -rx MPTCP_LIB_EVENT_ANNOUNCED=6 # MPTCP_EVENT_ANNOUNCED
16 declare -rx MPTCP_LIB_EVENT_REMOVED=7 # MPTCP_EVENT_REMOVED
17 declare -rx MPTCP_LIB_EVENT_SUB_ESTABLISHED=10 # MPTCP_EVENT_SUB_ESTABLISHED
18 declare -rx MPTCP_LIB_EVENT_SUB_CLOSED=11 # MPTCP_EVENT_SUB_CLOSED
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A Dcommon.rc4 # Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
24 HOSTOS=$(uname -s)
25 arch=$(uname -m)
40 if ! command -v gsed >/dev/null 2>&1; then
41 if sed --version 2>&1 | grep -v 'not GNU sed' | grep 'GNU sed' > /dev/null;
59 command dd --help | grep noxfer > /dev/null 2>&1
61 if [ "$?" -eq 0 ]
82 local img=$1 ofs=$2 len=$3 val=$4 str=''
84 while ((len--)); do
96 local img=$1 ofs=$2 len=$3 val=$4
[all …]
/openbmc/linux/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c1 // SPDX-License-Identifier: GPL-2.0-only
54 int local, int global, int set) in toggle_breakpoint() argument
94 if (local) { in toggle_breakpoint()
112 exit(-1); in toggle_breakpoint()
205 int len, local, global, i; in trigger_tests() local
219 for (local = 0; local < 2; local++) { in trigger_tests()
221 if (!local && !global) in trigger_tests()
233 for (local = 0; local < 2; local++) { in trigger_tests()
235 if (!local && !global) in trigger_tests()
244 for (local = 0; local < 2; local++) { in trigger_tests()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/distcc/files/
H A Ddistcc4 # Required-Start: $remote_fs $syslog
5 # Required-Stop: $remote_fs $syslog
6 # Default-Start: 2 3 4 5
7 # Default-Stop: 1
8 # Short-Description: simple distributed compiler client and server
20 # Version: @(#)skeleton 1.9.1 08-Apr-2002 miquels@cistron.nl
23 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
27 DAEMON_ARGS="--pid-file=/var/run/$NAME.pid --daemon"
32 [ -r /etc/default/distcc ] && . /etc/default/distcc
34 test -x $DAEMON || exit 0
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/conntrack-tools/files/
H A Dinit6 # -- Mon, 06 Nov 2006 18:39:07 +0100
9 # -- Tue, 27 Oct 2009 14:34:00 +0300
13 # Required-Start: $remote_fs $syslog
14 # Required-Stop: $remote_fs $syslog
15 # Default-Start: 2 3 4 5
16 # Default-Stop: 0 1 6
18 # short-description: Starts conntrackd
21 export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
26 PIDFILE="/var/run/${NAME}.pid"
30 if [ ! -x "${DAEMON}" ]; then
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Diwpm_msg.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
42 * iwpm_valid_pid - Check if the userspace iwarp port mapper pid is valid
44 * Returns true if the pid is greater than zero, otherwise returns false
52 * iwpm_register_pid - Send a netlink query to userspace
53 * to get the iwarp port mapper pid
70 int ret = -EINVAL; in iwpm_register_pid()
80 nlh->nlmsg_seq = iwpm_get_nlmsg_seq(); in iwpm_register_pid()
81 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_register_pid()
88 /* fill in the pid request message */ in iwpm_register_pid()
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/
H A Dproftpd-config-fix.patch1 Upstream-Status: Inappropriate [configuration]
3 Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
5 Index: webmin-1.570/proftpd/config
7 --- webmin-1.570.orig/proftpd/config 2011-10-25 20:18:37.000000000 +0800
8 +++ webmin-1.570/proftpd/config 2011-10-25 20:21:13.000000000 +0800
9 @@ -1,6 +1,6 @@
10 -proftpd_path=/usr/local/sbin/proftpd
11 -proftpd_conf=/usr/local/etc/proftpd.conf
12 -pid_file=/usr/local/var/proftpd.pid
15 +pid_file=/var/proftpd.pid
/openbmc/linux/arch/alpha/kernel/
H A Dsys_marvel.c1 // SPDX-License-Identifier: GPL-2.0
43 unsigned int pid; in io7_device_interrupt() local
52 * -----+-----+--------+--- in io7_device_interrupt()
57 * 0x0800 - 0x0ff0 - 0x0800 + (LSI id << 4) in io7_device_interrupt()
58 * 0x1000 - 0x2ff0 - 0x1000 + (MSI_DAT<8:0> << 4) in io7_device_interrupt()
60 pid = vector >> 16; in io7_device_interrupt()
61 irq = ((vector & 0xffff) - 0x800) >> 4; in io7_device_interrupt()
65 irq |= pid << MARVEL_IRQ_VEC_PE_SHIFT; /* merge the pid */ in io7_device_interrupt()
74 unsigned int pid; in io7_get_irq_ctl() local
77 pid = irq >> MARVEL_IRQ_VEC_PE_SHIFT; in io7_get_irq_ctl()
[all …]
/openbmc/linux/tools/perf/Documentation/
H A Dperf-c2c.txt1 perf-c2c(1)
5 ----
6 perf-c2c - Shared Data C2C/HITM Analyzer.
9 --------
12 'perf c2c record' [<options>] \-- [<record command options>] <command>
16 -----------
27 required. See linkperf:perf-arm-spe[1] for a setup guide. Due to the
32 - memory address of the access
33 - type of the access (load and store details)
34 - latency (in cycles) of the load access
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/influxdb/influxdb/
H A Dinfluxdb4 # Required-Start: $all
5 # Required-Stop: $remote_fs $syslog
6 # Default-Start: 2 3 4 5
7 # Default-Stop: 0 1 6
8 # Short-Description: Start the InfluxDB process
10 set -x
13 # Command-line options that can be set in /etc/default/influxdb. These will override
36 if [ ! -x $DAEMON ]; then
44 # PID file for the daemon
45 PIDFILE=/var/run/influxdb/influxd.pid
[all …]

12345678910>>...20