search for: num_ref

Displaying 9 results from an estimated 9 matches for "num_ref".

Did you mean: num_reg
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
...in the block*/ +#define BTRFS_BLOCK_FULL_BACKREF (1ULL << 9) + +struct btrfs_tree_block_info { + struct btrfs_disk_key key; + u8 level; } __attribute__ ((__packed__)); -struct btrfs_extent_ref { +struct btrfs_extent_data_ref { __le64 root; - __le64 generation; __le64 objectid; - __le32 num_refs; + __le64 offset; + __le32 count; +} __attribute__ ((__packed__)); + +struct btrfs_shared_data_ref { + __le32 count; } __attribute__ ((__packed__)); + /* dev extents record free space on individual devices. The owner * field points back to the chunk allocation mapping tree that allocated...
2009 Jan 21
0
[PATCH] Progs: update convert for uninitialized block groups
...ret = record_file_blocks(trans, root, objectid, &inode, data.first_block, data.disk_block, - data.num_blocks, 0); + data.num_blocks, datacsum); if (ret) goto fail; } @@ -2218,7 +2240,7 @@ next: ret = btrfs_commit_transaction(trans, cur_root); BUG_ON(ret); - if (num_refs > 0 && pass++ < 4) + if (num_refs > 0 && pass++ < 16) goto again; ret = (num_refs > 0) ? -1 : 0; @@ -2537,6 +2559,7 @@ int do_rollback(const char *devname, int { int fd; int ret; + int i; struct btrfs_root *root; struct btrfs_root *ext2_root; struct...
2013 Aug 11
10
[PATCH 00/10] Add support for MPEG2 and VC-1 on VP3/VP4 for NV98-NVAF
As it turns out, with the proprietary firmware, the VP3 and VP4 interfaces are identical. Furthermore, this is all already implemented for nvc0. So these patches (a) move the easily sharable bits of the nvc0 implementation into the nouveau directory, and then (b) implement the other parts in nv50. The non-shared parts are still largely copies, but there are some differences, not the least of which
2012 Feb 10
13
can't read superblock (but could mount)
..., found 0 Incorrect local backref count on 37163102208 root 5 owner 3360937 offset 0 found 0 wanted 1 backpointer mismatch on [37163102208 65536] owner ref check failed [37163102208 65536] ref mismatch on [37163814912 36864] extent item 0, found 1 Backref 37163814912 root 5 owner 3360939 offset 0 num_refs 0 not found in extent tree Incorrect local backref count on 37163814912 root 5 owner 3360939 offset 0 found 1 wanted 0 backpointer mismatch on [37163814912 36864] found 15491117056 bytes used err is 1 total csum bytes: 14764500 total tree bytes: 366956544 total fs tree bytes: 317714432 btree s...
2013 Jun 30
0
[PATCH v2] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...uint32_t chroma_format_idc; // 00 + uint32_t pad[(0x128 - 0x4) / 4]; + uint32_t log2_max_frame_num_minus4; // 128 + uint32_t pic_order_cnt_type; // 12c + uint32_t log2_max_pic_order_cnt_lsb_minus4; // 130 + uint32_t delta_pic_order_always_zero_flag; // 134 + uint32_t num_ref_frames; // 138 + uint32_t pic_width_in_mbs_minus1; // 13c + uint32_t pic_height_in_map_units_minus1; // 140 + uint32_t frame_mbs_only_flag; // 144 + uint32_t mb_adaptive_frame_field_flag; // 148 + uint32_t direct_8x8_inference_flag; // 14c + } iseqparm; // 000 + struct...
2013 Jun 27
4
[PATCH] nv50: H.264/MPEG2 decoding support via VP2, available on NV84-NV96, NVA0
...uint32_t chroma_format_idc; // 00 + uint32_t pad[(0x128 - 0x4) / 4]; + uint32_t log2_max_frame_num_minus4; // 128 + uint32_t pic_order_cnt_type; // 12c + uint32_t log2_max_pic_order_cnt_lsb_minus4; // 130 + uint32_t delta_pic_order_always_zero_flag; // 134 + uint32_t num_ref_frames; // 138 + uint32_t pic_width_in_mbs_minus1; // 13c + uint32_t pic_height_in_map_units_minus1; // 140 + uint32_t frame_mbs_only_flag; // 144 + uint32_t mb_adaptive_frame_field_flag; // 148 + uint32_t direct_8x8_inference_flag; // 14c + } iseqparm; // 000 + struct...
2018 Jan 11
6
[PATCH 0/3] drm/tegra: Add support for fence FDs
From: Thierry Reding <treding at nvidia.com> This set of patches adds support for fences to Tegra DRM and complements the fence FD support for Nouveau. Technically this isn't necessary for a fence-based synchronization loop with Nouveau because the KMS core takes care of all that, but engines behind host1x can use the IOCTL extensions provided here to emit fence FDs that in turn can be
2012 Mar 20
13
[PATCH 0 of 3 v2] PV-GRUB: add support for ext4 and btrfs
Hi, The following patches add support for ext4 and btrfs to PV-GRUB. These patches are taken nearly verbatim from those provided by Fedora and Gentoo. We''ve been using these patches for the PV-GRUB images available in EC2 for some time now with no problems. Changes from v1: - Makefile has been changed to check the exit code from patch - The btrfs patch has been rebased to apply
2013 Mar 15
0
[PATCH] Btrfs-progs: add skinny metadata support to progs V3
...handle *trans, struct btrfs_root *root, u64 bytenr, - u64 num_bytes, u64 *refs, u64 *flags) + u64 offset, int metadata, u64 *refs, u64 *flags) { struct btrfs_path *path; int ret; @@ -1450,16 +1491,54 @@ int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, u64 num_refs; u64 extent_flags; - WARN_ON(num_bytes < root->sectorsize); + if (metadata && + !btrfs_fs_incompat(root->fs_info, + BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA)) { + offset = root->leafsize; + metadata = 0; + } + path = btrfs_alloc_path(); path->reada = 1;...