taglinefilesource code
bh36drivers/block/blk.hstruct buffer_head * bh;
bh273drivers/block/blk.hstruct buffer_head * bh;
bh287drivers/block/blk.hif ((bh = req->bh) != NULL) {
bh288drivers/block/blk.hreq->bh = bh->b_reqnext;
bh289drivers/block/blk.hbh->b_reqnext = NULL;
bh290drivers/block/blk.hbh->b_uptodate = uptodate;
bh291drivers/block/blk.hunlock_buffer(bh);
bh292drivers/block/blk.hif ((bh = req->bh) != NULL) {
bh293drivers/block/blk.hreq->current_nr_sectors = bh->b_size >> 9;
bh298drivers/block/blk.hreq->buffer = bh->b_data;
bh324drivers/block/blk.hif (CURRENT->bh) { \
bh325drivers/block/blk.hif (!CURRENT->bh->b_lock) \
bh451drivers/block/floppy.cstatic int floppy_change(struct buffer_head * bh)
bh453drivers/block/floppy.cunsigned int mask = 1 << (bh->b_dev & 0x03);
bh455drivers/block/floppy.cif (MAJOR(bh->b_dev) != MAJOR_NR) {
bh472drivers/block/floppy.cif (!bh)
bh474drivers/block/floppy.cif (bh->b_dirt)
bh475drivers/block/floppy.cll_rw_block(WRITE, 1, &bh);
bh478drivers/block/floppy.cbh->b_uptodate = 0;
bh479drivers/block/floppy.cll_rw_block(READ, 1, &bh);
bh481drivers/block/floppy.cwait_on_buffer(bh);
bh1135drivers/block/floppy.cif (CURRENT->bh) {
bh1136drivers/block/floppy.cif (!CURRENT->bh->b_lock)
bh1430drivers/block/floppy.cstruct buffer_head * bh;
bh1432drivers/block/floppy.cif (!(bh = getblk(dev,0,1024)))
bh1434drivers/block/floppy.ci = floppy_change(bh);
bh1435drivers/block/floppy.cbrelse(bh);
bh38drivers/block/genhd.cstruct buffer_head *bh;
bh49drivers/block/genhd.cif (!(bh = bread(dev,0,1024)))
bh55drivers/block/genhd.cbh->b_dirt = 0;
bh56drivers/block/genhd.cbh->b_uptodate = 0;
bh57drivers/block/genhd.cbh->b_req = 0;
bh58drivers/block/genhd.cif (*(unsigned short *) (bh->b_data+510) == 0xAA55) {
bh59drivers/block/genhd.cp = (struct partition *) (0x1BE + bh->b_data);
bh86drivers/block/genhd.cbrelse(bh);
bh91drivers/block/genhd.cbrelse(bh);
bh98drivers/block/genhd.cstruct buffer_head *bh;
bh107drivers/block/genhd.cif (!(bh = bread(dev,0,1024))) {
bh113drivers/block/genhd.cif (*(unsigned short *) (bh->b_data+510) == 0xAA55) {
bh114drivers/block/genhd.cp = (struct partition *) (0x1BE + bh->b_data);
bh131drivers/block/genhd.cif (*(unsigned short *) (bh->b_data+0xfc) == 0x55AA) {
bh132drivers/block/genhd.cp = (struct partition *) (0x1BE + bh->b_data);
bh149drivers/block/genhd.cbrelse(bh);
bh522drivers/block/hd.cWCURRENT.bh = WCURRENT.bh->b_reqnext;
bh523drivers/block/hd.cif (WCURRENT.bh == NULL)
bh525drivers/block/hd.cWCURRENT.current_nr_sectors = WCURRENT.bh->b_size>>9;
bh526drivers/block/hd.cWCURRENT.buffer             = WCURRENT.bh->b_data;
bh600drivers/block/hd.cif (!i || (CURRENT->bh && !SUBSECTOR(i)))
bh154drivers/block/ll_rw_blk.cif (req->bh)
bh155drivers/block/ll_rw_blk.cmark_buffer_clean(req->bh);
bh178drivers/block/ll_rw_blk.cstatic void make_request(int major,int rw, struct buffer_head * bh)
bh188drivers/block/ll_rw_blk.cif (bh->b_lock)
bh199drivers/block/ll_rw_blk.ccount = bh->b_size >> 9;
bh200drivers/block/ll_rw_blk.csector = bh->b_blocknr * count;
bh202drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
bh203drivers/block/ll_rw_blk.cbh->b_dirt = bh->b_uptodate = 0;
bh206drivers/block/ll_rw_blk.clock_buffer(bh);
bh207drivers/block/ll_rw_blk.cif ((rw == WRITE && !bh->b_dirt) || (rw == READ && bh->b_uptodate)) {
bh208drivers/block/ll_rw_blk.cunlock_buffer(bh);
bh235drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
bh241drivers/block/ll_rw_blk.creq->bhtail->b_reqnext = bh;
bh242drivers/block/ll_rw_blk.creq->bhtail = bh;
bh244drivers/block/ll_rw_blk.cmark_buffer_clean(bh);
bh249drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
bh256drivers/block/ll_rw_blk.cbh->b_reqnext = req->bh;
bh257drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
bh260drivers/block/ll_rw_blk.cmark_buffer_clean(bh);
bh261drivers/block/ll_rw_blk.creq->bh = bh;
bh271drivers/block/ll_rw_blk.creq = get_request(max_req, bh->b_dev);
bh277drivers/block/ll_rw_blk.cunlock_buffer(bh);
bh294drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
bh296drivers/block/ll_rw_blk.creq->bh = bh;
bh297drivers/block/ll_rw_blk.creq->bhtail = bh;
bh329drivers/block/ll_rw_blk.creq->bh = NULL;
bh339drivers/block/ll_rw_blk.cvoid ll_rw_block(int rw, int nr, struct buffer_head * bh[])
bh349drivers/block/ll_rw_blk.cwhile (!*bh) {
bh350drivers/block/ll_rw_blk.cbh++;
bh356drivers/block/ll_rw_blk.cif ((major = MAJOR(bh[0]->b_dev)) < MAX_BLKDEV)
bh361drivers/block/ll_rw_blk.c(unsigned long) bh[0]->b_dev, bh[0]->b_blocknr);
bh368drivers/block/ll_rw_blk.ci = blksize_size[major][MINOR(bh[0]->b_dev)];
bh375drivers/block/ll_rw_blk.cif (bh[i] && bh[i]->b_size != correct_size) {
bh378drivers/block/ll_rw_blk.ccorrect_size, bh[i]->b_size);
bh383drivers/block/ll_rw_blk.cif ((rw == WRITE || rw == WRITEA) && is_read_only(bh[0]->b_dev)) {
bh384drivers/block/ll_rw_blk.cprintk("Can't write to read-only device 0x%X\n",bh[0]->b_dev);
bh403drivers/block/ll_rw_blk.cif (bh[i]) {
bh404drivers/block/ll_rw_blk.cbh[i]->b_req = 1;
bh405drivers/block/ll_rw_blk.cmake_request(major, rw, bh[i]);
bh422drivers/block/ll_rw_blk.cif (bh[i])
bh423drivers/block/ll_rw_blk.cbh[i]->b_dirt = bh[i]->b_uptodate = 0;
bh464drivers/block/ll_rw_blk.creq->bh = NULL;
bh628drivers/block/mcd.cif (CURRENT->bh) {
bh629drivers/block/mcd.cif (!CURRENT->bh->b_lock)
bh99drivers/block/ramdisk.cstruct buffer_head *bh;
bh116drivers/block/ramdisk.cbh = breada(ROOT_DEV,block+1,BLOCK_SIZE, 0,  PAGE_SIZE);
bh117drivers/block/ramdisk.cif (!bh) {
bh124drivers/block/ramdisk.c*((struct minix_super_block *) bh->b_data);
bh125drivers/block/ramdisk.cbrelse(bh);
bh144drivers/block/ramdisk.cbh = breada(ROOT_DEV, block, BLOCK_SIZE, 0,  PAGE_SIZE);
bh146drivers/block/ramdisk.cbh = bread(ROOT_DEV, block, BLOCK_SIZE);
bh147drivers/block/ramdisk.cif (!bh) {
bh152drivers/block/ramdisk.c(void) memcpy(cp, bh->b_data, BLOCK_SIZE);
bh153drivers/block/ramdisk.cbrelse(bh);
bh581drivers/scsi/scsi.cstruct buffer_head * bh, *bhp;
bh605drivers/scsi/scsi.cbhp = bh = req->bh;
bh606drivers/scsi/scsi.cif(!tablesize) bh = NULL;
bh609drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
bh611drivers/scsi/scsi.cif(!bhp || !CONTIGUOUS_BUFFERS(bh,bhp)) tablesize--;
bh612drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
bh613drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
bh615drivers/scsi/scsi.cbh = bhp;
bh617drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
bh618drivers/scsi/scsi.cSCpnt->request.bhtail = bh;
bh619drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
bh620drivers/scsi/scsi.cbh->b_reqnext = NULL;
bh621drivers/scsi/scsi.cbh = req->bh;
bh625drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
bh626drivers/scsi/scsi.creq->buffer = bh->b_data;
bh659drivers/scsi/scsi.cstruct buffer_head * bh, *bhp;
bh705drivers/scsi/scsi.cbhp = bh = req->bh;
bh706drivers/scsi/scsi.cif(!tablesize) bh = NULL;
bh709drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
bh711drivers/scsi/scsi.cif(!bhp || !CONTIGUOUS_BUFFERS(bh,bhp)) tablesize--;
bh712drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
bh713drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
bh715drivers/scsi/scsi.cbh = bhp;
bh717drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
bh718drivers/scsi/scsi.cSCpnt->request.bhtail = bh;
bh719drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
bh720drivers/scsi/scsi.cbh->b_reqnext = NULL;
bh721drivers/scsi/scsi.cbh = req->bh;
bh724drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
bh725drivers/scsi/scsi.creq->buffer = bh->b_data;
bh524drivers/scsi/scsi.hstruct buffer_head * bh;
bh534drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
bh535drivers/scsi/scsi.hreq->bh = bh->b_reqnext;
bh536drivers/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
bh537drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
bh538drivers/scsi/scsi.hbh->b_reqnext = NULL;
bh539drivers/scsi/scsi.hbh->b_uptodate = uptodate;
bh540drivers/scsi/scsi.hunlock_buffer(bh);
bh541drivers/scsi/scsi.hsectors -= bh->b_size >> 9;
bh542drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
bh543drivers/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
bh550drivers/scsi/scsi.h} while(sectors && bh);
bh551drivers/scsi/scsi.hif (req->bh){
bh552drivers/scsi/scsi.hreq->buffer = bh->b_data;
bh577drivers/scsi/scsi.hif (CURRENT->bh) { \
bh578drivers/scsi/scsi.hif (!CURRENT->bh->b_lock) \
bh68drivers/scsi/scsi_debug.cif (bh){              \
bh69drivers/scsi/scsi_debug.cif (bh->b_size != 1024) panic ("Wrong bh size");  \
bh70drivers/scsi/scsi_debug.cif ((bh->b_blocknr << 1) + start != block)           \
bh71drivers/scsi/scsi_debug.c{  printk("Wrong bh block# %d %d ",bh->b_blocknr, block);  \
bh73drivers/scsi/scsi_debug.cif (bh->b_dev != SCpnt->request.dev) panic ("Bad bh target");\
bh93drivers/scsi/scsi_debug.cif (SCpnt->request.bh){              \
bh94drivers/scsi/scsi_debug.cif (SCpnt->request.bh->b_size != 1024) panic ("Wrong bh size");  \
bh95drivers/scsi/scsi_debug.cif ((SCpnt->request.bh->b_blocknr << 1) + start != block)           \
bh96drivers/scsi/scsi_debug.c{  printk("Wrong bh block# %d %d ",SCpnt->request.bh->b_blocknr, block);  \
bh98drivers/scsi/scsi_debug.cif (SCpnt->request.bh->b_dev != SCpnt->request.dev) panic ("Bad bh target");\
bh160drivers/scsi/scsi_debug.cstruct buffer_head * bh = NULL;
bh262drivers/scsi/scsi_debug.cbh = SCpnt->request.bh;
bh322drivers/scsi/scsi_debug.cmemcpy(buff+128, bh, sizeof(struct buffer_head));
bh325drivers/scsi/scsi_debug.cbh = bh->b_reqnext;
bh328drivers/scsi/scsi_debug.cif(!bh) panic("Too few blocks for linked request.");
bh340drivers/scsi/scsi_debug.cif(bh) scsi_dump(SCpnt, 0);
bh206drivers/scsi/sd.cif (!SCpnt->request.bh)
bh395drivers/scsi/sd.cstruct buffer_head * bh, *bhp;
bh466drivers/scsi/sd.cif (contiguous && SCpnt->request.bh &&
bh467drivers/scsi/sd.c((int) SCpnt->request.bh->b_data) + (SCpnt->request.nr_sectors << 9) - 1 > 
bh469drivers/scsi/sd.cif(((int) SCpnt->request.bh->b_data) > ISA_DMA_THRESHOLD)
bh474drivers/scsi/sd.cif(contiguous && SCpnt->request.bh && SCpnt->request.bh->b_reqnext)
bh475drivers/scsi/sd.cfor(bh = SCpnt->request.bh, bhp = bh->b_reqnext; bhp; bh = bhp, 
bh477drivers/scsi/sd.cif(!CONTIGUOUS_BUFFERS(bh,bhp)) { 
bh483drivers/scsi/sd.cif (!SCpnt->request.bh || contiguous) {
bh517drivers/scsi/sd.cbh = SCpnt->request.bh;
bh522drivers/scsi/sd.cwhile(bh) {
bh523drivers/scsi/sd.cif ((this_count + (bh->b_size >> 9)) > this_count_max) break;
bh524drivers/scsi/sd.cif(!bhp || !CONTIGUOUS_BUFFERS(bhp,bh) ||
bh527drivers/scsi/sd.c((unsigned int) bh->b_data-1) == ISA_DMA_THRESHOLD)) {
bh531drivers/scsi/sd.cthis_count += (bh->b_size >> 9);
bh532drivers/scsi/sd.cbhp = bh;
bh533drivers/scsi/sd.cbh = bh->b_reqnext;
bh537drivers/scsi/sd.c((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--;
bh556drivers/scsi/sd.cfor(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext;
bh557drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
bh558drivers/scsi/sd.ccount++, bh = bhp) {
bh560drivers/scsi/sd.cbhp = bh->b_reqnext;
bh562drivers/scsi/sd.cif(!sgpnt[count].address) sgpnt[count].address = bh->b_data;
bh563drivers/scsi/sd.csgpnt[count].length += bh->b_size;
bh564drivers/scsi/sd.ccounted += bh->b_size >> 9;
bh596drivers/scsi/sd.cthis_count = counted -= bh->b_size >> 9;
bh606drivers/scsi/sd.cif(bhp && CONTIGUOUS_BUFFERS(bh,bhp) && CLUSTERABLE_DEVICE(SCpnt)) {
bh638drivers/scsi/sd.cbh = SCpnt->request.bh;
bh641drivers/scsi/sd.cwhile(bh){
bh642drivers/scsi/sd.cprintk("[%p %lx] ", bh->b_data, bh->b_size);
bh643drivers/scsi/sd.cbh = bh->b_reqnext;
bh130drivers/scsi/sr.cprintk("sr.c done: %x %x\n",result, SCpnt->request.bh->b_data);
bh148drivers/scsi/sr.cSCpnt->request.bh &&
bh149drivers/scsi/sr.cSCpnt->request.bh->b_reqnext &&
bh150drivers/scsi/sr.cSCpnt->request.bh->b_reqnext->b_size == 1024) {
bh151drivers/scsi/sr.cmemcpy((char *)SCpnt->request.bh->b_reqnext->b_data, 
bh179drivers/scsi/sr.cprintk("(%x %x %x) ",SCpnt->request.bh, SCpnt->request.nr_sectors, 
bh185drivers/scsi/sr.cif (!SCpnt->request.bh)
bh437drivers/scsi/sr.cstruct buffer_head * bh;
bh440drivers/scsi/sr.cbh = SCpnt->request.bh;
bh448drivers/scsi/sr.cwhile(bh && count < SCpnt->host->sg_tablesize) {
bh449drivers/scsi/sr.cif ((this_count + (bh->b_size >> 9)) > this_count_max) break;
bh450drivers/scsi/sr.cthis_count += (bh->b_size >> 9);
bh452drivers/scsi/sr.cbh = bh->b_reqnext;
bh478drivers/scsi/sr.cbh = SCpnt->request.bh;
bh487drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
bh488drivers/scsi/sr.ccount++, bh = bh->b_reqnext) {
bh489drivers/scsi/sr.cif (bh) { /* Need a placeholder at the end of the record? */
bh490drivers/scsi/sr.csgpnt[count].address = bh->b_data;
bh491drivers/scsi/sr.csgpnt[count].length = bh->b_size;
bh545drivers/scsi/sr.cif (!SCpnt->request.bh)    
bh548drivers/scsi/sr.cthis_count = (SCpnt->request.bh->b_size >> 9);
bh31fs/block_dev.cstruct buffer_head * bh;
bh64fs/block_dev.cbh = getblk(dev, block, blocksize);
bh66fs/block_dev.cbh = breada(dev,block,block+1,block+2,-1);
bh72fs/block_dev.cbh = getblk(dev, block, blocksize);
bh74fs/block_dev.cif (chars != blocksize && !bh->b_uptodate) {
bh78fs/block_dev.cbrelse(bh);
bh79fs/block_dev.cbh = bread(dev,block,blocksize);
bh87fs/block_dev.cbhlist[0] = bh;
bh106fs/block_dev.cif (!bh)
bh108fs/block_dev.cp = offset + bh->b_data;
bh116fs/block_dev.cbh->b_uptodate = 1;
bh117fs/block_dev.cmark_buffer_dirty(bh, 0);
bh118fs/block_dev.cbrelse(bh);
bh111fs/buffer.cvoid __wait_on_buffer(struct buffer_head * bh)
bh115fs/buffer.cbh->b_count++;
bh116fs/buffer.cadd_wait_queue(&bh->b_wait, &wait);
bh119fs/buffer.cif (bh->b_lock) {
bh123fs/buffer.cremove_wait_queue(&bh->b_wait, &wait);
bh124fs/buffer.cbh->b_count--;
bh142fs/buffer.cstruct buffer_head * bh, *next;
bh156fs/buffer.cbh = lru_list[nlist];
bh157fs/buffer.cif(!bh) continue;
bh158fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; i-- > 0 ; bh = next) {
bh159fs/buffer.cif(bh->b_list != nlist) goto repeat1;
bh160fs/buffer.cnext = bh->b_next_free;
bh162fs/buffer.cif (dev && bh->b_dev != dev)
bh164fs/buffer.cif (bh->b_lock)
bh172fs/buffer.cwait_on_buffer (bh);
bh176fs/buffer.cif (wait && bh->b_req && !bh->b_lock &&
bh177fs/buffer.c!bh->b_dirt && !bh->b_uptodate) {
bh179fs/buffer.cprintk("Weird - unlocked, clean and not uptodate buffer on list %d %x %lu\n", nlist, bh->b_dev, bh->b_blocknr);
bh184fs/buffer.cif (!bh->b_dirt || pass>=2)
bh186fs/buffer.cbh->b_count++;
bh187fs/buffer.cbh->b_flushtime = 0;
bh188fs/buffer.cll_rw_block(WRITE, 1, &bh);
bh191fs/buffer.cprintk("[%d %x %ld] ", nlist, bh->b_dev, bh->b_blocknr);
bh194fs/buffer.cbh->b_count--;
bh254fs/buffer.cstruct buffer_head * bh;
bh257fs/buffer.cbh = lru_list[nlist];
bh259fs/buffer.cbh = bh->b_next_free) {
bh260fs/buffer.cif (bh->b_dev != dev)
bh262fs/buffer.cwait_on_buffer(bh);
bh263fs/buffer.cif (bh->b_dev == dev)
bh264fs/buffer.cbh->b_flushtime = bh->b_uptodate = 
bh265fs/buffer.cbh->b_dirt = bh->b_req = 0;
bh273fs/buffer.cstatic inline void remove_from_hash_queue(struct buffer_head * bh)
bh275fs/buffer.cif (bh->b_next)
bh276fs/buffer.cbh->b_next->b_prev = bh->b_prev;
bh277fs/buffer.cif (bh->b_prev)
bh278fs/buffer.cbh->b_prev->b_next = bh->b_next;
bh279fs/buffer.cif (hash(bh->b_dev,bh->b_blocknr) == bh)
bh280fs/buffer.chash(bh->b_dev,bh->b_blocknr) = bh->b_next;
bh281fs/buffer.cbh->b_next = bh->b_prev = NULL;
bh284fs/buffer.cstatic inline void remove_from_lru_list(struct buffer_head * bh)
bh286fs/buffer.cif (!(bh->b_prev_free) || !(bh->b_next_free))
bh288fs/buffer.cif (bh->b_dev == 0xffff) panic("LRU list corrupted");
bh289fs/buffer.cbh->b_prev_free->b_next_free = bh->b_next_free;
bh290fs/buffer.cbh->b_next_free->b_prev_free = bh->b_prev_free;
bh292fs/buffer.cif (lru_list[bh->b_list] == bh)
bh293fs/buffer.clru_list[bh->b_list] = bh->b_next_free;
bh294fs/buffer.cif(lru_list[bh->b_list] == bh)
bh295fs/buffer.clru_list[bh->b_list] = NULL;
bh296fs/buffer.cbh->b_next_free = bh->b_prev_free = NULL;
bh299fs/buffer.cstatic inline void remove_from_free_list(struct buffer_head * bh)
bh301fs/buffer.cint isize = BUFSIZE_INDEX(bh->b_size);
bh302fs/buffer.cif (!(bh->b_prev_free) || !(bh->b_next_free))
bh304fs/buffer.cif(bh->b_dev != 0xffff) panic("Free list corrupted");
bh308fs/buffer.cif(bh->b_next_free == bh)
bh311fs/buffer.cbh->b_prev_free->b_next_free = bh->b_next_free;
bh312fs/buffer.cbh->b_next_free->b_prev_free = bh->b_prev_free;
bh313fs/buffer.cif (free_list[isize] == bh)
bh314fs/buffer.cfree_list[isize] = bh->b_next_free;
bh316fs/buffer.cbh->b_next_free = bh->b_prev_free = NULL;
bh319fs/buffer.cstatic inline void remove_from_queues(struct buffer_head * bh)
bh321fs/buffer.cif(bh->b_dev == 0xffff) {
bh322fs/buffer.cremove_from_free_list(bh); /* Free list entries should not be
bh326fs/buffer.cnr_buffers_type[bh->b_list]--;
bh327fs/buffer.cnr_buffers_st[BUFSIZE_INDEX(bh->b_size)][bh->b_list]--;
bh328fs/buffer.cremove_from_hash_queue(bh);
bh329fs/buffer.cremove_from_lru_list(bh);
bh332fs/buffer.cstatic inline void put_last_lru(struct buffer_head * bh)
bh334fs/buffer.cif (!bh)
bh336fs/buffer.cif (bh == lru_list[bh->b_list]) {
bh337fs/buffer.clru_list[bh->b_list] = bh->b_next_free;
bh340fs/buffer.cif(bh->b_dev == 0xffff) panic("Wrong block for lru list");
bh341fs/buffer.cremove_from_lru_list(bh);
bh344fs/buffer.cif(!lru_list[bh->b_list]) {
bh345fs/buffer.clru_list[bh->b_list] = bh;
bh346fs/buffer.clru_list[bh->b_list]->b_prev_free = bh;
bh349fs/buffer.cbh->b_next_free = lru_list[bh->b_list];
bh350fs/buffer.cbh->b_prev_free = lru_list[bh->b_list]->b_prev_free;
bh351fs/buffer.clru_list[bh->b_list]->b_prev_free->b_next_free = bh;
bh352fs/buffer.clru_list[bh->b_list]->b_prev_free = bh;
bh355fs/buffer.cstatic inline void put_last_free(struct buffer_head * bh)
bh358fs/buffer.cif (!bh)
bh361fs/buffer.cisize = BUFSIZE_INDEX(bh->b_size);  
bh362fs/buffer.cbh->b_dev = 0xffff;  /* So it is obvious we are on the free list */
bh366fs/buffer.cfree_list[isize] = bh;
bh367fs/buffer.cbh->b_prev_free = bh;
bh371fs/buffer.cbh->b_next_free = free_list[isize];
bh372fs/buffer.cbh->b_prev_free = free_list[isize]->b_prev_free;
bh373fs/buffer.cfree_list[isize]->b_prev_free->b_next_free = bh;
bh374fs/buffer.cfree_list[isize]->b_prev_free = bh;
bh377fs/buffer.cstatic inline void insert_into_queues(struct buffer_head * bh)
bh381fs/buffer.cif(bh->b_dev == 0xffff) {
bh382fs/buffer.cput_last_free(bh);
bh385fs/buffer.cif(!lru_list[bh->b_list]) {
bh386fs/buffer.clru_list[bh->b_list] = bh;
bh387fs/buffer.cbh->b_prev_free = bh;
bh389fs/buffer.cif (bh->b_next_free) panic("VFS: buffer LRU pointers corrupted");
bh390fs/buffer.cbh->b_next_free = lru_list[bh->b_list];
bh391fs/buffer.cbh->b_prev_free = lru_list[bh->b_list]->b_prev_free;
bh392fs/buffer.clru_list[bh->b_list]->b_prev_free->b_next_free = bh;
bh393fs/buffer.clru_list[bh->b_list]->b_prev_free = bh;
bh394fs/buffer.cnr_buffers_type[bh->b_list]++;
bh395fs/buffer.cnr_buffers_st[BUFSIZE_INDEX(bh->b_size)][bh->b_list]++;
bh397fs/buffer.cbh->b_prev = NULL;
bh398fs/buffer.cbh->b_next = NULL;
bh399fs/buffer.cif (!bh->b_dev)
bh401fs/buffer.cbh->b_next = hash(bh->b_dev,bh->b_blocknr);
bh402fs/buffer.chash(bh->b_dev,bh->b_blocknr) = bh;
bh403fs/buffer.cif (bh->b_next)
bh404fs/buffer.cbh->b_next->b_prev = bh;
bh432fs/buffer.cstruct buffer_head * bh;
bh435fs/buffer.cif (!(bh=find_buffer(dev,block,size)))
bh437fs/buffer.cbh->b_count++;
bh438fs/buffer.cwait_on_buffer(bh);
bh439fs/buffer.cif (bh->b_dev == dev && bh->b_blocknr == block && bh->b_size == size)
bh440fs/buffer.creturn bh;
bh441fs/buffer.cbh->b_count--;
bh448fs/buffer.cstruct buffer_head * bh, *bhnext;
bh471fs/buffer.cbh = lru_list[nlist];
bh472fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; --i > 0 ; bh = bhnext) {
bh473fs/buffer.cif(!bh) break;
bh474fs/buffer.cbhnext = bh->b_next_free; 
bh475fs/buffer.cif (bh->b_dev != dev)
bh477fs/buffer.cif (bh->b_size == size)
bh480fs/buffer.cwait_on_buffer(bh);
bh481fs/buffer.cif (bh->b_dev == dev && bh->b_size != size) {
bh482fs/buffer.cbh->b_uptodate = bh->b_dirt = bh->b_req =
bh483fs/buffer.cbh->b_flushtime = 0;
bh485fs/buffer.cremove_from_hash_queue(bh);
bh490fs/buffer.c#define BADNESS(bh) (((bh)->b_dirt<<1)+(bh)->b_lock)
bh494fs/buffer.cstruct buffer_head * bh, * tmp;
bh548fs/buffer.cfor (bh = lru_list[i]; buffers[i] > 0; bh = tmp, buffers[i]--)
bh551fs/buffer.ctmp = bh->b_next_free;
bh552fs/buffer.cif (!bh) break;
bh554fs/buffer.cif (mem_map[MAP_NR((unsigned long) bh->b_data)] != 1 ||
bh555fs/buffer.cbh->b_dirt) {
bh556fs/buffer.crefile_buffer(bh);
bh560fs/buffer.cif (bh->b_count || bh->b_size != size)
bh567fs/buffer.cif(bh->b_lock && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
bh572fs/buffer.cif (BADNESS(bh)) continue;
bh576fs/buffer.celse candidate[i] = bh;
bh597fs/buffer.cbh = candidate[i];
bh598fs/buffer.ccandidate[i] = bh->b_next_free;
bh599fs/buffer.cif(candidate[i] == bh) candidate[i] = NULL;  /* Got last one */
bh600fs/buffer.cif (bh->b_count || bh->b_size != size)
bh602fs/buffer.cif (mem_map[MAP_NR((unsigned long) bh->b_data)] != 1)
bh604fs/buffer.cif (BADNESS(bh)) panic("Buffer in candidate list with BADNESS != 0\n");
bh606fs/buffer.cif(bh->b_dev == 0xffff) panic("Wrong list");
bh607fs/buffer.cremove_from_queues(bh);
bh608fs/buffer.cbh->b_dev = 0xffff;
bh609fs/buffer.cput_last_free(bh);
bh610fs/buffer.cneeded -= bh->b_size;
bh620fs/buffer.cfor (bh = candidate[i]; buffers[i] > 0; bh = tmp, buffers[i]--) {
bh622fs/buffer.ctmp = bh->b_next_free;
bh623fs/buffer.cif (!bh) break;
bh625fs/buffer.cif (mem_map[MAP_NR((unsigned long) bh->b_data)] != 1 ||
bh626fs/buffer.cbh->b_dirt) {
bh627fs/buffer.crefile_buffer(bh);
bh631fs/buffer.cif (bh->b_count || bh->b_size != size)
bh638fs/buffer.cif(bh->b_lock && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
bh643fs/buffer.cif (BADNESS(bh)) continue;
bh647fs/buffer.celse candidate[i] = bh;
bh685fs/buffer.cstruct buffer_head * bh;
bh695fs/buffer.cbh = get_hash_table(dev, block, size);
bh696fs/buffer.cif (bh) {
bh697fs/buffer.cif (bh->b_uptodate && !bh->b_dirt)
bh698fs/buffer.cput_last_lru(bh);
bh699fs/buffer.cif(!bh->b_dirt) bh->b_flushtime = 0;
bh700fs/buffer.creturn bh;
bh708fs/buffer.cbh = free_list[isize];
bh709fs/buffer.cremove_from_free_list(bh);
bh713fs/buffer.cbh->b_count=1;
bh714fs/buffer.cbh->b_dirt=0;
bh715fs/buffer.cbh->b_lock=0;
bh716fs/buffer.cbh->b_uptodate=0;
bh717fs/buffer.cbh->b_flushtime = 0;
bh718fs/buffer.cbh->b_req=0;
bh719fs/buffer.cbh->b_dev=dev;
bh720fs/buffer.cbh->b_blocknr=block;
bh721fs/buffer.cinsert_into_queues(bh);
bh722fs/buffer.creturn bh;
bh797fs/buffer.cstruct buffer_head * bh;
bh799fs/buffer.cif (!(bh = getblk(dev, block, size))) {
bh804fs/buffer.cif (bh->b_uptodate)
bh805fs/buffer.creturn bh;
bh806fs/buffer.cll_rw_block(READ, 1, &bh);
bh807fs/buffer.cwait_on_buffer(bh);
bh808fs/buffer.cif (bh->b_uptodate)
bh809fs/buffer.creturn bh;
bh810fs/buffer.cbrelse(bh);
bh827fs/buffer.cstruct buffer_head * bh;
bh834fs/buffer.cif (block < 0 || !(bh = getblk(dev,block,bufsize)))
bh837fs/buffer.cindex = BUFSIZE_INDEX(bh->b_size);
bh839fs/buffer.cif (bh->b_uptodate)
bh840fs/buffer.creturn bh;
bh849fs/buffer.cbhlist[0] = bh;
bh852fs/buffer.cbh = getblk(dev,block+i,bufsize);
bh853fs/buffer.cif (bh->b_uptodate) {
bh854fs/buffer.cbrelse(bh);
bh857fs/buffer.cbhlist[j++] = bh;
bh867fs/buffer.cbh = bhlist[0];
bh868fs/buffer.cwait_on_buffer(bh);
bh869fs/buffer.cif (bh->b_uptodate)
bh870fs/buffer.creturn bh;
bh871fs/buffer.cbrelse(bh);
bh878fs/buffer.cstatic void put_unused_buffer_head(struct buffer_head * bh)
bh882fs/buffer.cwait = ((volatile struct buffer_head *) bh)->b_wait;
bh883fs/buffer.cmemset((void *) bh,0,sizeof(*bh));
bh884fs/buffer.c((volatile struct buffer_head *) bh)->b_wait = wait;
bh885fs/buffer.cbh->b_next_free = unused_list;
bh886fs/buffer.cunused_list = bh;
bh892fs/buffer.cstruct buffer_head * bh;
bh897fs/buffer.cif (!(bh = (struct buffer_head*) get_free_page(GFP_BUFFER)))
bh900fs/buffer.cfor (nr_buffer_heads+=i=PAGE_SIZE/sizeof*bh ; i>0; i--) {
bh901fs/buffer.cbh->b_next_free = unused_list;  /* only make link */
bh902fs/buffer.cunused_list = bh++;
bh908fs/buffer.cstruct buffer_head * bh;
bh913fs/buffer.cbh = unused_list;
bh914fs/buffer.cunused_list = bh->b_next_free;
bh915fs/buffer.cbh->b_next_free = NULL;
bh916fs/buffer.cbh->b_data = NULL;
bh917fs/buffer.cbh->b_size = 0;
bh918fs/buffer.cbh->b_req = 0;
bh919fs/buffer.creturn bh;
bh930fs/buffer.cstruct buffer_head *bh, *head;
bh936fs/buffer.cbh = get_unused_buffer_head();
bh937fs/buffer.cif (!bh)
bh939fs/buffer.cbh->b_this_page = head;
bh940fs/buffer.chead = bh;
bh941fs/buffer.cbh->b_data = (char *) (page+offset);
bh942fs/buffer.cbh->b_size = size;
bh943fs/buffer.cbh->b_dev = 0xffff;  /* Flag as unused */
bh950fs/buffer.cbh = head;
bh951fs/buffer.cwhile (bh) {
bh952fs/buffer.chead = bh;
bh953fs/buffer.cbh = bh->b_this_page;
bh959fs/buffer.cstatic void read_buffers(struct buffer_head * bh[], int nrbuf)
bh966fs/buffer.cif (bh[i] && !bh[i]->b_uptodate)
bh967fs/buffer.cbhr[bhnum++] = bh[i];
bh972fs/buffer.cif (bh[i]) {
bh973fs/buffer.cwait_on_buffer(bh[i]);
bh981fs/buffer.cstruct buffer_head * bh[8];
bh993fs/buffer.cbh[0] = first;
bh1002fs/buffer.cbh[nrbuf++] = first;
bh1006fs/buffer.cread_buffers(bh,nrbuf);    /* make sure they are actually read correctly */
bh1008fs/buffer.cbrelse(bh[nrbuf]);
bh1014fs/buffer.cbrelse(bh[nrbuf]);
bh1022fs/buffer.cstruct buffer_head * bh, * tmp, * arr[8];
bh1028fs/buffer.cbh = create_buffers(address, size);
bh1029fs/buffer.cif (!bh)
bh1040fs/buffer.ctmp = bh;
bh1044fs/buffer.carr[block++] = bh;
bh1045fs/buffer.cbh->b_count = 1;
bh1046fs/buffer.cbh->b_dirt = 0;
bh1047fs/buffer.cbh->b_flushtime = 0;
bh1048fs/buffer.cbh->b_uptodate = 0;
bh1049fs/buffer.cbh->b_req = 0;
bh1050fs/buffer.cbh->b_dev = dev;
bh1051fs/buffer.cbh->b_blocknr = *(p++);
bh1052fs/buffer.cbh->b_list = BUF_CLEAN;
bh1055fs/buffer.cinsert_into_queues(bh);
bh1056fs/buffer.cif (bh->b_this_page)
bh1057fs/buffer.cbh = bh->b_this_page;
bh1062fs/buffer.cbh->b_this_page = tmp;
bh1064fs/buffer.cbuffer_pages[address >> PAGE_SHIFT] = bh;
bh1071fs/buffer.cwhile ((tmp = bh) != NULL) {
bh1072fs/buffer.cbh = bh->b_this_page;
bh1092fs/buffer.cstruct buffer_head * bh;
bh1098fs/buffer.cbh = get_hash_table(dev, block, size);
bh1099fs/buffer.cif (bh)
bh1100fs/buffer.creturn check_aligned(bh, address, dev, b, size);
bh1118fs/buffer.cstruct buffer_head * bh[8];
bh1129fs/buffer.cbh[i] = NULL;
bh1131fs/buffer.cbh[i] = getblk(dev, b[i], size);
bh1133fs/buffer.cread_buffers(bh,i);
bh1136fs/buffer.cif (bh[i]) {
bh1137fs/buffer.cif (bh[i]->b_uptodate)
bh1138fs/buffer.cCOPYBLK(size, (unsigned long) bh[i]->b_data, where);
bh1139fs/buffer.cbrelse(bh[i]);
bh1152fs/buffer.cstruct buffer_head *bh, *tmp;
bh1165fs/buffer.cbh = create_buffers(page, size);
bh1166fs/buffer.cif (!bh) {
bh1173fs/buffer.ctmp = bh;
bh1192fs/buffer.cfree_list[isize] = bh;
bh1193fs/buffer.cbuffer_pages[page >> PAGE_SHIFT] = bh;
bh1194fs/buffer.ctmp->b_this_page = bh;
bh1204fs/buffer.cstatic int try_to_free(struct buffer_head * bh, struct buffer_head ** bhp)
bh1208fs/buffer.cint isize = BUFSIZE_INDEX(bh->b_size);
bh1210fs/buffer.c*bhp = bh;
bh1211fs/buffer.cpage = (unsigned long) bh->b_data;
bh1213fs/buffer.ctmp = bh;
bh1220fs/buffer.c} while (tmp != bh);
bh1221fs/buffer.ctmp = bh;
bh1235fs/buffer.c} while (tmp != bh);
bh1315fs/buffer.cstruct buffer_head *bh;
bh1328fs/buffer.cbh = free_list[isize];
bh1329fs/buffer.cif(!bh) continue;
bh1330fs/buffer.cfor (i=0 ; !i || bh != free_list[isize]; bh = bh->b_next_free, i++) {
bh1331fs/buffer.cif (bh->b_count || !bh->b_this_page)
bh1333fs/buffer.cif (try_to_free(bh, &bh))
bh1335fs/buffer.cif(!bh) break; /* Some interrupt must have used it after we
bh1345fs/buffer.cbh = lru_list[nlist];
bh1346fs/buffer.cif(!bh) continue;
bh1348fs/buffer.cfor ( ; i-- > 0 ; bh = bh->b_next_free) {
bh1350fs/buffer.cif(bh->b_list != nlist) goto repeat1;
bh1351fs/buffer.cif (bh->b_count || !bh->b_this_page)
bh1353fs/buffer.cif(size && bh->b_size != size) continue;
bh1354fs/buffer.cif (bh->b_lock)
bh1358fs/buffer.cwait_on_buffer(bh);
bh1359fs/buffer.cif (bh->b_dirt) {
bh1360fs/buffer.cbh->b_count++;
bh1361fs/buffer.cbh->b_flushtime = 0;
bh1362fs/buffer.cll_rw_block(WRITEA, 1, &bh);
bh1363fs/buffer.cbh->b_count--;
bh1366fs/buffer.cif (try_to_free(bh, &bh))
bh1368fs/buffer.cif(!bh) break;
bh1377fs/buffer.cstruct buffer_head * bh;
bh1388fs/buffer.cbh = lru_list[nlist];
bh1389fs/buffer.cif(!bh) continue;
bh1392fs/buffer.cif (bh->b_lock)
bh1394fs/buffer.cif (bh->b_dirt)
bh1396fs/buffer.cif(mem_map[MAP_NR(((unsigned long) bh->b_data))] !=1) shared++;
bh1397fs/buffer.cif (bh->b_count)
bh1399fs/buffer.cbh = bh->b_next_free;
bh1400fs/buffer.c} while (bh != lru_list[nlist]);
bh1418fs/buffer.cstatic inline int try_to_reassign(struct buffer_head * bh, struct buffer_head ** bhp,
bh1424fs/buffer.c*bhp = bh;
bh1425fs/buffer.cpage = (unsigned long) bh->b_data;
bh1428fs/buffer.ctmp = bh;
bh1436fs/buffer.c} while (tmp != bh);
bh1437fs/buffer.ctmp = bh;
bh1443fs/buffer.cbh = tmp;
bh1453fs/buffer.c} while (tmp != bh);
bh1474fs/buffer.cstruct buffer_head *bh;
bh1484fs/buffer.cbh = free_list[isize];
bh1485fs/buffer.cif(bh)
bh1486fs/buffer.cfor (i=0 ; !i || bh != free_list[isize] ; bh = bh->b_next_free, i++) {
bh1487fs/buffer.cif (!bh->b_this_page)  continue;
bh1488fs/buffer.cif (try_to_reassign(bh, &bh, dev, starting_block))
bh1500fs/buffer.cstruct buffer_head * bh, * tmp, * arr[8];
bh1509fs/buffer.cbh = create_buffers(page, size);
bh1510fs/buffer.cif (!bh) {
bh1519fs/buffer.ctmp = bh;
bh1522fs/buffer.carr[nblock++] = bh;
bh1523fs/buffer.cbh->b_count = 1;
bh1524fs/buffer.cbh->b_dirt = 0;
bh1525fs/buffer.cbh->b_flushtime = 0;
bh1526fs/buffer.cbh->b_lock = 0;
bh1527fs/buffer.cbh->b_uptodate = 0;
bh1528fs/buffer.cbh->b_req = 0;
bh1529fs/buffer.cbh->b_dev = dev;
bh1530fs/buffer.cbh->b_list = BUF_CLEAN;
bh1531fs/buffer.cbh->b_blocknr = block++;
bh1534fs/buffer.cinsert_into_queues(bh);
bh1535fs/buffer.cif (bh->b_this_page)
bh1536fs/buffer.cbh = bh->b_this_page;
bh1541fs/buffer.cbuffer_pages[page >> PAGE_SHIFT] = bh;
bh1542fs/buffer.cbh->b_this_page = tmp;
bh1547fs/buffer.cwhile ((tmp = bh) != NULL) {
bh1548fs/buffer.cbh = bh->b_this_page;
bh1661fs/buffer.cstruct buffer_head * bh, *next;
bh1676fs/buffer.cbh = lru_list[nlist];
bh1677fs/buffer.cif(bh) 
bh1678fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0; bh = next) {
bh1680fs/buffer.cif(bh->b_list != nlist) goto repeat;
bh1681fs/buffer.cnext = bh->b_next_free;
bh1688fs/buffer.cif (nlist == BUF_DIRTY && !bh->b_dirt && !bh->b_lock)
bh1690fs/buffer.crefile_buffer(bh);
bh1694fs/buffer.cif (bh->b_lock || !bh->b_dirt)
bh1697fs/buffer.cif(bh->b_flushtime > jiffies) continue;
bh1699fs/buffer.cbh->b_count++;
bh1700fs/buffer.cbh->b_flushtime = 0;
bh1704fs/buffer.cll_rw_block(WRITE, 1, &bh);
bh1705fs/buffer.cbh->b_count--;
bh1736fs/buffer.cstruct buffer_head * bh, *next;
bh1776fs/buffer.cbh = lru_list[nlist];
bh1777fs/buffer.cif(bh) 
bh1779fs/buffer.cbh = next) {
bh1781fs/buffer.cif(bh->b_list != nlist) goto repeat;
bh1782fs/buffer.cnext = bh->b_next_free;
bh1789fs/buffer.cif (nlist == BUF_DIRTY && !bh->b_dirt && !bh->b_lock)
bh1791fs/buffer.crefile_buffer(bh);
bh1795fs/buffer.cif (bh->b_lock || !bh->b_dirt)
bh1799fs/buffer.cbh->b_count++;
bh1801fs/buffer.cbh->b_flushtime = 0;
bh1802fs/buffer.cll_rw_block(WRITE, 1, &bh);
bh1806fs/buffer.cbh->b_count--;
bh69fs/ext/dir.cstruct buffer_head * bh;
bh78fs/ext/dir.cbh = ext_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0);
bh79fs/ext/dir.cif (!bh) {
bh83fs/ext/dir.cde = (struct ext_dir_entry *) (offset + bh->b_data);
bh108fs/ext/dir.cbrelse(bh);
bh115fs/ext/dir.cbrelse(bh);
bh201fs/ext/file.cstruct buffer_head * bh;
bh222fs/ext/file.cbh = ext_getblk(inode,pos/BLOCK_SIZE,1);
bh223fs/ext/file.cif (!bh) {
bh231fs/ext/file.cif (c != BLOCK_SIZE && !bh->b_uptodate) {
bh232fs/ext/file.cll_rw_block(READ, 1, &bh);
bh233fs/ext/file.cwait_on_buffer(bh);
bh234fs/ext/file.cif (!bh->b_uptodate) {
bh235fs/ext/file.cbrelse(bh);
bh241fs/ext/file.cp = (pos % BLOCK_SIZE) + bh->b_data;
bh250fs/ext/file.cbh->b_uptodate = 1;
bh251fs/ext/file.cmark_buffer_dirty(bh, 0);
bh252fs/ext/file.cbrelse(bh);
bh49fs/ext/freelists.cstruct buffer_head * bh;
bh62fs/ext/freelists.cbh = get_hash_table(sb->s_dev, block, sb->s_blocksize);
bh63fs/ext/freelists.cif (bh)
bh64fs/ext/freelists.cbh->b_dirt=0;
bh65fs/ext/freelists.cbrelse(bh);
bh93fs/ext/freelists.cstruct buffer_head * bh;
bh132fs/ext/freelists.cif (!(bh=getblk(sb->s_dev, j, sb->s_blocksize))) {
bh136fs/ext/freelists.cclear_block(bh->b_data);
bh137fs/ext/freelists.cbh->b_uptodate = 1;
bh138fs/ext/freelists.cmark_buffer_dirty(bh, 1);
bh139fs/ext/freelists.cbrelse(bh);
bh150fs/ext/freelists.cstruct buffer_head * bh;
bh162fs/ext/freelists.cif (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
bh166fs/ext/freelists.cefb = (struct ext_free_block *) bh->b_data;
bh169fs/ext/freelists.cbrelse (bh);
bh184fs/ext/freelists.cstruct buffer_head * bh;
bh229fs/ext/freelists.cif (!(bh = bread(dev, block, sb->s_blocksize)))
bh231fs/ext/freelists.cefi = ((struct ext_free_inode *) bh->b_data) +
bh236fs/ext/freelists.csb->u.ext_sb.s_firstfreeinodeblock = bh;
bh310fs/ext/freelists.cstruct buffer_head * bh;
bh329fs/ext/freelists.cif (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
bh333fs/ext/freelists.cefi = ((struct ext_free_inode *) bh->b_data) +
bh337fs/ext/freelists.cbrelse (bh);
bh32fs/ext/fsync.cstruct buffer_head * bh;
bh38fs/ext/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
bh39fs/ext/fsync.cif (!bh)
bh42fs/ext/fsync.cbrelse (bh);
bh45fs/ext/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh46fs/ext/fsync.cbrelse(bh);
bh49fs/ext/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt)
bh51fs/ext/fsync.cbrelse(bh);
bh54fs/ext/fsync.cll_rw_block(WRITE, 1, &bh);
bh55fs/ext/fsync.cbh->b_count--;
bh60fs/ext/fsync.cstruct buffer_head **bh, int wait) 
bh64fs/ext/fsync.c*bh = NULL;
bh71fs/ext/fsync.c*bh = bread(inode->i_dev, tmp, blocksize);
bh73fs/ext/fsync.cbrelse(*bh);
bh74fs/ext/fsync.c*bh = NULL;
bh77fs/ext/fsync.cif (!*bh)
bh60fs/ext/inode.cstruct buffer_head *bh;
bh66fs/ext/inode.cif (!(bh = bread(dev, 1, BLOCK_SIZE))) {
bh72fs/ext/inode.ces = (struct ext_super_block *) bh->b_data;
bh85fs/ext/inode.cbrelse(bh);
bh130fs/ext/inode.cstruct buffer_head * bh;
bh133fs/ext/inode.cif (!(bh = bread(sb->s_dev, 1, BLOCK_SIZE))) {
bh137fs/ext/inode.ces = (struct ext_super_block *) bh->b_data;
bh142fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh143fs/ext/inode.cbrelse (bh);
bh166fs/ext/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
bh170fs/ext/inode.cif (!bh)
bh172fs/ext/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
bh173fs/ext/inode.cbrelse(bh);
bh255fs/ext/inode.cstruct buffer_head * bh, int nr, int create)
bh261fs/ext/inode.cif (!bh)
bh263fs/ext/inode.cif (!bh->b_uptodate) {
bh264fs/ext/inode.cll_rw_block(READ, 1, &bh);
bh265fs/ext/inode.cwait_on_buffer(bh);
bh266fs/ext/inode.cif (!bh->b_uptodate) {
bh267fs/ext/inode.cbrelse(bh);
bh271fs/ext/inode.cp = nr + (unsigned long *) bh->b_data;
bh275fs/ext/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh277fs/ext/inode.cbrelse(bh);
bh284fs/ext/inode.cbrelse(bh);
bh289fs/ext/inode.cbrelse(bh);
bh292fs/ext/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh299fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh300fs/ext/inode.cbrelse(bh);
bh306fs/ext/inode.cstruct buffer_head * bh;
bh320fs/ext/inode.cbh = inode_getblk(inode,9,create);
bh321fs/ext/inode.creturn block_getblk(inode,bh,block,create);
bh325fs/ext/inode.cbh = inode_getblk(inode,10,create);
bh326fs/ext/inode.cbh = block_getblk(inode,bh,block>>8,create);
bh327fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
bh330fs/ext/inode.cbh = inode_getblk(inode,11,create);
bh331fs/ext/inode.cbh = block_getblk(inode,bh,block>>16,create);
bh332fs/ext/inode.cbh = block_getblk(inode,bh,(block>>8) & 255,create);
bh333fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
bh338fs/ext/inode.cstruct buffer_head * bh;
bh340fs/ext/inode.cbh = ext_getblk(inode,block,create);
bh341fs/ext/inode.cif (!bh || bh->b_uptodate) 
bh342fs/ext/inode.creturn bh;
bh343fs/ext/inode.cll_rw_block(READ, 1, &bh);
bh344fs/ext/inode.cwait_on_buffer(bh);
bh345fs/ext/inode.cif (bh->b_uptodate)
bh346fs/ext/inode.creturn bh;
bh347fs/ext/inode.cbrelse(bh);
bh353fs/ext/inode.cstruct buffer_head * bh;
bh358fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
bh360fs/ext/inode.craw_inode = ((struct ext_inode *) bh->b_data) +
bh373fs/ext/inode.cbrelse(bh);
bh391fs/ext/inode.cstruct buffer_head * bh;
bh396fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
bh398fs/ext/inode.craw_inode = ((struct ext_inode *)bh->b_data) +
bh410fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh412fs/ext/inode.creturn bh;
bh417fs/ext/inode.cstruct buffer_head *bh;
bh418fs/ext/inode.cbh = ext_update_inode (inode);
bh419fs/ext/inode.cbrelse(bh);
bh425fs/ext/inode.cstruct buffer_head *bh;
bh427fs/ext/inode.cbh = ext_update_inode(inode);
bh428fs/ext/inode.cif (bh && bh->b_dirt)
bh430fs/ext/inode.cll_rw_block(WRITE, 1, &bh);
bh431fs/ext/inode.cwait_on_buffer(bh);
bh432fs/ext/inode.cif (bh->b_req && !bh->b_uptodate)
bh439fs/ext/inode.celse if (!bh)
bh441fs/ext/inode.cbrelse (bh);
bh93fs/ext/namei.cstruct buffer_head * bh;
bh106fs/ext/namei.cbh = ext_bread(dir,0,0);
bh107fs/ext/namei.cif (!bh)
bh114fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh116fs/ext/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data) {
bh117fs/ext/namei.cbrelse(bh);
bh118fs/ext/namei.cbh = NULL;
bh119fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0);
bh120fs/ext/namei.cif (!bh)
bh122fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh128fs/ext/namei.c(((char *) de) + de->rec_len-1 >= BLOCK_SIZE+bh->b_data)) {
bh132fs/ext/namei.cde = (struct ext_dir_entry *) (bh->b_data+BLOCK_SIZE);
bh142fs/ext/namei.c((char *)de) + de->rec_len < BLOCK_SIZE+bh->b_data)
bh147fs/ext/namei.creturn bh;
bh154fs/ext/namei.cbrelse(bh);
bh163fs/ext/namei.cstruct buffer_head * bh;
bh172fs/ext/namei.cif (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) {
bh177fs/ext/namei.cbrelse(bh);
bh202fs/ext/namei.cstruct buffer_head * bh;
bh217fs/ext/namei.cbh = ext_bread(dir,0,0);
bh218fs/ext/namei.cif (!bh)
bh222fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh224fs/ext/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) {
bh228fs/ext/namei.cbrelse(bh);
bh229fs/ext/namei.cbh = NULL;
bh230fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0);
bh231fs/ext/namei.cif (!bh)
bh233fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh253fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh255fs/ext/namei.cbrelse (bh);
bh256fs/ext/namei.cbh = NULL;
bh260fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1);
bh261fs/ext/namei.cif (!bh)
bh263fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh276fs/ext/namei.c(((char *) de) + de->rec_len-1 >= BLOCK_SIZE+bh->b_data)) {
bh280fs/ext/namei.cbrelse (bh);
bh300fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh302fs/ext/namei.creturn bh;
bh307fs/ext/namei.cbrelse(bh);
bh315fs/ext/namei.cstruct buffer_head * bh;
bh329fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh330fs/ext/namei.cif (!bh) {
bh338fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh339fs/ext/namei.cbrelse(bh);
bh348fs/ext/namei.cstruct buffer_head * bh;
bh353fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh354fs/ext/namei.cif (bh) {
bh355fs/ext/namei.cbrelse(bh);
bh388fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh389fs/ext/namei.cif (!bh) {
bh397fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh398fs/ext/namei.cbrelse(bh);
bh407fs/ext/namei.cstruct buffer_head * bh, *dir_block;
bh410fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh411fs/ext/namei.cif (bh) {
bh412fs/ext/namei.cbrelse(bh);
bh455fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh456fs/ext/namei.cif (!bh) {
bh463fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh468fs/ext/namei.cbrelse(bh);
bh478fs/ext/namei.cstruct buffer_head * bh;
bh481fs/ext/namei.cif (inode->i_size < 2 * 12 || !(bh = ext_bread(inode,0,0))) {
bh485fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh495fs/ext/namei.cif ((void *) de >= (void *) (bh->b_data+BLOCK_SIZE)) {
bh496fs/ext/namei.cbrelse(bh);
bh497fs/ext/namei.cbh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1);
bh498fs/ext/namei.cif (!bh) {
bh502fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh509fs/ext/namei.cbrelse (bh);
bh513fs/ext/namei.cbrelse(bh);
bh519fs/ext/namei.cbrelse(bh);
bh536fs/ext/namei.cstruct buffer_head * bh;
bh540fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
bh542fs/ext/namei.cif (!bh)
bh572fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh582fs/ext/namei.cbrelse(bh);
bh590fs/ext/namei.cstruct buffer_head * bh;
bh595fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
bh596fs/ext/namei.cif (!bh)
bh615fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh623fs/ext/namei.cbrelse(bh);
bh633fs/ext/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh659fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh660fs/ext/namei.cif (bh) {
bh664fs/ext/namei.cbrelse(bh);
bh668fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh669fs/ext/namei.cif (!bh) {
bh677fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh678fs/ext/namei.cbrelse(bh);
bh687fs/ext/namei.cstruct buffer_head * bh;
bh699fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh700fs/ext/namei.cif (bh) {
bh701fs/ext/namei.cbrelse(bh);
bh706fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh707fs/ext/namei.cif (!bh) {
bh713fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh714fs/ext/namei.cbrelse(bh);
bh51fs/ext/symlink.cstruct buffer_head * bh;
bh72fs/ext/symlink.cif (!(bh = ext_bread(inode, 0, 0))) {
bh79fs/ext/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
bh81fs/ext/symlink.cbrelse(bh);
bh87fs/ext/symlink.cstruct buffer_head * bh;
bh97fs/ext/symlink.cbh = ext_bread(inode, 0, 0);
bh99fs/ext/symlink.cif (!bh)
bh102fs/ext/symlink.cwhile (i<buflen && (c = bh->b_data[i])) {
bh106fs/ext/symlink.cbrelse(bh);
bh36fs/ext/truncate.cstruct buffer_head * bh;
bh45fs/ext/truncate.cbh = getblk(inode->i_dev,tmp,BLOCK_SIZE);
bh47fs/ext/truncate.cbrelse(bh);
bh50fs/ext/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
bh52fs/ext/truncate.cbrelse(bh);
bh57fs/ext/truncate.cbrelse(bh);
bh66fs/ext/truncate.cstruct buffer_head * bh;
bh94fs/ext/truncate.cbh = getblk(inode->i_dev,tmp,BLOCK_SIZE);
bh96fs/ext/truncate.cbrelse(bh);
bh99fs/ext/truncate.cif ((bh && bh->b_count != 1) || tmp != *ind) {
bh101fs/ext/truncate.cbrelse(bh);
bh106fs/ext/truncate.cbrelse(bh);
bh121fs/ext2/balloc.cstruct buffer_head ** bh)
bh142fs/ext2/balloc.cif (bh)
bh143fs/ext2/balloc.c*bh = sb->u.ext2_sb.s_group_desc[group_desc];
bh152fs/ext2/balloc.cstruct buffer_head * bh;
bh155fs/ext2/balloc.cbh = bread (sb->s_dev, gdp->bg_block_bitmap, sb->s_blocksize);
bh156fs/ext2/balloc.cif (!bh)
bh162fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap[bitmap_nr] = bh;
bh252fs/ext2/balloc.cstruct buffer_head * bh;
bh287fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh303fs/ext2/balloc.cif (!clear_bit (bit + i, bh->b_data))
bh316fs/ext2/balloc.cmark_buffer_dirty(bh, 1);
bh318fs/ext2/balloc.cll_rw_block (WRITE, 1, &bh);
bh319fs/ext2/balloc.cwait_on_buffer (bh);
bh337fs/ext2/balloc.cstruct buffer_head * bh;
bh377fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh381fs/ext2/balloc.cif (!test_bit(j, bh->b_data)) {
bh393fs/ext2/balloc.clmap = ((((unsigned long *) bh->b_data)[j >> 5]) >>
bh396fs/ext2/balloc.clmap |= (((unsigned long *) bh->b_data)[(j >> 5) + 1]) <<
bh423fs/ext2/balloc.cp = ((char *) bh->b_data) + (j >> 3);
bh426fs/ext2/balloc.ck = (r - ((char *) bh->b_data)) << 3;
bh431fs/ext2/balloc.ck = find_next_zero_bit ((unsigned long *) bh->b_data, 
bh459fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh460fs/ext2/balloc.cr = find_first_zero_byte (bh->b_data, 
bh462fs/ext2/balloc.cj = (r - bh->b_data) << 3;
bh466fs/ext2/balloc.cj = find_first_zero_bit ((unsigned long *) bh->b_data,
bh481fs/ext2/balloc.cfor (k = 0; k < 7 && j > 0 && !test_bit (j - 1, bh->b_data); k++, j--);
bh497fs/ext2/balloc.cif (set_bit (j, bh->b_data)) {
bh514fs/ext2/balloc.cif (set_bit (j + k, bh->b_data))
bh527fs/ext2/balloc.cmark_buffer_dirty(bh, 1);
bh529fs/ext2/balloc.cll_rw_block (WRITE, 1, &bh);
bh530fs/ext2/balloc.cwait_on_buffer (bh);
bh540fs/ext2/balloc.cif (!(bh = getblk (sb->s_dev, j, sb->s_blocksize))) {
bh545fs/ext2/balloc.cclear_block (bh->b_data, sb->s_blocksize);
bh546fs/ext2/balloc.cbh->b_uptodate = 1;
bh547fs/ext2/balloc.cmark_buffer_dirty(bh, 1);
bh548fs/ext2/balloc.cbrelse (bh);
bh605fs/ext2/balloc.cstruct buffer_head * bh;
bh624fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh626fs/ext2/balloc.cif (!test_bit (0, bh->b_data))
bh631fs/ext2/balloc.cif (!test_bit (j + 1, bh->b_data))
bh636fs/ext2/balloc.cif (!block_in_use (gdp->bg_block_bitmap, sb, bh->b_data))
bh641fs/ext2/balloc.cif (!block_in_use (gdp->bg_inode_bitmap, sb, bh->b_data))
bh647fs/ext2/balloc.cif (!block_in_use (gdp->bg_inode_table + j, sb, bh->b_data))
bh652fs/ext2/balloc.cx = ext2_count_free (bh, sb->s_blocksize);
bh68fs/ext2/dir.cstruct ext2_dir_entry * de, struct buffer_head * bh,
bh79fs/ext2/dir.celse if (dir && ((char *) de - bh->b_data) + de->rec_len >
bh96fs/ext2/dir.cstruct buffer_head * bh, * tmp, * bha[16];
bh107fs/ext2/dir.cbh = ext2_bread (inode, blk, 0, &err);
bh108fs/ext2/dir.cif (!bh) {
bh132fs/ext2/dir.cde = (struct ext2_dir_entry *) (offset + bh->b_data);
bh135fs/ext2/dir.cbh, offset)) {
bh136fs/ext2/dir.cbrelse (bh);
bh153fs/ext2/dir.cbrelse (bh);
bh163fs/ext2/dir.cbrelse (bh);
bh231fs/ext2/file.cstruct buffer_head * bh;
bh259fs/ext2/file.cbh = ext2_getblk (inode, pos / sb->s_blocksize, 1, &err);
bh260fs/ext2/file.cif (!bh) {
bh268fs/ext2/file.cif (c != sb->s_blocksize && !bh->b_uptodate) {
bh269fs/ext2/file.cll_rw_block (READ, 1, &bh);
bh270fs/ext2/file.cwait_on_buffer (bh);
bh271fs/ext2/file.cif (!bh->b_uptodate) {
bh272fs/ext2/file.cbrelse (bh);
bh278fs/ext2/file.cp = (pos % sb->s_blocksize) + bh->b_data;
bh283fs/ext2/file.cbh->b_uptodate = 1;
bh284fs/ext2/file.cmark_buffer_dirty(bh, 0);
bh285fs/ext2/file.cbrelse (bh);
bh32fs/ext2/fsync.cstruct buffer_head * bh;
bh38fs/ext2/fsync.cbh = get_hash_table (inode->i_dev, *block, blocksize);
bh39fs/ext2/fsync.cif (!bh)
bh42fs/ext2/fsync.cbrelse (bh);
bh45fs/ext2/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh46fs/ext2/fsync.cbrelse (bh);
bh49fs/ext2/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt) {
bh50fs/ext2/fsync.cbrelse (bh);
bh53fs/ext2/fsync.cll_rw_block (WRITE, 1, &bh);
bh54fs/ext2/fsync.cbh->b_count--;
bh59fs/ext2/fsync.cstruct buffer_head ** bh, int wait) 
bh63fs/ext2/fsync.c*bh = NULL;
bh70fs/ext2/fsync.c*bh = bread (inode->i_dev, tmp, blocksize);
bh72fs/ext2/fsync.cbrelse (*bh);
bh73fs/ext2/fsync.c*bh = NULL;
bh76fs/ext2/fsync.cif (!*bh)
bh64fs/ext2/ialloc.cstruct buffer_head ** bh)
bh85fs/ext2/ialloc.cif (bh)
bh86fs/ext2/ialloc.c*bh = sb->u.ext2_sb.s_group_desc[group_desc];
bh95fs/ext2/ialloc.cstruct buffer_head * bh;
bh98fs/ext2/ialloc.cbh = bread (sb->s_dev, gdp->bg_inode_bitmap, sb->s_blocksize);
bh99fs/ext2/ialloc.cif (!bh)
bh104fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap[bitmap_nr] = bh;
bh187fs/ext2/ialloc.cstruct buffer_head * bh;
bh193fs/ext2/ialloc.cbh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize);
bh194fs/ext2/ialloc.cif (!bh)
bh199fs/ext2/ialloc.craw_inode = ((struct ext2_inode *) bh->b_data) +
bh205fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh207fs/ext2/ialloc.cll_rw_block (WRITE, 1, &bh);
bh208fs/ext2/ialloc.cwait_on_buffer (bh);
bh210fs/ext2/ialloc.cbrelse (bh);
bh216fs/ext2/ialloc.cstruct buffer_head * bh;
bh260fs/ext2/ialloc.cbh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr];
bh261fs/ext2/ialloc.cif (!clear_bit (bit, bh->b_data))
bh274fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh276fs/ext2/ialloc.cll_rw_block (WRITE, 1, &bh);
bh277fs/ext2/ialloc.cwait_on_buffer (bh);
bh295fs/ext2/ialloc.cstruct buffer_head * bh;
bh301fs/ext2/ialloc.cbh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize);
bh302fs/ext2/ialloc.cif (!bh) {
bh310fs/ext2/ialloc.craw_inode = ((struct ext2_inode *) bh->b_data) +
bh316fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh317fs/ext2/ialloc.cbrelse (bh);
bh333fs/ext2/ialloc.cstruct buffer_head * bh;
bh432fs/ext2/ialloc.cbh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr];
bh433fs/ext2/ialloc.cif ((j = find_first_zero_bit ((unsigned long *) bh->b_data,
bh436fs/ext2/ialloc.cif (set_bit (j, bh->b_data)) {
bh441fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh443fs/ext2/ialloc.cll_rw_block (WRITE, 1, &bh);
bh444fs/ext2/ialloc.cwait_on_buffer (bh);
bh50fs/ext2/inode.cstatic int block_bmap (struct buffer_head * bh, int nr)
bh54fs/ext2/inode.cif (!bh)
bh56fs/ext2/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
bh57fs/ext2/inode.cbrelse (bh);
bh87fs/ext2/inode.cstruct buffer_head * bh;
bh104fs/ext2/inode.cif (!(bh = getblk (inode->i_sb->s_dev, result,
bh110fs/ext2/inode.cclear_block (bh->b_data, inode->i_sb->s_blocksize);
bh111fs/ext2/inode.cbh->b_uptodate = 1;
bh112fs/ext2/inode.cmark_buffer_dirty(bh, 1);
bh113fs/ext2/inode.cbrelse (bh);
bh255fs/ext2/inode.cstruct buffer_head * bh, int nr,
bh264fs/ext2/inode.cif (!bh)
bh266fs/ext2/inode.cif (!bh->b_uptodate) {
bh267fs/ext2/inode.cll_rw_block (READ, 1, &bh);
bh268fs/ext2/inode.cwait_on_buffer (bh);
bh269fs/ext2/inode.cif (!bh->b_uptodate) {
bh270fs/ext2/inode.cbrelse (bh);
bh274fs/ext2/inode.cp = (unsigned long *) bh->b_data + nr;
bh278fs/ext2/inode.cresult = getblk (bh->b_dev, tmp, blocksize);
bh280fs/ext2/inode.cbrelse (bh);
bh289fs/ext2/inode.cbrelse (bh);
bh297fs/ext2/inode.cif (((unsigned long *) bh->b_data)[tmp]) {
bh298fs/ext2/inode.cgoal = ((unsigned long *)bh->b_data)[tmp];
bh303fs/ext2/inode.cgoal = bh->b_blocknr;
bh307fs/ext2/inode.cbrelse (bh);
bh310fs/ext2/inode.cresult = getblk (bh->b_dev, tmp, blocksize);
bh317fs/ext2/inode.cmark_buffer_dirty(bh, 1);
bh319fs/ext2/inode.cll_rw_block (WRITE, 1, &bh);
bh320fs/ext2/inode.cwait_on_buffer (bh);
bh327fs/ext2/inode.cbrelse (bh);
bh331fs/ext2/inode.cstatic int block_getcluster (struct inode * inode, struct buffer_head * bh,
bh342fs/ext2/inode.cif(!bh) return 0;
bh348fs/ext2/inode.cp = (unsigned long *) bh->b_data + nr + i;
bh358fs/ext2/inode.cp = (unsigned long *) bh->b_data + nr;
bh359fs/ext2/inode.cresult = generate_cluster(bh->b_dev, (int *) p, blocksize);
bh362fs/ext2/inode.cbrelse(bh);
bh369fs/ext2/inode.cstruct buffer_head * bh;
bh405fs/ext2/inode.cbh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, err);
bh406fs/ext2/inode.creturn block_getblk (inode, bh, block, create,
bh411fs/ext2/inode.cbh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, err);
bh412fs/ext2/inode.cbh = block_getblk (inode, bh, block / addr_per_block, create,
bh414fs/ext2/inode.creturn block_getblk (inode, bh, block & (addr_per_block - 1),
bh418fs/ext2/inode.cbh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, err);
bh419fs/ext2/inode.cbh = block_getblk (inode, bh, block/(addr_per_block * addr_per_block),
bh421fs/ext2/inode.cbh = block_getblk (inode, bh, (block/addr_per_block) & (addr_per_block - 1),
bh423fs/ext2/inode.creturn block_getblk (inode, bh, block & (addr_per_block - 1), create,
bh429fs/ext2/inode.cstruct buffer_head * bh;
bh454fs/ext2/inode.cbh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, &err);
bh455fs/ext2/inode.creturn block_getcluster (inode, bh, block, 
bh460fs/ext2/inode.cbh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, &err);
bh461fs/ext2/inode.cbh = block_getblk (inode, bh, block / addr_per_block, create,
bh463fs/ext2/inode.creturn block_getcluster (inode, bh, block & (addr_per_block - 1),
bh467fs/ext2/inode.cbh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, &err);
bh468fs/ext2/inode.cbh = block_getblk (inode, bh, block/(addr_per_block * addr_per_block),
bh470fs/ext2/inode.cbh = block_getblk (inode, bh, (block/addr_per_block) & (addr_per_block - 1),
bh472fs/ext2/inode.creturn block_getcluster (inode, bh, block & (addr_per_block - 1),
bh479fs/ext2/inode.cstruct buffer_head * bh;
bh481fs/ext2/inode.cbh = ext2_getblk (inode, block, create, err);
bh482fs/ext2/inode.cif (!bh || bh->b_uptodate)
bh483fs/ext2/inode.creturn bh;
bh484fs/ext2/inode.cll_rw_block (READ, 1, &bh);
bh485fs/ext2/inode.cwait_on_buffer (bh);
bh486fs/ext2/inode.cif (bh->b_uptodate)
bh487fs/ext2/inode.creturn bh;
bh488fs/ext2/inode.cbrelse (bh);
bh495fs/ext2/inode.cstruct buffer_head * bh;
bh516fs/ext2/inode.cbh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc];
bh517fs/ext2/inode.cif (!bh)
bh520fs/ext2/inode.cgdp = (struct ext2_group_desc *) bh->b_data;
bh524fs/ext2/inode.cif (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize)))
bh528fs/ext2/inode.craw_inode = ((struct ext2_inode *) bh->b_data) +
bh558fs/ext2/inode.cbrelse (bh);
bh581fs/ext2/inode.cstruct buffer_head * bh;
bh601fs/ext2/inode.cbh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc];
bh602fs/ext2/inode.cif (!bh)
bh605fs/ext2/inode.cgdp = (struct ext2_group_desc *) bh->b_data;
bh609fs/ext2/inode.cif (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize)))
bh613fs/ext2/inode.craw_inode = ((struct ext2_inode *)bh->b_data) +
bh636fs/ext2/inode.cmark_buffer_dirty(bh, 1);
bh638fs/ext2/inode.creturn bh;
bh643fs/ext2/inode.cstruct buffer_head * bh;
bh644fs/ext2/inode.cbh = ext2_update_inode (inode);
bh645fs/ext2/inode.cbrelse (bh);
bh651fs/ext2/inode.cstruct buffer_head *bh;
bh653fs/ext2/inode.cbh = ext2_update_inode (inode);
bh654fs/ext2/inode.cif (bh && bh->b_dirt)
bh656fs/ext2/inode.cll_rw_block (WRITE, 1, &bh);
bh657fs/ext2/inode.cwait_on_buffer (bh);
bh658fs/ext2/inode.cif (bh->b_req && !bh->b_uptodate)
bh665fs/ext2/inode.celse if (!bh)
bh667fs/ext2/inode.cbrelse (bh);
bh101fs/ext2/namei.cstruct buffer_head * bh;
bh105fs/ext2/namei.cbh = ext2_getblk (dir, block, 0, &err);
bh106fs/ext2/namei.cbh_use[block] = bh;
bh107fs/ext2/namei.cif (bh && !bh->b_uptodate)
bh108fs/ext2/namei.cbh_read[toread++] = bh;
bh114fs/ext2/namei.cstruct buffer_head * bh;
bh122fs/ext2/namei.cbh = bh_use[block % NAMEI_RA_SIZE];
bh123fs/ext2/namei.cif (!bh)
bh126fs/ext2/namei.cwait_on_buffer (bh);
bh127fs/ext2/namei.cif (!bh->b_uptodate) {
bh134fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh135fs/ext2/namei.cdlimit = bh->b_data + sb->s_blocksize;
bh138fs/ext2/namei.cde, bh, offset))
bh142fs/ext2/namei.cif (bh_use[i] != bh)
bh146fs/ext2/namei.creturn bh;
bh153fs/ext2/namei.cbrelse (bh);
bh156fs/ext2/namei.cbh = NULL;
bh158fs/ext2/namei.cbh = ext2_getblk (dir, block + NAMEI_RA_SIZE, 0, &err);
bh159fs/ext2/namei.cbh_use[block++ % NAMEI_RA_SIZE] = bh;
bh160fs/ext2/namei.cif (bh && !bh->b_uptodate)
bh161fs/ext2/namei.cbh_read[toread++] = bh;
bh175fs/ext2/namei.cstruct buffer_head * bh;
bh187fs/ext2/namei.cif (!(bh = ext2_find_entry (dir, name, len, &de))) {
bh196fs/ext2/namei.cbrelse (bh);
bh225fs/ext2/namei.cstruct buffer_head * bh;
bh251fs/ext2/namei.cbh = ext2_bread (dir, 0, 0, err);
bh252fs/ext2/namei.cif (!bh)
bh256fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh259fs/ext2/namei.cif ((char *)de >= sb->s_blocksize + bh->b_data) {
bh260fs/ext2/namei.cbrelse (bh);
bh261fs/ext2/namei.cbh = NULL;
bh262fs/ext2/namei.cbh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err);
bh263fs/ext2/namei.cif (!bh)
bh273fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh282fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh285fs/ext2/namei.cif (!ext2_check_dir_entry ("ext2_add_entry", dir, de, bh,
bh288fs/ext2/namei.cbrelse (bh);
bh293fs/ext2/namei.cbrelse (bh);
bh323fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh326fs/ext2/namei.creturn bh;
bh331fs/ext2/namei.cbrelse (bh);
bh340fs/ext2/namei.cstruct buffer_head * bh)
bh347fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh348fs/ext2/namei.cwhile (i < bh->b_size) {
bh350fs/ext2/namei.cde, bh, i))
bh369fs/ext2/namei.cstruct buffer_head * bh;
bh384fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh385fs/ext2/namei.cif (!bh) {
bh398fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh400fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh401fs/ext2/namei.cwait_on_buffer (bh);
bh403fs/ext2/namei.cbrelse (bh);
bh413fs/ext2/namei.cstruct buffer_head * bh;
bh419fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh420fs/ext2/namei.cif (bh) {
bh421fs/ext2/namei.cbrelse (bh);
bh451fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh452fs/ext2/namei.cif (!bh) {
bh465fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh467fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh468fs/ext2/namei.cwait_on_buffer (bh);
bh470fs/ext2/namei.cbrelse (bh);
bh479fs/ext2/namei.cstruct buffer_head * bh, * dir_block;
bh485fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh486fs/ext2/namei.cif (bh) {
bh487fs/ext2/namei.cbrelse (bh);
bh528fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh529fs/ext2/namei.cif (!bh) {
bh542fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh544fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh545fs/ext2/namei.cwait_on_buffer (bh);
bh551fs/ext2/namei.cbrelse (bh);
bh561fs/ext2/namei.cstruct buffer_head * bh;
bh568fs/ext2/namei.c!(bh = ext2_bread (inode, 0, 0, &err))) {
bh573fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh584fs/ext2/namei.cif ((void *) de >= (void *) (bh->b_data + sb->s_blocksize)) {
bh585fs/ext2/namei.cbrelse (bh);
bh586fs/ext2/namei.cbh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err);
bh587fs/ext2/namei.cif (!bh) {
bh591fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh593fs/ext2/namei.cif (!ext2_check_dir_entry ("empty_dir", inode, de, bh,
bh595fs/ext2/namei.cbrelse (bh);
bh599fs/ext2/namei.cbrelse (bh);
bh605fs/ext2/namei.cbrelse (bh);
bh613fs/ext2/namei.cstruct buffer_head * bh;
bh620fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh622fs/ext2/namei.cif (!bh)
bh631fs/ext2/namei.cbrelse(bh);
bh662fs/ext2/namei.cretval = ext2_delete_entry (de, bh);
bh668fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh670fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh671fs/ext2/namei.cwait_on_buffer (bh);
bh692fs/ext2/namei.cbrelse (bh);
bh700fs/ext2/namei.cstruct buffer_head * bh;
bh708fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh709fs/ext2/namei.cif (!bh)
bh718fs/ext2/namei.cbrelse(bh);
bh733fs/ext2/namei.cretval = ext2_delete_entry (de, bh);
bh737fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh739fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh740fs/ext2/namei.cwait_on_buffer (bh);
bh752fs/ext2/namei.cbrelse (bh);
bh763fs/ext2/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh807fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh808fs/ext2/namei.cif (bh) {
bh812fs/ext2/namei.cbrelse (bh);
bh816fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh817fs/ext2/namei.cif (!bh) {
bh830fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh832fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh833fs/ext2/namei.cwait_on_buffer (bh);
bh835fs/ext2/namei.cbrelse (bh);
bh845fs/ext2/namei.cstruct buffer_head * bh;
bh858fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh859fs/ext2/namei.cif (bh) {
bh860fs/ext2/namei.cbrelse (bh);
bh865fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh866fs/ext2/namei.cif (!bh) {
bh877fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh879fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh880fs/ext2/namei.cwait_on_buffer (bh);
bh882fs/ext2/namei.cbrelse (bh);
bh133fs/ext2/super.cstruct buffer_head * bh)
bh142fs/ext2/super.ces = (struct ext2_super_block *) bh->b_data;
bh165fs/ext2/super.cmark_buffer_dirty(bh, 1);
bh358fs/ext2/super.cstruct buffer_head * bh;
bh378fs/ext2/super.cif (!(bh = bread (dev, sb_block, BLOCK_SIZE))) {
bh388fs/ext2/super.ces = (struct ext2_super_block *) bh->b_data;
bh398fs/ext2/super.cbrelse (bh);
bh411fs/ext2/super.cbrelse (bh);
bh415fs/ext2/super.cbh = bread (dev, logic_sb_block, sb->s_blocksize);
bh416fs/ext2/super.cif(!bh)
bh418fs/ext2/super.ces = (struct ext2_super_block *) (((char *)bh->b_data) + offset);
bh423fs/ext2/super.cbrelse (bh);
bh444fs/ext2/super.csb->u.ext2_sb.s_sbh = bh;
bh457fs/ext2/super.cbrelse (bh);
bh467fs/ext2/super.cbrelse (bh);
bh471fs/ext2/super.cif (!convert_pre_02b_fs (sb, bh)) {
bh474fs/ext2/super.cbrelse (bh);
bh485fs/ext2/super.cbrelse (bh);
bh491fs/ext2/super.cif (sb->s_blocksize != bh->b_size) {
bh494fs/ext2/super.cbrelse (bh);
bh504fs/ext2/super.cbrelse (bh);
bh521fs/ext2/super.cbrelse (bh);
bh533fs/ext2/super.cbrelse (bh);
bh543fs/ext2/super.cbrelse (bh);
bh566fs/ext2/super.cbrelse (bh);
bh54fs/ext2/symlink.cstruct buffer_head * bh = NULL;
bh77fs/ext2/symlink.cif (!(bh = ext2_bread (inode, 0, 0, &error))) {
bh82fs/ext2/symlink.clink = bh->b_data;
bh89fs/ext2/symlink.cif (bh)
bh90fs/ext2/symlink.cbrelse (bh);
bh96fs/ext2/symlink.cstruct buffer_head * bh = NULL;
bh108fs/ext2/symlink.cbh = ext2_bread (inode, 0, 0, &err);
bh109fs/ext2/symlink.cif (!bh) {
bh113fs/ext2/symlink.clink = bh->b_data;
bh123fs/ext2/symlink.cif (bh)
bh124fs/ext2/symlink.cbrelse (bh);
bh57fs/ext2/truncate.cstruct buffer_head * bh;
bh73fs/ext2/truncate.cbh = getblk (inode->i_dev, tmp,
bh76fs/ext2/truncate.cbh = get_hash_table (inode->i_dev, tmp,
bh79fs/ext2/truncate.cbrelse (bh);
bh82fs/ext2/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
bh84fs/ext2/truncate.cbrelse (bh);
bh91fs/ext2/truncate.cclear_block (bh->b_data, inode->i_sb->s_blocksize,
bh93fs/ext2/truncate.cmark_buffer_dirty(bh, 1);
bh95fs/ext2/truncate.cbrelse (bh);
bh116fs/ext2/truncate.cstruct buffer_head * bh;
bh150fs/ext2/truncate.cbh = getblk (inode->i_dev, tmp,
bh153fs/ext2/truncate.cbh = get_hash_table (inode->i_dev, tmp,
bh156fs/ext2/truncate.cbrelse (bh);
bh159fs/ext2/truncate.cif ((bh && bh->b_count != 1) || tmp != *ind) {
bh161fs/ext2/truncate.cbrelse (bh);
bh167fs/ext2/truncate.cclear_block (bh->b_data, inode->i_sb->s_blocksize,
bh169fs/ext2/truncate.cmark_buffer_dirty(bh, 1);
bh171fs/ext2/truncate.cbrelse (bh);
bh225fs/hpfs/hpfs_fs.cstruct buffer_head *bh[4];
bh867fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh899fs/hpfs/hpfs_fs.cblock = map_sector(inode->i_dev, hpfs_bmap(inode, q), &bh);
bh927fs/hpfs/hpfs_fs.cbrelse(bh);
bh998fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1014fs/hpfs/hpfs_fs.cfnode = map_fnode(inode->i_dev, inode->i_ino, &bh);
bh1018fs/hpfs/hpfs_fs.cfile_secno, &bh);
bh1019fs/hpfs/hpfs_fs.cbrelse(bh);
bh1571fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1575fs/hpfs/hpfs_fs.cfnode = map_fnode(dev, ino, &bh);
bh1580fs/hpfs/hpfs_fs.cbrelse(bh);
bh1653fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1655fs/hpfs/hpfs_fs.cif ((*bhp = bh = bread(dev, secno, 512)) != 0)
bh1656fs/hpfs/hpfs_fs.creturn bh->b_data;
bh1668fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1680fs/hpfs/hpfs_fs.cqbh->bh[0] = bh = breada(dev, secno, 512, 0, UINT_MAX);
bh1681fs/hpfs/hpfs_fs.cif (!bh)
bh1683fs/hpfs/hpfs_fs.cmemcpy(data, bh->b_data, 512);
bh1685fs/hpfs/hpfs_fs.cqbh->bh[1] = bh = bread(dev, secno + 1, 512);
bh1686fs/hpfs/hpfs_fs.cif (!bh)
bh1688fs/hpfs/hpfs_fs.cmemcpy(data + 512, bh->b_data, 512);
bh1690fs/hpfs/hpfs_fs.cqbh->bh[2] = bh = bread(dev, secno + 2, 512);
bh1691fs/hpfs/hpfs_fs.cif (!bh)
bh1693fs/hpfs/hpfs_fs.cmemcpy(data + 2 * 512, bh->b_data, 512);
bh1695fs/hpfs/hpfs_fs.cqbh->bh[3] = bh = bread(dev, secno + 3, 512);
bh1696fs/hpfs/hpfs_fs.cif (!bh)
bh1698fs/hpfs/hpfs_fs.cmemcpy(data + 3 * 512, bh->b_data, 512);
bh1703fs/hpfs/hpfs_fs.cbrelse(qbh->bh[2]);
bh1705fs/hpfs/hpfs_fs.cbrelse(qbh->bh[1]);
bh1707fs/hpfs/hpfs_fs.cbrelse(qbh->bh[0]);
bh1719fs/hpfs/hpfs_fs.cbrelse(qbh->bh[3]);
bh1720fs/hpfs/hpfs_fs.cbrelse(qbh->bh[2]);
bh1721fs/hpfs/hpfs_fs.cbrelse(qbh->bh[1]);
bh1722fs/hpfs/hpfs_fs.cbrelse(qbh->bh[0]);
bh74fs/isofs/dir.cstruct buffer_head * bh;
bh89fs/isofs/dir.cif(!(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size)))
bh97fs/isofs/dir.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh105fs/isofs/dir.cbrelse(bh);
bh111fs/isofs/dir.c|| !(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, 
bh128fs/isofs/dir.cmemcpy(cpnt, bh->b_data, bufsize);
bh131fs/isofs/dir.cbrelse(bh);
bh135fs/isofs/dir.c|| !(bh = breada(inode->i_dev, block, bufsize,
bh140fs/isofs/dir.cmemcpy((char *)cpnt+bufsize, bh->b_data, bufsize);
bh234fs/isofs/dir.cbrelse(bh);
bh243fs/isofs/dir.cbrelse(bh);
bh93fs/isofs/file.cstruct buffer_head * bh;
bh97fs/isofs/file.cif (block && (bh = bread(inode->i_dev,block, ISOFS_BUFFER_SIZE(inode)))) {
bh98fs/isofs/file.cpnt = (unsigned char *) bh->b_data;
bh109fs/isofs/file.cbrelse(bh);
bh135fs/isofs/inode.cstruct buffer_head *bh;
bh180fs/isofs/inode.cif (!(bh = bread(dev, iso_blknum << (ISOFS_BLOCK_BITS-blocksize_bits), opt.blocksize))) {
bh188fs/isofs/inode.cvdp = (struct iso_volume_descriptor *)bh->b_data;
bh189fs/isofs/inode.chdp = (struct hs_volume_descriptor *)bh->b_data;
bh215fs/isofs/inode.cbrelse(bh);
bh264fs/isofs/inode.cbrelse(bh);
bh297fs/isofs/inode.cbrelse(bh);
bh329fs/isofs/inode.cstruct buffer_head * bh;
bh338fs/isofs/inode.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
bh343fs/isofs/inode.cpnt = ((unsigned char *) bh->b_data
bh352fs/isofs/inode.cbrelse(bh);
bh355fs/isofs/inode.cmemcpy(cpnt, bh->b_data, bufsize);
bh356fs/isofs/inode.cbrelse(bh);
bh357fs/isofs/inode.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
bh362fs/isofs/inode.cmemcpy((char *)cpnt + bufsize, bh->b_data, bufsize);
bh464fs/isofs/inode.cbrelse(bh);
bh539fs/isofs/inode.cstruct buffer_head * bh;
bh544fs/isofs/inode.cif (!(bh = bread(parent->i_dev, block, bufsize)))  return -1;
bh547fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh550fs/isofs/inode.cbrelse(bh);
bh560fs/isofs/inode.cbrelse(bh);
bh567fs/isofs/inode.cbrelse(bh);
bh582fs/isofs/inode.cif (!block || !(bh = bread(parent->i_dev,block, bufsize)))
bh587fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh596fs/isofs/inode.cbrelse(bh);
bh602fs/isofs/inode.c|| !(bh = bread(parent->i_dev,block, bufsize)))
bh618fs/isofs/inode.cmemcpy(cpnt, bh->b_data, bufsize);
bh621fs/isofs/inode.cbrelse(bh);
bh624fs/isofs/inode.cif (!(bh = bread(parent->i_dev,block,bufsize))) {
bh628fs/isofs/inode.cmemcpy((char *)cpnt+bufsize, bh->b_data, bufsize);
bh650fs/isofs/inode.cbrelse(bh);
bh680fs/isofs/inode.cvoid leak_check_brelse(struct buffer_head * bh){
bh682fs/isofs/inode.creturn brelse(bh);
bh72fs/isofs/namei.cstruct buffer_head * bh;
bh91fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) return NULL;
bh94fs/isofs/namei.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh102fs/isofs/namei.cbrelse(bh);
bh107fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize)))
bh120fs/isofs/namei.cmemcpy(cpnt, bh->b_data, bufsize);
bh123fs/isofs/namei.cbrelse(bh);
bh126fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) {
bh130fs/isofs/namei.cmemcpy((char *)cpnt+bufsize,bh->b_data,bufsize);
bh201fs/isofs/namei.creturn bh;
bh207fs/isofs/namei.cbrelse(bh);
bh215fs/isofs/namei.cstruct buffer_head * bh;
bh245fs/isofs/namei.cif (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) {
bh249fs/isofs/namei.cbrelse(bh);
bh57fs/isofs/rock.cstruct buffer_head * bh; \
bh67fs/isofs/rock.cbh = bread(DEV->i_dev, block++, ISOFS_BUFFER_SIZE(DEV)); \
bh68fs/isofs/rock.cmemcpy(buffer, bh->b_data + offset, 1024 - offset); \
bh69fs/isofs/rock.cbrelse(bh); \
bh74fs/isofs/rock.cbh = bread(DEV->i_dev, block, ISOFS_BUFFER_SIZE(DEV)); \
bh75fs/isofs/rock.cif(bh){       \
bh76fs/isofs/rock.cmemcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \
bh77fs/isofs/rock.cbrelse(bh); \
bh388fs/isofs/rock.cstruct buffer_head * bh;
bh407fs/isofs/rock.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
bh412fs/isofs/rock.cpnt = ((unsigned char *) bh->b_data) + (inode->i_ino & (bufsize - 1));
bh418fs/isofs/rock.cmemcpy(cpnt, bh->b_data, bufsize);
bh419fs/isofs/rock.cbrelse(bh);
bh420fs/isofs/rock.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
bh425fs/isofs/rock.cmemcpy((char *)cpnt+bufsize, bh->b_data, bufsize);
bh492fs/isofs/rock.cbrelse(bh);
bh45fs/minix/bitmap.cstruct buffer_head *bh;
bh48fs/minix/bitmap.cif (!(bh=map[i])) 
bh57fs/minix/bitmap.ctmp = bh->b_data[end] & ((1<<numbits)-1);
bh62fs/minix/bitmap.csum += nibblemap[bh->b_data[j] & 0xf] 
bh63fs/minix/bitmap.c+ nibblemap[(bh->b_data[j]>>4)&0xf];
bh70fs/minix/bitmap.cstruct buffer_head * bh;
bh82fs/minix/bitmap.cbh = get_hash_table(sb->s_dev,block,BLOCK_SIZE);
bh83fs/minix/bitmap.cif (bh)
bh84fs/minix/bitmap.cbh->b_dirt=0;
bh85fs/minix/bitmap.cbrelse(bh);
bh89fs/minix/bitmap.cbh = sb->u.minix_sb.s_zmap[zone];
bh90fs/minix/bitmap.cif (!bh) {
bh94fs/minix/bitmap.cif (!clear_bit(bit,bh->b_data))
bh96fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh102fs/minix/bitmap.cstruct buffer_head * bh;
bh112fs/minix/bitmap.cif ((bh=sb->u.minix_sb.s_zmap[i]) != NULL)
bh113fs/minix/bitmap.cif ((j=find_first_zero(bh->b_data))<8192)
bh115fs/minix/bitmap.cif (i>=8 || !bh || j>=8192)
bh117fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {
bh121fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh126fs/minix/bitmap.cif (!(bh = getblk(sb->s_dev,j,BLOCK_SIZE))) {
bh130fs/minix/bitmap.cclear_block(bh->b_data);
bh131fs/minix/bitmap.cbh->b_uptodate = 1;
bh132fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh133fs/minix/bitmap.cbrelse(bh);
bh145fs/minix/bitmap.cstruct buffer_head * bh;
bh171fs/minix/bitmap.cif (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) {
bh176fs/minix/bitmap.cif (!clear_bit(ino & 8191, bh->b_data))
bh178fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh185fs/minix/bitmap.cstruct buffer_head * bh;
bh195fs/minix/bitmap.cif ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL)
bh196fs/minix/bitmap.cif ((j=find_first_zero(bh->b_data))<8192)
bh198fs/minix/bitmap.cif (!bh || j >= 8192) {
bh202fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {  /* shouldn't happen */
bh207fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh62fs/minix/dir.cstruct buffer_head * bh;
bh73fs/minix/dir.cbh = minix_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0);
bh74fs/minix/dir.cif (!bh) {
bh79fs/minix/dir.cde = (struct minix_dir_entry *) (offset + bh->b_data);
bh92fs/minix/dir.cbrelse(bh);
bh97fs/minix/dir.cbrelse(bh);
bh193fs/minix/file.cstruct buffer_head * bh;
bh211fs/minix/file.cbh = minix_getblk(inode,pos/BLOCK_SIZE,1);
bh212fs/minix/file.cif (!bh) {
bh220fs/minix/file.cif (c != BLOCK_SIZE && !bh->b_uptodate) {
bh221fs/minix/file.cll_rw_block(READ, 1, &bh);
bh222fs/minix/file.cwait_on_buffer(bh);
bh223fs/minix/file.cif (!bh->b_uptodate) {
bh224fs/minix/file.cbrelse(bh);
bh230fs/minix/file.cp = (pos % BLOCK_SIZE) + bh->b_data;
bh235fs/minix/file.cbh->b_uptodate = 1;
bh236fs/minix/file.cmark_buffer_dirty(bh, 0);
bh237fs/minix/file.cbrelse(bh);
bh29fs/minix/fsync.cstruct buffer_head * bh;
bh35fs/minix/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
bh36fs/minix/fsync.cif (!bh)
bh39fs/minix/fsync.cbrelse (bh);
bh42fs/minix/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh43fs/minix/fsync.cbrelse(bh);
bh46fs/minix/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt)
bh48fs/minix/fsync.cbrelse(bh);
bh51fs/minix/fsync.cll_rw_block(WRITE, 1, &bh);
bh52fs/minix/fsync.cbh->b_count--;
bh57fs/minix/fsync.cstruct buffer_head **bh, int wait) 
bh62fs/minix/fsync.c*bh = NULL;
bh69fs/minix/fsync.c*bh = bread(inode->i_dev, tmp, blocksize);
bh71fs/minix/fsync.cbrelse(*bh);
bh72fs/minix/fsync.c*bh = NULL;
bh75fs/minix/fsync.cif (!*bh)
bh118fs/minix/inode.cstruct buffer_head *bh;
bh125fs/minix/inode.cif (!(bh = bread(dev,1,BLOCK_SIZE))) {
bh131fs/minix/inode.cms = (struct minix_super_block *) bh->b_data;
bh133fs/minix/inode.cs->u.minix_sb.s_sbh = bh;
bh154fs/minix/inode.cbrelse(bh);
bh181fs/minix/inode.cbrelse(bh);
bh194fs/minix/inode.cbrelse(bh);
bh200fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh232fs/minix/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
bh236fs/minix/inode.cif (!bh)
bh238fs/minix/inode.ctmp = ((unsigned short *) bh->b_data)[nr];
bh239fs/minix/inode.cbrelse(bh);
bh308fs/minix/inode.cstruct buffer_head * bh, int nr, int create)
bh314fs/minix/inode.cif (!bh)
bh316fs/minix/inode.cif (!bh->b_uptodate) {
bh317fs/minix/inode.cll_rw_block(READ, 1, &bh);
bh318fs/minix/inode.cwait_on_buffer(bh);
bh319fs/minix/inode.cif (!bh->b_uptodate) {
bh320fs/minix/inode.cbrelse(bh);
bh324fs/minix/inode.cp = nr + (unsigned short *) bh->b_data;
bh328fs/minix/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh330fs/minix/inode.cbrelse(bh);
bh337fs/minix/inode.cbrelse(bh);
bh342fs/minix/inode.cbrelse(bh);
bh345fs/minix/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh352fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh353fs/minix/inode.cbrelse(bh);
bh359fs/minix/inode.cstruct buffer_head * bh;
bh373fs/minix/inode.cbh = inode_getblk(inode,7,create);
bh374fs/minix/inode.creturn block_getblk(inode, bh, block, create);
bh377fs/minix/inode.cbh = inode_getblk(inode,8,create);
bh378fs/minix/inode.cbh = block_getblk(inode, bh, block>>9, create);
bh379fs/minix/inode.creturn block_getblk(inode, bh, block & 511, create);
bh384fs/minix/inode.cstruct buffer_head * bh;
bh386fs/minix/inode.cbh = minix_getblk(inode,block,create);
bh387fs/minix/inode.cif (!bh || bh->b_uptodate)
bh388fs/minix/inode.creturn bh;
bh389fs/minix/inode.cll_rw_block(READ, 1, &bh);
bh390fs/minix/inode.cwait_on_buffer(bh);
bh391fs/minix/inode.cif (bh->b_uptodate)
bh392fs/minix/inode.creturn bh;
bh393fs/minix/inode.cbrelse(bh);
bh399fs/minix/inode.cstruct buffer_head * bh;
bh414fs/minix/inode.cif (!(bh=bread(inode->i_dev,block, BLOCK_SIZE))) {
bh419fs/minix/inode.craw_inode = ((struct minix_inode *) bh->b_data) +
bh432fs/minix/inode.cbrelse(bh);
bh449fs/minix/inode.cstruct buffer_head * bh;
bh462fs/minix/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE))) {
bh467fs/minix/inode.craw_inode = ((struct minix_inode *)bh->b_data) +
bh480fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh481fs/minix/inode.creturn bh;
bh486fs/minix/inode.cstruct buffer_head *bh;
bh487fs/minix/inode.cbh = minix_update_inode(inode);
bh488fs/minix/inode.cbrelse(bh);
bh494fs/minix/inode.cstruct buffer_head *bh;
bh496fs/minix/inode.cbh = minix_update_inode(inode);
bh497fs/minix/inode.cif (bh && bh->b_dirt)
bh499fs/minix/inode.cll_rw_block(WRITE, 1, &bh);
bh500fs/minix/inode.cwait_on_buffer(bh);
bh501fs/minix/inode.cif (bh->b_req && !bh->b_uptodate)
bh508fs/minix/inode.celse if (!bh)
bh510fs/minix/inode.cbrelse (bh);
bh45fs/minix/namei.cstruct buffer_head * bh, unsigned long * offset,
bh50fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + *offset);
bh72fs/minix/namei.cstruct buffer_head * bh;
bh86fs/minix/namei.cbh = NULL;
bh89fs/minix/namei.cif (!bh) {
bh90fs/minix/namei.cbh = minix_bread(dir,block,0);
bh91fs/minix/namei.cif (!bh) {
bh96fs/minix/namei.c*res_dir = (struct minix_dir_entry *) (bh->b_data + offset);
bh97fs/minix/namei.cif (minix_match(namelen,name,bh,&offset,info))
bh98fs/minix/namei.creturn bh;
bh99fs/minix/namei.cif (offset < bh->b_size)
bh101fs/minix/namei.cbrelse(bh);
bh102fs/minix/namei.cbh = NULL;
bh106fs/minix/namei.cbrelse(bh);
bh116fs/minix/namei.cstruct buffer_head * bh;
bh125fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
bh130fs/minix/namei.cbrelse(bh);
bh156fs/minix/namei.cstruct buffer_head * bh;
bh174fs/minix/namei.cbh = NULL;
bh177fs/minix/namei.cif (!bh) {
bh178fs/minix/namei.cbh = minix_bread(dir,block,1);
bh179fs/minix/namei.cif (!bh)
bh182fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
bh184fs/minix/namei.cif (block*bh->b_size + offset > dir->i_size) {
bh186fs/minix/namei.cdir->i_size = block*bh->b_size + offset;
bh191fs/minix/namei.cbrelse(bh);
bh198fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh202fs/minix/namei.cif (offset < bh->b_size)
bh204fs/minix/namei.cbrelse(bh);
bh205fs/minix/namei.cbh = NULL;
bh209fs/minix/namei.c*res_buf = bh;
bh218fs/minix/namei.cstruct buffer_head * bh;
bh232fs/minix/namei.cerror = minix_add_entry(dir,name,len, &bh ,&de);
bh241fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh242fs/minix/namei.cbrelse(bh);
bh252fs/minix/namei.cstruct buffer_head * bh;
bh257fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh258fs/minix/namei.cif (bh) {
bh259fs/minix/namei.cbrelse(bh);
bh289fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh298fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh299fs/minix/namei.cbrelse(bh);
bh309fs/minix/namei.cstruct buffer_head * bh, *dir_block;
bh318fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh319fs/minix/namei.cif (bh) {
bh320fs/minix/namei.cbrelse(bh);
bh356fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh364fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh369fs/minix/namei.cbrelse(bh);
bh379fs/minix/namei.cstruct buffer_head * bh;
bh387fs/minix/namei.cbh = NULL;
bh393fs/minix/namei.cbh = minix_bread(inode,0,0);
bh394fs/minix/namei.cif (!bh)
bh396fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
bh399fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + info->s_dirsize);
bh403fs/minix/namei.cif (!bh) {
bh404fs/minix/namei.cbh = minix_bread(inode,block,0);
bh405fs/minix/namei.cif (!bh) {
bh410fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
bh413fs/minix/namei.cbrelse(bh);
bh416fs/minix/namei.cif (offset < bh->b_size)
bh418fs/minix/namei.cbrelse(bh);
bh419fs/minix/namei.cbh = NULL;
bh423fs/minix/namei.cbrelse(bh);
bh426fs/minix/namei.cbrelse(bh);
bh435fs/minix/namei.cstruct buffer_head * bh;
bh439fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh441fs/minix/namei.cif (!bh)
bh473fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh483fs/minix/namei.cbrelse(bh);
bh491fs/minix/namei.cstruct buffer_head * bh;
bh497fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh498fs/minix/namei.cif (!bh)
bh507fs/minix/namei.cbrelse(bh);
bh526fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh534fs/minix/namei.cbrelse(bh);
bh544fs/minix/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh570fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh571fs/minix/namei.cif (bh) {
bh575fs/minix/namei.cbrelse(bh);
bh579fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
bh588fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh589fs/minix/namei.cbrelse(bh);
bh599fs/minix/namei.cstruct buffer_head * bh;
bh611fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh612fs/minix/namei.cif (bh) {
bh613fs/minix/namei.cbrelse(bh);
bh618fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh625fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh626fs/minix/namei.cbrelse(bh);
bh45fs/minix/symlink.cstruct buffer_head * bh;
bh66fs/minix/symlink.cif (!(bh = minix_bread(inode, 0, 0))) {
bh73fs/minix/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
bh75fs/minix/symlink.cbrelse(bh);
bh81fs/minix/symlink.cstruct buffer_head * bh;
bh91fs/minix/symlink.cbh = minix_bread(inode, 0, 0);
bh93fs/minix/symlink.cif (!bh)
bh96fs/minix/symlink.cwhile (i<buflen && (c = bh->b_data[i])) {
bh100fs/minix/symlink.cbrelse(bh);
bh29fs/minix/truncate.cstruct buffer_head * bh;
bh39fs/minix/truncate.cbh = get_hash_table(inode->i_dev,tmp,BLOCK_SIZE);
bh41fs/minix/truncate.cbrelse(bh);
bh44fs/minix/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
bh46fs/minix/truncate.cbrelse(bh);
bh51fs/minix/truncate.cbrelse(bh);
bh59fs/minix/truncate.cstruct buffer_head * bh;
bh88fs/minix/truncate.cbh = get_hash_table(inode->i_dev,tmp,BLOCK_SIZE);
bh90fs/minix/truncate.cbrelse(bh);
bh93fs/minix/truncate.cif ((bh && bh->b_count != 1) || tmp != *ind) {
bh95fs/minix/truncate.cbrelse(bh);
bh100fs/minix/truncate.cbrelse(bh);
bh62fs/msdos/dir.cstruct buffer_head *bh;
bh80fs/msdos/dir.cbh = NULL;
bh81fs/msdos/dir.cwhile ((ino = msdos_get_entry(inode,&filp->f_pos,&bh,&de)) > -1) {
bh107fs/msdos/dir.cbrelse(bh);
bh112fs/msdos/dir.cif (bh) brelse(bh);
bh21fs/msdos/fat.cstruct buffer_head *bh,*bh2,*c_bh,*c_bh2;
bh32fs/msdos/fat.cif (!(bh = msdos_sread(sb->s_dev,MSDOS_SB(sb)->fat_start+(first >>
bh38fs/msdos/fat.cbh2 = bh;
bh44fs/msdos/fat.cbrelse(bh);
bh78fs/msdos/fat.cmark_buffer_dirty(bh, 1);
bh85fs/msdos/fat.cif (data != data2 || bh != bh2) {
bh99fs/msdos/fat.cbrelse(bh);
bh86fs/msdos/file.cstruct buffer_head *bh;
bh104fs/msdos/file.cif (!(bh = msdos_sread(inode->i_dev,sector,&data))) break;
bh117fs/msdos/file.cbrelse(bh);
bh126fs/msdos/file.cbrelse(bh);
bh141fs/msdos/file.cstruct buffer_head *bh;
bh168fs/msdos/file.cif (!(bh = msdos_sread(inode->i_dev,sector,&data))) {
bh203fs/msdos/file.cmark_buffer_dirty(bh, 0);
bh204fs/msdos/file.cbrelse(bh);
bh147fs/msdos/inode.cstruct buffer_head *bh;
bh163fs/msdos/inode.cbh = bread(s->s_dev, 0, BLOCK_SIZE);
bh165fs/msdos/inode.cif (bh == NULL) {
bh170fs/msdos/inode.cb = (struct msdos_boot_sector *) bh->b_data;
bh220fs/msdos/inode.cbrelse(bh);
bh307fs/msdos/inode.cstruct buffer_head *bh;
bh334fs/msdos/inode.cif (!(bh = bread(inode->i_dev,inode->i_ino >> MSDOS_DPB_BITS,
bh339fs/msdos/inode.craw_entry = &((struct msdos_dir_entry *) (bh->b_data))
bh386fs/msdos/inode.cbrelse(bh);
bh392fs/msdos/inode.cstruct buffer_head *bh;
bh397fs/msdos/inode.cif (!(bh = bread(inode->i_dev,inode->i_ino >> MSDOS_DPB_BITS,
bh402fs/msdos/inode.craw_entry = &((struct msdos_dir_entry *) (bh->b_data))
bh418fs/msdos/inode.cmark_buffer_dirty(bh, 1);
bh419fs/msdos/inode.cbrelse(bh);
bh114fs/msdos/misc.cstruct buffer_head *bh;
bh173fs/msdos/misc.cif (!(bh = getblk(inode->i_dev,sector >> 1,
bh177fs/msdos/misc.cmemset(bh->b_data,0,BLOCK_SIZE);
bh178fs/msdos/misc.cbh->b_uptodate = 1;
bh183fs/msdos/misc.cif (!(bh = msdos_sread(inode->i_dev,sector,
bh188fs/msdos/misc.cif (bh) {
bh189fs/msdos/misc.cmark_buffer_dirty(bh, 1);
bh190fs/msdos/misc.cbrelse(bh);
bh268fs/msdos/misc.cint msdos_get_entry(struct inode *dir, off_t *pos,struct buffer_head **bh,
bh281fs/msdos/misc.cif (*bh)
bh282fs/msdos/misc.cbrelse(*bh);
bh283fs/msdos/misc.cif (!(*bh = msdos_sread(dir->i_dev,sector,&data))) {
bh351fs/msdos/misc.cstruct buffer_head *bh;
bh356fs/msdos/misc.cif (!(bh = msdos_sread(sb->s_dev,sector,(void **) &data))) return -EIO;
bh369fs/msdos/misc.cif (!res_bh) brelse(bh);
bh371fs/msdos/misc.c*res_bh = bh;
bh377fs/msdos/misc.cbrelse(bh);
bh94fs/msdos/namei.cstruct buffer_head **bh,struct msdos_dir_entry **de,int *ino)
bh101fs/msdos/namei.creturn msdos_scan(dir,msdos_name,bh,de,ino);
bh110fs/msdos/namei.cstruct buffer_head *bh;
bh130fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
bh134fs/msdos/namei.cif (bh) brelse(bh);
bh164fs/msdos/namei.cstruct buffer_head *bh;
bh168fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino)) < 0) {
bh172fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino)) < 0) return res;
bh184fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh187fs/msdos/namei.cbrelse(bh);
bh199fs/msdos/namei.cstruct buffer_head *bh;
bh211fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino) >= 0) {
bh213fs/msdos/namei.cbrelse(bh);
bh246fs/msdos/namei.cstruct buffer_head *bh;
bh258fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino) >= 0) {
bh260fs/msdos/namei.cbrelse(bh);
bh304fs/msdos/namei.cstruct buffer_head *bh;
bh311fs/msdos/namei.cbh = NULL;
bh312fs/msdos/namei.cwhile (msdos_get_entry(dir,&pos,&bh,&de) > -1)
bh316fs/msdos/namei.cbrelse(bh);
bh319fs/msdos/namei.cif (bh)
bh320fs/msdos/namei.cbrelse(bh);
bh329fs/msdos/namei.cstruct buffer_head *bh;
bh333fs/msdos/namei.cbh = NULL;
bh338fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
bh353fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh356fs/msdos/namei.cbrelse(bh);
bh366fs/msdos/namei.cstruct buffer_head *bh;
bh370fs/msdos/namei.cbh = NULL;
bh372fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
bh387fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh389fs/msdos/namei.cbrelse(bh);
bh44fs/sysv/balloc.cstruct buffer_head * bh;
bh69fs/sysv/balloc.cbh = bread(sb->s_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh71fs/sysv/balloc.cbh = getblk(sb->s_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh72fs/sysv/balloc.cif (!bh) {
bh77fs/sysv/balloc.cbh_data = bh->b_data + ((block & sb->sv_block_size_ratio_1) << sb->sv_block_size_bits);
bh99fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh100fs/sysv/balloc.cbh->b_uptodate = 1;
bh101fs/sysv/balloc.cbrelse(bh);
bh109fs/sysv/balloc.cbh = bread(sb->s_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh111fs/sysv/balloc.cbh = getblk(sb->s_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh112fs/sysv/balloc.cif (!bh) {
bh117fs/sysv/balloc.cbh_data = bh->b_data + ((block & sb->sv_block_size_ratio_1) << sb->sv_block_size_bits);
bh120fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh121fs/sysv/balloc.cbh->b_uptodate = 1;
bh122fs/sysv/balloc.cbrelse(bh);
bh127fs/sysv/balloc.cbh = get_hash_table(sb->s_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh128fs/sysv/balloc.cif (bh)
bh129fs/sysv/balloc.cbh->b_dirt = 0;
bh130fs/sysv/balloc.cbrelse(bh);
bh149fs/sysv/balloc.cstruct buffer_head * bh;
bh178fs/sysv/balloc.cif (!(bh = sysv_bread(sb, sb->s_dev, block, &bh_data))) {
bh206fs/sysv/balloc.cbrelse(bh);
bh212fs/sysv/balloc.cbrelse(bh);
bh216fs/sysv/balloc.cbh = bread(sb->s_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh218fs/sysv/balloc.cbh = getblk(sb->s_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh219fs/sysv/balloc.cif (!bh) {
bh224fs/sysv/balloc.cbh_data = bh->b_data + ((block & sb->sv_block_size_ratio_1) << sb->sv_block_size_bits);
bh226fs/sysv/balloc.cif (bh->b_count != 1) {
bh232fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh233fs/sysv/balloc.cbh->b_uptodate = 1;
bh234fs/sysv/balloc.cbrelse(bh);
bh251fs/sysv/balloc.cstruct buffer_head * bh;
bh278fs/sysv/balloc.cif (!(bh = sysv_bread(sb, sb->s_dev, block, &bh_data))) {
bh303fs/sysv/balloc.cbrelse(bh);
bh307fs/sysv/balloc.cbrelse(bh);
bh321fs/sysv/balloc.cbrelse(bh);
bh70fs/sysv/dir.cstruct buffer_head * bh;
bh80fs/sysv/dir.cbh = sysv_file_bread(inode, filp->f_pos >> sb->sv_block_size_bits, 0, &bh_data);
bh81fs/sysv/dir.cif (!bh) {
bh102fs/sysv/dir.cbrelse(bh);
bh107fs/sysv/dir.cbrelse(bh);
bh105fs/sysv/file.cstruct buffer_head * bh;
bh170fs/sysv/file.cbhb->bh = sysv_getblk(inode, block++, 0, &bhb->bh_data);
bh171fs/sysv/file.cif (bhb->bh && !bhb->bh->b_uptodate) {
bh175fs/sysv/file.cif (bhreq[bhreqi] == bhb->bh)
bh177fs/sysv/file.cbhreq[bhrequest++] = bhb->bh;
bh197fs/sysv/file.cif (bhe->bh) {
bh198fs/sysv/file.cwait_on_buffer(bhe->bh);
bh199fs/sysv/file.cif (!bhe->bh->b_uptodate) {  /* read error? */
bh200fs/sysv/file.cbrelse(bhe->bh);
bh214fs/sysv/file.cif (bhe->bh) {
bh216fs/sysv/file.cbrelse(bhe->bh);
bh225fs/sysv/file.c} while (left > 0 && bhe != bhb && (!bhe->bh || !bhe->bh->b_lock));
bh230fs/sysv/file.cbrelse(bhe->bh);
bh247fs/sysv/file.cstruct buffer_head * bh;
bh274fs/sysv/file.cbh = sysv_getblk (inode, pos >> sb->sv_block_size_bits, 1, &bh_data);
bh275fs/sysv/file.cif (!bh) {
bh283fs/sysv/file.cif (c != BLOCK_SIZE && !bh->b_uptodate) {
bh284fs/sysv/file.cll_rw_block(READ, 1, &bh);
bh285fs/sysv/file.cwait_on_buffer(bh);
bh286fs/sysv/file.cif (!bh->b_uptodate) {
bh287fs/sysv/file.cbrelse(bh);
bh303fs/sysv/file.cbh->b_uptodate = 1;
bh304fs/sysv/file.cmark_buffer_dirty(bh, 0);
bh305fs/sysv/file.cbrelse(bh);
bh31fs/sysv/fsync.cstruct buffer_head * bh;
bh41fs/sysv/fsync.cbh = get_hash_table(inode->i_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh42fs/sysv/fsync.cif (!bh)
bh45fs/sysv/fsync.cbrelse (bh);
bh48fs/sysv/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh49fs/sysv/fsync.cbrelse(bh);
bh52fs/sysv/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt) {
bh53fs/sysv/fsync.cbrelse(bh);
bh56fs/sysv/fsync.cll_rw_block(WRITE, 1, &bh);
bh57fs/sysv/fsync.cbh->b_count--;
bh63fs/sysv/fsync.cstruct buffer_head * *bh, char * *bh_data, int wait)
bh68fs/sysv/fsync.c*bh = NULL;
bh77fs/sysv/fsync.c*bh = sysv_bread(inode->i_sb, inode->i_dev, block, bh_data);
bh79fs/sysv/fsync.cbrelse(*bh);
bh80fs/sysv/fsync.c*bh = NULL;
bh83fs/sysv/fsync.cif (!*bh)
bh40fs/sysv/ialloc.cstruct buffer_head * bh;
bh67fs/sysv/ialloc.cif (!(bh = sysv_bread(sb, inode->i_dev, sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits), &bh_data))) {
bh80fs/sysv/ialloc.cmark_buffer_dirty(bh, 1);
bh82fs/sysv/ialloc.cbrelse(bh);
bh90fs/sysv/ialloc.cstruct buffer_head * bh;
bh112fs/sysv/ialloc.cif (!(bh = sysv_bread(sb, sb->s_dev, block, &bh_data))) {
bh122fs/sysv/ialloc.cbrelse(bh);
bh164fs/sysv/ialloc.cstruct buffer_head * bh;
bh179fs/sysv/ialloc.cif (!(bh = sysv_bread(sb, sb->s_dev, block, &bh_data))) {
bh188fs/sysv/ialloc.cbrelse(bh);
bh120fs/sysv/inode.cstatic const char* detect_xenix (struct super_block *sb, struct buffer_head *bh)
bh124fs/sysv/inode.csbd = (struct xenix_super_block *) bh->b_data;
bh134fs/sysv/inode.csb->sv_bh = bh;
bh156fs/sysv/inode.cstatic const char* detect_sysv4 (struct super_block *sb, struct buffer_head *bh)
bh160fs/sysv/inode.csbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh172fs/sysv/inode.csb->sv_bh = bh;
bh194fs/sysv/inode.cstatic const char* detect_sysv2 (struct super_block *sb, struct buffer_head *bh)
bh198fs/sysv/inode.csbd = (struct sysv2_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh210fs/sysv/inode.csb->sv_bh = bh;
bh232fs/sysv/inode.cstatic const char* detect_coherent (struct super_block *sb, struct buffer_head *bh)
bh236fs/sysv/inode.csbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh247fs/sysv/inode.csb->sv_bh = bh;
bh268fs/sysv/inode.cstruct buffer_head *bh;
bh286fs/sysv/inode.cif ((bh = bread(dev, 1, BLOCK_SIZE)) != NULL) {
bh287fs/sysv/inode.cif ((found = detect_xenix(sb,bh)) != NULL)
bh289fs/sysv/inode.cbrelse(bh);
bh291fs/sysv/inode.cif ((bh = bread(dev, 0, BLOCK_SIZE)) != NULL) {
bh293fs/sysv/inode.cif ((found = detect_sysv4(sb,bh)) != NULL)
bh295fs/sysv/inode.cif ((found = detect_sysv2(sb,bh)) != NULL)
bh298fs/sysv/inode.cif ((found = detect_coherent(sb,bh)) != NULL)
bh300fs/sysv/inode.cbrelse(bh);
bh307fs/sysv/inode.cif ((bh = bread(dev, offsets[i], BLOCK_SIZE)) != NULL) {
bh309fs/sysv/inode.cif ((found = detect_sysv2(sb,bh)) != NULL) {
bh313fs/sysv/inode.cbrelse(bh);
bh333fs/sysv/inode.cbrelse(bh);
bh397fs/sysv/inode.cstatic int block_bmap(struct super_block * sb, struct buffer_head * bh, int nr, int convert)
bh401fs/sysv/inode.cif (!bh)
bh403fs/sysv/inode.ctmp = ((sysv_zone_t *) bh->b_data) [nr];
bh406fs/sysv/inode.cbrelse(bh);
bh418fs/sysv/inode.cstruct buffer_head * bh;
bh428fs/sysv/inode.cbh = bread(inode->i_dev,i,BLOCK_SIZE);
bh429fs/sysv/inode.creturn block_bmap(sb,bh,block,convert);
bh436fs/sysv/inode.cbh = bread(inode->i_dev,i,BLOCK_SIZE);
bh437fs/sysv/inode.ci = block_bmap(sb,bh,block/IND_PER_BLOCK,convert);
bh440fs/sysv/inode.cbh = bread(inode->i_dev,i,BLOCK_SIZE);
bh441fs/sysv/inode.creturn block_bmap(sb,bh,block%IND_PER_BLOCK,convert);
bh448fs/sysv/inode.cbh = bread(inode->i_dev,i,BLOCK_SIZE);
bh449fs/sysv/inode.ci = block_bmap(sb,bh,block/(IND_PER_BLOCK*IND_PER_BLOCK),convert);
bh452fs/sysv/inode.cbh = bread(inode->i_dev,i,BLOCK_SIZE);
bh453fs/sysv/inode.ci = block_bmap(sb,bh,(block/IND_PER_BLOCK)%IND_PER_BLOCK,convert);
bh456fs/sysv/inode.cbh = bread(inode->i_dev,i,BLOCK_SIZE);
bh457fs/sysv/inode.creturn block_bmap(sb,bh,block%IND_PER_BLOCK,convert);
bh511fs/sysv/inode.cstruct buffer_head * bh, int nr, int create, char * *start)
bh518fs/sysv/inode.cif (!bh)
bh520fs/sysv/inode.cif (!bh->b_uptodate) {
bh521fs/sysv/inode.cll_rw_block(READ, 1, &bh);
bh522fs/sysv/inode.cwait_on_buffer(bh);
bh523fs/sysv/inode.cif (!bh->b_uptodate) {
bh524fs/sysv/inode.cbrelse(bh);
bh535fs/sysv/inode.cresult = getblk(bh->b_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh537fs/sysv/inode.cbrelse(bh);
bh545fs/sysv/inode.cbrelse(bh);
bh550fs/sysv/inode.cbrelse(bh);
bh553fs/sysv/inode.cresult = getblk(bh->b_dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE);
bh560fs/sysv/inode.cmark_buffer_dirty(bh, 1);
bh561fs/sysv/inode.cbrelse(bh);
bh570fs/sysv/inode.cstruct buffer_head * bh;
bh576fs/sysv/inode.cbh = inode_getblk(inode,10,create,start);
bh577fs/sysv/inode.creturn block_getblk(inode, bh, block, create, start);
bh581fs/sysv/inode.cbh = inode_getblk(inode,11,create,start);
bh582fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_bits, create, start);
bh583fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create, start);
bh587fs/sysv/inode.cbh = inode_getblk(inode,12,create,start);
bh588fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_2_bits, create, start);
bh589fs/sysv/inode.cbh = block_getblk(inode, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1, create, start);
bh590fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create, start);
bh602fs/sysv/inode.cstruct buffer_head * bh;
bh604fs/sysv/inode.cbh = sysv_getblk(inode,block,create,start);
bh605fs/sysv/inode.cif (!bh || bh->b_uptodate)
bh606fs/sysv/inode.creturn bh;
bh607fs/sysv/inode.cll_rw_block(READ, 1, &bh);
bh608fs/sysv/inode.cwait_on_buffer(bh);
bh609fs/sysv/inode.cif (bh->b_uptodate)
bh610fs/sysv/inode.creturn bh;
bh611fs/sysv/inode.cbrelse(bh);
bh643fs/sysv/inode.cstruct buffer_head * bh;
bh658fs/sysv/inode.cif (!(bh=sysv_bread(sb,inode->i_dev,block,&bh_data))) {
bh695fs/sysv/inode.cbrelse(bh);
bh728fs/sysv/inode.cstruct buffer_head * bh;
bh742fs/sysv/inode.cif (!(bh = sysv_bread(sb,inode->i_dev,block,&bh_data))) {
bh776fs/sysv/inode.cmark_buffer_dirty(bh, 1);
bh777fs/sysv/inode.creturn bh;
bh782fs/sysv/inode.cstruct buffer_head *bh;
bh783fs/sysv/inode.cbh = sysv_update_inode(inode);
bh784fs/sysv/inode.cbrelse(bh);
bh790fs/sysv/inode.cstruct buffer_head *bh;
bh792fs/sysv/inode.cbh = sysv_update_inode(inode);
bh793fs/sysv/inode.cif (bh && bh->b_dirt) {
bh794fs/sysv/inode.cll_rw_block(WRITE, 1, &bh);
bh795fs/sysv/inode.cwait_on_buffer(bh);
bh796fs/sysv/inode.cif (bh->b_req && !bh->b_uptodate)
bh803fs/sysv/inode.celse if (!bh)
bh805fs/sysv/inode.cbrelse (bh);
bh70fs/sysv/namei.cstruct buffer_head * bh;
bh82fs/sysv/namei.cbh = NULL;
bh85fs/sysv/namei.cif (!bh) {
bh86fs/sysv/namei.cbh = sysv_file_bread(dir,block,0,&bh_data);
bh87fs/sysv/namei.cif (!bh) {
bh95fs/sysv/namei.creturn bh;
bh100fs/sysv/namei.cbrelse(bh);
bh101fs/sysv/namei.cbh = NULL;
bh104fs/sysv/namei.cbrelse(bh);
bh114fs/sysv/namei.cstruct buffer_head * bh;
bh123fs/sysv/namei.cif (!(bh = sysv_find_entry(dir,name,len,&de))) {
bh128fs/sysv/namei.cbrelse(bh);
bh155fs/sysv/namei.cstruct buffer_head * bh;
bh171fs/sysv/namei.cbh = NULL;
bh174fs/sysv/namei.cif (!bh) {
bh175fs/sysv/namei.cbh = sysv_file_bread(dir,block,1,&bh_data);
bh176fs/sysv/namei.cif (!bh)
bh189fs/sysv/namei.cbrelse(bh);
bh196fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh202fs/sysv/namei.cbrelse(bh);
bh203fs/sysv/namei.cbh = NULL;
bh206fs/sysv/namei.c*res_buf = bh;
bh215fs/sysv/namei.cstruct buffer_head * bh;
bh232fs/sysv/namei.cerror = sysv_add_entry(dir,name,len, &bh ,&de);
bh241fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh242fs/sysv/namei.cbrelse(bh);
bh252fs/sysv/namei.cstruct buffer_head * bh;
bh257fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh258fs/sysv/namei.cif (bh) {
bh259fs/sysv/namei.cbrelse(bh);
bh292fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh301fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh302fs/sysv/namei.cbrelse(bh);
bh312fs/sysv/namei.cstruct buffer_head * bh, *dir_block;
bh320fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh321fs/sysv/namei.cif (bh) {
bh322fs/sysv/namei.cbrelse(bh);
bh358fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh366fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh371fs/sysv/namei.cbrelse(bh);
bh382fs/sysv/namei.cstruct buffer_head * bh;
bh389fs/sysv/namei.cbh = NULL;
bh395fs/sysv/namei.cbh = sysv_file_bread(inode,0,0,&bh_data);
bh396fs/sysv/namei.cif (!bh)
bh406fs/sysv/namei.cif (!bh) {
bh407fs/sysv/namei.cbh = sysv_file_bread(inode,block,0,&bh_data);
bh408fs/sysv/namei.cif (!bh) {
bh418fs/sysv/namei.cbrelse(bh);
bh423fs/sysv/namei.cbrelse(bh);
bh424fs/sysv/namei.cbh = NULL;
bh427fs/sysv/namei.cbrelse(bh);
bh430fs/sysv/namei.cbrelse(bh);
bh439fs/sysv/namei.cstruct buffer_head * bh;
bh443fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh445fs/sysv/namei.cif (!bh)
bh477fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh487fs/sysv/namei.cbrelse(bh);
bh495fs/sysv/namei.cstruct buffer_head * bh;
bh501fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh502fs/sysv/namei.cif (!bh)
bh511fs/sysv/namei.cbrelse(bh);
bh530fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh538fs/sysv/namei.cbrelse(bh);
bh553fs/sysv/namei.cstruct buffer_head * bh;
bh578fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh579fs/sysv/namei.cif (bh) {
bh583fs/sysv/namei.cbrelse(bh);
bh587fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
bh596fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh597fs/sysv/namei.cbrelse(bh);
bh607fs/sysv/namei.cstruct buffer_head * bh;
bh619fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh620fs/sysv/namei.cif (bh) {
bh621fs/sysv/namei.cbrelse(bh);
bh626fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh633fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh634fs/sysv/namei.cbrelse(bh);
bh51fs/sysv/symlink.cstruct buffer_head * bh;
bh73fs/sysv/symlink.cif (!(bh = sysv_file_bread(inode, 0, 0, &bh_data))) { /* is reading 1 block enough ?? */
bh82fs/sysv/symlink.cbrelse(bh);
bh88fs/sysv/symlink.cstruct buffer_head * bh;
bh99fs/sysv/symlink.cbh = sysv_file_bread(inode, 0, 0, &bh_data);
bh101fs/sysv/symlink.cif (!bh)
bh108fs/sysv/symlink.cbrelse(bh);
bh57fs/sysv/truncate.cstruct buffer_head * bh;
bh69fs/sysv/truncate.cbh = sysv_bread(sb,inode->i_dev,block,&bh_data);
bh71fs/sysv/truncate.cbrelse(bh);
bh74fs/sysv/truncate.cif (!bh) {
bh87fs/sysv/truncate.cmark_buffer_dirty(bh, 1);
bh94fs/sysv/truncate.cbrelse(bh);
bh101fs/sysv/truncate.cbrelse(bh);
bh112fs/sysv/truncate.cstruct buffer_head * bh;
bh125fs/sysv/truncate.cbh = sysv_bread(sb,inode->i_dev,block,&bh_data);
bh127fs/sysv/truncate.cbrelse(bh);
bh130fs/sysv/truncate.cif (!bh) {
bh145fs/sysv/truncate.cretry |= coh_trunc_indirect(inode,j,dind,sb->sv_convert,&bh->b_dirt);
bh151fs/sysv/truncate.cbrelse(bh);
bh158fs/sysv/truncate.cbrelse(bh);
bh169fs/sysv/truncate.cstruct buffer_head * bh;
bh180fs/sysv/truncate.cbh = sysv_bread(sb,inode->i_dev,block,&bh_data);
bh182fs/sysv/truncate.cbrelse(bh);
bh185fs/sysv/truncate.cif (!bh) {
bh200fs/sysv/truncate.cretry |= coh_trunc_dindirect(inode,j,tind,sb->sv_convert,&bh->b_dirt);
bh206fs/sysv/truncate.cbrelse(bh);
bh213fs/sysv/truncate.cbrelse(bh);
bh261fs/sysv/truncate.cstruct buffer_head * bh;
bh271fs/sysv/truncate.cbh = get_hash_table(inode->i_dev,block+sb->sv_block_base,BLOCK_SIZE);
bh273fs/sysv/truncate.cbrelse(bh);
bh276fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (block != *p)) {
bh278fs/sysv/truncate.cbrelse(bh);
bh283fs/sysv/truncate.cbrelse(bh);
bh299fs/sysv/truncate.cstruct buffer_head * bh;
bh330fs/sysv/truncate.cbh = get_hash_table(inode->i_dev,block+sb->sv_block_base,BLOCK_SIZE);
bh332fs/sysv/truncate.cbrelse(bh);
bh335fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (tmp != *ind)) {
bh337fs/sysv/truncate.cbrelse(bh);
bh342fs/sysv/truncate.cbrelse(bh);
bh32fs/xiafs/bitmap.cstatic int find_first_zero(struct buffer_head *bh, int start_bit, int end_bit) 
bh44fs/xiafs/bitmap.cbmap=(u_long *)bh->b_data;
bh68fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh72fs/xiafs/bitmap.cstatic void clear_buf(struct buffer_head * bh) 
bh77fs/xiafs/bitmap.clp=(long *)bh->b_data;
bh78fs/xiafs/bitmap.cfor (i= bh->b_size >> 2; i-- > 0; )
bh179fs/xiafs/bitmap.cstruct buffer_head * bh;
bh202fs/xiafs/bitmap.cbh = get__map_zone(sb, bmap_buf, bznr, cache, first_zone, 
bh204fs/xiafs/bitmap.cif (!bh)
bh206fs/xiafs/bitmap.ctmp=find_first_zero(bh, start_bit, end_bit);
bh223fs/xiafs/bitmap.cstruct buffer_head * bh;
bh235fs/xiafs/bitmap.cbh = get_hash_table(sb->s_dev, d_addr, XIAFS_ZSIZE(sb));
bh236fs/xiafs/bitmap.cif (bh)
bh237fs/xiafs/bitmap.cbh->b_dirt=0;
bh238fs/xiafs/bitmap.cbrelse(bh);
bh240fs/xiafs/bitmap.cbh = get_zmap_zone(sb, bit, NULL);
bh241fs/xiafs/bitmap.cif (!bh)
bh244fs/xiafs/bitmap.cif (clear_bit(offset, bh->b_data))
bh248fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh254fs/xiafs/bitmap.cstruct buffer_head * bh;
bh270fs/xiafs/bitmap.cif (!(bh = getblk(sb->s_dev, tmp, XIAFS_ZSIZE(sb)))) {
bh274fs/xiafs/bitmap.cif (bh->b_count != 1) {
bh278fs/xiafs/bitmap.cclear_buf(bh);
bh279fs/xiafs/bitmap.cbh->b_uptodate = 1;
bh280fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh281fs/xiafs/bitmap.cbrelse(bh);
bh287fs/xiafs/bitmap.cstruct buffer_head * bh;
bh300fs/xiafs/bitmap.cbh = get_imap_zone(sb, ino, NULL);
bh301fs/xiafs/bitmap.cif (!bh)
bh304fs/xiafs/bitmap.cif (clear_bit(ino & (XIAFS_BITS_PER_Z(sb)-1), bh->b_data))
bh308fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh346fs/xiafs/bitmap.cstatic u_long count_zone(struct buffer_head * bh)
bh352fs/xiafs/bitmap.cfor (i=bh->b_size; i-- > 0; ) {
bh353fs/xiafs/bitmap.ctmp=bh->b_data[i];
bh361fs/xiafs/bitmap.cstruct buffer_head * bh;
bh368fs/xiafs/bitmap.cbh=get_imap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
bh369fs/xiafs/bitmap.cif (bh) {
bh370fs/xiafs/bitmap.csum += count_zone(bh);
bh380fs/xiafs/bitmap.cstruct buffer_head * bh;
bh387fs/xiafs/bitmap.cbh=get_zmap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
bh388fs/xiafs/bitmap.cif (bh) {
bh389fs/xiafs/bitmap.csum += count_zone(bh);
bh69fs/xiafs/dir.cstruct buffer_head * bh;
bh78fs/xiafs/dir.cbh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0);
bh79fs/xiafs/dir.cif (!bh) {
bh83fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
bh87fs/xiafs/dir.c(char *)de+de->d_rec_len > XIAFS_ZSIZE(inode->i_sb)+bh->b_data ||
bh92fs/xiafs/dir.cbrelse(bh);
bh103fs/xiafs/dir.cbrelse(bh);
bh110fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
bh112fs/xiafs/dir.cbrelse(bh);
bh194fs/xiafs/file.cstruct buffer_head * bh;
bh215fs/xiafs/file.cbh = xiafs_getblk(inode, pos >> XIAFS_ZSIZE_BITS(inode->i_sb), 1);
bh216fs/xiafs/file.cif (!bh) {
bh224fs/xiafs/file.cif (c != XIAFS_ZSIZE(inode->i_sb) && !bh->b_uptodate) {
bh225fs/xiafs/file.cll_rw_block(READ, 1, &bh);
bh226fs/xiafs/file.cwait_on_buffer(bh);
bh227fs/xiafs/file.cif (!bh->b_uptodate) {
bh228fs/xiafs/file.cbrelse(bh);
bh234fs/xiafs/file.ccp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data;
bh243fs/xiafs/file.cbh->b_uptodate = 1;
bh244fs/xiafs/file.cmark_buffer_dirty(bh, 0);
bh245fs/xiafs/file.cbrelse(bh);
bh31fs/xiafs/fsync.cstruct buffer_head * bh;
bh37fs/xiafs/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
bh38fs/xiafs/fsync.cif (!bh)
bh41fs/xiafs/fsync.cbrelse (bh);
bh44fs/xiafs/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh45fs/xiafs/fsync.cbrelse(bh);
bh48fs/xiafs/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt)
bh50fs/xiafs/fsync.cbrelse(bh);
bh53fs/xiafs/fsync.cll_rw_block(WRITE, 1, &bh);
bh54fs/xiafs/fsync.cbh->b_count--;
bh59fs/xiafs/fsync.cstruct buffer_head **bh, int wait) 
bh63fs/xiafs/fsync.c*bh = NULL;
bh70fs/xiafs/fsync.c*bh = bread(inode->i_dev, tmp, blocksize);
bh72fs/xiafs/fsync.cbrelse(*bh);
bh73fs/xiafs/fsync.c*bh = NULL;
bh76fs/xiafs/fsync.cif (!*bh)
bh62fs/xiafs/inode.cstruct buffer_head *bh;
bh71fs/xiafs/inode.cif (!(bh = bread(dev, 0, BLOCK_SIZE))) {
bh77fs/xiafs/inode.csp = (struct xiafs_super_block *) bh->b_data;
bh82fs/xiafs/inode.cbrelse(bh);
bh93fs/xiafs/inode.cbrelse(bh);
bh95fs/xiafs/inode.cbh = bread (dev, 0,  s->s_blocksize);
bh96fs/xiafs/inode.cif(!bh) return NULL;
bh97fs/xiafs/inode.csp = (struct xiafs_super_block *) (((char *)bh->b_data) + BLOCK_SIZE) ;
bh107fs/xiafs/inode.cbrelse(bh);
bh174fs/xiafs/inode.cstatic int zone_bmap(struct buffer_head * bh, int nr)
bh178fs/xiafs/inode.cif (!bh)
bh180fs/xiafs/inode.ctmp = ((u_long *) bh->b_data)[nr];
bh181fs/xiafs/inode.cbrelse(bh);
bh264fs/xiafs/inode.cindt_getblk(struct inode * inode, struct buffer_head * bh, 
bh271fs/xiafs/inode.cif (!bh)
bh273fs/xiafs/inode.cif (!bh->b_uptodate) {
bh274fs/xiafs/inode.cll_rw_block(READ, 1, &bh);
bh275fs/xiafs/inode.cwait_on_buffer(bh);
bh276fs/xiafs/inode.cif (!bh->b_uptodate) {
bh277fs/xiafs/inode.cbrelse(bh);
bh281fs/xiafs/inode.clp = nr + (u_long *) bh->b_data;
bh284fs/xiafs/inode.cresult = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh286fs/xiafs/inode.cbrelse(bh);
bh293fs/xiafs/inode.cbrelse(bh);
bh298fs/xiafs/inode.cbrelse(bh);
bh301fs/xiafs/inode.cresult = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh309fs/xiafs/inode.cmark_buffer_dirty(bh, 1);
bh310fs/xiafs/inode.cbrelse(bh);
bh316fs/xiafs/inode.cstruct buffer_head * bh;
bh334fs/xiafs/inode.cbh = dt_getblk(inode, &(inode->u.xiafs_i.i_ind_zone), create, prev_addr);
bh335fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone, create, prev_addr);
bh336fs/xiafs/inode.creturn bh;
bh339fs/xiafs/inode.cbh = dt_getblk(inode, &(inode->u.xiafs_i.i_dind_zone), create, prev_addr);
bh340fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), 
bh342fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), 
bh344fs/xiafs/inode.creturn bh;
bh349fs/xiafs/inode.cstruct buffer_head * bh;
bh351fs/xiafs/inode.cbh = xiafs_getblk(inode, zone, create);
bh352fs/xiafs/inode.cif (!bh || bh->b_uptodate)
bh353fs/xiafs/inode.creturn bh;
bh354fs/xiafs/inode.cll_rw_block(READ, 1, &bh);
bh355fs/xiafs/inode.cwait_on_buffer(bh);
bh356fs/xiafs/inode.cif (bh->b_uptodate)
bh357fs/xiafs/inode.creturn bh;
bh358fs/xiafs/inode.cbrelse(bh);
bh364fs/xiafs/inode.cstruct buffer_head * bh;
bh379fs/xiafs/inode.cif (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) {
bh383fs/xiafs/inode.craw_inode = ((struct xiafs_inode *) bh->b_data) + 
bh404fs/xiafs/inode.cbrelse(bh);
bh421fs/xiafs/inode.cstruct buffer_head * bh;
bh441fs/xiafs/inode.cif (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) {
bh446fs/xiafs/inode.craw_inode = ((struct xiafs_inode *)bh->b_data) +
bh469fs/xiafs/inode.cmark_buffer_dirty(bh, 1);
bh470fs/xiafs/inode.creturn bh;
bh476fs/xiafs/inode.cstruct buffer_head * bh;
bh477fs/xiafs/inode.cbh = xiafs_update_inode(inode);
bh478fs/xiafs/inode.cbrelse (bh);
bh484fs/xiafs/inode.cstruct buffer_head *bh;
bh486fs/xiafs/inode.cbh = xiafs_update_inode(inode);
bh487fs/xiafs/inode.cif (bh && bh->b_dirt)
bh489fs/xiafs/inode.cll_rw_block(WRITE, 1, &bh);
bh490fs/xiafs/inode.cwait_on_buffer(bh);
bh491fs/xiafs/inode.cif (bh->b_req && !bh->b_uptodate)
bh498fs/xiafs/inode.celse if (!bh)
bh500fs/xiafs/inode.cbrelse (bh);
bh61fs/xiafs/namei.cstruct buffer_head * bh;
bh76fs/xiafs/namei.cbh = xiafs_bread(inode, i, 0);
bh77fs/xiafs/namei.cif (!bh)
bh79fs/xiafs/namei.cdep_pre=dep=(struct xiafs_direct *)bh->b_data;
bh83fs/xiafs/namei.cbrelse(bh);
bh90fs/xiafs/namei.cdep->d_rec_len+(char *)dep > bh->b_data+XIAFS_ZSIZE(inode->i_sb) ||
bh93fs/xiafs/namei.cbrelse(bh);
bh100fs/xiafs/namei.creturn bh;
bh104fs/xiafs/namei.cdep=(struct xiafs_direct *)(bh->b_data + pos);
bh106fs/xiafs/namei.cbrelse(bh);
bh120fs/xiafs/namei.cstruct buffer_head * bh;
bh129fs/xiafs/namei.cif (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) {
bh134fs/xiafs/namei.cbrelse(bh);
bh158fs/xiafs/namei.cstruct buffer_head * bh;
bh171fs/xiafs/namei.cbh =  xiafs_bread(dir, pos >> XIAFS_ZSIZE_BITS(dir->i_sb), pos ? 1:0);
bh172fs/xiafs/namei.cif (!bh)
bh174fs/xiafs/namei.cde_pre=de=(struct xiafs_direct *)bh->b_data;
bh179fs/xiafs/namei.cbrelse(bh);
bh183fs/xiafs/namei.cde_pre=de=(struct xiafs_direct *)(bh->b_data+12);
bh197fs/xiafs/namei.c(char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(dir->i_sb) ||
bh201fs/xiafs/namei.cbrelse(bh);
bh224fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh228fs/xiafs/namei.creturn bh;
bh232fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
bh234fs/xiafs/namei.cbrelse(bh);
bh248fs/xiafs/namei.cstruct buffer_head * bh;
bh262fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh263fs/xiafs/namei.cif (!bh) {
bh271fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh272fs/xiafs/namei.cbrelse(bh);
bh281fs/xiafs/namei.cstruct buffer_head * bh;
bh286fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
bh287fs/xiafs/namei.cif (bh) {
bh288fs/xiafs/namei.cbrelse(bh);
bh319fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh320fs/xiafs/namei.cif (!bh) {
bh328fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh329fs/xiafs/namei.cbrelse(bh);
bh338fs/xiafs/namei.cstruct buffer_head * bh, *dir_block;
bh341fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
bh342fs/xiafs/namei.cif (bh) {
bh343fs/xiafs/namei.cbrelse(bh);
bh384fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh385fs/xiafs/namei.cif (!bh) {
bh392fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh397fs/xiafs/namei.cbrelse(bh);
bh407fs/xiafs/namei.cstruct buffer_head * bh;
bh417fs/xiafs/namei.cbh =  xiafs_bread(inode, i, 0);
bh419fs/xiafs/namei.cif (!bh) {
bh423fs/xiafs/namei.cde=(struct xiafs_direct *)bh->b_data;
bh427fs/xiafs/namei.cbrelse(bh);
bh430fs/xiafs/namei.cde=(struct xiafs_direct *)(12 + bh->b_data);
bh433fs/xiafs/namei.cbrelse(bh);
bh440fs/xiafs/namei.cif (!bh)
bh443fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
bh446fs/xiafs/namei.c(char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(inode->i_sb) ||
bh450fs/xiafs/namei.cbrelse(bh);
bh454fs/xiafs/namei.cbrelse(bh);
bh459fs/xiafs/namei.cbrelse(bh);
bh488fs/xiafs/namei.cstruct buffer_head * bh;
bh492fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
bh494fs/xiafs/namei.cif (!bh)
bh522fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh532fs/xiafs/namei.cbrelse(bh);
bh540fs/xiafs/namei.cstruct buffer_head * bh;
bh546fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
bh547fs/xiafs/namei.cif (!bh)
bh556fs/xiafs/namei.cbrelse(bh);
bh570fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh577fs/xiafs/namei.cbrelse(bh);
bh588fs/xiafs/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh592fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len, &de, NULL);
bh593fs/xiafs/namei.cif (bh) {
bh594fs/xiafs/namei.cbrelse(bh);
bh619fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh620fs/xiafs/namei.cif (!bh) {
bh628fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh629fs/xiafs/namei.cbrelse(bh);
bh639fs/xiafs/namei.cstruct buffer_head * bh;
bh651fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, NULL);
bh652fs/xiafs/namei.cif (bh) {
bh653fs/xiafs/namei.cbrelse(bh);
bh658fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh659fs/xiafs/namei.cif (!bh) {
bh665fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh666fs/xiafs/namei.cbrelse(bh);
bh49fs/xiafs/symlink.cstruct buffer_head * bh;
bh59fs/xiafs/symlink.cbh = xiafs_bread(inode, 0, 0);
bh65fs/xiafs/symlink.cif (!bh)
bh67fs/xiafs/symlink.cfor (i=0; i < buflen && (c=bh->b_data[i]); i++)
bh71fs/xiafs/symlink.cbrelse(bh);
bh79fs/xiafs/symlink.cstruct buffer_head * bh;
bh104fs/xiafs/symlink.cif (!(bh = xiafs_bread(inode, 0, 0))) {
bh111fs/xiafs/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
bh113fs/xiafs/symlink.cbrelse(bh);
bh41fs/xiafs/truncate.cstruct buffer_head * bh;
bh52fs/xiafs/truncate.cbh = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh54fs/xiafs/truncate.cbrelse(bh);
bh57fs/xiafs/truncate.cif ((bh && bh->b_count != 1) || tmp != *lp)
bh65fs/xiafs/truncate.cbrelse(bh);
bh75fs/xiafs/truncate.cstruct buffer_head * bh, * ind_bh;
bh98fs/xiafs/truncate.cbh = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh100fs/xiafs/truncate.cbrelse(bh);
bh103fs/xiafs/truncate.cif ((bh && bh->b_count != 1) || tmp != *indp)
bh111fs/xiafs/truncate.cbrelse(bh);
bh399include/linux/fs.hextern inline void mark_buffer_clean(struct buffer_head * bh)
bh401include/linux/fs.hif(bh->b_dirt) {
bh402include/linux/fs.hbh->b_dirt = 0;
bh403include/linux/fs.hif(bh->b_list == BUF_DIRTY) refile_buffer(bh);
bh407include/linux/fs.hextern inline void mark_buffer_dirty(struct buffer_head * bh, int flag)
bh409include/linux/fs.hif(!bh->b_dirt) {
bh410include/linux/fs.hbh->b_dirt = 1;
bh411include/linux/fs.hset_writetime(bh, flag);
bh412include/linux/fs.hif(bh->b_list != BUF_DIRTY) refile_buffer(bh);
bh441include/linux/fs.hextern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]);
bh212include/linux/iso_fs.hextern void leak_check_brelse(struct buffer_head * bh);
bh10include/linux/locks.hextern inline void wait_on_buffer(struct buffer_head * bh)
bh12include/linux/locks.hif (bh->b_lock)
bh13include/linux/locks.h__wait_on_buffer(bh);
bh16include/linux/locks.hextern inline void lock_buffer(struct buffer_head * bh)
bh18include/linux/locks.hif (bh->b_lock)
bh19include/linux/locks.h__wait_on_buffer(bh);
bh20include/linux/locks.hbh->b_lock = 1;
bh23include/linux/locks.hextern inline void unlock_buffer(struct buffer_head * bh)
bh25include/linux/locks.hbh->b_lock = 0;
bh26include/linux/locks.hwake_up(&bh->b_wait);
bh115include/linux/msdos_fs.hstruct buffer_head *bh;
bh117include/linux/msdos_fs.hif (!(bh = bread(dev,sector >> 1, 1024)))
bh119include/linux/msdos_fs.h*start = bh->b_data+((sector & 1) << SECTOR_BITS);
bh120include/linux/msdos_fs.hreturn bh;
bh136include/linux/msdos_fs.hextern int msdos_get_entry(struct inode *dir,off_t *pos,struct buffer_head **bh,
bh344include/linux/sysv_fs.hstruct buffer_head * bh;
bh356include/linux/sysv_fs.hstruct buffer_head *bh;
bh358include/linux/sysv_fs.hif (!(bh = bread (dev, (block >> sb->sv_block_size_ratio_bits) + sb->sv_block_base, BLOCK_SIZE)))
bh360include/linux/sysv_fs.h*data = bh->b_data + ((block & sb->sv_block_size_ratio_1) << sb->sv_block_size_bits);
bh361include/linux/sysv_fs.hreturn bh;
bh95kernel/irq.cstruct bh_struct *bh;
bh97kernel/irq.cbh = bh_base;
bh99kernel/irq.cfor (mask = 1, left = ~0 ; left & active ; bh++,mask += mask,left += left) {
bh103kernel/irq.cfn = bh->routine;
bh106kernel/irq.cfn(bh->data);
bh318mm/mmap.cstruct buffer_head * bh;
bh328mm/mmap.cif (!(bh = bread(inode->i_dev,bmap(inode,0),inode->i_sb->s_blocksize)))
bh334mm/mmap.cbrelse(bh);
bh639mm/swap.cstruct buffer_head * bh, *tmp;
bh641mm/swap.cbh = buffer_pages[MAP_NR(addr)];
bh642mm/swap.cif(bh)
bh643mm/swap.cfor(j = 0, tmp = bh; tmp && (!j || tmp != bh);