Lines Matching full:part
150 * @param part the returned partition structure.
156 int dfs_filesystem_get_partition(struct dfs_partition *part, in dfs_filesystem_get_partition() argument
166 RT_ASSERT(part != NULL); in dfs_filesystem_get_partition()
182 part->type = type; in dfs_filesystem_get_partition()
183 part->offset = *(dpt+8) | *(dpt+9)<<8 | *(dpt+10)<<16 | *(dpt+11)<<24; in dfs_filesystem_get_partition()
184 part->size = *(dpt+12) | *(dpt+13)<<8 | *(dpt+14)<<16 | *(dpt+15)<<24; in dfs_filesystem_get_partition()
186 rt_kprintf("found part[%d], begin: %d, size: ", in dfs_filesystem_get_partition()
187 pindex, part->offset*512); in dfs_filesystem_get_partition()
188 if ((part->size>>11) == 0) in dfs_filesystem_get_partition()
189 rt_kprintf("%d%s",part->size>>1,"KB\n"); /* KB */ in dfs_filesystem_get_partition()
193 part_size = part->size >> 11; /* MB */ in dfs_filesystem_get_partition()
195 rt_kprintf("%d.%d%s",part_size,(part->size>>1)&0x3FF,"MB\n"); in dfs_filesystem_get_partition()