Searched refs:bt_fd (Results 1 – 3 of 3) sorted by relevance
162 t->bt_fd = -1; /* Don't close unopened fd on error. */ in __bt_open()200 if ((t->bt_fd = _open(fname, flags | O_CLOEXEC, mode)) < 0) in __bt_open()206 if ((t->bt_fd = tmp()) == -1) in __bt_open()211 if (_fstat(t->bt_fd, &sb)) in __bt_open()214 if ((nr = _read(t->bt_fd, &m, sizeof(BTMETA))) < 0) in __bt_open()301 mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL) in __bt_open()330 if (t->bt_fd != -1) in __bt_open()331 (void)_close(t->bt_fd); in __bt_open()448 return (t->bt_fd); in __bt_fd()
102 fd = t->bt_fd; in __bt_close()
324 int bt_fd; /* tree file descriptor */ member