| /openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ |
| H A D | dumpfilelist | 21 dir="/var/lib/phosphor-debug-collector/dumps/" 23 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 25 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc" 31 dir="/var/lib/phosphor-debug-collector/hardwaredump/" 33 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 35 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc" 42 dir="/var/lib/phosphor-debug-collector/hostbootdump/" 44 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then 46 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc" 53 dir="/var/lib/phosphor-debug-collector/sbedump/" [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/ifupdown/files/ |
| H A D | tweak-ptest-script.patch | 21 -dir=tests/linux 23 +dir=$curdir/linux 31 - ./ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a… 32 + ifup -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $arg… 33 >$dir/up-res-out.$test 2>$dir/up-res-err.$test || exitcode=$? 37 echo "====stderr===="; cat $dir/up-res-err.$test) > $dir/up-res.$test 40 - ./ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test … 41 + ifdown -v --no-act-commands --force -i $dir/testcase.$test --state-dir=$dir/state.$test $a… 42 >$dir/down-res-out.$test 2>$dir/down-res-err.$test || exitcode=$? 46 echo "====stderr===="; cat $dir/down-res-err.$test) > $dir/down-res.$test [all …]
|
| /openbmc/qemu/util/ |
| H A D | filemonitor-inotify.c | 85 QFileMonitorDir *dir; in qemu_file_monitor_watch() local 99 dir = g_hash_table_lookup(mon->idmap, GINT_TO_POINTER(ev->wd)); in qemu_file_monitor_watch() 106 if (!dir) { in qemu_file_monitor_watch() 138 trace_qemu_file_monitor_event(mon, dir->path, name, ev->mask, in qemu_file_monitor_watch() 139 dir->inotify_id); in qemu_file_monitor_watch() 140 for (i = 0; i < dir->watches->len; i++) { in qemu_file_monitor_watch() 141 QFileMonitorWatch *watch = &g_array_index(dir->watches, in qemu_file_monitor_watch() 147 trace_qemu_file_monitor_dispatch(mon, dir->path, name, in qemu_file_monitor_watch() 163 QFileMonitorDir *dir = data; in qemu_file_monitor_dir_free() local 166 for (i = 0; i < dir->watches->len; i++) { in qemu_file_monitor_dir_free() [all …]
|
| H A D | drm.c | 25 DIR *dir; in qemu_drm_rendernode_open() local 35 dir = opendir("/dev/dri"); in qemu_drm_rendernode_open() 36 if (!dir) { in qemu_drm_rendernode_open() 41 while ((e = readdir(dir))) { in qemu_drm_rendernode_open() 70 closedir(dir); in qemu_drm_rendernode_open()
|
| /openbmc/openbmc/meta-security/recipes-ids/samhain/files/ |
| H A D | 0003-fix-real-path-for-some-files-dirs.patch | 17 @@ -93,7 +93,6 @@ dir = 99/etc 25 @@ -153,11 +152,11 @@ dir = 99/var 28 dir = -1/var/cache 29 -dir = -1/var/lock 30 -dir = -1/var/mail 31 -dir = -1/var/run 32 +dir = -1/run/lock 33 +dir = -1/var/spool/mail 34 +dir = -1/run 35 dir = -1/var/spool [all …]
|
| H A D | 0002-Make-samhainrc-OE-friendly.patch | 22 @@ -74,7 +74,6 @@ dir = 0/ 30 @@ -93,19 +92,10 @@ dir = 99/etc 51 # timestamps. Put it here as 'file', and in the ReadOnly section as 'dir'. 52 @@ -147,10 +137,6 @@ dir = 99/dev 54 dir = -1/dev/pts 56 -# dir = -1/dev/.udevdb 63 @@ -167,50 +153,21 @@ dir = 99/var 66 dir = -1/var/cache 67 -dir = -1/var/backups 68 -dir = -1/var/games [all …]
|
| /openbmc/phosphor-debug-collector/ |
| H A D | ffdc | 41 dir=$"ffdc_$(date +"%Y-%m-%d_%H-%M-%S")" 48 -d|--dir) 80 mkdir -p "$dest/$dir" 85 mkdir "$dest/$dir/${arr[i]}" 86 cp -r ${arr[i+1]}/* $dest/$dir/${arr[i]} 89 ${arr[i+1]} >> "$dest/$dir/${arr[i]}" 93 tar -cf "$dest/$dir.tar" -C $dest $dir 94 echo "Contents in $dest/$dir.tar" 96 rm -r "$dest/$dir"
|
| H A D | dump_entry.cpp | 70 std::filesystem::path dir = file.parent_path() / PRESERVE; in serialize() local 73 std::filesystem::path serializePath = dir / SERIAL_FILE; in serialize() 76 if (!std::filesystem::exists(dir)) in serialize() 78 std::filesystem::create_directories(dir); in serialize() 105 std::filesystem::remove_all(dir, ec); in serialize() 114 std::filesystem::path dir = dumpPath / PRESERVE; in deserialize() local 115 if (!std::filesystem::exists(dir)) in deserialize() 119 "SERIAL_DIR", dir); in deserialize() 124 std::filesystem::path serializePath = dir / SERIAL_FILE; in deserialize() 157 std::filesystem::remove_all(dir, ec); in deserialize()
|
| /openbmc/u-boot/scripts/ |
| H A D | objdiff | 46 dir=${1%/*} 48 if [ "$dir" = "$1" ]; then 49 dir=. 52 dir=$(cd $dir; pwd) 54 echo $TMPD/$CMT${dir#$SRCTREE} 58 dir=$(get_output_dir $1) 60 stripped=$dir/${base%.o}.stripped 61 dis=$dir/${base%.o}.dis 63 [ ! -d "$dir" ] && mkdir -p $dir
|
| /openbmc/phosphor-user-manager/test/ |
| H A D | ldap_config_test.cpp | 38 dir = fs::path(mkdtemp(tmpldap)); in SetUp() 47 fs.open(dir / defaultNslcdFile, std::fstream::out); in SetUp() 49 fs.open(dir / nsSwitchFile, std::fstream::out); in SetUp() 51 fs.open(dir / tlsCACertFile, std::fstream::out); in SetUp() 53 fs.open(dir / tlsCertFile, std::fstream::out); in SetUp() 59 fs::remove_all(dir); in TearDown() 63 fs::path dir; member in phosphor::ldap::TestLDAPConfig 116 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() 117 auto tlsCACertFilePath = std::string(dir.c_str()) + "/" + tlsCACertFile; in TEST_F() 118 auto tlsCertFilePath = std::string(dir.c_str()) + "/" + tlsCertFile; in TEST_F() [all …]
|
| /openbmc/qemu/target/mips/tcg/ |
| H A D | ldst_helper.c | 73 int dir = mips_env_is_bigendian(env) ? 1 : -1; in helper_swl() local 78 cpu_stb_mmuidx_ra(env, arg2 + 1 * dir, (uint8_t)(arg1 >> 16), in helper_swl() 83 cpu_stb_mmuidx_ra(env, arg2 + 2 * dir, (uint8_t)(arg1 >> 8), in helper_swl() 88 cpu_stb_mmuidx_ra(env, arg2 + 3 * dir, (uint8_t)arg1, in helper_swl() 97 int dir = mips_env_is_bigendian(env) ? 1 : -1; in helper_swr() local 102 cpu_stb_mmuidx_ra(env, arg2 - 1 * dir, (uint8_t)(arg1 >> 8), in helper_swr() 107 cpu_stb_mmuidx_ra(env, arg2 - 2 * dir, (uint8_t)(arg1 >> 16), in helper_swr() 112 cpu_stb_mmuidx_ra(env, arg2 - 3 * dir, (uint8_t)(arg1 >> 24), in helper_swr() 127 int dir = mips_env_is_bigendian(env) ? 1 : -1; in helper_sdl() local 132 cpu_stb_mmuidx_ra(env, arg2 + 1 * dir, (uint8_t)(arg1 >> 48), in helper_sdl() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/ |
| H A D | read-only-rootfs-hook.sh | 12 dir=`readlink -f $DIRECTORY` 14 if [ ! -d "$dir" ]; then 15 echo "ERROR: $dir is not a directory" 18 for flag in `awk -v dir=$dir '{ if ($2 == dir) { print "FOUND"; split($4,FLAGS,",") } }; \ 23 if [ "$dir" = "/" -o -n "$partition" ]; then 26 dir=`dirname $dir`
|
| /openbmc/qemu/tests/qtest/ |
| H A D | fdc-test.c | 275 uint8_t dir; in test_no_media_on_start() local 279 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start() 280 assert_bit_set(dir, DSKCHG); in test_no_media_on_start() 281 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start() 282 assert_bit_set(dir, DSKCHG); in test_no_media_on_start() 284 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start() 285 assert_bit_set(dir, DSKCHG); in test_no_media_on_start() 286 dir = inb(FLOPPY_BASE + reg_dir); in test_no_media_on_start() 287 assert_bit_set(dir, DSKCHG); in test_no_media_on_start() 300 uint8_t dir; in test_media_insert() local [all …]
|
| /openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/libx11/ |
| H A D | disable_tests.patch | 21 @@ -36,11 +36,6 @@ locale.dir: locale.dir.pre 22 < locale.dir.l1 > locale.dir.l2 23 cat locale.dir.l2 locale.dir.l1 > locale.dir
|
| /openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/nikto/files/ |
| H A D | location.patch | 22 -# PLUGINDIR=/opt/nikto/plugins # Location of plugin dir 23 -# DBDIR=/opt/nikto/databases # Location of database dir 24 -# TEMPLATEDIR=/opt/nikto/templates # Location of template dir 25 -# DOCDIR=/opt/nikto/docs # Location of docs dir 27 +PLUGINDIR=/etc/nikto/plugins # Location of plugin dir 28 +DBDIR=/etc/nikto/databases # Location of database dir 29 +TEMPLATEDIR=/etc/nikto/templates # Location of template dir 30 +DOCDIR=/usr/share/doc/nikto # Location of docs dir
|
| /openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsdump/files/ |
| H A D | remove-install-as-user.patch | 118 $MKDIR -p $dir 122 - $CHMOD $DIRMODE $dir 127 - $CHOWN $OWNER $GROUP $dir 130 - $MANIFEST d $DIRMODE $OWNER $GROUP ${dir#$DIST_ROOT} 131 + $MANIFEST d $DIRMODE ${dir#$DIST_ROOT} 163 if [ -f $dir/$f ] 165 - $CHMOD $FILEMODE $dir/$f 169 - $CHOWN $OWNER $GROUP $dir/$f 172 - $MANIFEST f $FILEMODE $OWNER $GROUP $HERE/$f ${dir#$DIST_ROOT}/$f 173 + $MANIFEST f $FILEMODE $HERE/$f ${dir#$DIST_ROOT}/$f [all …]
|
| /openbmc/qemu/block/ |
| H A D | throttle-groups.c | 451 ThrottleDirection dir; in throttle_group_restart_tgm() local 454 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_group_restart_tgm() 455 QEMUTimer *t = tgm->throttle_timers.timers[dir]; in throttle_group_restart_tgm() 459 timer_cb(tgm, dir); in throttle_group_restart_tgm() 462 throttle_group_restart_queue(tgm, dir); in throttle_group_restart_tgm() 547 ThrottleDirection dir; in throttle_group_register_tgm() local 557 for (dir = THROTTLE_READ; dir < THROTTLE_MAX; dir++) { in throttle_group_register_tgm() 558 if (!tg->tokens[dir]) { in throttle_group_register_tgm() 559 tg->tokens[dir] = tgm; in throttle_group_register_tgm() 561 qemu_co_queue_init(&tgm->throttled_reqs[dir]); in throttle_group_register_tgm() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-devtools/dwarfsrcfiles/files/ |
| H A D | dwarfsrcfiles.c | 23 const char *dir = NULL; in process_cu() local 51 dir = dwarf_formstring (&attr); in process_cu() 52 if (dir == NULL) in process_cu() 60 if (dir == NULL) in process_cu() 63 printf ("%s/%s\n", dir, name); in process_cu() 75 if (dir != NULL && file[0] != '/') in process_cu() 76 printf ("\t%s/%s\n", dir, file); in process_cu()
|
| /openbmc/smbios-mdr/src/ |
| H A D | mdrv2.cpp | 70 smbiosDir.dir[index].common.id.dataInfo[indexId]); in getDirectoryInformation() 85 switch (smbiosDir.dir[index].stage) in smbiosIsAvailForUpdate() 102 if (smbiosDir.dir[index].lock == MDR2DirLockEnum::mdr2DirLock) in smbiosIsAvailForUpdate() 124 std::copy(smbiosDir.dir[0].common.id.dataInfo, in getDataOffer() 125 &smbiosDir.dir[0].common.id.dataInfo[16], offer.data()); in getDataOffer() 139 MDR2SMBIOSStatusEnum stage = smbiosDir.dir[index].stage; in smbiosValidFlag() 140 MDR2DirLockEnum lock = smbiosDir.dir[index].lock; in smbiosValidFlag() 193 smbiosDir.dir[idIndex].common.id.dataInfo[index]); in getDataInformation() 197 appendReversed(responseInfo, smbiosDir.dir[idIndex].common.size); in getDataInformation() 198 responseInfo.push_back(smbiosDir.dir[idIndex].common.dataVersion); in getDataInformation() [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 233 | 76 obj=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 89 --object tls-creds-x509,dir=${tls_dir}/server1,endpoint=server,id=tls0,verify-peer=on \ 100 obj1=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 101 obj2=tls-creds-x509,dir=${tls_dir}/client3,endpoint=client,id=tls0 113 obj1=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 122 obj1=tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 131 obj=tls-creds-x509,dir=${tls_dir}/client2,endpoint=client,id=tls0 142 --object tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 \ 155 --object tls-creds-x509,dir=${tls_dir}/server1,endpoint=server,id=tls0,verify-peer=on \ 163 --object tls-creds-x509,dir=${tls_dir}/client1,endpoint=client,id=tls0 \ [all …]
|
| /openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/optee-os/ |
| H A D | 0003-link.mk-generate-version.o-in-link-out-dir.patch | 4 Subject: [PATCH 3/3] link.mk: generate version.o in link-out-dir 30 $(call update-buildcount,$(link-out-dir)/.buildcount) 31 @$(cmd-echo-silent) ' GEN $(link-out-dir)/version.o' 33 + $(q)cd $(link-out-dir) && \ 41 - -xc - -c -o $(link-out-dir)/version.o 44 $(link-out-dir)/version.o: 52 $(call update-buildcount,$(link-out-dir)/.buildcount) 53 @$(cmd-echo-silent) ' GEN $(link-out-dir)/version.o' 55 + $(q)cd $(link-out-dir) && \ 63 - -xc - -c -o $(link-out-dir)/version.o [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/ |
| H A D | run-ptest | 4 for dir in */tests ; do 5 cd $dir 10 echo "PASS: $dir $atest" 13 echo "FAIL: ${dir}/${atest}"
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | patch.py | 31 def runcmd(args, dir = None): argument 32 if dir: 34 if not os.path.exists(dir): 35 raise NotFoundError(dir) 36 os.chdir(dir) 58 if dir: 74 def __init__(self, dir, d): argument 75 self.dir = dir 187 def __init__(self, dir, d): argument 188 PatchSet.__init__(self, dir, d) [all …]
|
| /openbmc/openbmc/poky/meta/recipes-connectivity/bind/bind/ |
| H A D | init.d-add-support-for-read-only-rootfs.patch | 27 + dir=`readlink -f $DIRECTORY` 29 + if [ ! -d "$dir" ]; then 30 + echo "ERROR: $dir is not a directory" 33 + for flag in `awk -v dir=$dir '{ if ($2 == dir) { print "FOUND"; split($4,FLAGS,",") } }; \ 38 + if [ "$dir" = "/" -o -n "$partition" ]; then 41 + dir=`dirname $dir`
|
| /openbmc/qemu/include/system/ |
| H A D | dma.h | 46 static inline void dma_barrier(AddressSpace *as, DMADirection dir) in dma_barrier() argument 74 DMADirection dir, MemTxAttrs attrs) in dma_memory_valid() argument 77 dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_valid() 84 DMADirection dir, in dma_memory_rw_relaxed() argument 88 buf, len, dir == DMA_DIRECTION_FROM_DEVICE); in dma_memory_rw_relaxed() 126 DMADirection dir, MemTxAttrs attrs) in dma_memory_rw() argument 128 dma_barrier(as, dir); in dma_memory_rw() 130 return dma_memory_rw_relaxed(as, addr, buf, len, dir, attrs); in dma_memory_rw() 207 DMADirection dir, MemTxAttrs attrs) in dma_memory_map() argument 212 p = address_space_map(as, addr, &xlen, dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_map() [all …]
|