Home
last modified time | relevance | path

Searched refs:blockshift (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/usb/storage/
Dsddr55.c56 int blockshift; /* log2 of blocksize */ member
343 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 …]
Dsddr09.c54 char blockshift; /* 1<<bs pages in an erase block */ member
844 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 …]
Dsddr09.h39 int blockshift; /* log2 of blocksize */ member
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_super.c99 unsigned int blockshift) in xfs_max_file_offset() argument
119 pagefactor = PAGE_CACHE_SIZE >> (PAGE_CACHE_SHIFT - blockshift); in xfs_max_file_offset()