where is the module reference count incremented or decremented ?

Rishi Agrawal rishi.b.agrawal at gmail.com
Mon Mar 3 06:36:35 EST 2014


On Mon, Mar 3, 2014 at 4:21 PM, Jeong-Hwan Kim <jhkim at sysmate.com> wrote:

> Hi, everyone
>
> When the module is communicating with user through /proc file system,
> where is the module reference count incremented or decremented in kernel
> source?
>
> Thanks in advance.
>
> Best Regards,
>
> J.Hwan Kim
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


Are you talking about this usage count - which we get on lsmod command, or
you are talking about something else.

lsmod | grep btrfs
btrfs                 761721  1
zlib_deflate           26914  1 btrfs
libcrc32c              12644  1 btrfs


-- 
Regards,
Rishi Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140303/e9fbc7c6/attachment.html 


More information about the Kernelnewbies mailing list