page address from user buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have implemented a write() call for my character driver. I need to get the page address of the "__user" buffer passed in write() call from user space. The idea is to get the actual physical address corresponding to user address and then do DMA operations using that physical address. But for that I will require page address first. Is there any way I can get the corresponding page address of a "__user" buffer??

Thanks in advance,
Vishal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux