Searched refs:blockshift (Results 1 – 4 of 4) sorted by relevance
56 int blockshift; /* log2 of blocksize */ member343 address = (pba << info->blockshift) + page; in sddr55_read_data()542 address = (pba << info->blockshift) + page; in sddr55_write_data()600 new_pba = (status[3] + (status[4] << 8) + (status[5] << 16)) >> info->blockshift; in sddr55_write_data()714 info->blockshift = 4; in sddr55_get_capacity()745 info->blockshift = 5; in sddr55_get_capacity()751 info->blockshift = 5; in sddr55_get_capacity()757 info->blockshift = 5; in sddr55_get_capacity()763 info->blockshift = 5; in sddr55_get_capacity()787 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map()[all …]
54 char blockshift; /* 1<<bs pages in an erase block */ member844 lba = address >> info->blockshift; in sddr09_read_data()846 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data()888 address = ((pba << info->blockshift) + page) << in sddr09_read_data()929 int numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_find_unused_pba()977 blocklen = (pagelen << info->blockshift); in sddr09_write_lba()985 address = (pba << (info->pageshift + info->blockshift)); in sddr09_write_lba()992 for (i = 0; i < info->blockshift; i++) { in sddr09_write_lba()1100 lba = address >> info->blockshift; in sddr09_write_data()1296 (info->blockshift + info->pageshift - CONTROL_SHIFT); in sddr09_read_map()[all …]
39 int blockshift; /* log2 of blocksize */ member
99 unsigned int blockshift) in xfs_max_file_offset() argument119 pagefactor = PAGE_CACHE_SIZE >> (PAGE_CACHE_SHIFT - blockshift); in xfs_max_file_offset()