Lines Matching defs:bksize
273 * @bksize: size of each block that needs mst deprotecting
277 * blocks of size @bksize bytes each from device @dev at position @pos into the
284 * when @count or @bksize are 0).
298 const u32 bksize, void *b)
302 if (bksize & (bksize - 1) || bksize % NTFS_BLOCK_SIZE) {
307 br = ntfs_pread(dev, pos, count * bksize, b);
316 count = br / bksize;
319 ((u8*)b + i * bksize), bksize);
329 * @bksize: size of each block that needs mst protecting
333 * @count blocks of size @bksize bytes each from data buffer @b to the device
339 * means nothing was written (also return 0 when @count or @bksize are 0).
355 const u32 bksize, void *b)
359 if (count < 0 || bksize % NTFS_BLOCK_SIZE) {
370 ((u8*)b + i * bksize), bksize);
380 written = ntfs_pwrite(dev, pos, count * bksize, b);
383 ntfs_mst_post_write_fixup((NTFS_RECORD*)((u8*)b + i * bksize));
387 return written / bksize;