Re: set_buffer_dirty

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

 



They are in include/linux/buffer_head.h. They are defined using a
macro, which makes them a bit harder to find than usual.

Robin

> On Jan 28, 2005, at 3:32 AM, Robin Boerdijk wrote:
> 
> >> Hi,
> >>
> >> I've been reading through a lot of the buffer cache code and there
> >> are
> >> some references to a few functions (macros?) like:
> >> set_buffer_dirty
> >> test_set_buffer_dirty
> >> clear_buffer_dirty
> >> etc.
> >>
> >> I've been trying to find where these are declared and have had no
> >> success whatsoever. I've grepped recursively through all of
> >> /usr/src/linux but have only found places where they were used,
> but
> >> never declared. Can anyone give me any hints to how this is
> possible
> >> and where or what these are?
> >>
> >> Thanks for your help,
> >> Can Sar
> >
> > That's odd. According to
> http://lxr.linux.no/ident?i=set_buffer_dirty,
> > this identifier is not even used. What kernel version are you
> looking
> > at?
> >
> 
> I'm using version 2.6.8.1 but that code has not changed in 2.6.10.
> For 
> instance look on line 854 of fs/buffer.c, it's right there. I have no
> 
> idea why the cross reference can't find it. I find this to be really 
> strange.
> 
> Can
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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