block0 456 drivers/mtd/devices/docg3.c static int doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, block0 462 drivers/mtd/devices/docg3.c block0, block1, page, ofs, wear); block0 481 drivers/mtd/devices/docg3.c sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); block0 505 drivers/mtd/devices/docg3.c static int doc_write_seek(struct docg3 *docg3, int block0, int block1, int page, block0 511 drivers/mtd/devices/docg3.c block0, block1, page, ofs); block0 528 drivers/mtd/devices/docg3.c sector = (block0 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); block0 695 drivers/mtd/devices/docg3.c static int doc_read_page_prepare(struct docg3 *docg3, int block0, int block1, block0 701 drivers/mtd/devices/docg3.c block0, block1, page, offset); block0 713 drivers/mtd/devices/docg3.c ret = doc_read_seek(docg3, block0, block1, page, wear_area, offset); block0 832 drivers/mtd/devices/docg3.c static void calc_block_sector(loff_t from, int *block0, int *block1, int *page, block0 842 drivers/mtd/devices/docg3.c *block0 = sector / pages_biblock * DOC_LAYOUT_NBPLANES; block0 843 drivers/mtd/devices/docg3.c *block1 = *block0 + 1; block0 869 drivers/mtd/devices/docg3.c int block0, block1, page, ret, skip, ofs = 0; block0 899 drivers/mtd/devices/docg3.c calc_block_sector(from - skip, &block0, &block1, &page, &ofs, block0 903 drivers/mtd/devices/docg3.c ret = doc_read_page_prepare(docg3, block0, block1, page, ofs); block0 940 drivers/mtd/devices/docg3.c if ((block0 >= DOC_LAYOUT_BLOCK_FIRST_DATA) && block0 1008 drivers/mtd/devices/docg3.c int block0, block1, page, ofs, is_good; block0 1010 drivers/mtd/devices/docg3.c calc_block_sector(from, &block0, &block1, &page, &ofs, block0 1013 drivers/mtd/devices/docg3.c from, block0, block1, page, ofs); block0 1015 drivers/mtd/devices/docg3.c if (block0 < DOC_LAYOUT_BLOCK_FIRST_DATA) block0 1020 drivers/mtd/devices/docg3.c is_good = docg3->bbt[block0 >> 3] & (1 << (block0 & 0x7)); block0 1039 drivers/mtd/devices/docg3.c int block0, block1, page, ofs; block0 1044 drivers/mtd/devices/docg3.c calc_block_sector(from, &block0, &block1, &page, &ofs, docg3->reliable); block0 1050 drivers/mtd/devices/docg3.c ret = doc_read_page_prepare(docg3, block0, block1, page, block0 1134 drivers/mtd/devices/docg3.c static int doc_erase_block(struct docg3 *docg3, int block0, int block1) block0 1138 drivers/mtd/devices/docg3.c doc_dbg("doc_erase_block(blocks=(%d,%d))\n", block0, block1); block0 1146 drivers/mtd/devices/docg3.c sector = block0 << DOC_ADDR_BLOCK_SHIFT; block0 1158 drivers/mtd/devices/docg3.c doc_err("Erase blocks %d,%d error\n", block0, block1); block0 1180 drivers/mtd/devices/docg3.c int block0, block1, page, ret = 0, ofs = 0; block0 1184 drivers/mtd/devices/docg3.c calc_block_sector(info->addr + info->len, &block0, &block1, &page, block0 1189 drivers/mtd/devices/docg3.c calc_block_sector(info->addr, &block0, &block1, &page, &ofs, block0 1195 drivers/mtd/devices/docg3.c ret = doc_erase_block(docg3, block0, block1); block0 1196 drivers/mtd/devices/docg3.c block0 += 2; block0 1226 drivers/mtd/devices/docg3.c int block0, block1, page, ret, ofs = 0; block0 1230 drivers/mtd/devices/docg3.c calc_block_sector(to, &block0, &block1, &page, &ofs, docg3->reliable); block0 1238 drivers/mtd/devices/docg3.c ret = doc_write_seek(docg3, block0, block1, page, ofs); block0 267 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.c MLXSW_SP2_AFK_BLOCK_LAYOUT(block0, 0x30, 0), block0 399 fs/cachefiles/rdwr.c sector_t block0, block; block0 431 fs/cachefiles/rdwr.c block0 = page->index; block0 432 fs/cachefiles/rdwr.c block0 <<= shift; block0 434 fs/cachefiles/rdwr.c block = inode->i_mapping->a_ops->bmap(inode->i_mapping, block0); block0 436 fs/cachefiles/rdwr.c (unsigned long long) block0, block0 731 fs/cachefiles/rdwr.c sector_t block0, block; block0 739 fs/cachefiles/rdwr.c block0 = page->index; block0 740 fs/cachefiles/rdwr.c block0 <<= shift; block0 743 fs/cachefiles/rdwr.c block0); block0 745 fs/cachefiles/rdwr.c (unsigned long long) block0,