Searched refs:ucache (Results 1 - 2 of 2) sorted by relevance
/freebsd-9.3-release/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_set_standard_lookup.c | 97 struct name_cache *ucache = malloc(sizeof(struct name_cache)); local 100 if (ucache == NULL || gcache == NULL) { 103 free(ucache); 108 memset(ucache, 0, sizeof(*ucache)); 109 ucache->archive = a; 110 ucache->size = name_cache_size; 116 archive_read_disk_set_uname_lookup(a, ucache, lookup_uname, cleanup);
|
H A D | archive_write_disk_set_standard_lookup.c | 87 struct bucket *ucache = malloc(cache_size * sizeof(struct bucket)); local 89 memset(ucache, 0, cache_size * sizeof(struct bucket)); 92 archive_write_disk_set_user_lookup(a, ucache, lookup_uid, cleanup); 171 struct bucket *ucache = (struct bucket *)private_data; local 179 b = &ucache[h % cache_size ];
|
Completed in 57 milliseconds