Home
last modified time | relevance | path

Searched refs:devnull (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_autoattach.c21 FILE *devnull; in test_uprobe_autoattach() local
38 devnull = fopen(devnull_str, "r"); in test_uprobe_autoattach()
48 ASSERT_EQ(skel->bss->uretprobe_byname2_rc, (__u64)(long)devnull, in test_uprobe_autoattach()
71 fclose(devnull); in test_uprobe_autoattach()
H A Dattach_probe.c162 FILE *devnull; in test_uprobe_lib() local
188 devnull = fopen("/dev/null", "r"); in test_uprobe_lib()
189 fclose(devnull); in test_uprobe_lib()
/openbmc/linux/scripts/clang-tools/
H A Drun-clang-tools.py76 devnull = os.open(os.devnull, os.O_WRONLY)
77 os.dup2(devnull, sys.stdout.fileno())
/openbmc/openbmc-build-scripts/scripts/
H A Dunit-test.py277 with open(os.devnull, "w") as devnull:
278 check_call(cmd, stdout=devnull, stderr=devnull)
423 with open(os.devnull, "w") as devnull:
425 ["gcc", "-O2", "-o", exe, src], stdout=devnull, stderr=devnull
429 stdout=devnull,
430 stderr=devnull,
450 with open(os.devnull, "w") as devnull:
461 stdout=devnull,
462 stderr=devnull,
464 check_call([exe], stdout=devnull, stderr=devnull)
[all …]
/openbmc/linux/scripts/
H A Ddiffconfig138 devnull = os.open(os.devnull, os.O_WRONLY)
139 os.dup2(devnull, sys.stdout.fileno())
H A Dcheckkconfigsymbols.py476 devnull = os.open(os.devnull, os.O_WRONLY)
477 os.dup2(devnull, sys.stdout.fileno())
/openbmc/linux/security/apparmor/
H A Dfile.c686 struct file *devnull = NULL; in aa_inherit_files() local
696 devnull = dentry_open(&aa_null, O_RDWR, cred); in aa_inherit_files()
697 if (IS_ERR(devnull)) in aa_inherit_files()
698 devnull = NULL; in aa_inherit_files()
701 replace_fd(n - 1, devnull, 0); in aa_inherit_files()
703 if (devnull) in aa_inherit_files()
704 fput(devnull); in aa_inherit_files()
/openbmc/u-boot/tools/
H A Dmoveconfig.py361 devnull = subprocess.DEVNULL # py3k
363 devnull = open(os.devnull, 'wb')
364 return devnull
1058 def __init__(self, toolchains, configs, options, progress, devnull, argument
1077 self.devnull = devnull
1182 self.ps = subprocess.Popen(cmd, stdout=self.devnull,
1203 self.ps = subprocess.Popen(cmd, stdout=self.devnull, env=env,
1238 self.ps = subprocess.Popen(cmd, stdout=self.devnull,
1316 devnull = get_devnull()
1320 devnull, make_cmd, reference_src_dir,
/openbmc/qemu/tests/vm/
H A Daarch64vm.py73 fd_null = open(os.devnull, 'w')
H A Dbasevm.py136 self._devnull = open(os.devnull, "w")
234 "-o", "UserKnownHostsFile=" + os.devnull,
/openbmc/qemu/tests/image-fuzzer/
H A Drunner.py79 devnull = open('/dev/null', 'r+')
80 process = subprocess.Popen(q_args, stdin=devnull,
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3-numpy/
H A D0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch47 - with open(os.devnull, 'w') as tmp:
/openbmc/linux/tools/perf/scripts/python/
H A Dintel-pt-events.py442 sys.stdout = open(os.devnull, 'w')
463 sys.stdout = open(os.devnull, 'w')
/openbmc/openbmc-test-automation/lib/
H A Dgen_call_robot.py518 DEVNULL = open(os.devnull, "wb")
/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/
H A Dconcurrencytest.py276 newsi = os.open(os.devnull, os.O_RDWR)
/openbmc/openbmc/poky/bitbake/lib/
H A Dpyinotify.py1273 def __daemonize(self, pid_file=None, stdin=os.devnull, stdout=os.devnull,
1274 stderr=os.devnull):
/openbmc/qemu/tests/docker/
H A Ddocker.py36 DEVNULL = open(os.devnull, 'wb')
/openbmc/linux/security/selinux/
H A Dhooks.c2408 struct file *file, *devnull = NULL; in flush_unauthorized_files() local
2442 devnull = dentry_open(&selinux_null, O_RDWR, cred); in flush_unauthorized_files()
2443 if (IS_ERR(devnull)) in flush_unauthorized_files()
2444 devnull = NULL; in flush_unauthorized_files()
2447 replace_fd(n - 1, devnull, 0); in flush_unauthorized_files()
2449 if (devnull) in flush_unauthorized_files()
2450 fput(devnull); in flush_unauthorized_files()
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-worker242 dumbio = os.open(os.devnull, os.O_RDWR)
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dbuild.py526 with open(os.devnull, 'r+') as stdin, logfile:
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/procmail/procmail/
H A Dfrom-debian-to-fix-compile-errors.patch468 mb->fd=ropen(devnull,O_RDWR,0); /* XXX Perhaps -1 is better? */
/openbmc/qemu/scripts/
H A Ddecodetree.py1582 output_fd = open(os.devnull, 'wt', encoding='utf-8', errors="ignore")
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch67301 + "-f", "vout_rpi", os.devnull], bufsize=-1, stdout=flog, stderr=f…
67514 + "-f", "null", os.devnull], bufsize=-1, stdout=flog, stderr=flog);