Home
last modified time | relevance | path

Searched refs:bt_fd (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c165 t->bt_fd = -1; /* Don't close unopened fd on error. */
204 if ((t->bt_fd = open(fname, flags | O_BINARY, mode)) < 0)
210 if ((t->bt_fd = tmp()) == -1)
215 if (fcntl(t->bt_fd, F_SETFD, 1) == -1)
218 if (fstat(t->bt_fd, &sb))
221 if ((nr = read(t->bt_fd, &m, sizeof(BTMETA))) < 0)
308 mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL)
336 if (t->bt_fd != -1)
337 (void)close(t->bt_fd);
475 return (t->bt_fd);
H A Dbt_close.c103 fd = t->bt_fd;
H A Dbtree.h340 int bt_fd; /* tree file descriptor */ member