hole_em 2297 fs/btrfs/file.c struct extent_map *hole_em; hole_em 2361 fs/btrfs/file.c hole_em = alloc_extent_map(); hole_em 2362 fs/btrfs/file.c if (!hole_em) { hole_em 2366 fs/btrfs/file.c hole_em->start = offset; hole_em 2367 fs/btrfs/file.c hole_em->len = end - offset; hole_em 2368 fs/btrfs/file.c hole_em->ram_bytes = hole_em->len; hole_em 2369 fs/btrfs/file.c hole_em->orig_start = offset; hole_em 2371 fs/btrfs/file.c hole_em->block_start = EXTENT_MAP_HOLE; hole_em 2372 fs/btrfs/file.c hole_em->block_len = 0; hole_em 2373 fs/btrfs/file.c hole_em->orig_block_len = 0; hole_em 2374 fs/btrfs/file.c hole_em->bdev = fs_info->fs_devices->latest_bdev; hole_em 2375 fs/btrfs/file.c hole_em->compress_type = BTRFS_COMPRESS_NONE; hole_em 2376 fs/btrfs/file.c hole_em->generation = trans->transid; hole_em 2381 fs/btrfs/file.c ret = add_extent_mapping(em_tree, hole_em, 1); hole_em 2384 fs/btrfs/file.c free_extent_map(hole_em); hole_em 5242 fs/btrfs/inode.c struct extent_map *hole_em; hole_em 5251 fs/btrfs/inode.c hole_em = alloc_extent_map(); hole_em 5252 fs/btrfs/inode.c if (!hole_em) { hole_em 5257 fs/btrfs/inode.c hole_em->start = cur_offset; hole_em 5258 fs/btrfs/inode.c hole_em->len = hole_size; hole_em 5259 fs/btrfs/inode.c hole_em->orig_start = cur_offset; hole_em 5261 fs/btrfs/inode.c hole_em->block_start = EXTENT_MAP_HOLE; hole_em 5262 fs/btrfs/inode.c hole_em->block_len = 0; hole_em 5263 fs/btrfs/inode.c hole_em->orig_block_len = 0; hole_em 5264 fs/btrfs/inode.c hole_em->ram_bytes = hole_size; hole_em 5265 fs/btrfs/inode.c hole_em->bdev = fs_info->fs_devices->latest_bdev; hole_em 5266 fs/btrfs/inode.c hole_em->compress_type = BTRFS_COMPRESS_NONE; hole_em 5267 fs/btrfs/inode.c hole_em->generation = fs_info->generation; hole_em 5271 fs/btrfs/inode.c err = add_extent_mapping(em_tree, hole_em, 1); hole_em 5280 fs/btrfs/inode.c free_extent_map(hole_em); hole_em 7252 fs/btrfs/inode.c struct extent_map *hole_em = NULL; hole_em 7272 fs/btrfs/inode.c hole_em = em; hole_em 7295 fs/btrfs/inode.c em = hole_em; hole_em 7296 fs/btrfs/inode.c hole_em = NULL; hole_em 7310 fs/btrfs/inode.c const u64 hole_end = extent_map_end(hole_em); hole_em 7319 fs/btrfs/inode.c ASSERT(hole_em); hole_em 7327 fs/btrfs/inode.c if (hole_end <= start || hole_em->start > end) { hole_em 7328 fs/btrfs/inode.c free_extent_map(hole_em); hole_em 7329 fs/btrfs/inode.c hole_em = NULL; hole_em 7331 fs/btrfs/inode.c hole_start = max(hole_em->start, start); hole_em 7335 fs/btrfs/inode.c if (hole_em && delalloc_start > hole_start) { hole_em 7348 fs/btrfs/inode.c em->block_start = hole_em->block_start; hole_em 7350 fs/btrfs/inode.c if (test_bit(EXTENT_FLAG_PREALLOC, &hole_em->flags)) hole_em 7364 fs/btrfs/inode.c return hole_em; hole_em 7368 fs/btrfs/inode.c free_extent_map(hole_em);