Home
last modified time | relevance | path

Searched refs:new_curs (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c831 CURSOR *new_curs; local
834 new_curs = (CURSOR *)malloc(sizeof(struct cursor_t));
835 if (!new_curs)
837 new_curs->internal =
839 if (!new_curs->internal) {
840 free(new_curs);
843 new_curs->get = cursor_get;
844 new_curs->delete = cursor_delete;
846 new_curs->bucket = 0;
847 new_curs->pgno = INVALID_PGNO;
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash.c287 HASH_CURSOR *new_curs; local
290 if ((ret = __os_calloc(1, sizeof(struct cursor_t), &new_curs)) != 0)
293 __os_malloc(dbc->dbp->pgsize, NULL, &new_curs->split_buf)) != 0) {
294 __os_free(new_curs, sizeof(*new_curs));
298 new_curs->dbc = dbc;
300 dbc->internal = new_curs;
307 __ham_item_init(new_curs);