Searched defs:fdb (Results 1 - 2 of 2) sorted by relevance

/external/fio/engines/
H A Dbinject.c256 int fdb; local
263 fdb = binject_open_ctl(td);
264 if (fdb < 0)
269 if (ioctl(fdb, B_IOCTL_DEL, &bic) < 0)
272 close(fdb);
281 int fdb, dev_there, loops; local
283 fdb = binject_open_ctl(td);
284 if (fdb < 0)
289 if (ioctl(fdb, B_IOCTL_ADD, &bic) < 0) {
291 close(fdb);
[all...]
/external/kmod/testsuite/
H A Dtestsuite.c492 int fda = -1, fdb = -1; local
502 fdb = open(k->val, O_RDONLY);
503 if (fdb < 0) {
513 if (fstat(fdb, &stb) != 0) {
514 ERR("could not fstat %d %s\n - %m\n", fdb, k->key);
535 int r2 = safe_read(fdb, bufb + done, r - done);
549 close(fdb);
555 if (fdb >= 0)
556 close(fdb);

Completed in 144 milliseconds