Searched refs:bt_fd (Results 1 – 3 of 3) sorted by relevance
158 t->bt_fd = -1; /* Don't close unopened fd on error. */ in __bt_open()196 if ((t->bt_fd = _open(fname, flags | O_CLOEXEC, mode)) < 0) in __bt_open()202 if ((t->bt_fd = tmp()) == -1) in __bt_open()207 if (_fstat(t->bt_fd, &sb)) in __bt_open()210 if ((nr = _read(t->bt_fd, &m, sizeof(BTMETA))) < 0) in __bt_open()297 mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL) in __bt_open()326 if (t->bt_fd != -1) in __bt_open()327 (void)_close(t->bt_fd); in __bt_open()443 return (t->bt_fd); in __bt_fd()
98 fd = t->bt_fd; in __bt_close()
323 int bt_fd; /* tree file descriptor */ member