Searched refs:stripe_off (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlov_offset.c123 u64 stripe_off, this_stripe, swidth; lov_stripe_offset() local
138 stripe_off = lov_do_div64(lov_off, swidth); lov_stripe_offset()
141 if (stripe_off < this_stripe) { lov_stripe_offset()
142 stripe_off = 0; lov_stripe_offset()
145 stripe_off -= this_stripe; lov_stripe_offset()
147 if (stripe_off >= ssize) { lov_stripe_offset()
148 stripe_off = ssize; lov_stripe_offset()
153 *obdoff = lov_off * ssize + stripe_off; lov_stripe_offset()
180 u64 stripe_off, this_stripe, swidth; lov_size_to_stripe() local
191 stripe_off = lov_do_div64(file_size, swidth); lov_size_to_stripe()
194 if (stripe_off < this_stripe) { lov_size_to_stripe()
198 stripe_off = ssize; lov_size_to_stripe()
200 stripe_off = 0; lov_size_to_stripe()
203 stripe_off -= this_stripe; lov_size_to_stripe()
205 if (stripe_off >= ssize) { lov_size_to_stripe()
207 stripe_off = ssize; lov_size_to_stripe()
211 return (file_size * ssize + stripe_off); lov_size_to_stripe()
252 u64 stripe_off, swidth; lov_stripe_number() local
258 stripe_off = lov_do_div64(lov_off, swidth); lov_stripe_number()
260 /* Puts stripe_off/ssize result into stripe_off */ lov_stripe_number()
261 lov_do_div64(stripe_off, ssize); lov_stripe_number()
263 return stripe_off; lov_stripe_number()
/linux-4.1.27/fs/nfs/objlayout/
H A Dobjio_osd.c565 u32 stripe_off; aligned_on_raid_stripe() local
574 div_u64_rem(offset, stripe_size, &stripe_off); aligned_on_raid_stripe()
575 if (!stripe_off) aligned_on_raid_stripe()
578 *stripe_end = stripe_size - stripe_off; aligned_on_raid_stripe()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
H A Decho_client.c1486 u64 stripe_off; echo_client_page_debug_setup() local
1497 stripe_off = offset + delta; echo_client_page_debug_setup()
1499 echo_get_stripe_off_id(lsm, &stripe_off, &stripe_id); echo_client_page_debug_setup()
1501 stripe_off = 0xdeadbeef00c0ffeeULL; echo_client_page_debug_setup()
1505 stripe_off, stripe_id); echo_client_page_debug_setup()
1515 u64 stripe_off; echo_client_page_debug_check() local
1528 stripe_off = offset + delta; echo_client_page_debug_check()
1530 echo_get_stripe_off_id(lsm, &stripe_off, &stripe_id); echo_client_page_debug_check()
1534 stripe_off, stripe_id); echo_client_page_debug_check()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c3845 sector_t v_lba, p_lba, stripe_off, column, io_size; _scsih_setup_direct_io() local
3865 stripe_off = v_lba & (stripe_sz - 1); _scsih_setup_direct_io()
3868 if (stripe_off + io_size > stripe_sz) _scsih_setup_direct_io()
3874 p_lba = (p_lba << stripe_exp) + stripe_off; _scsih_setup_direct_io()

Completed in 333 milliseconds