Lines Matching defs:handle
137 * Allocate a read-write handle but open the DB in readonly
185 * handle. We will recreate the DB later.
312 * A handle can be allocated for read-only or read-write access
417 * Lock database if a read-write handle is being allocated.
437 * The handle hdp now contains a pointer to local storage
438 * in the dev_dir field (obtained from the proto handle).
686 * so handle isn't valid. Discard it and return success.
700 * Extract the DB path before the handle is freed.
1453 tnd.handle = hdp;
1612 cnp = (cnp) ? cnp->child : CACHE_ROOT(tnp->handle);
1619 cnp = node_insert(tnp->handle, tnp->node, path,
1627 dnp = (dnp) ? get_node(tnp->handle, dnp->child)
1628 : get_node(tnp->handle, DB_HDR(tnp->handle)->root_idx);
1630 for (; dnp != NULL; dnp = get_node(tnp->handle, dnp->sib)) {
1631 cp = get_string(tnp->handle, dnp->path);
2037 /* Freeing the handle also closes the DB */
2541 finddevhdl_t handle;
2561 if (finddev_readdir(dir, &handle) != 0)
2570 if ((d_name = (char *)finddev_next(handle)) == NULL)
2610 finddev_close(handle);
3067 * If the handle is IS_RDWR then we lock as writer to "update" database,