sectorsize 8 arch/um/drivers/cow.h int sectorsize, int alignment, int *bitmap_offset_out, sectorsize 19 arch/um/drivers/cow.h int sectorsize, int alignment, sectorsize 22 arch/um/drivers/cow.h extern void cow_sizes(int version, __u64 size, int sectorsize, int align, sectorsize 28 arch/um/drivers/cow_user.c __s32 sectorsize; sectorsize 47 arch/um/drivers/cow_user.c __s32 sectorsize; sectorsize 90 arch/um/drivers/cow_user.c __u32 sectorsize; sectorsize 102 arch/um/drivers/cow_user.c __u32 sectorsize; sectorsize 124 arch/um/drivers/cow_user.c void cow_sizes(int version, __u64 size, int sectorsize, int align, sectorsize 129 arch/um/drivers/cow_user.c *bitmap_len_out = (size + sectorsize - 1) / (8 * sectorsize); sectorsize 132 arch/um/drivers/cow_user.c *data_offset_out = (*data_offset_out + sectorsize - 1) / sectorsize 133 arch/um/drivers/cow_user.c sectorsize; sectorsize 134 arch/um/drivers/cow_user.c *data_offset_out *= sectorsize; sectorsize 137 arch/um/drivers/cow_user.c *bitmap_len_out = DIV_ROUND(size, sectorsize); sectorsize 197 arch/um/drivers/cow_user.c int sectorsize, int alignment, unsigned long long *size) sectorsize 250 arch/um/drivers/cow_user.c header->sectorsize = htobe32(sectorsize); sectorsize 318 arch/um/drivers/cow_user.c *sectorsize_out = header->v1.sectorsize; sectorsize 331 arch/um/drivers/cow_user.c *sectorsize_out = be32toh(header->v2.sectorsize); sectorsize 345 arch/um/drivers/cow_user.c *sectorsize_out = be32toh(header->v3.sectorsize); sectorsize 376 arch/um/drivers/cow_user.c *sectorsize_out = be32toh(header->v3_b.sectorsize); sectorsize 402 arch/um/drivers/cow_user.c int init_cow_file(int fd, char *cow_file, char *backing_file, int sectorsize, sectorsize 410 arch/um/drivers/cow_user.c err = write_cow_header(cow_file, fd, backing_file, sectorsize, sectorsize 416 arch/um/drivers/cow_user.c cow_sizes(COW_VERSION, size, sectorsize, alignment, *bitmap_offset_out, sectorsize 57 arch/um/drivers/ubd_kern.c int sectorsize; sectorsize 678 arch/um/drivers/ubd_kern.c int fd, err, sectorsize, asked_switch, mode = 0644; sectorsize 709 arch/um/drivers/ubd_kern.c &size, §orsize, &align, bitmap_offset_out); sectorsize 727 arch/um/drivers/ubd_kern.c sectorsize, align, &size); sectorsize 739 arch/um/drivers/ubd_kern.c cow_sizes(version, size, sectorsize, align, *bitmap_offset_out, sectorsize 750 arch/um/drivers/ubd_kern.c int sectorsize, int alignment, int *bitmap_offset_out, sectorsize 764 arch/um/drivers/ubd_kern.c err = init_cow_file(fd, cow_file, backing_file, sectorsize, alignment, sectorsize 1338 arch/um/drivers/ubd_kern.c io_req->sectorsize = SECTOR_SIZE; sectorsize 1515 arch/um/drivers/ubd_kern.c nsectors = req->length / req->sectorsize; sectorsize 1526 arch/um/drivers/ubd_kern.c start * req->sectorsize; sectorsize 1527 arch/um/drivers/ubd_kern.c len = (end - start) * req->sectorsize; sectorsize 1529 arch/um/drivers/ubd_kern.c buf = &req->buffer[start * req->sectorsize]; sectorsize 85 drivers/md/dm-log-writes.c __le32 sectorsize; sectorsize 106 drivers/md/dm-log-writes.c u32 sectorsize; sectorsize 245 drivers/md/dm-log-writes.c lc->sectorsize - entrylen - datalen); sectorsize 248 drivers/md/dm-log-writes.c ret = bio_add_page(bio, page, lc->sectorsize, 0); sectorsize 249 drivers/md/dm-log-writes.c if (ret != lc->sectorsize) { sectorsize 294 drivers/md/dm-log-writes.c pg_sectorlen = ALIGN(pg_datalen, lc->sectorsize); sectorsize 430 drivers/md/dm-log-writes.c super.sectorsize = cpu_to_le32(lc->sectorsize); sectorsize 572 drivers/md/dm-log-writes.c lc->sectorsize = bdev_logical_block_size(lc->dev->bdev); sectorsize 573 drivers/md/dm-log-writes.c lc->sectorshift = ilog2(lc->sectorsize); sectorsize 588 drivers/md/dm-log-writes.c lc->next_sector = lc->sectorsize >> SECTOR_SHIFT; sectorsize 609 drivers/md/dm-log-writes.c size_t maxsize = lc->sectorsize - sizeof(struct log_write_entry); sectorsize 894 drivers/md/dm-log-writes.c limits->discard_granularity = lc->sectorsize; sectorsize 937 drivers/md/dm-log-writes.c block->nr_sectors = ALIGN(bytes, lc->sectorsize) >> lc->sectorshift; sectorsize 101 drivers/mtd/devices/spear_smi.c unsigned long sectorsize; sectorsize 111 drivers/mtd/devices/spear_smi.c .sectorsize = ssize, \ sectorsize 897 drivers/mtd/devices/spear_smi.c flash->mtd.erasesize = flash_devices[flash_index].sectorsize; sectorsize 1081 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.sectorsize = chip->ecc.size; sectorsize 1083 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.sectorsize = chip->base.eccreq.step_size; sectorsize 1085 drivers/mtd/nand/raw/atmel/nand-controller.c req.ecc.sectorsize = ATMEL_PMECC_SECTOR_SIZE_AUTO; sectorsize 1103 drivers/mtd/nand/raw/atmel/nand-controller.c chip->ecc.size = req.ecc.sectorsize; sectorsize 226 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.sectorsize == 512) { sectorsize 260 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.sectorsize == 512) sectorsize 289 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.sectorsize == ATMEL_PMECC_SECTOR_SIZE_AUTO) { sectorsize 294 drivers/mtd/nand/raw/atmel/pmecc.c req->ecc.sectorsize = 1024; sectorsize 296 drivers/mtd/nand/raw/atmel/pmecc.c req->ecc.sectorsize = 512; sectorsize 299 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.sectorsize != 512 && req->ecc.sectorsize != 1024) sectorsize 302 drivers/mtd/nand/raw/atmel/pmecc.c if (req->pagesize % req->ecc.sectorsize) sectorsize 305 drivers/mtd/nand/raw/atmel/pmecc.c req->ecc.nsectors = req->pagesize / req->ecc.sectorsize; sectorsize 316 drivers/mtd/nand/raw/atmel/pmecc.c nbytes = DIV_ROUND_UP(strength * fls(8 * req->ecc.sectorsize), sectorsize 400 drivers/mtd/nand/raw/atmel/pmecc.c if (req->ecc.sectorsize == 1024) sectorsize 694 drivers/mtd/nand/raw/atmel/pmecc.c int sectorsize = get_sectorsize(user); sectorsize 722 drivers/mtd/nand/raw/atmel/pmecc.c if (byte < sectorsize) { sectorsize 725 drivers/mtd/nand/raw/atmel/pmecc.c } else if (byte < sectorsize + eccbytes) { sectorsize 726 drivers/mtd/nand/raw/atmel/pmecc.c ptr = ecc + byte - sectorsize; sectorsize 731 drivers/mtd/nand/raw/atmel/pmecc.c errpos, (sectorsize + eccbytes) * 8); sectorsize 47 drivers/mtd/nand/raw/atmel/pmecc.h int sectorsize; sectorsize 433 fs/btrfs/block-group.c fs_info->nodesize : fs_info->sectorsize; sectorsize 2903 fs/btrfs/check-integrity.c if (!PAGE_ALIGNED(fs_info->sectorsize)) { sectorsize 2905 fs/btrfs/check-integrity.c fs_info->sectorsize, PAGE_SIZE); sectorsize 2925 fs/btrfs/check-integrity.c state->datablock_size = fs_info->sectorsize; sectorsize 71 fs/btrfs/compression.c (DIV_ROUND_UP(disk_size, fs_info->sectorsize)) * csum_size; sectorsize 668 fs/btrfs/compression.c fs_info->sectorsize); sectorsize 239 fs/btrfs/ctree.h __le32 sectorsize; sectorsize 883 fs/btrfs/ctree.h u32 sectorsize; sectorsize 1121 fs/btrfs/ctree.h return btrfs_sb(inode->i_sb)->sectorsize; sectorsize 1409 fs/btrfs/ctree.h WARN_ON(!IS_ALIGNED(val, eb->fs_info->sectorsize)); sectorsize 2139 fs/btrfs/ctree.h sectorsize, 32); sectorsize 23 fs/btrfs/delalloc-space.c bytes = ALIGN(bytes, fs_info->sectorsize); sectorsize 145 fs/btrfs/delalloc-space.c len = round_up(start + len, fs_info->sectorsize) - sectorsize 146 fs/btrfs/delalloc-space.c round_down(start, fs_info->sectorsize); sectorsize 147 fs/btrfs/delalloc-space.c start = round_down(start, fs_info->sectorsize); sectorsize 177 fs/btrfs/delalloc-space.c len = round_up(start + len, fs_info->sectorsize) - sectorsize 178 fs/btrfs/delalloc-space.c round_down(start, fs_info->sectorsize); sectorsize 179 fs/btrfs/delalloc-space.c start = round_down(start, fs_info->sectorsize); sectorsize 200 fs/btrfs/delalloc-space.c len = round_up(start + len, root->fs_info->sectorsize) - sectorsize 201 fs/btrfs/delalloc-space.c round_down(start, root->fs_info->sectorsize); sectorsize 202 fs/btrfs/delalloc-space.c start = round_down(start, root->fs_info->sectorsize); sectorsize 335 fs/btrfs/delalloc-space.c num_bytes = ALIGN(num_bytes, fs_info->sectorsize); sectorsize 404 fs/btrfs/delalloc-space.c num_bytes = ALIGN(num_bytes, fs_info->sectorsize); sectorsize 159 fs/btrfs/dev-replace.c dev_replace->tgtdev->io_width = fs_info->sectorsize; sectorsize 160 fs/btrfs/dev-replace.c dev_replace->tgtdev->io_align = fs_info->sectorsize; sectorsize 161 fs/btrfs/dev-replace.c dev_replace->tgtdev->sector_size = fs_info->sectorsize; sectorsize 243 fs/btrfs/dev-replace.c device->io_width = fs_info->sectorsize; sectorsize 244 fs/btrfs/dev-replace.c device->io_align = fs_info->sectorsize; sectorsize 245 fs/btrfs/dev-replace.c device->sector_size = fs_info->sectorsize; sectorsize 2388 fs/btrfs/disk-io.c u64 sectorsize = btrfs_super_sectorsize(sb); sectorsize 2420 fs/btrfs/disk-io.c if (!is_power_of_2(sectorsize) || sectorsize < 4096 || sectorsize 2421 fs/btrfs/disk-io.c sectorsize > BTRFS_MAX_METADATA_BLOCKSIZE) { sectorsize 2422 fs/btrfs/disk-io.c btrfs_err(fs_info, "invalid sectorsize %llu", sectorsize); sectorsize 2426 fs/btrfs/disk-io.c if (sectorsize != PAGE_SIZE) { sectorsize 2429 fs/btrfs/disk-io.c sectorsize, PAGE_SIZE); sectorsize 2432 fs/btrfs/disk-io.c if (!is_power_of_2(nodesize) || nodesize < sectorsize || sectorsize 2444 fs/btrfs/disk-io.c if (!IS_ALIGNED(btrfs_super_root(sb), sectorsize)) { sectorsize 2449 fs/btrfs/disk-io.c if (!IS_ALIGNED(btrfs_super_chunk_root(sb), sectorsize)) { sectorsize 2454 fs/btrfs/disk-io.c if (!IS_ALIGNED(btrfs_super_log_root(sb), sectorsize)) { sectorsize 2584 fs/btrfs/disk-io.c u32 sectorsize; sectorsize 2767 fs/btrfs/disk-io.c fs_info->sectorsize = 4096; sectorsize 2919 fs/btrfs/disk-io.c sectorsize = btrfs_super_sectorsize(disk_super); sectorsize 2920 fs/btrfs/disk-io.c stripesize = sectorsize; sectorsize 2922 fs/btrfs/disk-io.c fs_info->delalloc_batch = sectorsize * 512 * (1 + ilog2(nr_cpu_ids)); sectorsize 2926 fs/btrfs/disk-io.c fs_info->sectorsize = sectorsize; sectorsize 2934 fs/btrfs/disk-io.c (sectorsize != nodesize)) { sectorsize 2937 fs/btrfs/disk-io.c nodesize, sectorsize); sectorsize 2970 fs/btrfs/disk-io.c sb->s_blocksize = sectorsize; sectorsize 2971 fs/btrfs/disk-io.c sb->s_blocksize_bits = blksize_bits(sectorsize); sectorsize 2145 fs/btrfs/extent-tree.c num_csums = div64_u64(csum_bytes, fs_info->sectorsize); sectorsize 3792 fs/btrfs/extent-tree.c WARN_ON(num_bytes < fs_info->sectorsize); sectorsize 4118 fs/btrfs/extent-tree.c WARN_ON(num_bytes < fs_info->sectorsize); sectorsize 4127 fs/btrfs/extent-tree.c fs_info->sectorsize); sectorsize 4495 fs/btrfs/extent_io.c u64 sectorsize = btrfs_inode_sectorsize(inode); sectorsize 4506 fs/btrfs/extent_io.c len = ALIGN(len, sectorsize); sectorsize 5167 fs/btrfs/extent_io.c if (!IS_ALIGNED(start, fs_info->sectorsize)) { sectorsize 31 fs/btrfs/file-item.c return ncsums * fs_info->sectorsize; sectorsize 238 fs/btrfs/file-item.c offset + fs_info->sectorsize - 1, sectorsize 257 fs/btrfs/file-item.c fs_info->sectorsize; sectorsize 266 fs/btrfs/file-item.c diff = diff / fs_info->sectorsize; sectorsize 279 fs/btrfs/file-item.c disk_bytenr += fs_info->sectorsize; sectorsize 280 fs/btrfs/file-item.c offset += fs_info->sectorsize; sectorsize 281 fs/btrfs/file-item.c page_bytes_left -= fs_info->sectorsize; sectorsize 319 fs/btrfs/file-item.c ASSERT(IS_ALIGNED(start, fs_info->sectorsize) && sectorsize 320 fs/btrfs/file-item.c IS_ALIGNED(end + 1, fs_info->sectorsize)); sectorsize 373 fs/btrfs/file-item.c csum_end = key.offset + (size / csum_size) * fs_info->sectorsize; sectorsize 405 fs/btrfs/file-item.c start += fs_info->sectorsize * size; sectorsize 483 fs/btrfs/file-item.c bvec.bv_len + fs_info->sectorsize sectorsize 515 fs/btrfs/file-item.c + (i * fs_info->sectorsize), sectorsize 516 fs/btrfs/file-item.c fs_info->sectorsize); sectorsize 520 fs/btrfs/file-item.c offset += fs_info->sectorsize; sectorsize 521 fs/btrfs/file-item.c this_sum_bytes += fs_info->sectorsize; sectorsize 522 fs/btrfs/file-item.c total_bytes += fs_info->sectorsize; sectorsize 920 fs/btrfs/file-item.c total_bytes += ins_size * fs_info->sectorsize; sectorsize 964 fs/btrfs/file-item.c fs_info->sectorsize); sectorsize 529 fs/btrfs/file.c start_pos = pos & ~((u64) fs_info->sectorsize - 1); sectorsize 531 fs/btrfs/file.c fs_info->sectorsize); sectorsize 999 fs/btrfs/file.c fs_info->sectorsize); sectorsize 1493 fs/btrfs/file.c start_pos = round_down(pos, fs_info->sectorsize); sectorsize 1496 fs/btrfs/file.c fs_info->sectorsize) - 1; sectorsize 1562 fs/btrfs/file.c lockstart = round_down(pos, fs_info->sectorsize); sectorsize 1564 fs/btrfs/file.c fs_info->sectorsize) - 1; sectorsize 1640 fs/btrfs/file.c sector_offset = pos & (fs_info->sectorsize - 1); sectorsize 1642 fs/btrfs/file.c fs_info->sectorsize); sectorsize 1665 fs/btrfs/file.c fs_info->sectorsize); sectorsize 1717 fs/btrfs/file.c fs_info->sectorsize); sectorsize 1748 fs/btrfs/file.c fs_info->sectorsize) + sectorsize 1757 fs/btrfs/file.c fs_info->sectorsize); sectorsize 1788 fs/btrfs/file.c fs_info->sectorsize); sectorsize 1790 fs/btrfs/file.c fs_info->sectorsize) - 1; sectorsize 1818 fs/btrfs/file.c round_down(pos, fs_info->sectorsize), sectorsize 1961 fs/btrfs/file.c start_pos = round_down(pos, fs_info->sectorsize); sectorsize 1966 fs/btrfs/file.c fs_info->sectorsize); sectorsize 1972 fs/btrfs/file.c if (start_pos > round_up(oldsize, fs_info->sectorsize)) sectorsize 2406 fs/btrfs/file.c round_down(*start, fs_info->sectorsize), sectorsize 2407 fs/btrfs/file.c round_up(*len, fs_info->sectorsize), 0); sectorsize 2536 fs/btrfs/file.c u64 ino_size = round_up(inode->i_size, fs_info->sectorsize); sectorsize 2752 fs/btrfs/file.c ino_size = round_up(inode->i_size, fs_info->sectorsize); sectorsize 2775 fs/btrfs/file.c if (same_block && len < fs_info->sectorsize) { sectorsize 2969 fs/btrfs/file.c const u64 sectorsize = btrfs_inode_sectorsize(inode); sectorsize 2973 fs/btrfs/file.c offset = round_down(offset, sectorsize); sectorsize 2974 fs/btrfs/file.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 2999 fs/btrfs/file.c const u64 sectorsize = btrfs_inode_sectorsize(inode); sectorsize 3000 fs/btrfs/file.c u64 alloc_start = round_down(offset, sectorsize); sectorsize 3001 fs/btrfs/file.c u64 alloc_end = round_up(offset + len, sectorsize); sectorsize 3042 fs/btrfs/file.c ASSERT(IS_ALIGNED(alloc_start, sectorsize)); sectorsize 3052 fs/btrfs/file.c alloc_start, sectorsize, 0); sectorsize 3064 fs/btrfs/file.c if (len < sectorsize && em->block_start != EXTENT_MAP_HOLE) { sectorsize 3074 fs/btrfs/file.c alloc_start = round_down(offset, sectorsize); sectorsize 3075 fs/btrfs/file.c alloc_end = alloc_start + sectorsize; sectorsize 3079 fs/btrfs/file.c alloc_start = round_up(offset, sectorsize); sectorsize 3080 fs/btrfs/file.c alloc_end = round_down(offset + len, sectorsize); sectorsize 3088 fs/btrfs/file.c if (!IS_ALIGNED(offset, sectorsize)) { sectorsize 3093 fs/btrfs/file.c alloc_start = round_down(offset, sectorsize); sectorsize 3104 fs/btrfs/file.c if (!IS_ALIGNED(offset + len, sectorsize)) { sectorsize 3110 fs/btrfs/file.c alloc_end = round_up(offset + len, sectorsize); sectorsize 3385 fs/btrfs/file.c lockstart = round_down(start, fs_info->sectorsize); sectorsize 3387 fs/btrfs/file.c fs_info->sectorsize); sectorsize 3389 fs/btrfs/file.c lockend = lockstart + fs_info->sectorsize; sectorsize 2021 fs/btrfs/free-space-cache.c if (info->bytes <= fs_info->sectorsize * 4) { sectorsize 2518 fs/btrfs/free-space-cache.c ctl->unit = fs_info->sectorsize; sectorsize 3081 fs/btrfs/free-space-cache.c min_bytes = fs_info->sectorsize; sectorsize 3084 fs/btrfs/free-space-cache.c min_bytes = fs_info->sectorsize; sectorsize 29 fs/btrfs/free-space-tree.c bitmap_range = cache->fs_info->sectorsize * BTRFS_FREE_SPACE_BITMAP_BITS; sectorsize 136 fs/btrfs/free-space-tree.c static inline u32 free_space_bitmap_size(u64 size, u32 sectorsize) sectorsize 138 fs/btrfs/free-space-tree.c return DIV_ROUND_UP((u32)div_u64(size, sectorsize), BITS_PER_BYTE); sectorsize 201 fs/btrfs/free-space-tree.c fs_info->sectorsize); sectorsize 239 fs/btrfs/free-space-tree.c fs_info->sectorsize); sectorsize 241 fs/btrfs/free-space-tree.c fs_info->sectorsize); sectorsize 282 fs/btrfs/free-space-tree.c bitmap_range = fs_info->sectorsize * BTRFS_FREE_SPACE_BITMAP_BITS; sectorsize 291 fs/btrfs/free-space-tree.c fs_info->sectorsize); sectorsize 340 fs/btrfs/free-space-tree.c fs_info->sectorsize); sectorsize 380 fs/btrfs/free-space-tree.c fs_info->sectorsize * sectorsize 384 fs/btrfs/free-space-tree.c fs_info->sectorsize); sectorsize 416 fs/btrfs/free-space-tree.c nrbits = div_u64(block_group->key.offset, block_group->fs_info->sectorsize); sectorsize 423 fs/btrfs/free-space-tree.c key.objectid = start + start_bit * block_group->fs_info->sectorsize; sectorsize 425 fs/btrfs/free-space-tree.c key.offset = (end_bit - start_bit) * block_group->fs_info->sectorsize; sectorsize 512 fs/btrfs/free-space-tree.c block_group->fs_info->sectorsize); sectorsize 540 fs/btrfs/free-space-tree.c first = div_u64(*start - found_start, fs_info->sectorsize); sectorsize 541 fs/btrfs/free-space-tree.c last = div_u64(end - found_start, fs_info->sectorsize); sectorsize 601 fs/btrfs/free-space-tree.c u64 prev_block = start - block_group->fs_info->sectorsize; sectorsize 1445 fs/btrfs/free-space-tree.c offset += fs_info->sectorsize; sectorsize 279 fs/btrfs/inode.c u64 aligned_end = ALIGN(end, fs_info->sectorsize); sectorsize 290 fs/btrfs/inode.c actual_end > fs_info->sectorsize || sectorsize 293 fs/btrfs/inode.c (actual_end & (fs_info->sectorsize - 1)) == 0) || sectorsize 473 fs/btrfs/inode.c u64 blocksize = fs_info->sectorsize; sectorsize 977 fs/btrfs/inode.c u64 blocksize = fs_info->sectorsize; sectorsize 1030 fs/btrfs/inode.c fs_info->sectorsize, 0, alloc_hint, sectorsize 1539 fs/btrfs/inode.c extent_end = ALIGN(extent_end, fs_info->sectorsize); sectorsize 4737 fs/btrfs/inode.c const u64 lock_start = ALIGN_DOWN(new_size, fs_info->sectorsize); sectorsize 4767 fs/btrfs/inode.c fs_info->sectorsize), sectorsize 4866 fs/btrfs/inode.c fs_info->sectorsize); sectorsize 5050 fs/btrfs/inode.c u32 blocksize = fs_info->sectorsize; sectorsize 5209 fs/btrfs/inode.c u64 hole_start = ALIGN(oldsize, fs_info->sectorsize); sectorsize 5210 fs/btrfs/inode.c u64 block_end = ALIGN(size, fs_info->sectorsize); sectorsize 5240 fs/btrfs/inode.c last_byte = ALIGN(last_byte, fs_info->sectorsize); sectorsize 7127 fs/btrfs/inode.c fs_info->sectorsize); sectorsize 7184 fs/btrfs/inode.c em->len = ALIGN(copy_size, fs_info->sectorsize); sectorsize 7424 fs/btrfs/inode.c ret = btrfs_reserve_extent(root, len, len, fs_info->sectorsize, sectorsize 7544 fs/btrfs/inode.c root->fs_info->sectorsize) - 1; sectorsize 7860 fs/btrfs/inode.c len = min_t(u64, len, fs_info->sectorsize); sectorsize 8106 fs/btrfs/inode.c u32 sectorsize; sectorsize 8112 fs/btrfs/inode.c sectorsize = fs_info->sectorsize; sectorsize 8128 fs/btrfs/inode.c pgoff, start, start + sectorsize - 1, sectorsize 8144 fs/btrfs/inode.c start += sectorsize; sectorsize 8148 fs/btrfs/inode.c pgoff += sectorsize; sectorsize 8211 fs/btrfs/inode.c u32 sectorsize; sectorsize 8220 fs/btrfs/inode.c sectorsize = fs_info->sectorsize; sectorsize 8235 fs/btrfs/inode.c bvec.bv_page, pgoff, start, sectorsize); sectorsize 8245 fs/btrfs/inode.c pgoff, start, start + sectorsize - 1, sectorsize 8260 fs/btrfs/inode.c offset += sectorsize; sectorsize 8261 fs/btrfs/inode.c start += sectorsize; sectorsize 8267 fs/btrfs/inode.c pgoff += sectorsize; sectorsize 8706 fs/btrfs/inode.c unsigned int blocksize_mask = fs_info->sectorsize - 1; sectorsize 8790 fs/btrfs/inode.c fs_info->sectorsize); sectorsize 9126 fs/btrfs/inode.c fs_info->sectorsize); sectorsize 9204 fs/btrfs/inode.c u64 mask = fs_info->sectorsize - 1; sectorsize 10907 fs/btrfs/inode.c isize = ALIGN_DOWN(inode->i_size, fs_info->sectorsize); sectorsize 1713 fs/btrfs/ioctl.c new_size = round_down(new_size, fs_info->sectorsize); sectorsize 3169 fs/btrfs/ioctl.c fi_args->sectorsize = fs_info->sectorsize; sectorsize 3170 fs/btrfs/ioctl.c fi_args->clone_alignment = fs_info->sectorsize; sectorsize 3377 fs/btrfs/ioctl.c fs_info->sectorsize); sectorsize 3712 fs/btrfs/ioctl.c fs_info->sectorsize); sectorsize 941 fs/btrfs/ordered-data.c u32 sectorsize = btrfs_inode_sectorsize(inode); sectorsize 964 fs/btrfs/ordered-data.c disk_bytenr += num_sectors * sectorsize; sectorsize 139 fs/btrfs/ordered-data.h int num_sectors = (int)DIV_ROUND_UP(bytes, fs_info->sectorsize); sectorsize 3474 fs/btrfs/qgroup.c len = round_up(start + len, root->fs_info->sectorsize); sectorsize 3475 fs/btrfs/qgroup.c start = round_down(start, root->fs_info->sectorsize); sectorsize 2295 fs/btrfs/raid56.c ASSERT(fs_info->sectorsize == PAGE_SIZE); sectorsize 1726 fs/btrfs/relocation.c fs_info->sectorsize)); sectorsize 1727 fs/btrfs/relocation.c WARN_ON(!IS_ALIGNED(end, fs_info->sectorsize)); sectorsize 2147 fs/btrfs/relocation.c WARN_ON(!IS_ALIGNED(start, fs_info->sectorsize)); sectorsize 2162 fs/btrfs/relocation.c WARN_ON(!IS_ALIGNED(end, fs_info->sectorsize)); sectorsize 1811 fs/btrfs/scrub.c len = sctx->fs_info->sectorsize; sectorsize 2371 fs/btrfs/scrub.c int sectorsize = sparity->sctx->fs_info->sectorsize; sectorsize 2380 fs/btrfs/scrub.c offset = div_u64(offset, sectorsize); sectorsize 2381 fs/btrfs/scrub.c nsectors64 = div_u64(len, sectorsize); sectorsize 2457 fs/btrfs/scrub.c index = div_u64(logical - sum->bytenr, sctx->fs_info->sectorsize); sectorsize 2460 fs/btrfs/scrub.c num_sectors = sum->len / sctx->fs_info->sectorsize; sectorsize 2483 fs/btrfs/scrub.c blocksize = sctx->fs_info->sectorsize; sectorsize 2498 fs/btrfs/scrub.c blocksize = sctx->fs_info->sectorsize; sectorsize 2629 fs/btrfs/scrub.c blocksize = sctx->fs_info->sectorsize; sectorsize 2847 fs/btrfs/scrub.c nsectors = div_u64(map->stripe_len, fs_info->sectorsize); sectorsize 3819 fs/btrfs/scrub.c if (fs_info->sectorsize != PAGE_SIZE) { sectorsize 3823 fs/btrfs/scrub.c fs_info->sectorsize, PAGE_SIZE); sectorsize 3829 fs/btrfs/scrub.c fs_info->sectorsize > PAGE_SIZE * SCRUB_MAX_PAGES_PER_BLOCK) { sectorsize 3838 fs/btrfs/scrub.c fs_info->sectorsize, sectorsize 5129 fs/btrfs/send.c len == sctx->send_root->fs_info->sectorsize) sectorsize 5267 fs/btrfs/send.c const u64 sectorsize = SZ_64K; sectorsize 5288 fs/btrfs/send.c !IS_ALIGNED(src_end, sectorsize) && sectorsize 5293 fs/btrfs/send.c sectorsize); sectorsize 5609 fs/btrfs/send.c sctx->send_root->fs_info->sectorsize); sectorsize 5673 fs/btrfs/send.c root->fs_info->sectorsize); sectorsize 5718 fs/btrfs/send.c sctx->send_root->fs_info->sectorsize); sectorsize 643 fs/btrfs/super.c info->sectorsize); sectorsize 540 fs/btrfs/sysfs.c fs_info->super_copy->sectorsize); sectorsize 543 fs/btrfs/sysfs.c BTRFS_ATTR(, sectorsize, btrfs_sectorsize_show); sectorsize 551 fs/btrfs/sysfs.c fs_info->super_copy->sectorsize); sectorsize 610 fs/btrfs/sysfs.c BTRFS_ATTR_PTR(, sectorsize), sectorsize 89 fs/btrfs/tests/btrfs-tests.c struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize) sectorsize 111 fs/btrfs/tests/btrfs-tests.c fs_info->sectorsize = sectorsize; sectorsize 223 fs/btrfs/tests/btrfs-tests.c cache->full_stripe_len = fs_info->sectorsize; sectorsize 256 fs/btrfs/tests/btrfs-tests.c u32 sectorsize, nodesize; sectorsize 264 fs/btrfs/tests/btrfs-tests.c sectorsize = test_sectorsize[i]; sectorsize 265 fs/btrfs/tests/btrfs-tests.c for (nodesize = sectorsize; sectorsize 269 fs/btrfs/tests/btrfs-tests.c sectorsize, nodesize); sectorsize 270 fs/btrfs/tests/btrfs-tests.c ret = btrfs_test_free_space_cache(sectorsize, nodesize); sectorsize 273 fs/btrfs/tests/btrfs-tests.c ret = btrfs_test_extent_buffer_operations(sectorsize, sectorsize 277 fs/btrfs/tests/btrfs-tests.c ret = btrfs_test_extent_io(sectorsize, nodesize); sectorsize 280 fs/btrfs/tests/btrfs-tests.c ret = btrfs_test_inodes(sectorsize, nodesize); sectorsize 283 fs/btrfs/tests/btrfs-tests.c ret = btrfs_test_qgroups(sectorsize, nodesize); sectorsize 286 fs/btrfs/tests/btrfs-tests.c ret = btrfs_test_free_space_tree(sectorsize, nodesize); sectorsize 33 fs/btrfs/tests/btrfs-tests.h int btrfs_test_extent_buffer_operations(u32 sectorsize, u32 nodesize); sectorsize 34 fs/btrfs/tests/btrfs-tests.h int btrfs_test_free_space_cache(u32 sectorsize, u32 nodesize); sectorsize 35 fs/btrfs/tests/btrfs-tests.h int btrfs_test_extent_io(u32 sectorsize, u32 nodesize); sectorsize 36 fs/btrfs/tests/btrfs-tests.h int btrfs_test_inodes(u32 sectorsize, u32 nodesize); sectorsize 37 fs/btrfs/tests/btrfs-tests.h int btrfs_test_qgroups(u32 sectorsize, u32 nodesize); sectorsize 38 fs/btrfs/tests/btrfs-tests.h int btrfs_test_free_space_tree(u32 sectorsize, u32 nodesize); sectorsize 41 fs/btrfs/tests/btrfs-tests.h struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize); sectorsize 12 fs/btrfs/tests/extent-buffer-tests.c static int test_btrfs_split_item(u32 sectorsize, u32 nodesize) sectorsize 31 fs/btrfs/tests/extent-buffer-tests.c fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); sectorsize 221 fs/btrfs/tests/extent-buffer-tests.c int btrfs_test_extent_buffer_operations(u32 sectorsize, u32 nodesize) sectorsize 224 fs/btrfs/tests/extent-buffer-tests.c return test_btrfs_split_item(sectorsize, nodesize); sectorsize 59 fs/btrfs/tests/extent-io-tests.c static int test_find_delalloc(u32 sectorsize) sectorsize 113 fs/btrfs/tests/extent-io-tests.c set_extent_delalloc(tmp, 0, sectorsize - 1, 0, NULL); sectorsize 122 fs/btrfs/tests/extent-io-tests.c if (start != 0 || end != (sectorsize - 1)) { sectorsize 124 fs/btrfs/tests/extent-io-tests.c sectorsize - 1, start, end); sectorsize 144 fs/btrfs/tests/extent-io-tests.c set_extent_delalloc(tmp, sectorsize, max_bytes - 1, 0, NULL); sectorsize 172 fs/btrfs/tests/extent-io-tests.c test_start = max_bytes + sectorsize; sectorsize 379 fs/btrfs/tests/extent-io-tests.c static int test_eb_bitmaps(u32 sectorsize, u32 nodesize) sectorsize 393 fs/btrfs/tests/extent-io-tests.c len = (sectorsize < BTRFS_MAX_METADATA_BLOCKSIZE) sectorsize 394 fs/btrfs/tests/extent-io-tests.c ? sectorsize * 4 : sectorsize; sectorsize 546 fs/btrfs/tests/extent-io-tests.c int btrfs_test_extent_io(u32 sectorsize, u32 nodesize) sectorsize 552 fs/btrfs/tests/extent-io-tests.c ret = test_find_delalloc(sectorsize); sectorsize 560 fs/btrfs/tests/extent-io-tests.c ret = test_eb_bitmaps(sectorsize, nodesize); sectorsize 91 fs/btrfs/tests/free-space-tests.c u32 sectorsize) sectorsize 131 fs/btrfs/tests/free-space-tests.c next_bitmap_offset = (u64)(BITS_PER_BITMAP * sectorsize); sectorsize 160 fs/btrfs/tests/free-space-tests.c u32 sectorsize) sectorsize 162 fs/btrfs/tests/free-space-tests.c u64 bitmap_offset = (u64)(BITS_PER_BITMAP * sectorsize); sectorsize 397 fs/btrfs/tests/free-space-tests.c u32 sectorsize) sectorsize 535 fs/btrfs/tests/free-space-tests.c ret = btrfs_add_free_space(cache, SZ_128M + SZ_16M, sectorsize); sectorsize 593 fs/btrfs/tests/free-space-tests.c if (cache->free_space_ctl->free_space != (SZ_1M + sectorsize)) { sectorsize 594 fs/btrfs/tests/free-space-tests.c test_err("cache free space is not 1Mb + %u", sectorsize); sectorsize 616 fs/btrfs/tests/free-space-tests.c if (cache->free_space_ctl->free_space != sectorsize) { sectorsize 617 fs/btrfs/tests/free-space-tests.c test_err("cache free space is not %u", sectorsize); sectorsize 622 fs/btrfs/tests/free-space-tests.c 0, sectorsize, 0, sectorsize 626 fs/btrfs/tests/free-space-tests.c sectorsize, offset); sectorsize 733 fs/btrfs/tests/free-space-tests.c ret = btrfs_add_free_space(cache, SZ_32M, 2 * sectorsize); sectorsize 783 fs/btrfs/tests/free-space-tests.c if (cache->free_space_ctl->free_space != (SZ_1M + 2 * sectorsize)) { sectorsize 784 fs/btrfs/tests/free-space-tests.c test_err("cache free space is not 1Mb + %u", 2 * sectorsize); sectorsize 805 fs/btrfs/tests/free-space-tests.c if (cache->free_space_ctl->free_space != 2 * sectorsize) { sectorsize 806 fs/btrfs/tests/free-space-tests.c test_err("cache free space is not %u", 2 * sectorsize); sectorsize 811 fs/btrfs/tests/free-space-tests.c 0, 2 * sectorsize, 0, sectorsize 815 fs/btrfs/tests/free-space-tests.c 2 * sectorsize, offset); sectorsize 829 fs/btrfs/tests/free-space-tests.c int btrfs_test_free_space_cache(u32 sectorsize, u32 nodesize) sectorsize 837 fs/btrfs/tests/free-space-tests.c fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); sectorsize 849 fs/btrfs/tests/free-space-tests.c BITS_PER_BITMAP * sectorsize + PAGE_SIZE); sectorsize 868 fs/btrfs/tests/free-space-tests.c ret = test_bitmaps(cache, sectorsize); sectorsize 871 fs/btrfs/tests/free-space-tests.c ret = test_bitmaps_and_extents(cache, sectorsize); sectorsize 875 fs/btrfs/tests/free-space-tests.c ret = test_steal_space_from_bitmap_to_extent(cache, sectorsize); sectorsize 72 fs/btrfs/tests/free-space-tree-tests.c offset += fs_info->sectorsize; sectorsize 436 fs/btrfs/tests/free-space-tree-tests.c static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, sectorsize 446 fs/btrfs/tests/free-space-tree-tests.c fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); sectorsize 534 fs/btrfs/tests/free-space-tree-tests.c static int run_test_both_formats(test_func_t test_func, u32 sectorsize, sectorsize 540 fs/btrfs/tests/free-space-tree-tests.c ret = run_test(test_func, 0, sectorsize, nodesize, alignment); sectorsize 544 fs/btrfs/tests/free-space-tree-tests.c test_func, sectorsize, nodesize, alignment); sectorsize 548 fs/btrfs/tests/free-space-tree-tests.c ret = run_test(test_func, 1, sectorsize, nodesize, alignment); sectorsize 552 fs/btrfs/tests/free-space-tree-tests.c test_func, sectorsize, nodesize, alignment); sectorsize 559 fs/btrfs/tests/free-space-tree-tests.c int btrfs_test_free_space_tree(u32 sectorsize, u32 nodesize) sectorsize 586 fs/btrfs/tests/free-space-tree-tests.c ret = run_test_both_formats(tests[i], sectorsize, nodesize, sectorsize 587 fs/btrfs/tests/free-space-tree-tests.c sectorsize); sectorsize 591 fs/btrfs/tests/free-space-tree-tests.c ret = run_test_both_formats(tests[i], sectorsize, nodesize, sectorsize 89 fs/btrfs/tests/inode-tests.c static void setup_file_extents(struct btrfs_root *root, u32 sectorsize) sectorsize 110 fs/btrfs/tests/inode-tests.c offset = sectorsize; sectorsize 119 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize - 1, sectorsize - 1, 0, sectorsize 120 fs/btrfs/tests/inode-tests.c disk_bytenr, sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot); sectorsize 122 fs/btrfs/tests/inode-tests.c disk_bytenr += sectorsize; sectorsize 123 fs/btrfs/tests/inode-tests.c offset += sectorsize - 1; sectorsize 129 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, 4 * sectorsize, 0, disk_bytenr, sectorsize 130 fs/btrfs/tests/inode-tests.c 4 * sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot); sectorsize 132 fs/btrfs/tests/inode-tests.c offset += sectorsize; sectorsize 133 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, sectorsize, 0, 0, 0, sectorsize 136 fs/btrfs/tests/inode-tests.c offset += sectorsize; sectorsize 137 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, 2 * sectorsize, 4 * sectorsize, sectorsize 138 fs/btrfs/tests/inode-tests.c 2 * sectorsize, disk_bytenr, 4 * sectorsize, sectorsize 141 fs/btrfs/tests/inode-tests.c offset += 2 * sectorsize; sectorsize 142 fs/btrfs/tests/inode-tests.c disk_bytenr += 4 * sectorsize; sectorsize 145 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, sectorsize, 0, disk_bytenr, sectorsize 146 fs/btrfs/tests/inode-tests.c sectorsize, BTRFS_FILE_EXTENT_PREALLOC, 0, slot); sectorsize 148 fs/btrfs/tests/inode-tests.c offset += sectorsize; sectorsize 154 fs/btrfs/tests/inode-tests.c disk_bytenr += 2 * sectorsize; sectorsize 161 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, 4 * sectorsize, 0, disk_bytenr, sectorsize 162 fs/btrfs/tests/inode-tests.c 4 * sectorsize, BTRFS_FILE_EXTENT_PREALLOC, 0, slot); sectorsize 164 fs/btrfs/tests/inode-tests.c offset += sectorsize; sectorsize 165 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, 4 * sectorsize, sectorsize, sectorsize 166 fs/btrfs/tests/inode-tests.c disk_bytenr, 4 * sectorsize, BTRFS_FILE_EXTENT_REG, 0, sectorsize 169 fs/btrfs/tests/inode-tests.c offset += sectorsize; sectorsize 170 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, 2 * sectorsize, 4 * sectorsize, sectorsize 171 fs/btrfs/tests/inode-tests.c 2 * sectorsize, disk_bytenr, 4 * sectorsize, sectorsize 174 fs/btrfs/tests/inode-tests.c offset += 2 * sectorsize; sectorsize 175 fs/btrfs/tests/inode-tests.c disk_bytenr += 4 * sectorsize; sectorsize 178 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, 2 * sectorsize, 2 * sectorsize, 0, sectorsize 179 fs/btrfs/tests/inode-tests.c disk_bytenr, sectorsize, BTRFS_FILE_EXTENT_REG, sectorsize 182 fs/btrfs/tests/inode-tests.c offset += 2 * sectorsize; sectorsize 184 fs/btrfs/tests/inode-tests.c disk_bytenr += 2 * sectorsize; sectorsize 187 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, 4 * sectorsize, 0, disk_bytenr, sectorsize 188 fs/btrfs/tests/inode-tests.c sectorsize, BTRFS_FILE_EXTENT_REG, sectorsize 191 fs/btrfs/tests/inode-tests.c offset += sectorsize; sectorsize 192 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, sectorsize, 0, sectorsize 193 fs/btrfs/tests/inode-tests.c disk_bytenr + sectorsize, sectorsize, sectorsize 196 fs/btrfs/tests/inode-tests.c offset += sectorsize; sectorsize 197 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, 2 * sectorsize, 4 * sectorsize, sectorsize 198 fs/btrfs/tests/inode-tests.c 2 * sectorsize, disk_bytenr, sectorsize, sectorsize 201 fs/btrfs/tests/inode-tests.c offset += 2 * sectorsize; sectorsize 202 fs/btrfs/tests/inode-tests.c disk_bytenr += 2 * sectorsize; sectorsize 205 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, sectorsize, 0, disk_bytenr, sectorsize 206 fs/btrfs/tests/inode-tests.c sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot); sectorsize 208 fs/btrfs/tests/inode-tests.c offset += 4 * sectorsize; sectorsize 209 fs/btrfs/tests/inode-tests.c disk_bytenr += sectorsize; sectorsize 210 fs/btrfs/tests/inode-tests.c insert_extent(root, offset, sectorsize, sectorsize, 0, disk_bytenr, sectorsize 211 fs/btrfs/tests/inode-tests.c sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot); sectorsize 218 fs/btrfs/tests/inode-tests.c static noinline int test_btrfs_get_extent(u32 sectorsize, u32 nodesize) sectorsize 242 fs/btrfs/tests/inode-tests.c fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); sectorsize 266 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, 0, sectorsize, 0); sectorsize 284 fs/btrfs/tests/inode-tests.c setup_file_extents(root, sectorsize); sectorsize 308 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 318 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != (sectorsize - 5)) { sectorsize 336 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 359 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 368 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize - 1) { sectorsize 387 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 396 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 399 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 416 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 425 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 428 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 438 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 447 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != 2 * sectorsize) { sectorsize 450 fs/btrfs/tests/inode-tests.c offset, 2 * sectorsize, em->start, em->len); sectorsize 472 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 481 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 484 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 501 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 510 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 513 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 531 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 540 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 543 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 564 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 573 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != 2 * sectorsize) { sectorsize 576 fs/btrfs/tests/inode-tests.c offset, 2 * sectorsize, em->start, em->len); sectorsize 599 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 608 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != 2 * sectorsize) { sectorsize 611 fs/btrfs/tests/inode-tests.c offset, 2 * sectorsize, em->start, em->len); sectorsize 633 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 642 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 645 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 668 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 677 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 680 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 695 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 705 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != 2 * sectorsize) { sectorsize 708 fs/btrfs/tests/inode-tests.c offset, 2 * sectorsize, em->start, em->len); sectorsize 731 fs/btrfs/tests/inode-tests.c sectorsize, 0); sectorsize 740 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 743 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 772 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != 3 * sectorsize) { sectorsize 775 fs/btrfs/tests/inode-tests.c offset, 3 * sectorsize, em->start, em->len); sectorsize 791 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, offset, sectorsize, 0); sectorsize 800 fs/btrfs/tests/inode-tests.c if (em->start != offset || em->len != sectorsize) { sectorsize 803 fs/btrfs/tests/inode-tests.c offset, sectorsize, em->start, em->len); sectorsize 825 fs/btrfs/tests/inode-tests.c static int test_hole_first(u32 sectorsize, u32 nodesize) sectorsize 845 fs/btrfs/tests/inode-tests.c fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); sectorsize 873 fs/btrfs/tests/inode-tests.c insert_extent(root, sectorsize, sectorsize, sectorsize, 0, sectorsize, sectorsize 874 fs/btrfs/tests/inode-tests.c sectorsize, BTRFS_FILE_EXTENT_REG, 0, 1); sectorsize 875 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, 0, 2 * sectorsize, 0); sectorsize 884 fs/btrfs/tests/inode-tests.c if (em->start != 0 || em->len != sectorsize) { sectorsize 887 fs/btrfs/tests/inode-tests.c sectorsize, em->start, em->len); sectorsize 897 fs/btrfs/tests/inode-tests.c em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, sectorsize, sectorsize 898 fs/btrfs/tests/inode-tests.c 2 * sectorsize, 0); sectorsize 903 fs/btrfs/tests/inode-tests.c if (em->block_start != sectorsize) { sectorsize 907 fs/btrfs/tests/inode-tests.c if (em->start != sectorsize || em->len != sectorsize) { sectorsize 910 fs/btrfs/tests/inode-tests.c sectorsize, sectorsize, em->start, em->len); sectorsize 928 fs/btrfs/tests/inode-tests.c static int test_extent_accounting(u32 sectorsize, u32 nodesize) sectorsize 943 fs/btrfs/tests/inode-tests.c fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); sectorsize 974 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + sectorsize - 1, sectorsize 990 fs/btrfs/tests/inode-tests.c (BTRFS_MAX_EXTENT_SIZE >> 1) + sectorsize - 1, sectorsize 1006 fs/btrfs/tests/inode-tests.c + sectorsize - 1, sectorsize 1023 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + 2 * sectorsize, sectorsize 1024 fs/btrfs/tests/inode-tests.c (BTRFS_MAX_EXTENT_SIZE << 1) + 3 * sectorsize - 1, sectorsize 1041 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + sectorsize, sectorsize 1042 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + 2 * sectorsize - 1, 0, NULL); sectorsize 1056 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + sectorsize, sectorsize 1057 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + 2 * sectorsize - 1, sectorsize 1075 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + sectorsize, sectorsize 1076 fs/btrfs/tests/inode-tests.c BTRFS_MAX_EXTENT_SIZE + 2 * sectorsize - 1, 0, NULL); sectorsize 1112 fs/btrfs/tests/inode-tests.c int btrfs_test_inodes(u32 sectorsize, u32 nodesize) sectorsize 1121 fs/btrfs/tests/inode-tests.c ret = test_btrfs_get_extent(sectorsize, nodesize); sectorsize 1124 fs/btrfs/tests/inode-tests.c ret = test_hole_first(sectorsize, nodesize); sectorsize 1127 fs/btrfs/tests/inode-tests.c return test_extent_accounting(sectorsize, nodesize); sectorsize 208 fs/btrfs/tests/qgroup-tests.c u32 sectorsize, u32 nodesize) sectorsize 309 fs/btrfs/tests/qgroup-tests.c u32 sectorsize, u32 nodesize) sectorsize 451 fs/btrfs/tests/qgroup-tests.c int btrfs_test_qgroups(u32 sectorsize, u32 nodesize) sectorsize 458 fs/btrfs/tests/qgroup-tests.c fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize); sectorsize 526 fs/btrfs/tests/qgroup-tests.c ret = test_no_shared_qgroup(root, sectorsize, nodesize); sectorsize 529 fs/btrfs/tests/qgroup-tests.c ret = test_multiple_refs(root, sectorsize, nodesize); sectorsize 119 fs/btrfs/tree-checker.c end = ALIGN(key->offset + len, leaf->fs_info->sectorsize); sectorsize 133 fs/btrfs/tree-checker.c u32 sectorsize = fs_info->sectorsize; sectorsize 137 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->offset, sectorsize)) { sectorsize 140 fs/btrfs/tree-checker.c key->offset, sectorsize); sectorsize 204 fs/btrfs/tree-checker.c if (CHECK_FE_ALIGNED(leaf, slot, fi, ram_bytes, sectorsize) || sectorsize 205 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, disk_bytenr, sectorsize) || sectorsize 206 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, disk_num_bytes, sectorsize) || sectorsize 207 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, offset, sectorsize) || sectorsize 208 fs/btrfs/tree-checker.c CHECK_FE_ALIGNED(leaf, slot, fi, num_bytes, sectorsize)) sectorsize 249 fs/btrfs/tree-checker.c u32 sectorsize = fs_info->sectorsize; sectorsize 258 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->offset, sectorsize)) { sectorsize 261 fs/btrfs/tree-checker.c key->offset, sectorsize); sectorsize 275 fs/btrfs/tree-checker.c prev_csum_end = (prev_item_size / csumsize) * sectorsize; sectorsize 592 fs/btrfs/tree-checker.c if (!IS_ALIGNED(logical, fs_info->sectorsize)) { sectorsize 595 fs/btrfs/tree-checker.c logical, fs_info->sectorsize); sectorsize 598 fs/btrfs/tree-checker.c if (btrfs_chunk_sector_size(leaf, chunk) != fs_info->sectorsize) { sectorsize 602 fs/btrfs/tree-checker.c fs_info->sectorsize); sectorsize 605 fs/btrfs/tree-checker.c if (!length || !IS_ALIGNED(length, fs_info->sectorsize)) { sectorsize 890 fs/btrfs/tree-checker.c if (!IS_ALIGNED(btrfs_root_bytenr(&ri), fs_info->sectorsize)) { sectorsize 893 fs/btrfs/tree-checker.c btrfs_root_bytenr(&ri), fs_info->sectorsize); sectorsize 971 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->objectid, fs_info->sectorsize)) { sectorsize 974 fs/btrfs/tree-checker.c key->objectid, fs_info->sectorsize); sectorsize 1051 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->offset, fs_info->sectorsize)) { sectorsize 1054 fs/btrfs/tree-checker.c key->offset, fs_info->sectorsize); sectorsize 1107 fs/btrfs/tree-checker.c if (!IS_ALIGNED(inline_offset, fs_info->sectorsize)) { sectorsize 1110 fs/btrfs/tree-checker.c inline_offset, fs_info->sectorsize); sectorsize 1122 fs/btrfs/tree-checker.c if (!IS_ALIGNED(dref_offset, fs_info->sectorsize)) { sectorsize 1125 fs/btrfs/tree-checker.c dref_offset, fs_info->sectorsize); sectorsize 1133 fs/btrfs/tree-checker.c if (!IS_ALIGNED(inline_offset, fs_info->sectorsize)) { sectorsize 1136 fs/btrfs/tree-checker.c inline_offset, fs_info->sectorsize); sectorsize 1180 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->objectid, leaf->fs_info->sectorsize)) { sectorsize 1183 fs/btrfs/tree-checker.c key->objectid, leaf->fs_info->sectorsize); sectorsize 1187 fs/btrfs/tree-checker.c !IS_ALIGNED(key->offset, leaf->fs_info->sectorsize)) { sectorsize 1190 fs/btrfs/tree-checker.c key->offset, leaf->fs_info->sectorsize); sectorsize 1209 fs/btrfs/tree-checker.c if (!IS_ALIGNED(key->objectid, leaf->fs_info->sectorsize)) { sectorsize 1212 fs/btrfs/tree-checker.c key->objectid, leaf->fs_info->sectorsize); sectorsize 1232 fs/btrfs/tree-checker.c if (!IS_ALIGNED(offset, leaf->fs_info->sectorsize)) { sectorsize 1235 fs/btrfs/tree-checker.c offset, leaf->fs_info->sectorsize); sectorsize 1481 fs/btrfs/tree-checker.c if (!IS_ALIGNED(bytenr, fs_info->sectorsize)) { sectorsize 1484 fs/btrfs/tree-checker.c bytenr, fs_info->sectorsize); sectorsize 614 fs/btrfs/tree-log.c fs_info->sectorsize); sectorsize 2618 fs/btrfs/tree-log.c root->fs_info->sectorsize); sectorsize 4667 fs/btrfs/tree-log.c fs_info->sectorsize); sectorsize 4681 fs/btrfs/tree-log.c hole_len = ALIGN(i_size - prev_extent_end, fs_info->sectorsize); sectorsize 2658 fs/btrfs/volumes.c device->io_width = fs_info->sectorsize; sectorsize 2659 fs/btrfs/volumes.c device->io_align = fs_info->sectorsize; sectorsize 2660 fs/btrfs/volumes.c device->sector_size = fs_info->sectorsize; sectorsize 2662 fs/btrfs/volumes.c fs_info->sectorsize); sectorsize 2702 fs/btrfs/volumes.c fs_info->sectorsize)); sectorsize 2867 fs/btrfs/volumes.c new_size = round_down(new_size, fs_info->sectorsize); sectorsize 2871 fs/btrfs/volumes.c diff = round_down(new_size - device->total_bytes, fs_info->sectorsize); sectorsize 2880 fs/btrfs/volumes.c round_down(old_total + diff, fs_info->sectorsize)); sectorsize 4736 fs/btrfs/volumes.c new_size = round_down(new_size, fs_info->sectorsize); sectorsize 4738 fs/btrfs/volumes.c diff = round_down(old_size - new_size, fs_info->sectorsize); sectorsize 4874 fs/btrfs/volumes.c round_down(old_total - diff, fs_info->sectorsize)); sectorsize 5311 fs/btrfs/volumes.c btrfs_set_stack_chunk_sector_size(chunk, fs_info->sectorsize); sectorsize 5483 fs/btrfs/volumes.c unsigned long len = fs_info->sectorsize; sectorsize 704 fs/udf/super.c int sectorsize; sectorsize 711 fs/udf/super.c sectorsize = sizeof(struct volStructDesc); sectorsize 713 fs/udf/super.c sectorsize = sb->s_blocksize; sectorsize 730 fs/udf/super.c for (; !nsr && sector < VSD_MAX_SECTOR_OFFSET; sector += sectorsize) { sectorsize 1714 fs/xfs/xfs_buf.c unsigned int sectorsize) sectorsize 1717 fs/xfs/xfs_buf.c btp->bt_meta_sectorsize = sectorsize; sectorsize 1718 fs/xfs/xfs_buf.c btp->bt_meta_sectormask = sectorsize - 1; sectorsize 1720 fs/xfs/xfs_buf.c if (set_blocksize(btp->bt_bdev, sectorsize)) { sectorsize 1723 fs/xfs/xfs_buf.c sectorsize, btp->bt_bdev); sectorsize 232 include/uapi/linux/btrfs.h __u32 sectorsize; /* out */