Home
last modified time | relevance | path

Searched refs:util (Results 1 – 25 of 896) sorted by relevance

12345678910>>...36

/openbmc/linux/tools/perf/util/
H A Dpython-ext-sources5 # processed by Makefile and util/setup.py accordingly.
8 util/python.c
10 util/cap.c
11 util/evlist.c
12 util/evsel.c
13 util/evsel_fprintf.c
14 util/perf_event_attr_fprintf.c
15 util/cpumap.c
16 util/memswap.c
17 util/mmap.c
[all …]
H A DBuild88 perf-y += util.o
240 $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-flex.h: util/parse-events.l $(OUTPUT)u…
242 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/parse-events-flex.c \
243 --header-file=$(OUTPUT)util/parse-events-flex.h $(PARSER_DEBUG_FLEX) $<
245 $(OUTPUT)util/parse-events-bison.c $(OUTPUT)util/parse-events-bison.h: util/parse-events.y
248 -o $(OUTPUT)util/parse-events-bison.c -p parse_events_
250 $(OUTPUT)util/expr-flex.c $(OUTPUT)util/expr-flex.h: util/expr.l $(OUTPUT)util/expr-bison.c
252 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/expr-flex.c \
253 --header-file=$(OUTPUT)util/expr-flex.h $(PARSER_DEBUG_FLEX) $<
255 $(OUTPUT)util/expr-bison.c $(OUTPUT)util/expr-bison.h: util/expr.y
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0003-src-basic-missing.h-check-for-missing-strndupa.patch26 src/basic/cgroup-util.c | 1 +
27 src/basic/env-util.c | 1 +
31 src/basic/mountpoint-util.c | 1 +
32 src/basic/parse-util.c | 1 +
34 src/basic/percent-util.c | 1 +
36 src/basic/procfs-util.c | 1 +
37 src/basic/time-util.c | 1 +
41 src/core/dbus-util.c | 1 +
63 src/shared/bus-unit-util.c | 1 +
64 src/shared/bus-util.c | 1 +
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Ddevice_callouts_test.cpp277 EXPECT_EQ(util::getJSONFilename(compatibles), in TEST_F()
284 EXPECT_THROW(util::getJSONFilename(compatibles), std::invalid_argument); in TEST_F()
300 EXPECT_EQ(util::getJSONFilename(compatibles), in TEST_F()
307 EXPECT_EQ(util::getJSONFilename(compatibles), fallbackFile); in TEST_F()
317 EXPECT_EQ(util::getCalloutType("/some/bad/device/path"), in TEST_F()
318 util::CalloutType::unknown); in TEST_F()
323 EXPECT_EQ(util::getCalloutType( in TEST_F()
326 util::CalloutType::i2c); in TEST_F()
331 EXPECT_EQ(util::getCalloutType( in TEST_F()
335 util::CalloutType::fsi); in TEST_F()
[all …]
/openbmc/openpower-hw-diags/analyzer/
H A Dcreate_pel.cpp62 auto chipPos = util::pdbg::getChipPos(i_signature.getChip()); in __getSrc()
94 std::vector<util::FFDCFile>& io_userDataFiles) in __addCalloutList()
97 io_userDataFiles.emplace_back(util::FFDCFormat::JSON, FFDC_CALLOUTS, in __addCalloutList()
108 std::vector<util::FFDCFile>& io_userDataFiles) in __addCalloutFFDC()
111 io_userDataFiles.emplace_back(util::FFDCFormat::Custom, FFDC_CALLOUT_FFDC, in __addCalloutFFDC()
122 std::vector<util::FFDCFile>& io_userDataFiles) in __captureSignatureList()
126 io_userDataFiles.emplace_back(util::FFDCFormat::Custom, FFDC_SIGNATURES, in __captureSignatureList()
131 util::BinFileWriter stream{path}; in __captureSignatureList()
161 std::vector<util::FFDCFile>& io_userDataFiles) in __captureRegisterDump()
165 io_userDataFiles.emplace_back(util::FFDCFormat::Custom, FFDC_REGISTER_DUMP, in __captureRegisterDump()
[all …]
/openbmc/openpower-hw-diags/util/
H A Dpdbg.cpp29 namespace util namespace
236 auto rxType = util::pdbg::getTrgtType(i_rxTarget); in getTargetAcrossBus()
237 assert(util::pdbg::TYPE_IOLINK == rxType || in getTargetAcrossBus()
238 util::pdbg::TYPE_IOHS == rxType); in getTargetAcrossBus()
244 util::dbus::MachineType machineType = util::dbus::getMachineType(); in getTargetAcrossBus()
248 case util::dbus::MachineType::Rainier_2S4U: in getTargetAcrossBus()
249 case util::dbus::MachineType::Rainier_1S4U: in getTargetAcrossBus()
250 case util::dbus::MachineType::BlueRidge_2S4U: in getTargetAcrossBus()
251 case util::dbus::MachineType::BlueRidge_1S4U: in getTargetAcrossBus()
256 case util::dbus::MachineType::Rainier_2S2U: in getTargetAcrossBus()
[all …]
/openbmc/openpower-hw-diags/test/
H A Dtest-ffdc-file.cpp8 std::vector<util::FFDCFile> files; in TEST()
9 files.emplace_back(util::FFDCFormat::JSON, 1, 1); in TEST()
10 files.emplace_back(util::FFDCFormat::CBOR, 2, 2); in TEST()
11 files.emplace_back(util::FFDCFormat::Text, 3, 3); in TEST()
12 files.emplace_back(util::FFDCFormat::Custom, 4, 4); in TEST()
14 std::vector<util::FFDCTuple> tuples; in TEST()
15 ASSERT_NO_THROW(util::transformFFDC(files, tuples)); in TEST()
/openbmc/openpower-hw-diags/analyzer/plugins/
H A Dp10-plugins.cpp57 io_servData.calloutTarget(util::pdbg::getTrgt(sig.getChip()), in pll_unlock()
64 auto target = util::pdbg::getTrgt(i_chip); in lpc_timeout_callout()
65 auto path = util::pdbg::getPath(target); in lpc_timeout_callout()
71 auto chipPos = util::pdbg::getChipPos(target); in lpc_timeout_callout()
100 auto target = util::pdbg::getTrgt(i_chip); in lpc_timeout()
101 auto path = util::pdbg::getPath(target); in lpc_timeout()
103 if (util::pdbg::queryLpcTimeout(target)) in lpc_timeout()
127 trace::inf("Host detected LPC timeout %s", util::pdbg::getPath(i_chip)); in lpc_timeout_workaround()
139 auto procTarget = util::pdbg::getTrgt(i_chip); in callout_attached_dimms()
141 util::pdbg::getChipUnit(procTarget, util::pdbg::TYPE_OMI, i_instance); in callout_attached_dimms()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openflow/openflow/
H A D0001-Check-and-use-strlcpy-from-libc-before-defining-own.patch15 lib/util.c | 2 ++
16 lib/util.h | 1 +
32 diff --git a/lib/util.c b/lib/util.c
34 --- a/lib/util.c
35 +++ b/lib/util.c
52 diff --git a/lib/util.h b/lib/util.h
54 --- a/lib/util.h
55 +++ b/lib/util.h
H A D0001-socket-util-Include-sys-stat.h-for-fchmod.patch4 Subject: [PATCH] socket-util: Include sys/stat.h for fchmod
9 lib/socket-util.c | 1 +
12 diff --git a/lib/socket-util.c b/lib/socket-util.c
14 --- a/lib/socket-util.c
15 +++ b/lib/socket-util.c
/openbmc/openbmc/poky/meta/recipes-bsp/grub/files/
H A D0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch9 We only need add the bzImage to util/grub.d/10_linux.in, but also add it
10 to util/grub.d/20_linux_xen.in to keep compatibility.
18 util/grub.d/10_linux.in | 6 +++---
19 util/grub.d/20_linux_xen.in | 2 +-
22 diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
24 --- a/util/grub.d/10_linux.in
25 +++ b/util/grub.d/10_linux.in
42 diff --git a/util/grub.d/20_linux_xen.in b/util/grub.d/20_linux_xen.in
44 --- a/util/grub.d/20_linux_xen.in
45 +++ b/util/grub.d/20_linux_xen.in
/openbmc/openpower-hw-diags/attn/
H A Dvital_handler.cpp24 if (!util::pldm::hresetSbe(sbeInstance)) in attemptSbeRecovery()
41 pdbg_target_probe(util::pdbg::getPibTrgt(procTarget))) in attemptSbeRecovery()
47 pdbg_target* fsiTarget = util::pdbg::getFsiTrgt(procTarget); in attemptSbeRecovery()
141 if (util::dbus::powerFault()) in handleVital()
152 util::dbus::HostRunningState::Started == util::dbus::hostRunningState()) in handleVital()
165 util::dbus::transitionHost(util::dbus::HostState::Quiesce); in handleVital()
H A Dattn_handler.cpp245 if (!util::dbus::powerFault()) in handleCheckstop()
260 util::dbus::transitionHost(util::dbus::HostState::Quiesce); in handleCheckstop()
470 std::vector<util::FFDCTuple> ffdc{util::FFDCTuple{ in phalSbeExceptionHandler()
471 util::FFDCFormat::Custom, static_cast<uint8_t>(0xCB), in phalSbeExceptionHandler()
475 util::dbus::createPel("org.open_power.Processor.Error.SbeChipOpFailure", in phalSbeExceptionHandler()
488 util::dbus::HostRunningState runningState = util::dbus::hostRunningState(); in getStaticTiInfo()
493 if ((util::dbus::HostRunningState::Started == runningState) || in getStaticTiInfo()
494 (util::dbus::HostRunningState::Unknown == runningState)) in getStaticTiInfo()
496 if (util::dbus::HostRunningState::Started == runningState) in getStaticTiInfo()
560 pdbg_target_probe(util::pdbg::getPibTrgt(procTarget))) in clearAttnInterrupts()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/libmtp/libmtp/
H A D0001-Use-native-mtp-hotplug.patch23 libmtp.usermap: util/mtp-hotplug
24 - util/mtp-hotplug > libmtp.usermap
27 @UDEV_RULES@: util/mtp-hotplug
28 - util/mtp-hotplug -u -p"@UDEV@" @UDEV_GROUP@ @UDEV_MODE@ > @UDEV_RULES@
31 libmtp.fdi: util/mtp-hotplug
32 - util/mtp-hotplug -H > libmtp.fdi
35 $(hwdb_DATA): util/mtp-hotplug
36 - util/mtp-hotplug -w > $(hwdb_DATA)
H A D0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch4 Subject: [PATCH] util/mtp-hotplug.c: Enable stack memory protection
15 $ objdump -T ./util/.libs/mtp-hotplug | grep __stack_chk_fail
20 util/mtp-hotplug.c | 2 +-
23 diff --git a/util/mtp-hotplug.c b/util/mtp-hotplug.c
25 --- a/util/mtp-hotplug.c
26 +++ b/util/mtp-hotplug.c
/openbmc/openbmc/meta-security/dynamic-layers/networking-layer/recipes-security/sssd/files/
H A Dfix_gid.patch1 from ../sssd-2.5.0/src/util/sss_pam_data.c:27:
2 | ../sssd-2.5.0/src/util/debug.h:88:44: error: unknown type name 'uid_t'; did you mean 'uint_t'?
6 | ../sssd-2.5.0/src/util/debug.h:88:55: error: unknown type name 'gid_t'
9 | make[2]: *** [Makefile:22529: src/util/libsss_iface_la-sss_pam_data.lo] Error 1
15 Index: sssd-2.7.1/src/util/debug.h
17 --- sssd-2.7.1.orig/src/util/debug.h
18 +++ sssd-2.7.1/src/util/debug.h
/openbmc/u-boot/test/py/tests/
H A Dtest_vboot.py30 import u_boot_utils as util namespace
57 util.run_and_log(cons, 'dtc %s %s%s -O dtb '
92 util.run_and_log(cons, [mkimage, '-D', dtc_args, '-f',
106 util.run_and_log(cons, [mkimage, '-F', '-k', tmpdir, '-K', dtb,
167 util.run_and_log(cons, [fit_check_sign, '-f', fit, '-k', tmpdir,
183 sig = util.run_and_log(cons, 'fdtget -t bx %s %s value' %
189 util.run_and_log(cons, 'fdtput -t bx %s %s value %s' %
195 util.run_and_log_expect_exception(cons, [fit_check_sign, '-f', fit,
211 util.run_and_log(cons, 'openssl genpkey -algorithm RSA -out %sdev.key '
217 util.run_and_log(cons, 'openssl req -batch -new -x509 -key %sdev.key -out '
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch16 lib/direct/util.h | 2 +-
17 src/gfx/util.cpp | 8 ++++----
20 diff --git a/lib/direct/util.h b/lib/direct/util.h
22 --- a/lib/direct/util.h
23 +++ b/lib/direct/util.h
33 diff --git a/src/gfx/util.cpp b/src/gfx/util.cpp
35 --- a/src/gfx/util.cpp
36 +++ b/src/gfx/util.cpp
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0024-undef-stdin-for-references-using-stdin-as-a-struct-m.patch16 src/shared/edit-util.c | 2 ++
20 diff --git a/src/shared/edit-util.c b/src/shared/edit-util.c
22 --- a/src/shared/edit-util.c
23 +++ b/src/shared/edit-util.c
30 #include "alloc-util.h"
32 #include "edit-util.h"
39 #include "terminal-util.h"
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/
H A D0001-Include-missing-cstdint-header.patch15 third_party/re2/util/pcre.h | 1 +
18 diff --git a/third_party/re2/util/pcre.h b/third_party/re2/util/pcre.h
20 --- a/third_party/re2/util/pcre.h
21 +++ b/third_party/re2/util/pcre.h
24 #include "util/util.h"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/
H A D0001-Add-missing-includes-cstdint-and-cstdio.patch17 storage/rocksdb/rocksdb/util/slice.cc | 1 +
18 storage/rocksdb/rocksdb/util/string_util.h | 1 +
57 diff --git a/storage/rocksdb/rocksdb/util/slice.cc b/storage/rocksdb/rocksdb/util/slice.cc
59 --- a/storage/rocksdb/rocksdb/util/slice.cc
60 +++ b/storage/rocksdb/rocksdb/util/slice.cc
68 #include "util/string_util.h"
69 diff --git a/storage/rocksdb/rocksdb/util/string_util.h b/storage/rocksdb/rocksdb/util/string_util.h
71 --- a/storage/rocksdb/rocksdb/util/string_util.h
72 +++ b/storage/rocksdb/rocksdb/util/string_util.h
/openbmc/phosphor-fan-presence/monitor/
H A Dfan.cpp51 rules::propertiesChanged(util::INVENTORY_PATH + _name, in Fan()
52 util::INV_ITEM_IFACE), in Fan()
58 rules::argNpath(0, util::INVENTORY_PATH + _name), in Fan()
118 _present = util::SDBusPlus::getProperty<bool>( in Fan()
119 util::INVENTORY_PATH + _name, util::INV_ITEM_IFACE, "Present"); in Fan()
132 catch (const util::DBusServiceError& e) in Fan()
147 auto properties = interfaces.find(util::INV_ITEM_IFACE); in presenceIfaceAdded()
190 catch (const util::DBusServiceError& e) in startMonitor()
433 util::getObjMap<bool>(_name, util::OPERATIONAL_STATUS_INTF, in updateInventory()
434 util::FUNCTIONAL_PROPERTY, functional); in updateInventory()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/
H A D0001-util.c-add-limits.h-include-for-NAME_MAX-definition.patch4 Subject: [PATCH] util.c: add limits.h include for NAME_MAX definition
9 util.c | 2 +-
12 diff --git a/util.c b/util.c
14 --- a/util.c
15 +++ b/util.c
/openbmc/linux/include/linux/sched/
H A Dcpufreq.h26 static inline unsigned long map_util_freq(unsigned long util, in map_util_freq() argument
29 return freq * util / cap; in map_util_freq()
32 static inline unsigned long map_util_perf(unsigned long util) in map_util_perf() argument
34 return util + (util >> 2); in map_util_perf()
/openbmc/phosphor-power/phosphor-power-supply/test/
H A Dmock.cpp19 static std::unique_ptr<MockedUtil> util; variable
23 if (!util) in getUtils()
25 util = std::make_unique<MockedUtil>(); in getUtils()
27 return *util; in getUtils()
32 util.reset(); in freeUtils()

12345678910>>...36