Lines Matching refs:osutil
84 cmd := osutil.Command(os.Args[0])
86 _, err := osutil.Run(10*time.Second, cmd)
145 return osutil.IsExist(dev)
282 if err := osutil.IsAccessible("/dev/fuse"); err != nil {
335 if !osutil.IsExist("/sys/kernel/debug/kcov") {
338 if err := osutil.IsAccessible("/sys/kernel/debug/kcov"); err != nil {
395 if err := osutil.IsAccessible("/proc/self/make-it-fail"); err != nil {
398 if err := osutil.IsAccessible("/proc/thread-self/fail-nth"); err != nil {
404 if err := osutil.IsAccessible("/sys/kernel/debug/failslab/ignore-gfp-wait"); err != nil {
411 if err := osutil.WriteFile("/sys/kernel/debug/failslab/ignore-gfp-wait", []byte("N")); err != nil {
414 …if err := osutil.WriteFile("/sys/kernel/debug/fail_futex/ignore-private", []byte("N")); err != nil…
417 …if err := osutil.WriteFile("/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", []byte("N")); e…
420 …if err := osutil.WriteFile("/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", []byte("N")); err …
423 …if err := osutil.WriteFile("/sys/kernel/debug/fail_page_alloc/min-order", []byte("0")); err != nil…
433 if err := osutil.IsAccessible("/sys/kernel/debug/kmemleak"); err != nil {