Searched refs:pe (Results 1 – 2 of 2) sorted by relevance
90 struct cache_extent *pe = malloc(sizeof(*pe)); in alloc_cache_extent() local92 if (!pe) in alloc_cache_extent()93 return pe; in alloc_cache_extent()95 pe->objectid = 0; in alloc_cache_extent()96 pe->start = start; in alloc_cache_extent()97 pe->size = size; in alloc_cache_extent()98 return pe; in alloc_cache_extent()106 if (!pe) in add_cache_extent()109 ret = insert_cache_extent(tree, pe); in add_cache_extent()111 free(pe); in add_cache_extent()[all …]
29 struct cache_extent *prev_cache_extent(struct cache_extent *pe);30 struct cache_extent *next_cache_extent(struct cache_extent *pe);57 int insert_cache_extent(struct cache_tree *tree, struct cache_extent *pe);58 void remove_cache_extent(struct cache_tree *tree, struct cache_extent *pe);65 typedef void (*free_cache_extent)(struct cache_extent *pe);93 int insert_cache_extent2(struct cache_tree *tree, struct cache_extent *pe);
Completed in 3 milliseconds