All of lore.kernel.org
 help / color / mirror / Atom feed
From: jhkim@sysmate.com (Jeong-Hwan Kim)
To: kernelnewbies@lists.kernelnewbies.org
Subject: where is the module reference count incremented or decremented ?
Date: Mon, 03 Mar 2014 20:46:12 +0900	[thread overview]
Message-ID: <53146B84.3020400@sysmate.com> (raw)
In-Reply-To: <CADDndfOp4-8ovODGZDuwk7A5HDE6_DPGDePbViJHUMYn0oyRzQ@mail.gmail.com>

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 

      reply	other threads:[~2014-03-03 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53146B84.3020400@sysmate.com \
    --to=jhkim@sysmate.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.