static void
unix_count_dentries(const struct list_head *dentry_list,
- uint64_t *dir_count_ret, uint64_t *empty_file_count_ret)
+ u64 *dir_count_ret, u64 *empty_file_count_ret)
{
const struct wim_dentry *dentry;
- uint64_t dir_count = 0;
- uint64_t empty_file_count = 0;
+ u64 dir_count = 0;
+ u64 empty_file_count = 0;
list_for_each_entry(dentry, dentry_list, d_extraction_list_node) {
int ret;
struct blob_descriptor blob_override;
- blob_override.blob_location = BLOB_IN_ATTACHED_BUFFER;
- blob_override.attached_buffer = (void *)rpdata;
- blob_override.size = rpdatalen;
+ blob_set_is_located_in_attached_buffer(&blob_override,
+ (void *)rpdata, rpdatalen);
ret = wim_inode_readlink(inode, link_target,
sizeof(link_target) - 1, &blob_override);
int ret;
struct unix_apply_ctx *ctx = (struct unix_apply_ctx *)_ctx;
size_t path_max;
- uint64_t dir_count;
- uint64_t empty_file_count;
+ u64 dir_count;
+ u64 empty_file_count;
/* Compute the maximum path length that will be needed, then allocate
* some path buffers. */