Home
last modified time | relevance | path

Searched refs:stripe (Results 1 – 10 of 10) sorted by relevance

/drivers/md/
Ddm-stripe.c21 struct stripe { struct
44 struct stripe stripe[]; argument
62 unsigned int stripe, char **argv) in get_stripe() argument
72 &sc->stripe[stripe].dev); in get_stripe()
76 sc->stripe[stripe].physical_start = start; in get_stripe()
132 sc = kmalloc(struct_size(sc, stripe, stripes), GFP_KERNEL); in stripe_ctr()
179 dm_put_device(ti, sc->stripe[i].dev); in stripe_ctr()
183 atomic_set(&(sc->stripe[i].error_count), 0); in stripe_ctr()
197 dm_put_device(ti, sc->stripe[i].dev); in stripe_dtr()
204 uint32_t *stripe, sector_t *result) in stripe_map_sector() argument
[all …]
Draid5.c562 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous,
2915 sector_t stripe, stripe2; in raid5_compute_sector() local
2940 stripe = chunk_number; in raid5_compute_sector()
2941 *dd_idx = sector_div(stripe, data_disks); in raid5_compute_sector()
2942 stripe2 = stripe; in raid5_compute_sector()
3109 new_sector = (sector_t)stripe * sectors_per_chunk + chunk_offset; in raid5_compute_sector()
3123 sector_t stripe; in raid5_compute_blocknr() local
3131 stripe = new_sector; in raid5_compute_blocknr()
3219 chunk_number = stripe * data_disks + i; in raid5_compute_blocknr()
3530 static void stripe_set_idx(sector_t stripe, struct r5conf *conf, int previous, in stripe_set_idx() argument
[all …]
DMakefile6 dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
Draid10.c566 sector_t stripe; in __raid10_find_phys() local
582 stripe = chunk; in __raid10_find_phys()
583 dev = sector_div(stripe, geo->raid_disks); in __raid10_find_phys()
585 stripe *= geo->far_copies; in __raid10_find_phys()
587 sector += stripe << geo->chunk_shift; in __raid10_find_phys()
/drivers/staging/media/ipu3/
Dipu3-css-params.c1008 osys->stripe[s].crop_top[pin] = in imgu_css_osys_calc()
1010 osys->stripe[s].input_width = in imgu_css_osys_calc()
1012 osys->stripe[s].input_height = in imgu_css_osys_calc()
1014 osys->stripe[s].block_height = in imgu_css_osys_calc()
1016 osys->stripe[s].block_width = in imgu_css_osys_calc()
1018 osys->stripe[s].output_width[pin] = in imgu_css_osys_calc()
1020 osys->stripe[s].output_height[pin] = in imgu_css_osys_calc()
1025 osys->stripe[s].crop_left[pin] = in imgu_css_osys_calc()
1027 osys->stripe[s].output_offset[pin] = in imgu_css_osys_calc()
1035 osys->stripe[s].crop_left[pin] = 0; in imgu_css_osys_calc()
[all …]
Dipu3-abi.h1058 struct imgu_abi_osys_stripe stripe[IPU3_UAPI_MAX_STRIPES]; member
1272 struct imgu_abi_stripe_data stripe; member
/drivers/md/bcache/
Dwriteback.c556 int stripe; in bcache_dev_sectors_dirty_add() local
561 stripe = offset_to_stripe(d, offset); in bcache_dev_sectors_dirty_add()
562 if (stripe < 0) in bcache_dev_sectors_dirty_add()
577 if (stripe >= d->nr_stripes) in bcache_dev_sectors_dirty_add()
581 d->stripe_sectors_dirty + stripe); in bcache_dev_sectors_dirty_add()
583 set_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add()
585 clear_bit(stripe, d->full_dirty_stripes); in bcache_dev_sectors_dirty_add()
589 stripe++; in bcache_dev_sectors_dirty_add()
608 int stripe; in refill_full_stripes() local
611 stripe = offset_to_stripe(&dc->disk, KEY_OFFSET(&buf->last_scanned)); in refill_full_stripes()
[all …]
Dwriteback.h78 int stripe = offset_to_stripe(&dc->disk, offset); in bcache_dev_stripe_dirty() local
80 if (stripe < 0) in bcache_dev_stripe_dirty()
84 if (atomic_read(dc->disk.stripe_sectors_dirty + stripe)) in bcache_dev_stripe_dirty()
91 stripe++; in bcache_dev_stripe_dirty()
/drivers/staging/media/atomisp/pci/isp/modes/interface/
Disp_const.h85 #define CEIL_ROUND_DIV_STRIPE(width, stripe, padding) \ argument
86 …CEIL_MUL(padding + CEIL_DIV(width - padding, stripe), ((ENABLE_RAW_BINNING || ENABLE_FIXED_BAYER_D…
/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c648 static u8 get_arm(struct megasas_instance *instance, u32 ld, u8 span, u64 stripe, in get_arm() argument
659 arm = mega_mod64(stripe, SPAN_ROW_SIZE(map, ld, span)); in get_arm()
663 arm = get_arm_from_strip(instance, ld, stripe, map); in get_arm()