Home
last modified time | relevance | path

Searched refs:stripe_nr (Results 1 – 6 of 6) sorted by relevance

/linux/fs/btrfs/
H A Draid56.h173 u8 stripe_nr; member
H A Dvolumes.c44 u32 stripe_nr; member
6074 u32 stripe_nr; in btrfs_map_discard() local
6106 stripe_nr = offset >> BTRFS_STRIPE_LEN_SHIFT; in btrfs_map_discard()
6109 stripe_offset = offset - btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()
6113 stripe_cnt = stripe_nr_end - stripe_nr; in btrfs_map_discard()
6133 stripe_index = stripe_nr % factor; in btrfs_map_discard()
6134 stripe_nr /= factor; in btrfs_map_discard()
6144 stripe_index = stripe_nr % map->num_stripes; in btrfs_map_discard()
6145 stripe_nr /= map->num_stripes; in btrfs_map_discard()
6157 stripe_offset + btrfs_stripe_nr_to_offset(stripe_nr); in btrfs_map_discard()
[all …]
H A Dvolumes.h673 static inline u64 btrfs_stripe_nr_to_offset(u32 stripe_nr) in btrfs_stripe_nr_to_offset() argument
675 return (u64)stripe_nr << BTRFS_STRIPE_LEN_SHIFT; in btrfs_stripe_nr_to_offset()
H A Dblock-group.c2133 u32 stripe_nr; in btrfs_rmap_block() local
2141 stripe_nr = (physical - map->stripes[i].physical) >> in btrfs_rmap_block()
2148 stripe_nr = div_u64(stripe_nr * map->num_stripes + i, in btrfs_rmap_block()
2155 bytenr = chunk_start + stripe_nr * io_stripe_size + offset; in btrfs_rmap_block()
H A Dscrub.c1306 u32 stripe_nr; in get_raid56_logic_offset() local
1312 stripe_nr = (u32)(*offset >> BTRFS_STRIPE_LEN_SHIFT) / data_stripes; in get_raid56_logic_offset()
1315 rot = stripe_nr % map->num_stripes; in get_raid56_logic_offset()
/linux/include/trace/events/
H A Dbtrfs.h2414 __field( u8, stripe_nr )
2424 __entry->stripe_nr = trace_info->stripe_nr;
2437 (__entry->stripe_nr < __entry->nr_data) ? "DATA" :
2438 ((__entry->stripe_nr < __entry->real_stripes) ? "PQ" :
2440 (__entry->stripe_nr < __entry->nr_data) ?
2441 (__entry->stripe_nr + 1) :
2442 ((__entry->stripe_nr < __entry->real_stripes) ?
2443 (__entry->stripe_nr - __entry->nr_data + 1) : 0),