Searched refs:new_curs (Results 1 – 2 of 2) sorted by relevance
831 CURSOR *new_curs; local834 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 …]
287 HASH_CURSOR *new_curs; local290 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);