Home
last modified time | relevance | path

Searched refs:cur_entry (Results 1 – 7 of 7) sorted by relevance

/external/e2fsprogs/contrib/android/
Dbasefs_allocator.c10 struct basefs_entry *cur_entry; member
55 allocator->cur_entry = NULL; in base_fs_alloc_load()
77 struct basefs_entry *e = allocator->cur_entry; in basefs_block_allocator()
126 allocator->cur_entry = hashmap_lookup(allocator->entries, in base_fs_alloc_set_target()
139 if (!allocator || !allocator->cur_entry || mode != S_IFREG) in base_fs_alloc_unset_target()
142 fs_free_blocks_range(fs, allocator->cur_entry->head); in base_fs_alloc_unset_target()
143 delete_block_ranges(allocator->cur_entry->head); in base_fs_alloc_unset_target()
144 allocator->cur_entry->head = allocator->cur_entry->tail = NULL; in base_fs_alloc_unset_target()
145 allocator->cur_entry = NULL; in base_fs_alloc_unset_target()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_cache.c152 struct pb_cache_entry *cur_entry; in pb_cache_reclaim_buffer() local
167 cur_entry = LIST_ENTRY(struct pb_cache_entry, cur, head); in pb_cache_reclaim_buffer()
169 if (!entry && (ret = pb_cache_is_buffer_compat(cur_entry, size, in pb_cache_reclaim_buffer()
171 entry = cur_entry; in pb_cache_reclaim_buffer()
172 else if (os_time_timeout(cur_entry->start, cur_entry->end, now)) in pb_cache_reclaim_buffer()
173 destroy_buffer_locked(cur_entry); in pb_cache_reclaim_buffer()
189 cur_entry = LIST_ENTRY(struct pb_cache_entry, cur, head); in pb_cache_reclaim_buffer()
190 ret = pb_cache_is_buffer_compat(cur_entry, size, alignment, usage); in pb_cache_reclaim_buffer()
193 entry = cur_entry; in pb_cache_reclaim_buffer()
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.h183 int cur_entry; member
Dunsquashfs.c1238 if(dir->cur_entry == dir->dir_count) in squashfs_readdir()
1241 *name = dir->dirs[dir->cur_entry].name; in squashfs_readdir()
1242 *start_block = dir->dirs[dir->cur_entry].start_block; in squashfs_readdir()
1243 *offset = dir->dirs[dir->cur_entry].offset; in squashfs_readdir()
1244 *type = dir->dirs[dir->cur_entry].type; in squashfs_readdir()
1245 dir->cur_entry ++; in squashfs_readdir()
Dunsquash-1.c227 dir->cur_entry = 0; in squashfs_opendir_1()
Dunsquash-4.c273 dir->cur_entry = 0; in squashfs_opendir_4()
Dunsquash-3.c304 dir->cur_entry = 0; in squashfs_opendir_3()