Lines Matching +full:full +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2012 Fusion-io All rights reserved.
45 * in hopes of avoiding the full RMW
67 /* How many pages there are for the full stripe including P/Q */
70 /* How many sectors there are for the full stripe including P/Q */
90 * rbio maps to a full stripe or not.
103 /* Allocated with stripe_nsectors-many bits for finish_*() calls */
127 /* Allocated with real_stripes-many pointers for finish_*() calls */
132 * Each bit is corresponding to one sector in either bio_sectors[] or
135 * The reason we don't use another bit in sector_ptr is, we have two
148 * Each bit represents if the corresponding sector has data csum found.
158 * No matter signed or not, (-1) is always the one indicating we can not grab
178 return map->num_stripes - btrfs_nr_parity_stripes(map->type); in nr_data_stripes()
183 return bioc->num_stripes - btrfs_nr_parity_stripes(bioc->map_type); in nr_bioc_data_stripes()
186 #define RAID5_P_STRIPE ((u64)-2)
187 #define RAID6_Q_STRIPE ((u64)-1)