Lines Matching refs:open
88 ctl_fd = open(LOOP_CONTROL_FILE, O_RDWR);
109 "Not allowed to open " LOOP_CONTROL_FILE ". "
113 tst_resm(TBROK | TERRNO, "Failed to open " LOOP_CONTROL_FILE);
125 dev_fd = open(buf, O_RDONLY);
157 dev_fd = open(dev, O_RDWR);
159 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", dev);
163 file_fd = open(file, O_RDWR);
165 tst_resm(TWARN | TERRNO, "open('%s', O_RDWR) failed", file);
217 fd = open(dev_path, O_RDONLY);
220 "open(%s, O_RDONLY) failed", dev_path);
272 dev_fd = open(dev, O_RDONLY);
274 tst_resm(TWARN | TERRNO, "open(%s) failed", dev);
611 tst_brkm(TBROK | TERRNO, NULL, "Can't open /proc/self/mounts");