From mboxrd@z Thu Jan 1 00:00:00 1970 From: jhkim@sysmate.com (Jeong-Hwan Kim) Date: Mon, 03 Mar 2014 20:46:12 +0900 Subject: where is the module reference count incremented or decremented ? In-Reply-To: References: <53145EA6.8000008@sysmate.com> Message-ID: <53146B84.3020400@sysmate.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Yes, I mean the number got by lsmod or cat /proc/modules.. 2014? 03? 03? 20:36, Rishi Agrawal ? ?: > > > > On Mon, Mar 3, 2014 at 4:21 PM, Jeong-Hwan Kim > 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 > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140303/bc822fc7/attachment-0001.html