Searched refs:bt_fd (Results 1 – 3 of 3) sorted by relevance
155 t->bt_fd = -1; /* Don't close unopened fd on error. */ in __bt_open()193 if ((t->bt_fd = open(fname, flags | O_CLOEXEC, mode)) < 0) in __bt_open()199 if ((t->bt_fd = tmp()) == -1) in __bt_open()204 if (fstat(t->bt_fd, &sb)) in __bt_open()207 if ((nr = read(t->bt_fd, &m, sizeof(BTMETA))) < 0) in __bt_open()294 mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL) in __bt_open()322 if (t->bt_fd != -1) in __bt_open()323 (void)close(t->bt_fd); in __bt_open()440 return (t->bt_fd); in __bt_fd()
94 fd = t->bt_fd; in __bt_close()
325 int bt_fd; /* tree file descriptor */ member