boffset           192 drivers/mtd/sm_ftl.c static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset)
boffset           194 drivers/mtd/sm_ftl.c 	WARN_ON(boffset & (SM_SECTOR_SIZE - 1));
boffset           197 drivers/mtd/sm_ftl.c 	WARN_ON(boffset >= ftl->block_size);
boffset           202 drivers/mtd/sm_ftl.c 	return (zone * SM_MAX_ZONE_SIZE + block) * ftl->block_size + boffset;
boffset           207 drivers/mtd/sm_ftl.c 			    int *zone, int *block, int *boffset)
boffset           210 drivers/mtd/sm_ftl.c 	*boffset = do_div(offset, ftl->block_size);
boffset           239 drivers/mtd/sm_ftl.c 			  int zone, int block, int boffset,
boffset           269 drivers/mtd/sm_ftl.c 		if (zone == 0 && block == ftl->cis_block && boffset ==
boffset           280 drivers/mtd/sm_ftl.c 	ret = mtd_read_oob(mtd, sm_mkoffset(ftl, zone, block, boffset), &ops);
boffset           321 drivers/mtd/sm_ftl.c 			   int zone, int block, int boffset,
boffset           345 drivers/mtd/sm_ftl.c 	ret = mtd_write_oob(mtd, sm_mkoffset(ftl, zone, block, boffset), &ops);
boffset           372 drivers/mtd/sm_ftl.c 	int boffset;
boffset           382 drivers/mtd/sm_ftl.c 	for (boffset = 0; boffset < ftl->block_size;
boffset           383 drivers/mtd/sm_ftl.c 				boffset += SM_SECTOR_SIZE) {
boffset           387 drivers/mtd/sm_ftl.c 		if (test_bit(boffset / SM_SECTOR_SIZE, &invalid_bitmap)) {
boffset           391 drivers/mtd/sm_ftl.c 				boffset / SM_SECTOR_SIZE, lba, zone);
boffset           397 drivers/mtd/sm_ftl.c 			__nand_calculate_ecc(buf + boffset, SM_SMALL_PAGE,
boffset           401 drivers/mtd/sm_ftl.c 			__nand_calculate_ecc(buf + boffset + SM_SMALL_PAGE,
boffset           405 drivers/mtd/sm_ftl.c 		if (!sm_write_sector(ftl, zone, block, boffset,
boffset           406 drivers/mtd/sm_ftl.c 							buf + boffset, &oob))
boffset           435 drivers/mtd/sm_ftl.c 	int boffset;
boffset           451 drivers/mtd/sm_ftl.c 	for (boffset = 0; boffset < ftl->block_size; boffset += SM_SECTOR_SIZE)
boffset           452 drivers/mtd/sm_ftl.c 		sm_write_sector(ftl, zone, block, boffset, NULL, &oob);
boffset           498 drivers/mtd/sm_ftl.c 	int boffset;
boffset           508 drivers/mtd/sm_ftl.c 	for (boffset = 0; boffset < ftl->block_size;
boffset           509 drivers/mtd/sm_ftl.c 					boffset += SM_SECTOR_SIZE) {
boffset           512 drivers/mtd/sm_ftl.c 		if (sm_read_sector(ftl, zone, block, boffset, NULL, &oob))
boffset           675 drivers/mtd/sm_ftl.c 	int block, boffset;
boffset           695 drivers/mtd/sm_ftl.c 	for (boffset = 0 ; boffset < ftl->block_size;
boffset           696 drivers/mtd/sm_ftl.c 						boffset += SM_SECTOR_SIZE) {
boffset           698 drivers/mtd/sm_ftl.c 		if (sm_read_sector(ftl, 0, block, boffset, NULL, &oob))
boffset           706 drivers/mtd/sm_ftl.c 	if (boffset == ftl->block_size)
boffset           710 drivers/mtd/sm_ftl.c 	ftl->cis_boffset = boffset;
boffset           723 drivers/mtd/sm_ftl.c 				boffset + ftl->cis_page_offset);
boffset           898 drivers/mtd/sm_ftl.c static void sm_cache_put(struct sm_ftl *ftl, char *buffer, int boffset)
boffset           900 drivers/mtd/sm_ftl.c 	memcpy(ftl->cache_data + boffset, buffer, SM_SECTOR_SIZE);
boffset           901 drivers/mtd/sm_ftl.c 	clear_bit(boffset / SM_SECTOR_SIZE, &ftl->cache_data_invalid_bitmap);
boffset           906 drivers/mtd/sm_ftl.c static int sm_cache_get(struct sm_ftl *ftl, char *buffer, int boffset)
boffset           908 drivers/mtd/sm_ftl.c 	if (test_bit(boffset / SM_SECTOR_SIZE,
boffset           912 drivers/mtd/sm_ftl.c 	memcpy(buffer, ftl->cache_data + boffset, SM_SECTOR_SIZE);
boffset          1005 drivers/mtd/sm_ftl.c 	int zone_num, block, boffset;
boffset          1007 drivers/mtd/sm_ftl.c 	sm_break_offset(ftl, sect_no << 9, &zone_num, &block, &boffset);
boffset          1020 drivers/mtd/sm_ftl.c 		if (!sm_cache_get(ftl, buf, boffset))
boffset          1032 drivers/mtd/sm_ftl.c 	if (sm_read_sector(ftl, zone_num, block, boffset, buf, NULL)) {
boffset          1038 drivers/mtd/sm_ftl.c 		sm_cache_put(ftl, buf, boffset);
boffset          1050 drivers/mtd/sm_ftl.c 	int error = 0, zone_num, block, boffset;
boffset          1053 drivers/mtd/sm_ftl.c 	sm_break_offset(ftl, sec_no << 9, &zone_num, &block, &boffset);
boffset          1076 drivers/mtd/sm_ftl.c 	sm_cache_put(ftl, buf, boffset);
boffset          10419 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 		ldst_cmd.u.i2c.boffset = offset;
boffset           964 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h 			u8 boffset;
boffset           971 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h 			u8 boffset;
boffset          2094 fs/xfs/xfs_trace.h 		__field(int, boffset)
boffset          2105 fs/xfs/xfs_trace.h 		__entry->boffset = in_f->ilf_boffset;
boffset          2117 fs/xfs/xfs_trace.h 		  __entry->boffset)