Home
last modified time | relevance | path

Searched refs:blockmask (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/usb/storage/
Dsddr55.c101 int blockmask; /* 2^blockshift - 1 */ member
590 info->blockmask = 15; in sddr55_get_capacity()
621 info->blockmask = 31; in sddr55_get_capacity()
627 info->blockmask = 31; in sddr55_get_capacity()
633 info->blockmask = 31; in sddr55_get_capacity()
639 info->blockmask = 31; in sddr55_get_capacity()
932 page = page & info->blockmask; in sddr55_transport()
Dalauda.c100 unsigned int blockmask; /* mask to get page from address */ member
447 MEDIA_INFO(us).blockmask = MEDIA_INFO(us).blocksize - 1; in alauda_init_media()
951 page = (address & MEDIA_INFO(us).blockmask); in alauda_read_data()
1055 page = (address & MEDIA_INFO(us).blockmask); in alauda_write_data()
Dsddr09.c267 int blockmask; /* 2^blockshift - 1 */ member
761 page = (address & info->blockmask); in sddr09_read_data()
990 page = (address & info->blockmask); in sddr09_write_data()
1614 info->blockmask = info->blocksize - 1; in sddr09_transport()
/linux-2.6.39/fs/ext4/
Dfile.c79 int blockmask = sb->s_blocksize - 1; in ext4_unaligned_aio() local
86 if ((pos & blockmask) || (final_size & blockmask)) in ext4_unaligned_aio()
/linux-2.6.39/drivers/mtd/nand/
Dalauda.c74 u32 blockmask; member
498 if ((ofs & al->blockmask) || (len & al->blockmask)) in __alauda_erase()
580 al->blockmask = (1 << card->blockshift) - 1; in alauda_init_media()
Dnand_base.c2168 int chipnr, realpage, page, blockmask, column; in nand_do_write_ops() local
2206 blockmask = (1 << (chip->phys_erase_shift - chip->page_shift)) - 1; in nand_do_write_ops()
2223 int cached = writelen > bytes && page != blockmask; in nand_do_write_ops()