Lines Matching defs:entry

84 static int tavor_umap_db_compare(const void *query, const void *entry);
452 * Allocate an entry to track the mapping and unmapping (specifically,
575 * Since this devmap_dup() entry point is generally called
592 * Allocate a new entry to track the subsequent unmapping
595 * zero here is an indication to the devmap_unmap() entry point
725 * we can use the "key" and "type" values to try to find the entry
836 * Allocate an entry to track the mapping and unmapping of this
893 * Since this devmap_dup() entry point is generally called
913 * indication to the devmap_unmap() entry point that this entry
1482 /* Allocate an entry to add to the "userland resources database" */
1491 /* Fill in the fields in the database entry */
1511 /* Free the database entry */
1552 * Copy the common portion of the "to-be-added" database entry
1555 * "userland resources database" for the new entry to be added.
1557 * Note: we expect that this entry should not be found in the
1567 * above, we will insert the new database entry ("umapdb").
1607 tavor_umap_db_entry_t *entry;
1625 * Perform the database query. If no entry is found, then
1628 entry = (tavor_umap_db_entry_t *)avl_find(
1630 if (entry == NULL) {
1634 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*entry))
1637 * If the flags argument specifies that the entry should
1639 * the entry from the database.
1643 avl_remove(&tavor_userland_rsrc_db.tdl_umapdb_avl, entry);
1646 * The database entry is returned with the expectation
1648 * free the entry's memory. ASSERT that this is non-NULL.
1656 * If the caller would like visibility to the database entry
1661 *umapdb = entry;
1664 /* Extract value field from database entry and return success */
1665 *value = entry->tdbe_common.tdb_value;
1692 * If this was userland memory, then we need to remove its entry
1695 * which instance was used when the entry was added (but we want
1696 * to know after the entry is found using the other search criteria).
1713 /* Free the database entry */
1778 * and "entry". If they are not equal, then the appropriate
1791 * If the search reaches this point, then "query" and "entry"
1806 * If the search reaches this point, then "query" and "entry"
1820 * If the search has reached this point, then "query" and "entry"
1872 * the entry corresponding to this minor number. Once it's found,
1873 * allocate (if necessary) and add an entry (in the "tdb_priv"
1948 * the entry corresponding to this minor number. Once it's found,
1949 * remove the entry (in the "tdb_priv" field) that indicated the
1951 * entry, if appropriate.