kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* where is the module reference count incremented or decremented ?
@ 2014-03-03 10:51 Jeong-Hwan Kim
  2014-03-03 11:36 ` Rishi Agrawal
  0 siblings, 1 reply; 3+ messages in thread
From: Jeong-Hwan Kim @ 2014-03-03 10:51 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* where is the module reference count incremented or decremented ?
  2014-03-03 10:51 where is the module reference count incremented or decremented ? Jeong-Hwan Kim
@ 2014-03-03 11:36 ` Rishi Agrawal
  2014-03-03 11:46   ` Jeong-Hwan Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Rishi Agrawal @ 2014-03-03 11:36 UTC (permalink / raw)
  To: kernelnewbies

On Mon, Mar 3, 2014 at 4:21 PM, Jeong-Hwan Kim <jhkim@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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* where is the module reference count incremented or decremented ?
  2014-03-03 11:36 ` Rishi Agrawal
@ 2014-03-03 11:46   ` Jeong-Hwan Kim
  0 siblings, 0 replies; 3+ messages in thread
From: Jeong-Hwan Kim @ 2014-03-03 11:46 UTC (permalink / raw)
  To: kernelnewbies

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 <jhkim@sysmate.com 
> <mailto:jhkim@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
>     <mailto:Kernelnewbies@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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-03 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 10:51 where is the module reference count incremented or decremented ? Jeong-Hwan Kim
2014-03-03 11:36 ` Rishi Agrawal
2014-03-03 11:46   ` Jeong-Hwan Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).