Lines Matching refs:fdb
256 int fdb; in binject_unmap_dev() local
263 fdb = binject_open_ctl(td); in binject_unmap_dev()
264 if (fdb < 0) in binject_unmap_dev()
269 if (ioctl(fdb, B_IOCTL_DEL, &bic) < 0) in binject_unmap_dev()
272 close(fdb); in binject_unmap_dev()
281 int fdb, dev_there, loops; in binject_map_dev() local
283 fdb = binject_open_ctl(td); in binject_map_dev()
284 if (fdb < 0) in binject_map_dev()
289 if (ioctl(fdb, B_IOCTL_ADD, &bic) < 0) { in binject_map_dev()
291 close(fdb); in binject_map_dev()
312 close(fdb); in binject_map_dev()