* question regarding blk_rq_pos() calls in block.c
@ 2011-08-01 20:44 J Freyensee
0 siblings, 0 replies; only message in thread
From: J Freyensee @ 2011-08-01 20:44 UTC (permalink / raw)
To: linux-mmc
In the driver block.c there is this line:
do {
struct mmc_command cmd;
u32 readcmd, writecmd, status = 0;
memset(&brq, 0, sizeof(struct mmc_blk_request));
brq.mrq.cmd = &brq.cmd;
brq.mrq.data = &brq.data;
// THIS LINE
brq.cmd.arg = blk_rq_pos(req);
I saw the sector number is a 64 bit number, so can the sector be
considered a 'unique number', kind of like a unique address?
I don't see block.c actually using an address to set up a queue request
read/write; rather, just sector, block size, command, and # of sectors.
That is why I was wondering.
Thanks for the help and insight.
--
J (James/Jay) Freyensee
Storage Technology Group
Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-01 20:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01 20:44 question regarding blk_rq_pos() calls in block.c J Freyensee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox