taglinefilesource code
bh2207drivers/block/floppy.cstruct buffer_head *bh;
bh2213drivers/block/floppy.cbh = CURRENT->bh;
bh2215drivers/block/floppy.cif (bh){
bh2216drivers/block/floppy.cbh = bh->b_reqnext;
bh2217drivers/block/floppy.cwhile (bh && bh->b_data == base + size){
bh2218drivers/block/floppy.csize += bh->b_size;
bh2219drivers/block/floppy.cbh = bh->b_reqnext;
bh2245drivers/block/floppy.cstruct buffer_head *bh;
bh2277drivers/block/floppy.cbh = CURRENT->bh;
bh2314drivers/block/floppy.cbh = bh->b_reqnext;
bh2316drivers/block/floppy.cif (!bh){
bh2321drivers/block/floppy.csize = bh->b_size;
bh2322drivers/block/floppy.cbuffer = bh->b_data;
bh2606drivers/block/floppy.cif (CURRENT->bh && !CURRENT->bh->b_lock)
bh3548drivers/block/floppy.cstruct buffer_head * bh;
bh3575drivers/block/floppy.cif (!(bh = getblk(dev,0,size))){
bh3579drivers/block/floppy.cif (bh && !bh->b_uptodate)
bh3580drivers/block/floppy.cll_rw_block(READ, 1, &bh);
bh3582drivers/block/floppy.cwait_on_buffer(bh);
bh3583drivers/block/floppy.cbrelse(bh);
bh93drivers/block/genhd.cstruct buffer_head *bh;
bh106drivers/block/genhd.cif (!(bh = bread(dev,0,1024)))
bh112drivers/block/genhd.cbh->b_dirt = 0;
bh113drivers/block/genhd.cbh->b_uptodate = 0;
bh114drivers/block/genhd.cbh->b_req = 0;
bh116drivers/block/genhd.cif (*(unsigned short *) (bh->b_data+510) != 0xAA55)
bh119drivers/block/genhd.cp = (struct partition *) (0x1BE + bh->b_data);
bh174drivers/block/genhd.cbrelse(bh);
bh177drivers/block/genhd.cbrelse(bh);
bh183drivers/block/genhd.cstruct buffer_head *bh;
bh192drivers/block/genhd.cif (!(bh = bread(dev,0,1024))) {
bh196drivers/block/genhd.cdata = bh->b_data;
bh197drivers/block/genhd.cbh->b_dirt = 0;    /* In some cases we modify the geometry    */
bh198drivers/block/genhd.cbh->b_uptodate = 0;  /*  of the drive (below), so ensure that   */
bh199drivers/block/genhd.cbh->b_req = 0;    /*  nobody else tries to re-use this data. */
bh204drivers/block/genhd.cbrelse(bh);
bh242drivers/block/genhd.cbrelse(bh);
bh303drivers/block/genhd.cbrelse(bh);
bh315drivers/block/genhd.cstruct buffer_head *bh;
bh350drivers/block/genhd.cif (!(bh = bread(dev,0,1024))) {
bh354drivers/block/genhd.clabel = (struct disklabel *) (bh->b_data+64);
bh358drivers/block/genhd.cbrelse(bh);
bh363drivers/block/genhd.cbrelse(bh);
bh376drivers/block/genhd.cbrelse(bh);
bh388drivers/block/genhd.cstruct buffer_head *bh;
bh413drivers/block/genhd.cif(!(bh = bread(dev, 0, 1024))) {
bh417drivers/block/genhd.clabel = (struct sun_disklabel *) bh->b_data;
bh421drivers/block/genhd.cbrelse(bh);
bh430drivers/block/genhd.cbrelse(bh);
bh446drivers/block/genhd.cbrelse(bh);
bh537drivers/block/hd.cWCURRENT.bh = WCURRENT.bh->b_reqnext;
bh538drivers/block/hd.cif (WCURRENT.bh == NULL)
bh540drivers/block/hd.cWCURRENT.current_nr_sectors = WCURRENT.bh->b_size>>9;
bh541drivers/block/hd.cWCURRENT.buffer             = WCURRENT.bh->b_data;
bh605drivers/block/hd.cif (!i || (CURRENT->bh && !SUBSECTOR(i)))
bh486drivers/block/ide-cd.cif (rq->buffer != rq->bh->b_data)
bh488drivers/block/ide-cd.cint n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE;
bh489drivers/block/ide-cd.crq->buffer = rq->bh->b_data;
bh493drivers/block/ide-cd.crq->current_nr_sectors = rq->bh->b_size >> SECTOR_BITS;
bh558drivers/block/ide-cd.crq->bh = NULL;
bh579drivers/block/ide-cd.cif (!uptodate && rq->bh != 0)
bh987drivers/block/ide-cd.cnskip = MIN ((int)(rq->current_nr_sectors - (rq->bh->b_size >> SECTOR_BITS)),
bh1093drivers/block/ide-cd.cif (rq->current_nr_sectors < (rq->bh->b_size >> SECTOR_BITS) &&
bh1136drivers/block/ide-cd.cif (rq->current_nr_sectors != (rq->bh->b_size >> SECTOR_BITS))
bh1424drivers/block/ide-cd.creq.bh = NULL;
bh1024drivers/block/ide.cif ((rq->bh = rq->bh->b_reqnext) != NULL) {
bh1025drivers/block/ide.crq->current_nr_sectors = rq->bh->b_size>>9;
bh1026drivers/block/ide.crq->buffer             = rq->bh->b_data;
bh1336drivers/block/ide.cif (rq->bh && !rq->bh->b_lock) {
bh1637drivers/block/ide.crq.bh = NULL;
bh262drivers/block/ll_rw_blk.cif (req->bh)
bh263drivers/block/ll_rw_blk.cmark_buffer_clean(req->bh);
bh286drivers/block/ll_rw_blk.cstatic void make_request(int major,int rw, struct buffer_head * bh)
bh296drivers/block/ll_rw_blk.cif (bh->b_lock)
bh307drivers/block/ll_rw_blk.ccount = bh->b_size >> 9;
bh308drivers/block/ll_rw_blk.csector = bh->b_blocknr * count;
bh310drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
bh311drivers/block/ll_rw_blk.cbh->b_dirt = bh->b_uptodate = 0;
bh312drivers/block/ll_rw_blk.cbh->b_req = 0;
bh317drivers/block/ll_rw_blk.cif (bh->b_lock)
bh320drivers/block/ll_rw_blk.clock_buffer(bh);
bh321drivers/block/ll_rw_blk.cif ((rw == WRITE && !bh->b_dirt) || (rw == READ && bh->b_uptodate)) {
bh322drivers/block/ll_rw_blk.cunlock_buffer(bh);
bh355drivers/block/ll_rw_blk.cif (req->rq_dev == bh->b_dev &&
bh361drivers/block/ll_rw_blk.creq->bhtail->b_reqnext = bh;
bh362drivers/block/ll_rw_blk.creq->bhtail = bh;
bh364drivers/block/ll_rw_blk.cmark_buffer_clean(bh);
bh369drivers/block/ll_rw_blk.cif (req->rq_dev == bh->b_dev &&
bh376drivers/block/ll_rw_blk.cbh->b_reqnext = req->bh;
bh377drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
bh380drivers/block/ll_rw_blk.cmark_buffer_clean(bh);
bh381drivers/block/ll_rw_blk.creq->bh = bh;
bh391drivers/block/ll_rw_blk.creq = get_request(max_req, bh->b_dev);
bh397drivers/block/ll_rw_blk.cunlock_buffer(bh);
bh400drivers/block/ll_rw_blk.creq = __get_request_wait(max_req, bh->b_dev);
bh409drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
bh411drivers/block/ll_rw_blk.creq->bh = bh;
bh412drivers/block/ll_rw_blk.creq->bhtail = bh;
bh445drivers/block/ll_rw_blk.creq->bh = NULL;
bh455drivers/block/ll_rw_blk.cvoid ll_rw_block(int rw, int nr, struct buffer_head * bh[])
bh464drivers/block/ll_rw_blk.cwhile (!*bh) {
bh465drivers/block/ll_rw_blk.cbh++;
bh471drivers/block/ll_rw_blk.cif ((major = MAJOR(bh[0]->b_dev)) < MAX_BLKDEV)
bh476drivers/block/ll_rw_blk.ckdevname(bh[0]->b_dev), bh[0]->b_blocknr);
bh483drivers/block/ll_rw_blk.ci = blksize_size[major][MINOR(bh[0]->b_dev)];
bh490drivers/block/ll_rw_blk.cif (bh[i] && bh[i]->b_size != correct_size) {
bh493drivers/block/ll_rw_blk.ccorrect_size, bh[i]->b_size);
bh498drivers/block/ll_rw_blk.cif ((rw == WRITE || rw == WRITEA) && is_read_only(bh[0]->b_dev)) {
bh500drivers/block/ll_rw_blk.ckdevname(bh[0]->b_dev));
bh512drivers/block/ll_rw_blk.cif (bh[i]) {
bh513drivers/block/ll_rw_blk.cbh[i]->b_req = 1;
bh514drivers/block/ll_rw_blk.cmake_request(major, rw, bh[i]);
bh526drivers/block/ll_rw_blk.cif (bh[i])
bh527drivers/block/ll_rw_blk.cbh[i]->b_dirt = bh[i]->b_uptodate = 0;
bh577drivers/block/ll_rw_blk.creq[j]->bh = NULL;
bh102drivers/block/ramdisk.cstruct buffer_head *bh;
bh129drivers/block/ramdisk.cbh = breada(ROOT_DEV,block+1,BLOCK_SIZE, 0,  PAGE_SIZE);
bh130drivers/block/ramdisk.cif (!bh) {
bh137drivers/block/ramdisk.c*((struct super_block *) bh->b_data);
bh138drivers/block/ramdisk.cbrelse(bh);
bh175drivers/block/ramdisk.cbh = breada(ROOT_DEV, block, BLOCK_SIZE, 0,  PAGE_SIZE);
bh177drivers/block/ramdisk.cbh = bread(ROOT_DEV, block, BLOCK_SIZE);
bh178drivers/block/ramdisk.cif (!bh) {
bh183drivers/block/ramdisk.c(void) memcpy(cp, bh->b_data, BLOCK_SIZE);
bh184drivers/block/ramdisk.cbrelse(bh);
bh157drivers/block/triton.cstruct buffer_head *bh = rq->bh;
bh169drivers/block/triton.cif (bh == NULL) {  /* paging requests have (rq->bh == NULL) */
bh174drivers/block/triton.caddr = virt_to_bus (bh->b_data);
bh175drivers/block/triton.csize = bh->b_size;
bh176drivers/block/triton.cwhile ((bh = bh->b_reqnext) != NULL) {
bh177drivers/block/triton.cif ((addr + size) != virt_to_bus (bh->b_data))
bh179drivers/block/triton.csize += bh->b_size;
bh201drivers/block/triton.c} while (bh != NULL);
bh1002drivers/cdrom/aztcd.cif (CURRENT->bh) {
bh1003drivers/cdrom/aztcd.cif (!CURRENT->bh->b_lock)
bh1552drivers/cdrom/cdu31a.cif (CURRENT->bh)
bh1554drivers/cdrom/cdu31a.cif (!CURRENT->bh->b_lock)
bh487drivers/cdrom/cm206.cstats(bh);
bh711drivers/cdrom/mcd.cif (CURRENT->bh) {
bh712drivers/cdrom/mcd.cif (!CURRENT->bh->b_lock)
bh1000drivers/cdrom/optcd.cif (CURRENT->bh) {
bh1001drivers/cdrom/optcd.cif (!CURRENT->bh->b_lock)
bh1337drivers/cdrom/sjcd.cif( CURRENT->bh && !( CURRENT->bh->b_lock ) )
bh821drivers/scsi/scsi.cstruct buffer_head * bh, *bhp;
bh877drivers/scsi/scsi.cbhp = bh = req->bh;
bh878drivers/scsi/scsi.cif(!tablesize) bh = NULL;
bh883drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
bh885drivers/scsi/scsi.cif(!bhp || !CONTIGUOUS_BUFFERS(bh,bhp)) tablesize--;
bh886drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
bh887drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
bh889drivers/scsi/scsi.cbh = bhp;
bh891drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
bh892drivers/scsi/scsi.cSCpnt->request.bhtail = bh;
bh893drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
bh894drivers/scsi/scsi.cbh->b_reqnext = NULL;
bh895drivers/scsi/scsi.cbh = req->bh;
bh899drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
bh900drivers/scsi/scsi.creq->buffer = bh->b_data;
bh945drivers/scsi/scsi.cstruct buffer_head * bh, *bhp;
bh1027drivers/scsi/scsi.cbhp = bh = req->bh;
bh1028drivers/scsi/scsi.cif(!tablesize) bh = NULL;
bh1033drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
bh1035drivers/scsi/scsi.cif(!bhp || !CONTIGUOUS_BUFFERS(bh,bhp)) tablesize--;
bh1036drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
bh1037drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
bh1039drivers/scsi/scsi.cbh = bhp;
bh1041drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){/* Any leftovers? */
bh1042drivers/scsi/scsi.cSCpnt->request.bhtail = bh;
bh1043drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
bh1044drivers/scsi/scsi.cbh->b_reqnext = NULL;
bh1045drivers/scsi/scsi.cbh = req->bh;
bh1048drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
bh1049drivers/scsi/scsi.creq->buffer = bh->b_data;
bh459drivers/scsi/scsi.hstruct buffer_head * bh;
bh469drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
bh470drivers/scsi/scsi.hreq->bh = bh->b_reqnext;
bh471drivers/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
bh472drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
bh473drivers/scsi/scsi.hbh->b_reqnext = NULL;
bh474drivers/scsi/scsi.hbh->b_uptodate = uptodate;
bh475drivers/scsi/scsi.hunlock_buffer(bh);
bh476drivers/scsi/scsi.hsectors -= bh->b_size >> 9;
bh477drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
bh478drivers/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
bh485drivers/scsi/scsi.h} while(sectors && bh);
bh486drivers/scsi/scsi.hif (req->bh){
bh487drivers/scsi/scsi.hreq->buffer = bh->b_data;
bh522drivers/scsi/scsi.hif (CURRENT->bh) {                                \
bh523drivers/scsi/scsi.hif (!CURRENT->bh->b_lock)                     \
bh88drivers/scsi/scsi_debug.cif (bh){                            \
bh89drivers/scsi/scsi_debug.cif (bh->b_size != 1024) panic ("Wrong bh size");    \
bh90drivers/scsi/scsi_debug.cif ((bh->b_blocknr << 1) + start != block)          \
bh91drivers/scsi/scsi_debug.c{   printk("Wrong bh block# %d %d ",bh->b_blocknr, block);  \
bh94drivers/scsi/scsi_debug.cif (bh->b_dev != SCpnt->request.rq_dev)  \
bh106drivers/scsi/scsi_debug.cif (SCpnt->request.bh){                         \
bh107drivers/scsi/scsi_debug.cif (SCpnt->request.bh->b_size != 1024) panic ("Wrong bh size"); \
bh108drivers/scsi/scsi_debug.cif ((SCpnt->request.bh->b_blocknr << 1) + start != block)           \
bh109drivers/scsi/scsi_debug.c{   printk("Wrong bh block# %d %d ",SCpnt->request.bh->b_blocknr, block);  \
bh112drivers/scsi/scsi_debug.cif (SCpnt->request.bh->b_dev != SCpnt->request.rq_dev) \
bh181drivers/scsi/scsi_debug.cstruct buffer_head * bh = NULL;
bh294drivers/scsi/scsi_debug.cbh = SCpnt->request.bh;
bh356drivers/scsi/scsi_debug.cmemcpy(buff+128, bh, sizeof(struct buffer_head));
bh359drivers/scsi/scsi_debug.cbh = bh->b_reqnext;
bh362drivers/scsi/scsi_debug.cif(!bh) panic("Too few blocks for linked request.");
bh374drivers/scsi/scsi_debug.cif(bh) scsi_dump(SCpnt, 0);
bh29drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
bh49drivers/scsi/scsicam.cstruct buffer_head *bh;
bh53drivers/scsi/scsicam.cif (!(bh = bread(MKDEV(MAJOR(dev), MINOR(dev)&~0xf), 0, 1024)))
bh59drivers/scsi/scsicam.cret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, 
bh61drivers/scsi/scsicam.cbrelse (bh);
bh85drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
bh93drivers/scsi/scsicam.cif (*(unsigned short *) (bh->b_data+510) == 0xAA55) {
bh95drivers/scsi/scsicam.c(0x1BE + bh->b_data), i = 0; i < 4; ++i, ++p) {
bh279drivers/scsi/sd.cif (!SCpnt->request.bh)
bh512drivers/scsi/sd.cstruct buffer_head * bh, *bhp;
bh606drivers/scsi/sd.cif (contiguous && SCpnt->request.bh &&
bh607drivers/scsi/sd.c((long) SCpnt->request.bh->b_data) 
bh610drivers/scsi/sd.cif(((long) SCpnt->request.bh->b_data) > ISA_DMA_THRESHOLD)
bh615drivers/scsi/sd.cif(contiguous && SCpnt->request.bh && SCpnt->request.bh->b_reqnext)
bh616drivers/scsi/sd.cfor(bh = SCpnt->request.bh, bhp = bh->b_reqnext; bhp; bh = bhp, 
bh618drivers/scsi/sd.cif(!CONTIGUOUS_BUFFERS(bh,bhp)) { 
bh624drivers/scsi/sd.cif (!SCpnt->request.bh || contiguous) {
bh657drivers/scsi/sd.cbh = SCpnt->request.bh;
bh662drivers/scsi/sd.cwhile(bh) {
bh663drivers/scsi/sd.cif ((this_count + (bh->b_size >> 9)) > this_count_max) break;
bh664drivers/scsi/sd.cif(!bhp || !CONTIGUOUS_BUFFERS(bhp,bh) ||
bh667drivers/scsi/sd.c((unsigned long) bh->b_data-1) == ISA_DMA_THRESHOLD)) {
bh671drivers/scsi/sd.cthis_count += (bh->b_size >> 9);
bh672drivers/scsi/sd.cbhp = bh;
bh673drivers/scsi/sd.cbh = bh->b_reqnext;
bh677drivers/scsi/sd.c((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--;
bh699drivers/scsi/sd.cfor(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext;
bh700drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
bh701drivers/scsi/sd.ccount++, bh = bhp) {
bh703drivers/scsi/sd.cbhp = bh->b_reqnext;
bh705drivers/scsi/sd.cif(!sgpnt[count].address) sgpnt[count].address = bh->b_data;
bh706drivers/scsi/sd.csgpnt[count].length += bh->b_size;
bh707drivers/scsi/sd.ccounted += bh->b_size >> 9;
bh743drivers/scsi/sd.cthis_count = counted -= bh->b_size >> 9;
bh753drivers/scsi/sd.cif(bhp && CONTIGUOUS_BUFFERS(bh,bhp) 
bh790drivers/scsi/sd.cbh = SCpnt->request.bh;
bh795drivers/scsi/sd.cwhile(bh){
bh796drivers/scsi/sd.cprintk("[%p %lx] ", bh->b_data, bh->b_size);
bh797drivers/scsi/sd.cbh = bh->b_reqnext;
bh155drivers/scsi/sr.cprintk("sr.c done: %x %x\n",result, SCpnt->request.bh->b_data);
bh173drivers/scsi/sr.cSCpnt->request.bh &&
bh174drivers/scsi/sr.cSCpnt->request.bh->b_reqnext &&
bh175drivers/scsi/sr.cSCpnt->request.bh->b_reqnext->b_size == 1024) {
bh176drivers/scsi/sr.cmemcpy((char *)SCpnt->request.bh->b_reqnext->b_data, 
bh204drivers/scsi/sr.cprintk("(%x %x %x) ",SCpnt->request.bh, SCpnt->request.nr_sectors, 
bh210drivers/scsi/sr.cif (!SCpnt->request.bh)
bh721drivers/scsi/sr.cstruct buffer_head * bh;
bh724drivers/scsi/sr.cbh = SCpnt->request.bh;
bh732drivers/scsi/sr.cwhile(bh && count < SCpnt->host->sg_tablesize) {
bh733drivers/scsi/sr.cif ((this_count + (bh->b_size >> 9)) > this_count_max) break;
bh734drivers/scsi/sr.cthis_count += (bh->b_size >> 9);
bh736drivers/scsi/sr.cbh = bh->b_reqnext;
bh762drivers/scsi/sr.cbh = SCpnt->request.bh;
bh771drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
bh772drivers/scsi/sr.ccount++, bh = bh->b_reqnext) {
bh773drivers/scsi/sr.cif (bh) { /* Need a placeholder at the end of the record? */
bh774drivers/scsi/sr.csgpnt[count].address = bh->b_data;
bh775drivers/scsi/sr.csgpnt[count].length = bh->b_size;
bh829drivers/scsi/sr.cif (!SCpnt->request.bh)    
bh832drivers/scsi/sr.cthis_count = (SCpnt->request.bh->b_size >> 9);
bh35fs/block_dev.cstruct buffer_head * bh, *bufferlist[NBUF];
bh72fs/block_dev.cbh = getblk(dev, block, blocksize);
bh74fs/block_dev.cbh = breada(dev,block,block+1,block+2,-1);
bh80fs/block_dev.cbh = getblk(dev, block, blocksize);
bh82fs/block_dev.cif (chars != blocksize && !bh->b_uptodate) {
bh86fs/block_dev.cbrelse(bh);
bh87fs/block_dev.cbh = bread(dev,block,blocksize);
bh96fs/block_dev.cbhlist[0] = bh;
bh110fs/block_dev.cwait_on_buffer(bh);
bh116fs/block_dev.cif (!bh)
bh118fs/block_dev.cp = offset + bh->b_data;
bh126fs/block_dev.cbh->b_uptodate = 1;
bh127fs/block_dev.cmark_buffer_dirty(bh, 0);
bh129fs/block_dev.cbufferlist[buffercount++] = bh;
bh131fs/block_dev.cbrelse(bh);
bh115fs/buffer.cvoid __wait_on_buffer(struct buffer_head * bh)
bh119fs/buffer.cbh->b_count++;
bh120fs/buffer.cadd_wait_queue(&bh->b_wait, &wait);
bh123fs/buffer.cif (bh->b_lock) {
bh127fs/buffer.cremove_wait_queue(&bh->b_wait, &wait);
bh128fs/buffer.cbh->b_count--;
bh146fs/buffer.cstruct buffer_head * bh, *next;
bh161fs/buffer.cbh = lru_list[nlist];
bh162fs/buffer.cif(!bh) continue;
bh163fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; i-- > 0 ; bh = next) {
bh164fs/buffer.cif(bh->b_list != nlist) goto repeat1;
bh165fs/buffer.cnext = bh->b_next_free;
bh167fs/buffer.cif (dev && bh->b_dev != dev)
bh169fs/buffer.cif (bh->b_lock)
bh177fs/buffer.cwait_on_buffer (bh);
bh182fs/buffer.cif (wait && bh->b_req && !bh->b_lock &&
bh183fs/buffer.c!bh->b_dirt && !bh->b_uptodate) {
bh189fs/buffer.cif (!bh->b_dirt || pass>=2)
bh192fs/buffer.cif (bh->b_lock)
bh194fs/buffer.cbh->b_count++;
bh195fs/buffer.cbh->b_flushtime = 0;
bh196fs/buffer.cll_rw_block(WRITE, 1, &bh);
bh200fs/buffer.ckdevname(bh->b_dev), bh->b_blocknr);
bh203fs/buffer.cbh->b_count--;
bh264fs/buffer.cstruct buffer_head * bh;
bh267fs/buffer.cbh = lru_list[nlist];
bh268fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; --i > 0 ; bh = bh->b_next_free) {
bh269fs/buffer.cif (bh->b_dev != dev)
bh271fs/buffer.cwait_on_buffer(bh);
bh272fs/buffer.cif (bh->b_dev != dev)
bh274fs/buffer.cif (bh->b_count)
bh276fs/buffer.cbh->b_flushtime = bh->b_uptodate = 
bh277fs/buffer.cbh->b_dirt = bh->b_req = 0;
bh285fs/buffer.cstatic inline void remove_from_hash_queue(struct buffer_head * bh)
bh287fs/buffer.cif (bh->b_next)
bh288fs/buffer.cbh->b_next->b_prev = bh->b_prev;
bh289fs/buffer.cif (bh->b_prev)
bh290fs/buffer.cbh->b_prev->b_next = bh->b_next;
bh291fs/buffer.cif (hash(bh->b_dev,bh->b_blocknr) == bh)
bh292fs/buffer.chash(bh->b_dev,bh->b_blocknr) = bh->b_next;
bh293fs/buffer.cbh->b_next = bh->b_prev = NULL;
bh296fs/buffer.cstatic inline void remove_from_lru_list(struct buffer_head * bh)
bh298fs/buffer.cif (!(bh->b_prev_free) || !(bh->b_next_free))
bh300fs/buffer.cif (bh->b_dev == B_FREE)
bh302fs/buffer.cbh->b_prev_free->b_next_free = bh->b_next_free;
bh303fs/buffer.cbh->b_next_free->b_prev_free = bh->b_prev_free;
bh305fs/buffer.cif (lru_list[bh->b_list] == bh)
bh306fs/buffer.clru_list[bh->b_list] = bh->b_next_free;
bh307fs/buffer.cif (lru_list[bh->b_list] == bh)
bh308fs/buffer.clru_list[bh->b_list] = NULL;
bh309fs/buffer.cif (next_to_age[bh->b_list] == bh)
bh310fs/buffer.cnext_to_age[bh->b_list] = bh->b_next_free;
bh311fs/buffer.cif (next_to_age[bh->b_list] == bh)
bh312fs/buffer.cnext_to_age[bh->b_list] = NULL;
bh314fs/buffer.cbh->b_next_free = bh->b_prev_free = NULL;
bh317fs/buffer.cstatic inline void remove_from_free_list(struct buffer_head * bh)
bh319fs/buffer.cint isize = BUFSIZE_INDEX(bh->b_size);
bh320fs/buffer.cif (!(bh->b_prev_free) || !(bh->b_next_free))
bh322fs/buffer.cif(bh->b_dev != B_FREE)
bh327fs/buffer.cif(bh->b_next_free == bh)
bh330fs/buffer.cbh->b_prev_free->b_next_free = bh->b_next_free;
bh331fs/buffer.cbh->b_next_free->b_prev_free = bh->b_prev_free;
bh332fs/buffer.cif (free_list[isize] == bh)
bh333fs/buffer.cfree_list[isize] = bh->b_next_free;
bh335fs/buffer.cbh->b_next_free = bh->b_prev_free = NULL;
bh338fs/buffer.cstatic inline void remove_from_queues(struct buffer_head * bh)
bh340fs/buffer.cif(bh->b_dev == B_FREE) {
bh341fs/buffer.cremove_from_free_list(bh); /* Free list entries should not be
bh345fs/buffer.cnr_buffers_type[bh->b_list]--;
bh346fs/buffer.cnr_buffers_st[BUFSIZE_INDEX(bh->b_size)][bh->b_list]--;
bh347fs/buffer.cremove_from_hash_queue(bh);
bh348fs/buffer.cremove_from_lru_list(bh);
bh351fs/buffer.cstatic inline void put_last_lru(struct buffer_head * bh)
bh353fs/buffer.cif (!bh)
bh355fs/buffer.cif (bh == lru_list[bh->b_list]) {
bh356fs/buffer.clru_list[bh->b_list] = bh->b_next_free;
bh357fs/buffer.cif (next_to_age[bh->b_list] == bh)
bh358fs/buffer.cnext_to_age[bh->b_list] = bh->b_next_free;
bh361fs/buffer.cif(bh->b_dev == B_FREE)
bh363fs/buffer.cremove_from_lru_list(bh);
bh366fs/buffer.cif(!lru_list[bh->b_list]) {
bh367fs/buffer.clru_list[bh->b_list] = bh;
bh368fs/buffer.clru_list[bh->b_list]->b_prev_free = bh;
bh370fs/buffer.cif (!next_to_age[bh->b_list])
bh371fs/buffer.cnext_to_age[bh->b_list] = bh;
bh373fs/buffer.cbh->b_next_free = lru_list[bh->b_list];
bh374fs/buffer.cbh->b_prev_free = lru_list[bh->b_list]->b_prev_free;
bh375fs/buffer.clru_list[bh->b_list]->b_prev_free->b_next_free = bh;
bh376fs/buffer.clru_list[bh->b_list]->b_prev_free = bh;
bh379fs/buffer.cstatic inline void put_last_free(struct buffer_head * bh)
bh382fs/buffer.cif (!bh)
bh385fs/buffer.cisize = BUFSIZE_INDEX(bh->b_size);  
bh386fs/buffer.cbh->b_dev = B_FREE;  /* So it is obvious we are on the free list */
bh389fs/buffer.cfree_list[isize] = bh;
bh390fs/buffer.cbh->b_prev_free = bh;
bh394fs/buffer.cbh->b_next_free = free_list[isize];
bh395fs/buffer.cbh->b_prev_free = free_list[isize]->b_prev_free;
bh396fs/buffer.cfree_list[isize]->b_prev_free->b_next_free = bh;
bh397fs/buffer.cfree_list[isize]->b_prev_free = bh;
bh400fs/buffer.cstatic inline void insert_into_queues(struct buffer_head * bh)
bh403fs/buffer.cif(bh->b_dev == B_FREE) {
bh404fs/buffer.cput_last_free(bh);
bh407fs/buffer.cif(!lru_list[bh->b_list]) {
bh408fs/buffer.clru_list[bh->b_list] = bh;
bh409fs/buffer.cbh->b_prev_free = bh;
bh411fs/buffer.cif (!next_to_age[bh->b_list])
bh412fs/buffer.cnext_to_age[bh->b_list] = bh;
bh413fs/buffer.cif (bh->b_next_free) panic("VFS: buffer LRU pointers corrupted");
bh414fs/buffer.cbh->b_next_free = lru_list[bh->b_list];
bh415fs/buffer.cbh->b_prev_free = lru_list[bh->b_list]->b_prev_free;
bh416fs/buffer.clru_list[bh->b_list]->b_prev_free->b_next_free = bh;
bh417fs/buffer.clru_list[bh->b_list]->b_prev_free = bh;
bh418fs/buffer.cnr_buffers_type[bh->b_list]++;
bh419fs/buffer.cnr_buffers_st[BUFSIZE_INDEX(bh->b_size)][bh->b_list]++;
bh421fs/buffer.cbh->b_prev = NULL;
bh422fs/buffer.cbh->b_next = NULL;
bh423fs/buffer.cif (!(bh->b_dev))
bh425fs/buffer.cbh->b_next = hash(bh->b_dev,bh->b_blocknr);
bh426fs/buffer.chash(bh->b_dev,bh->b_blocknr) = bh;
bh427fs/buffer.cif (bh->b_next)
bh428fs/buffer.cbh->b_next->b_prev = bh;
bh456fs/buffer.cstruct buffer_head * bh;
bh459fs/buffer.cif (!(bh=find_buffer(dev,block,size)))
bh461fs/buffer.cbh->b_reuse=0;
bh462fs/buffer.cbh->b_count++;
bh463fs/buffer.cwait_on_buffer(bh);
bh464fs/buffer.cif (bh->b_dev == dev && bh->b_blocknr == block
bh465fs/buffer.c&& bh->b_size == size)
bh466fs/buffer.creturn bh;
bh467fs/buffer.cbh->b_count--;
bh474fs/buffer.cstruct buffer_head * bh, *bhnext;
bh497fs/buffer.cbh = lru_list[nlist];
bh498fs/buffer.cfor (i = nr_buffers_type[nlist]*2 ; --i > 0 ; bh = bhnext) {
bh499fs/buffer.cif(!bh) break;
bh500fs/buffer.cbhnext = bh->b_next_free; 
bh501fs/buffer.cif (bh->b_dev != dev)
bh503fs/buffer.cif (bh->b_size == size)
bh506fs/buffer.cwait_on_buffer(bh);
bh507fs/buffer.cif (bh->b_dev == dev && bh->b_size != size) {
bh508fs/buffer.cbh->b_uptodate = bh->b_dirt = bh->b_req =
bh509fs/buffer.cbh->b_flushtime = 0;
bh511fs/buffer.cremove_from_hash_queue(bh);
bh516fs/buffer.c#define BADNESS(bh) (((bh)->b_dirt<<1)+(bh)->b_lock)
bh520fs/buffer.cstruct buffer_head * bh, * tmp;
bh574fs/buffer.cfor (bh = lru_list[i]; buffers[i] > 0; bh = tmp, buffers[i]--)
bh577fs/buffer.ctmp = bh->b_next_free;
bh578fs/buffer.cif (!bh) break;
bh580fs/buffer.cif (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 ||
bh581fs/buffer.cbh->b_dirt) {
bh582fs/buffer.crefile_buffer(bh);
bh586fs/buffer.cif (bh->b_count || bh->b_size != size)
bh593fs/buffer.cif(bh->b_lock && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
bh598fs/buffer.cif (BADNESS(bh)) continue;
bh602fs/buffer.celse candidate[i] = bh;
bh623fs/buffer.cbh = candidate[i];
bh624fs/buffer.ccandidate[i] = bh->b_next_free;
bh625fs/buffer.cif(candidate[i] == bh) candidate[i] = NULL;  /* Got last one */
bh626fs/buffer.cif (bh->b_count || bh->b_size != size)
bh628fs/buffer.cif (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1)
bh630fs/buffer.cif (BADNESS(bh)) panic("Buffer in candidate list with BADNESS != 0\n");
bh632fs/buffer.cif(bh->b_dev == B_FREE)
bh634fs/buffer.cremove_from_queues(bh);
bh635fs/buffer.cbh->b_dev = B_FREE;
bh636fs/buffer.cput_last_free(bh);
bh637fs/buffer.cneeded -= bh->b_size;
bh647fs/buffer.cfor (bh = candidate[i]; buffers[i] > 0; bh = tmp, buffers[i]--) {
bh649fs/buffer.ctmp = bh->b_next_free;
bh650fs/buffer.cif (!bh) break;
bh652fs/buffer.cif (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 ||
bh653fs/buffer.cbh->b_dirt) {
bh654fs/buffer.crefile_buffer(bh);
bh658fs/buffer.cif (bh->b_count || bh->b_size != size)
bh665fs/buffer.cif(bh->b_lock && (i == BUF_LOCKED || i == BUF_LOCKED1)) {
bh670fs/buffer.cif (BADNESS(bh)) continue;
bh674fs/buffer.celse candidate[i] = bh;
bh712fs/buffer.cstruct buffer_head * bh;
bh722fs/buffer.cbh = get_hash_table(dev, block, size);
bh723fs/buffer.cif (bh) {
bh724fs/buffer.cif (bh->b_uptodate && !bh->b_dirt)
bh725fs/buffer.cput_last_lru(bh);
bh726fs/buffer.cif(!bh->b_dirt) bh->b_flushtime = 0;
bh727fs/buffer.cbh->b_touched = 1;
bh728fs/buffer.creturn bh;
bh736fs/buffer.cbh = free_list[isize];
bh737fs/buffer.cremove_from_free_list(bh);
bh741fs/buffer.cbh->b_count=1;
bh742fs/buffer.cbh->b_dirt=0;
bh743fs/buffer.cbh->b_lock=0;
bh744fs/buffer.cbh->b_uptodate=0;
bh745fs/buffer.cbh->b_flushtime=0;
bh746fs/buffer.cbh->b_req=0;
bh747fs/buffer.cbh->b_reuse=0;
bh748fs/buffer.cbh->b_touched = 1;
bh749fs/buffer.cbh->b_has_aged = 0;
bh750fs/buffer.cbh->b_dev=dev;
bh751fs/buffer.cbh->b_blocknr=block;
bh752fs/buffer.cinsert_into_queues(bh);
bh753fs/buffer.creturn bh;
bh858fs/buffer.cstruct buffer_head * bh;
bh860fs/buffer.cif (!(bh = getblk(dev, block, size))) {
bh865fs/buffer.cif (bh->b_uptodate)
bh866fs/buffer.creturn bh;
bh867fs/buffer.cll_rw_block(READ, 1, &bh);
bh868fs/buffer.cwait_on_buffer(bh);
bh869fs/buffer.cif (bh->b_uptodate)
bh870fs/buffer.creturn bh;
bh871fs/buffer.cbrelse(bh);
bh888fs/buffer.cstruct buffer_head * bh;
bh895fs/buffer.cif (block < 0 || !(bh = getblk(dev,block,bufsize)))
bh898fs/buffer.cindex = BUFSIZE_INDEX(bh->b_size);
bh900fs/buffer.cif (bh->b_uptodate)
bh901fs/buffer.creturn bh;
bh910fs/buffer.cbhlist[0] = bh;
bh913fs/buffer.cbh = getblk(dev,block+i,bufsize);
bh914fs/buffer.cif (bh->b_uptodate) {
bh915fs/buffer.cbrelse(bh);
bh918fs/buffer.cbhlist[j++] = bh;
bh928fs/buffer.cbh = bhlist[0];
bh929fs/buffer.cwait_on_buffer(bh);
bh930fs/buffer.cif (bh->b_uptodate)
bh931fs/buffer.creturn bh;
bh932fs/buffer.cbrelse(bh);
bh939fs/buffer.cstatic void put_unused_buffer_head(struct buffer_head * bh)
bh943fs/buffer.cwait = ((volatile struct buffer_head *) bh)->b_wait;
bh944fs/buffer.cmemset(bh,0,sizeof(*bh));
bh945fs/buffer.c((volatile struct buffer_head *) bh)->b_wait = wait;
bh946fs/buffer.cbh->b_next_free = unused_list;
bh947fs/buffer.cunused_list = bh;
bh953fs/buffer.cstruct buffer_head * bh;
bh958fs/buffer.cif (!(bh = (struct buffer_head*) get_free_page(GFP_BUFFER)))
bh961fs/buffer.cfor (nr_buffer_heads+=i=PAGE_SIZE/sizeof*bh ; i>0; i--) {
bh962fs/buffer.cbh->b_next_free = unused_list;  /* only make link */
bh963fs/buffer.cunused_list = bh++;
bh969fs/buffer.cstruct buffer_head * bh;
bh974fs/buffer.cbh = unused_list;
bh975fs/buffer.cunused_list = bh->b_next_free;
bh976fs/buffer.cbh->b_next_free = NULL;
bh977fs/buffer.cbh->b_data = NULL;
bh978fs/buffer.cbh->b_size = 0;
bh979fs/buffer.cbh->b_req = 0;
bh980fs/buffer.creturn bh;
bh991fs/buffer.cstruct buffer_head *bh, *head;
bh997fs/buffer.cbh = get_unused_buffer_head();
bh998fs/buffer.cif (!bh)
bh1000fs/buffer.cbh->b_this_page = head;
bh1001fs/buffer.chead = bh;
bh1002fs/buffer.cbh->b_data = (char *) (page+offset);
bh1003fs/buffer.cbh->b_size = size;
bh1004fs/buffer.cbh->b_dev = B_FREE;  /* Flag as unused */
bh1011fs/buffer.cbh = head;
bh1012fs/buffer.cwhile (bh) {
bh1013fs/buffer.chead = bh;
bh1014fs/buffer.cbh = bh->b_this_page;
bh1020fs/buffer.cstatic void read_buffers(struct buffer_head * bh[], int nrbuf)
bh1027fs/buffer.cif (bh[i] && !bh[i]->b_uptodate)
bh1028fs/buffer.cbhr[bhnum++] = bh[i];
bh1033fs/buffer.cif (bh[i]) {
bh1034fs/buffer.cwait_on_buffer(bh[i]);
bh1047fs/buffer.cstatic unsigned long try_to_align(struct buffer_head ** bh, int nrbuf,
bh1051fs/buffer.cbrelse(bh[nrbuf]);
bh1058fs/buffer.cstruct buffer_head * bh[MAX_BUF_PER_PAGE];
bh1065fs/buffer.cbh[0] = first;
bh1077fs/buffer.cbh[nrbuf++] = first;
bh1082fs/buffer.creturn try_to_align(bh, nrbuf, address);
bh1084fs/buffer.cread_buffers(bh,nrbuf);    /* make sure they are actually read correctly */
bh1086fs/buffer.cbrelse(bh[nrbuf]);
bh1092fs/buffer.cbrelse(bh[nrbuf]);
bh1099fs/buffer.cstruct buffer_head * bh, * tmp, * arr[MAX_BUF_PER_PAGE];
bh1105fs/buffer.cbh = create_buffers(address, size);
bh1106fs/buffer.cif (!bh)
bh1117fs/buffer.ctmp = bh;
bh1121fs/buffer.carr[block++] = bh;
bh1122fs/buffer.cbh->b_count = 1;
bh1123fs/buffer.cbh->b_dirt = 0;
bh1124fs/buffer.cbh->b_reuse = 0;
bh1125fs/buffer.cbh->b_flushtime = 0;
bh1126fs/buffer.cbh->b_uptodate = 0;
bh1127fs/buffer.cbh->b_req = 0;
bh1128fs/buffer.cbh->b_dev = dev;
bh1129fs/buffer.cbh->b_blocknr = *(p++);
bh1130fs/buffer.cbh->b_list = BUF_CLEAN;
bh1133fs/buffer.cinsert_into_queues(bh);
bh1134fs/buffer.cif (bh->b_this_page)
bh1135fs/buffer.cbh = bh->b_this_page;
bh1140fs/buffer.cbh->b_this_page = tmp;
bh1142fs/buffer.cbuffer_pages[MAP_NR(address)] = bh;
bh1149fs/buffer.cwhile ((tmp = bh) != NULL) {
bh1150fs/buffer.cbh = bh->b_this_page;
bh1170fs/buffer.cstruct buffer_head * bh;
bh1176fs/buffer.cbh = get_hash_table(dev, block, size);
bh1177fs/buffer.cif (bh)
bh1178fs/buffer.creturn check_aligned(bh, address, dev, b, size);
bh1191fs/buffer.cstruct buffer_head * bh[MAX_BUF_PER_PAGE];
bh1202fs/buffer.cbh[i] = NULL;
bh1204fs/buffer.cbh[i] = getblk(dev, b[i], size);
bh1206fs/buffer.cread_buffers(bh,i);
bh1209fs/buffer.cif (bh[i]) {
bh1210fs/buffer.cif (bh[i]->b_uptodate)
bh1211fs/buffer.cmemcpy((void *) where, bh[i]->b_data, size);
bh1212fs/buffer.cbrelse(bh[i]);
bh1226fs/buffer.cstruct buffer_head * bh[MAX_BUF_PER_PAGE];
bh1230fs/buffer.cbh[i] = NULL;
bh1232fs/buffer.cbh[i] = getblk(dev, b[i], size);
bh1235fs/buffer.cif (bh[i]) {
bh1236fs/buffer.cmemcpy(bh[i]->b_data, (void *) address, size);
bh1237fs/buffer.cbh[i]->b_uptodate = 1;
bh1238fs/buffer.cmark_buffer_dirty(bh[i], 0);
bh1239fs/buffer.cbrelse(bh[i]);
bh1253fs/buffer.cstruct buffer_head *bh, *tmp;
bh1266fs/buffer.cbh = create_buffers(page, size);
bh1267fs/buffer.cif (!bh) {
bh1274fs/buffer.ctmp = bh;
bh1293fs/buffer.cfree_list[isize] = bh;
bh1294fs/buffer.cbuffer_pages[MAP_NR(page)] = bh;
bh1295fs/buffer.ctmp->b_this_page = bh;
bh1308fs/buffer.cstatic int try_to_free(struct buffer_head * bh, struct buffer_head ** bhp,
bh1313fs/buffer.cint isize = BUFSIZE_INDEX(bh->b_size);
bh1315fs/buffer.c*bhp = bh;
bh1316fs/buffer.cpage = (unsigned long) bh->b_data;
bh1318fs/buffer.ctmp = bh;
bh1327fs/buffer.c} while (tmp != bh);
bh1328fs/buffer.ctmp = bh;
bh1342fs/buffer.c} while (tmp != bh);
bh1351fs/buffer.cstatic inline void age_buffer(struct buffer_head *bh)
bh1353fs/buffer.cstruct buffer_head *tmp = bh;
bh1363fs/buffer.cif (bh->b_has_aged) {
bh1364fs/buffer.cbh->b_has_aged = 0;
bh1373fs/buffer.c} while (tmp != bh);
bh1374fs/buffer.cbh->b_has_aged = 0;
bh1377fs/buffer.ctouch_page((unsigned long) bh->b_data);
bh1379fs/buffer.cage_page((unsigned long) bh->b_data);
bh1459fs/buffer.cstruct buffer_head *bh;
bh1472fs/buffer.cbh = free_list[isize];
bh1473fs/buffer.cif(!bh) continue;
bh1474fs/buffer.cfor (i=0 ; !i || bh != free_list[isize]; bh = bh->b_next_free, i++) {
bh1475fs/buffer.cif (bh->b_count || !bh->b_this_page)
bh1477fs/buffer.cif (!age_of((unsigned long) bh->b_data) &&
bh1478fs/buffer.ctry_to_free(bh, &bh, 6))
bh1480fs/buffer.cif(!bh) break;
bh1494fs/buffer.cbh = next_to_age[nlist];
bh1495fs/buffer.cif (!bh)
bh1497fs/buffer.cnext_to_age[nlist] = bh->b_next_free;
bh1500fs/buffer.cage_buffer(bh);
bh1503fs/buffer.cif(bh->b_list != nlist) goto repeat1;
bh1504fs/buffer.cif (bh->b_count || !bh->b_this_page)
bh1506fs/buffer.cif(size && bh->b_size != size) continue;
bh1507fs/buffer.cif (bh->b_lock)
bh1511fs/buffer.cwait_on_buffer(bh);
bh1512fs/buffer.cif (bh->b_dirt) {
bh1513fs/buffer.cbh->b_count++;
bh1514fs/buffer.cbh->b_flushtime = 0;
bh1515fs/buffer.cll_rw_block(WRITEA, 1, &bh);
bh1516fs/buffer.cbh->b_count--;
bh1522fs/buffer.cif ((age_of((unsigned long) bh->b_data) >>
bh1525fs/buffer.cif (try_to_free(bh, &bh, 0))
bh1527fs/buffer.cif(!bh) break;
bh1538fs/buffer.cstruct buffer_head * bh;
bh1549fs/buffer.cbh = lru_list[nlist];
bh1550fs/buffer.cif(!bh) continue;
bh1553fs/buffer.cif (bh->b_lock)
bh1555fs/buffer.cif (bh->b_dirt)
bh1557fs/buffer.cif(mem_map[MAP_NR(((unsigned long) bh->b_data))].count !=1) shared++;
bh1558fs/buffer.cif (bh->b_count)
bh1560fs/buffer.cbh = bh->b_next_free;
bh1561fs/buffer.c} while (bh != lru_list[nlist]);
bh1582fs/buffer.cstatic inline int try_to_reassign(struct buffer_head * bh, struct buffer_head ** bhp,
bh1588fs/buffer.c*bhp = bh;
bh1589fs/buffer.cpage = (unsigned long) bh->b_data;
bh1592fs/buffer.ctmp = bh;
bh1600fs/buffer.c} while (tmp != bh);
bh1601fs/buffer.ctmp = bh;
bh1607fs/buffer.cbh = tmp;
bh1617fs/buffer.c} while (tmp != bh);
bh1638fs/buffer.cstruct buffer_head *bh;
bh1648fs/buffer.cbh = free_list[isize];
bh1649fs/buffer.cif(bh)
bh1650fs/buffer.cfor (i=0 ; !i || bh != free_list[isize] ; bh = bh->b_next_free, i++) {
bh1651fs/buffer.cif (!bh->b_this_page)  continue;
bh1652fs/buffer.cif (try_to_reassign(bh, &bh, dev, starting_block))
bh1664fs/buffer.cstruct buffer_head * bh, * tmp, * arr[MAX_BUF_PER_PAGE];
bh1673fs/buffer.cbh = create_buffers(page, size);
bh1674fs/buffer.cif (!bh) {
bh1683fs/buffer.ctmp = bh;
bh1686fs/buffer.carr[nblock++] = bh;
bh1687fs/buffer.cbh->b_count = 1;
bh1688fs/buffer.cbh->b_dirt = 0;
bh1689fs/buffer.cbh->b_flushtime = 0;
bh1690fs/buffer.cbh->b_lock = 0;
bh1691fs/buffer.cbh->b_uptodate = 0;
bh1692fs/buffer.cbh->b_req = 0;
bh1693fs/buffer.cbh->b_dev = dev;
bh1694fs/buffer.cbh->b_list = BUF_CLEAN;
bh1695fs/buffer.cbh->b_blocknr = block++;
bh1698fs/buffer.cinsert_into_queues(bh);
bh1699fs/buffer.cif (bh->b_this_page)
bh1700fs/buffer.cbh = bh->b_this_page;
bh1705fs/buffer.cbuffer_pages[MAP_NR(page)] = bh;
bh1706fs/buffer.cbh->b_this_page = tmp;
bh1711fs/buffer.cwhile ((tmp = bh) != NULL) {
bh1712fs/buffer.cbh = bh->b_this_page;
bh1830fs/buffer.cstruct buffer_head * bh, *next;
bh1845fs/buffer.cbh = lru_list[nlist];
bh1846fs/buffer.cif(bh) 
bh1847fs/buffer.cfor (i = nr_buffers_type[nlist]; i-- > 0; bh = next) {
bh1849fs/buffer.cif(bh->b_list != nlist) goto repeat;
bh1850fs/buffer.cnext = bh->b_next_free;
bh1857fs/buffer.cif (nlist == BUF_DIRTY && !bh->b_dirt && !bh->b_lock)
bh1859fs/buffer.crefile_buffer(bh);
bh1863fs/buffer.cif (bh->b_lock || !bh->b_dirt)
bh1866fs/buffer.cif(bh->b_flushtime > jiffies) continue;
bh1868fs/buffer.cbh->b_count++;
bh1869fs/buffer.cbh->b_flushtime = 0;
bh1873fs/buffer.cll_rw_block(WRITE, 1, &bh);
bh1874fs/buffer.cbh->b_count--;
bh1905fs/buffer.cstruct buffer_head * bh, *next;
bh1951fs/buffer.cbh = lru_list[nlist];
bh1952fs/buffer.cif(bh) 
bh1954fs/buffer.cbh = next) {
bh1956fs/buffer.cif(bh->b_list != nlist) goto repeat;
bh1957fs/buffer.cnext = bh->b_next_free;
bh1964fs/buffer.cif (nlist == BUF_DIRTY && !bh->b_dirt && !bh->b_lock)
bh1966fs/buffer.crefile_buffer(bh);
bh1970fs/buffer.cif (bh->b_lock || !bh->b_dirt)
bh1974fs/buffer.cbh->b_count++;
bh1976fs/buffer.cbh->b_flushtime = 0;
bh1977fs/buffer.cll_rw_block(WRITE, 1, &bh);
bh1981fs/buffer.cbh->b_count--;
bh70fs/ext/dir.cstruct buffer_head * bh;
bh80fs/ext/dir.cbh = ext_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0);
bh81fs/ext/dir.cif (!bh) {
bh86fs/ext/dir.cde = (struct ext_dir_entry *) (bh->b_data + i);
bh92fs/ext/dir.cde = (struct ext_dir_entry *) (offset + bh->b_data);
bh116fs/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);
bh42fs/ext/freelists.cstruct buffer_head * bh;
bh55fs/ext/freelists.cbh = get_hash_table(sb->s_dev, block, sb->s_blocksize);
bh56fs/ext/freelists.cif (bh)
bh57fs/ext/freelists.cbh->b_dirt=0;
bh58fs/ext/freelists.cbrelse(bh);
bh86fs/ext/freelists.cstruct buffer_head * bh;
bh125fs/ext/freelists.cif (!(bh=getblk(sb->s_dev, j, sb->s_blocksize))) {
bh129fs/ext/freelists.cmemset(bh->b_data, 0, BLOCK_SIZE);
bh130fs/ext/freelists.cbh->b_uptodate = 1;
bh131fs/ext/freelists.cmark_buffer_dirty(bh, 1);
bh132fs/ext/freelists.cbrelse(bh);
bh143fs/ext/freelists.cstruct buffer_head * bh;
bh155fs/ext/freelists.cif (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
bh159fs/ext/freelists.cefb = (struct ext_free_block *) bh->b_data;
bh162fs/ext/freelists.cbrelse (bh);
bh177fs/ext/freelists.cstruct buffer_head * bh;
bh222fs/ext/freelists.cif (!(bh = bread(dev, block, sb->s_blocksize)))
bh224fs/ext/freelists.cefi = ((struct ext_free_inode *) bh->b_data) +
bh229fs/ext/freelists.csb->u.ext_sb.s_firstfreeinodeblock = bh;
bh303fs/ext/freelists.cstruct buffer_head * bh;
bh322fs/ext/freelists.cif (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
bh326fs/ext/freelists.cefi = ((struct ext_free_inode *) bh->b_data) +
bh330fs/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)
bh63fs/ext/inode.cstruct buffer_head *bh;
bh71fs/ext/inode.cif (!(bh = bread(dev, 1, BLOCK_SIZE))) {
bh78fs/ext/inode.ces = (struct ext_super_block *) bh->b_data;
bh91fs/ext/inode.cbrelse(bh);
bh140fs/ext/inode.cstruct buffer_head * bh;
bh143fs/ext/inode.cif (!(bh = bread(sb->s_dev, 1, BLOCK_SIZE))) {
bh147fs/ext/inode.ces = (struct ext_super_block *) bh->b_data;
bh152fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh153fs/ext/inode.cbrelse (bh);
bh174fs/ext/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
bh178fs/ext/inode.cif (!bh)
bh180fs/ext/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
bh181fs/ext/inode.cbrelse(bh);
bh263fs/ext/inode.cstruct buffer_head * bh, int nr, int create)
bh269fs/ext/inode.cif (!bh)
bh271fs/ext/inode.cif (!bh->b_uptodate) {
bh272fs/ext/inode.cll_rw_block(READ, 1, &bh);
bh273fs/ext/inode.cwait_on_buffer(bh);
bh274fs/ext/inode.cif (!bh->b_uptodate) {
bh275fs/ext/inode.cbrelse(bh);
bh279fs/ext/inode.cp = nr + (unsigned long *) bh->b_data;
bh283fs/ext/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh285fs/ext/inode.cbrelse(bh);
bh292fs/ext/inode.cbrelse(bh);
bh297fs/ext/inode.cbrelse(bh);
bh300fs/ext/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh307fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh308fs/ext/inode.cbrelse(bh);
bh314fs/ext/inode.cstruct buffer_head * bh;
bh328fs/ext/inode.cbh = inode_getblk(inode,9,create);
bh329fs/ext/inode.creturn block_getblk(inode,bh,block,create);
bh333fs/ext/inode.cbh = inode_getblk(inode,10,create);
bh334fs/ext/inode.cbh = block_getblk(inode,bh,block>>8,create);
bh335fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
bh338fs/ext/inode.cbh = inode_getblk(inode,11,create);
bh339fs/ext/inode.cbh = block_getblk(inode,bh,block>>16,create);
bh340fs/ext/inode.cbh = block_getblk(inode,bh,(block>>8) & 255,create);
bh341fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
bh346fs/ext/inode.cstruct buffer_head * bh;
bh348fs/ext/inode.cbh = ext_getblk(inode,block,create);
bh349fs/ext/inode.cif (!bh || bh->b_uptodate) 
bh350fs/ext/inode.creturn bh;
bh351fs/ext/inode.cll_rw_block(READ, 1, &bh);
bh352fs/ext/inode.cwait_on_buffer(bh);
bh353fs/ext/inode.cif (bh->b_uptodate)
bh354fs/ext/inode.creturn bh;
bh355fs/ext/inode.cbrelse(bh);
bh361fs/ext/inode.cstruct buffer_head * bh;
bh366fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
bh368fs/ext/inode.craw_inode = ((struct ext_inode *) bh->b_data) +
bh381fs/ext/inode.cbrelse(bh);
bh399fs/ext/inode.cstruct buffer_head * bh;
bh404fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
bh406fs/ext/inode.craw_inode = ((struct ext_inode *)bh->b_data) +
bh418fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh420fs/ext/inode.creturn bh;
bh425fs/ext/inode.cstruct buffer_head *bh;
bh426fs/ext/inode.cbh = ext_update_inode (inode);
bh427fs/ext/inode.cbrelse(bh);
bh433fs/ext/inode.cstruct buffer_head *bh;
bh435fs/ext/inode.cbh = ext_update_inode(inode);
bh436fs/ext/inode.cif (bh && bh->b_dirt)
bh438fs/ext/inode.cll_rw_block(WRITE, 1, &bh);
bh439fs/ext/inode.cwait_on_buffer(bh);
bh440fs/ext/inode.cif (bh->b_req && !bh->b_uptodate)
bh448fs/ext/inode.celse if (!bh)
bh450fs/ext/inode.cbrelse (bh);
bh84fs/ext/namei.cstruct buffer_head * bh;
bh97fs/ext/namei.cbh = ext_bread(dir,0,0);
bh98fs/ext/namei.cif (!bh)
bh105fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh107fs/ext/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data) {
bh108fs/ext/namei.cbrelse(bh);
bh109fs/ext/namei.cbh = NULL;
bh110fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0);
bh111fs/ext/namei.cif (!bh)
bh113fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh119fs/ext/namei.c(((char *) de) + de->rec_len-1 >= BLOCK_SIZE+bh->b_data)) {
bh125fs/ext/namei.cde = (struct ext_dir_entry *) (bh->b_data+BLOCK_SIZE);
bh135fs/ext/namei.c((char *)de) + de->rec_len < BLOCK_SIZE+bh->b_data)
bh140fs/ext/namei.creturn bh;
bh147fs/ext/namei.cbrelse(bh);
bh156fs/ext/namei.cstruct buffer_head * bh;
bh165fs/ext/namei.cif (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) {
bh170fs/ext/namei.cbrelse(bh);
bh195fs/ext/namei.cstruct buffer_head * bh;
bh210fs/ext/namei.cbh = ext_bread(dir,0,0);
bh211fs/ext/namei.cif (!bh)
bh215fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh217fs/ext/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) {
bh221fs/ext/namei.cbrelse(bh);
bh222fs/ext/namei.cbh = NULL;
bh223fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0);
bh224fs/ext/namei.cif (!bh)
bh226fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh246fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh248fs/ext/namei.cbrelse (bh);
bh249fs/ext/namei.cbh = NULL;
bh253fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1);
bh254fs/ext/namei.cif (!bh)
bh256fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh269fs/ext/namei.c(((char *) de) + de->rec_len-1 >= BLOCK_SIZE+bh->b_data)) {
bh275fs/ext/namei.cbrelse (bh);
bh296fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh298fs/ext/namei.creturn bh;
bh303fs/ext/namei.cbrelse(bh);
bh311fs/ext/namei.cstruct buffer_head * bh;
bh325fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh326fs/ext/namei.cif (!bh) {
bh334fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh335fs/ext/namei.cbrelse(bh);
bh344fs/ext/namei.cstruct buffer_head * bh;
bh349fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh350fs/ext/namei.cif (bh) {
bh351fs/ext/namei.cbrelse(bh);
bh384fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh385fs/ext/namei.cif (!bh) {
bh393fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh394fs/ext/namei.cbrelse(bh);
bh403fs/ext/namei.cstruct buffer_head * bh, *dir_block;
bh406fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh407fs/ext/namei.cif (bh) {
bh408fs/ext/namei.cbrelse(bh);
bh451fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh452fs/ext/namei.cif (!bh) {
bh459fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh464fs/ext/namei.cbrelse(bh);
bh474fs/ext/namei.cstruct buffer_head * bh;
bh477fs/ext/namei.cif (inode->i_size < 2 * 12 || !(bh = ext_bread(inode,0,0))) {
bh482fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
bh493fs/ext/namei.cif ((void *) de >= (void *) (bh->b_data+BLOCK_SIZE)) {
bh494fs/ext/namei.cbrelse(bh);
bh495fs/ext/namei.cbh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1);
bh496fs/ext/namei.cif (!bh) {
bh500fs/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)
bh616fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh624fs/ext/namei.cbrelse(bh);
bh634fs/ext/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh660fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh661fs/ext/namei.cif (bh) {
bh665fs/ext/namei.cbrelse(bh);
bh669fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh670fs/ext/namei.cif (!bh) {
bh678fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh679fs/ext/namei.cbrelse(bh);
bh688fs/ext/namei.cstruct buffer_head * bh;
bh700fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
bh701fs/ext/namei.cif (bh) {
bh702fs/ext/namei.cbrelse(bh);
bh707fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
bh708fs/ext/namei.cif (!bh) {
bh714fs/ext/namei.cmark_buffer_dirty(bh, 1);
bh715fs/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);
bh40fs/ext2/balloc.cstruct buffer_head ** bh)
bh61fs/ext2/balloc.cif (bh)
bh62fs/ext2/balloc.c*bh = sb->u.ext2_sb.s_group_desc[group_desc];
bh71fs/ext2/balloc.cstruct buffer_head * bh;
bh74fs/ext2/balloc.cbh = bread (sb->s_dev, gdp->bg_block_bitmap, sb->s_blocksize);
bh75fs/ext2/balloc.cif (!bh)
bh81fs/ext2/balloc.csb->u.ext2_sb.s_block_bitmap[bitmap_nr] = bh;
bh171fs/ext2/balloc.cstruct buffer_head * bh;
bh206fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh222fs/ext2/balloc.cif (!clear_bit (bit + i, bh->b_data))
bh235fs/ext2/balloc.cmark_buffer_dirty(bh, 1);
bh237fs/ext2/balloc.cll_rw_block (WRITE, 1, &bh);
bh238fs/ext2/balloc.cwait_on_buffer (bh);
bh256fs/ext2/balloc.cstruct buffer_head * bh;
bh298fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh302fs/ext2/balloc.cif (!test_bit(j, bh->b_data)) {
bh319fs/ext2/balloc.cj = find_next_zero_bit(bh->b_data, end_goal, j);
bh335fs/ext2/balloc.cp = ((char *) bh->b_data) + (j >> 3);
bh337fs/ext2/balloc.ck = (r - ((char *) bh->b_data)) << 3;
bh342fs/ext2/balloc.ck = find_next_zero_bit ((unsigned long *) bh->b_data, 
bh370fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh371fs/ext2/balloc.cr = memscan(bh->b_data, 0, EXT2_BLOCKS_PER_GROUP(sb) >> 3);
bh372fs/ext2/balloc.cj = (r - bh->b_data) << 3;
bh376fs/ext2/balloc.cj = find_first_zero_bit ((unsigned long *) bh->b_data,
bh391fs/ext2/balloc.cfor (k = 0; k < 7 && j > 0 && !test_bit (j - 1, bh->b_data); k++, j--);
bh407fs/ext2/balloc.cif (set_bit (j, bh->b_data)) {
bh424fs/ext2/balloc.cif (set_bit (j + k, bh->b_data))
bh437fs/ext2/balloc.cmark_buffer_dirty(bh, 1);
bh439fs/ext2/balloc.cll_rw_block (WRITE, 1, &bh);
bh440fs/ext2/balloc.cwait_on_buffer (bh);
bh450fs/ext2/balloc.cif (!(bh = getblk (sb->s_dev, j, sb->s_blocksize))) {
bh455fs/ext2/balloc.cmemset(bh->b_data, 0, sb->s_blocksize);
bh456fs/ext2/balloc.cbh->b_uptodate = 1;
bh457fs/ext2/balloc.cmark_buffer_dirty(bh, 1);
bh458fs/ext2/balloc.cbrelse (bh);
bh515fs/ext2/balloc.cstruct buffer_head * bh;
bh534fs/ext2/balloc.cbh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr];
bh536fs/ext2/balloc.cif (!test_bit (0, bh->b_data))
bh541fs/ext2/balloc.cif (!test_bit (j + 1, bh->b_data))
bh546fs/ext2/balloc.cif (!block_in_use (gdp->bg_block_bitmap, sb, bh->b_data))
bh551fs/ext2/balloc.cif (!block_in_use (gdp->bg_inode_bitmap, sb, bh->b_data))
bh557fs/ext2/balloc.cif (!block_in_use (gdp->bg_inode_table + j, sb, bh->b_data))
bh562fs/ext2/balloc.cx = ext2_count_free (bh, sb->s_blocksize);
bh73fs/ext2/dir.cstruct ext2_dir_entry * de, struct buffer_head * bh,
bh84fs/ext2/dir.celse if (dir && ((char *) de - bh->b_data) + de->rec_len >
bh104fs/ext2/dir.cstruct buffer_head * bh, * tmp, * bha[16];
bh114fs/ext2/dir.cbh = NULL;
bh119fs/ext2/dir.cbh = ext2_bread (inode, blk, 0, &err);
bh120fs/ext2/dir.cif (!bh) {
bh155fs/ext2/dir.c(bh->b_data + i);
bh174fs/ext2/dir.cde = (struct ext2_dir_entry *) (bh->b_data + offset);
bh176fs/ext2/dir.cbh, offset)) {
bh181fs/ext2/dir.cbrelse (bh);
bh205fs/ext2/dir.cbrelse (bh);
bh240fs/ext2/file.cstruct buffer_head * bh, *bufferlist[NBUF];
bh286fs/ext2/file.cbh = ext2_getblk (inode, block, 1, &err);
bh287fs/ext2/file.cif (!bh) {
bh295fs/ext2/file.cif (c != sb->s_blocksize && !bh->b_uptodate) {
bh296fs/ext2/file.cll_rw_block (READ, 1, &bh);
bh297fs/ext2/file.cwait_on_buffer (bh);
bh298fs/ext2/file.cif (!bh->b_uptodate) {
bh299fs/ext2/file.cbrelse (bh);
bh308fs/ext2/file.cmemcpy_fromfs (bh->b_data + offset, buf, c);
bh310fs/ext2/file.cbh->b_uptodate = 1;
bh311fs/ext2/file.cmark_buffer_dirty(bh, 0);
bh313fs/ext2/file.cbufferlist[buffercount++] = bh;
bh315fs/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)
bh39fs/ext2/ialloc.cstruct buffer_head ** bh)
bh60fs/ext2/ialloc.cif (bh)
bh61fs/ext2/ialloc.c*bh = sb->u.ext2_sb.s_group_desc[group_desc];
bh70fs/ext2/ialloc.cstruct buffer_head * bh;
bh73fs/ext2/ialloc.cbh = bread (sb->s_dev, gdp->bg_inode_bitmap, sb->s_blocksize);
bh74fs/ext2/ialloc.cif (!bh)
bh80fs/ext2/ialloc.csb->u.ext2_sb.s_inode_bitmap[bitmap_nr] = bh;
bh163fs/ext2/ialloc.cstruct buffer_head * bh;
bh169fs/ext2/ialloc.cbh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize);
bh170fs/ext2/ialloc.cif (!bh)
bh175fs/ext2/ialloc.craw_inode = ((struct ext2_inode *) bh->b_data) +
bh181fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh183fs/ext2/ialloc.cll_rw_block (WRITE, 1, &bh);
bh184fs/ext2/ialloc.cwait_on_buffer (bh);
bh186fs/ext2/ialloc.cbrelse (bh);
bh192fs/ext2/ialloc.cstruct buffer_head * bh;
bh236fs/ext2/ialloc.cbh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr];
bh237fs/ext2/ialloc.cif (!clear_bit (bit, bh->b_data))
bh250fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh252fs/ext2/ialloc.cll_rw_block (WRITE, 1, &bh);
bh253fs/ext2/ialloc.cwait_on_buffer (bh);
bh271fs/ext2/ialloc.cstruct buffer_head * bh;
bh277fs/ext2/ialloc.cbh = bread (inode->i_sb->s_dev, inode_block, inode->i_sb->s_blocksize);
bh278fs/ext2/ialloc.cif (!bh) {
bh286fs/ext2/ialloc.craw_inode = ((struct ext2_inode *) bh->b_data) +
bh292fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh293fs/ext2/ialloc.cbrelse (bh);
bh309fs/ext2/ialloc.cstruct buffer_head * bh;
bh408fs/ext2/ialloc.cbh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr];
bh409fs/ext2/ialloc.cif ((j = find_first_zero_bit ((unsigned long *) bh->b_data,
bh412fs/ext2/ialloc.cif (set_bit (j, bh->b_data)) {
bh417fs/ext2/ialloc.cmark_buffer_dirty(bh, 1);
bh419fs/ext2/ialloc.cll_rw_block (WRITE, 1, &bh);
bh420fs/ext2/ialloc.cwait_on_buffer (bh);
bh44fs/ext2/inode.cstatic int block_bmap (struct buffer_head * bh, int nr)
bh48fs/ext2/inode.cif (!bh)
bh50fs/ext2/inode.ctmp = ((u32 *) bh->b_data)[nr];
bh51fs/ext2/inode.cbrelse (bh);
bh81fs/ext2/inode.cstruct buffer_head * bh;
bh98fs/ext2/inode.cif (!(bh = getblk (inode->i_sb->s_dev, result,
bh104fs/ext2/inode.cmemset(bh->b_data, 0, inode->i_sb->s_blocksize);
bh105fs/ext2/inode.cbh->b_uptodate = 1;
bh106fs/ext2/inode.cmark_buffer_dirty(bh, 1);
bh107fs/ext2/inode.cbrelse (bh);
bh250fs/ext2/inode.cstruct buffer_head * bh, int nr,
bh259fs/ext2/inode.cif (!bh)
bh261fs/ext2/inode.cif (!bh->b_uptodate) {
bh262fs/ext2/inode.cll_rw_block (READ, 1, &bh);
bh263fs/ext2/inode.cwait_on_buffer (bh);
bh264fs/ext2/inode.cif (!bh->b_uptodate) {
bh265fs/ext2/inode.cbrelse (bh);
bh269fs/ext2/inode.cp = (u32 *) bh->b_data + nr;
bh273fs/ext2/inode.cresult = getblk (bh->b_dev, tmp, blocksize);
bh275fs/ext2/inode.cbrelse (bh);
bh284fs/ext2/inode.cbrelse (bh);
bh292fs/ext2/inode.cif (((u32 *) bh->b_data)[tmp]) {
bh293fs/ext2/inode.cgoal = ((u32 *)bh->b_data)[tmp];
bh298fs/ext2/inode.cgoal = bh->b_blocknr;
bh302fs/ext2/inode.cbrelse (bh);
bh305fs/ext2/inode.cresult = getblk (bh->b_dev, tmp, blocksize);
bh312fs/ext2/inode.cmark_buffer_dirty(bh, 1);
bh314fs/ext2/inode.cll_rw_block (WRITE, 1, &bh);
bh315fs/ext2/inode.cwait_on_buffer (bh);
bh322fs/ext2/inode.cbrelse (bh);
bh326fs/ext2/inode.cstatic int block_getcluster (struct inode * inode, struct buffer_head * bh,
bh337fs/ext2/inode.cif(!bh) return 0;
bh344fs/ext2/inode.cp = (u32 *) bh->b_data + nr + i;
bh354fs/ext2/inode.cp = (u32 *) bh->b_data + nr;
bh355fs/ext2/inode.cresult = generate_cluster(bh->b_dev, (int *) p, blocksize);
bh358fs/ext2/inode.cbrelse(bh);
bh365fs/ext2/inode.cstruct buffer_head * bh;
bh402fs/ext2/inode.cbh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, err);
bh403fs/ext2/inode.creturn block_getblk (inode, bh, block, create,
bh408fs/ext2/inode.cbh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, err);
bh409fs/ext2/inode.cbh = block_getblk (inode, bh, block >> addr_per_block_bits,
bh411fs/ext2/inode.creturn block_getblk (inode, bh, block & (addr_per_block - 1),
bh415fs/ext2/inode.cbh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, err);
bh416fs/ext2/inode.cbh = block_getblk (inode, bh, block >> (addr_per_block_bits * 2),
bh418fs/ext2/inode.cbh = block_getblk (inode, bh, (block >> addr_per_block_bits) & (addr_per_block - 1),
bh420fs/ext2/inode.creturn block_getblk (inode, bh, block & (addr_per_block - 1), create,
bh426fs/ext2/inode.cstruct buffer_head * bh;
bh452fs/ext2/inode.cbh = inode_getblk (inode, EXT2_IND_BLOCK, create, b, &err);
bh453fs/ext2/inode.creturn block_getcluster (inode, bh, block, 
bh458fs/ext2/inode.cbh = inode_getblk (inode, EXT2_DIND_BLOCK, create, b, &err);
bh459fs/ext2/inode.cbh = block_getblk (inode, bh, block >> addr_per_block_bits,
bh461fs/ext2/inode.creturn block_getcluster (inode, bh, block & (addr_per_block - 1),
bh465fs/ext2/inode.cbh = inode_getblk (inode, EXT2_TIND_BLOCK, create, b, &err);
bh466fs/ext2/inode.cbh = block_getblk (inode, bh, block >> (addr_per_block_bits * 2),
bh468fs/ext2/inode.cbh = block_getblk (inode, bh, (block >> addr_per_block_bits) & (addr_per_block - 1),
bh470fs/ext2/inode.creturn block_getcluster (inode, bh, block & (addr_per_block - 1),
bh477fs/ext2/inode.cstruct buffer_head * bh;
bh479fs/ext2/inode.cbh = ext2_getblk (inode, block, create, err);
bh480fs/ext2/inode.cif (!bh || bh->b_uptodate)
bh481fs/ext2/inode.creturn bh;
bh482fs/ext2/inode.cll_rw_block (READ, 1, &bh);
bh483fs/ext2/inode.cwait_on_buffer (bh);
bh484fs/ext2/inode.cif (bh->b_uptodate)
bh485fs/ext2/inode.creturn bh;
bh486fs/ext2/inode.cbrelse (bh);
bh493fs/ext2/inode.cstruct buffer_head * bh;
bh514fs/ext2/inode.cbh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc];
bh515fs/ext2/inode.cif (!bh)
bh518fs/ext2/inode.cgdp = (struct ext2_group_desc *) bh->b_data;
bh522fs/ext2/inode.cif (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize)))
bh526fs/ext2/inode.craw_inode = ((struct ext2_inode *) bh->b_data) +
bh558fs/ext2/inode.cbrelse (bh);
bh585fs/ext2/inode.cstruct buffer_head * bh;
bh605fs/ext2/inode.cbh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc];
bh606fs/ext2/inode.cif (!bh)
bh609fs/ext2/inode.cgdp = (struct ext2_group_desc *) bh->b_data;
bh613fs/ext2/inode.cif (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize)))
bh617fs/ext2/inode.craw_inode = ((struct ext2_inode *)bh->b_data) +
bh640fs/ext2/inode.cmark_buffer_dirty(bh, 1);
bh642fs/ext2/inode.creturn bh;
bh647fs/ext2/inode.cstruct buffer_head * bh;
bh648fs/ext2/inode.cbh = ext2_update_inode (inode);
bh649fs/ext2/inode.cbrelse (bh);
bh655fs/ext2/inode.cstruct buffer_head *bh;
bh657fs/ext2/inode.cbh = ext2_update_inode (inode);
bh658fs/ext2/inode.cif (bh && bh->b_dirt)
bh660fs/ext2/inode.cll_rw_block (WRITE, 1, &bh);
bh661fs/ext2/inode.cwait_on_buffer (bh);
bh662fs/ext2/inode.cif (bh->b_req && !bh->b_uptodate)
bh670fs/ext2/inode.celse if (!bh)
bh672fs/ext2/inode.cbrelse (bh);
bh94fs/ext2/namei.cstruct buffer_head * bh;
bh98fs/ext2/namei.cbh = ext2_getblk (dir, block, 0, &err);
bh99fs/ext2/namei.cbh_use[block] = bh;
bh100fs/ext2/namei.cif (bh && !bh->b_uptodate)
bh101fs/ext2/namei.cbh_read[toread++] = bh;
bh105fs/ext2/namei.cstruct buffer_head * bh;
bh113fs/ext2/namei.cbh = bh_use[block % NAMEI_RA_SIZE];
bh114fs/ext2/namei.cif (!bh) {
bh121fs/ext2/namei.cwait_on_buffer (bh);
bh122fs/ext2/namei.cif (!bh->b_uptodate) {
bh129fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh130fs/ext2/namei.cdlimit = bh->b_data + sb->s_blocksize;
bh133fs/ext2/namei.cde, bh, offset))
bh137fs/ext2/namei.cif (bh_use[i] != bh)
bh141fs/ext2/namei.creturn bh;
bh148fs/ext2/namei.cbrelse (bh);
bh151fs/ext2/namei.cbh = NULL;
bh153fs/ext2/namei.cbh = ext2_getblk (dir, block + NAMEI_RA_SIZE, 0, &err);
bh154fs/ext2/namei.cbh_use[block % NAMEI_RA_SIZE] = bh;
bh155fs/ext2/namei.cif (bh && !bh->b_uptodate)
bh156fs/ext2/namei.cbh_read[toread++] = bh;
bh170fs/ext2/namei.cstruct buffer_head * bh;
bh192fs/ext2/namei.cif (!(bh = ext2_find_entry (dir, name, len, &de))) {
bh200fs/ext2/namei.cbrelse (bh);
bh226fs/ext2/namei.cstruct buffer_head * bh;
bh252fs/ext2/namei.cbh = ext2_bread (dir, 0, 0, err);
bh253fs/ext2/namei.cif (!bh)
bh257fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh260fs/ext2/namei.cif ((char *)de >= sb->s_blocksize + bh->b_data) {
bh261fs/ext2/namei.cbrelse (bh);
bh262fs/ext2/namei.cbh = NULL;
bh263fs/ext2/namei.cbh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err);
bh264fs/ext2/namei.cif (!bh)
bh274fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh283fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh286fs/ext2/namei.cif (!ext2_check_dir_entry ("ext2_add_entry", dir, de, bh,
bh289fs/ext2/namei.cbrelse (bh);
bh294fs/ext2/namei.cbrelse (bh);
bh325fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh328fs/ext2/namei.creturn bh;
bh333fs/ext2/namei.cbrelse (bh);
bh342fs/ext2/namei.cstruct buffer_head * bh)
bh349fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh350fs/ext2/namei.cwhile (i < bh->b_size) {
bh352fs/ext2/namei.cde, bh, i))
bh371fs/ext2/namei.cstruct buffer_head * bh;
bh386fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh387fs/ext2/namei.cif (!bh) {
bh397fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh399fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh400fs/ext2/namei.cwait_on_buffer (bh);
bh402fs/ext2/namei.cbrelse (bh);
bh412fs/ext2/namei.cstruct buffer_head * bh;
bh418fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh419fs/ext2/namei.cif (bh) {
bh420fs/ext2/namei.cbrelse (bh);
bh450fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh451fs/ext2/namei.cif (!bh) {
bh461fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh463fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh464fs/ext2/namei.cwait_on_buffer (bh);
bh466fs/ext2/namei.cbrelse (bh);
bh475fs/ext2/namei.cstruct buffer_head * bh, * dir_block;
bh481fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh482fs/ext2/namei.cif (bh) {
bh483fs/ext2/namei.cbrelse (bh);
bh524fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh525fs/ext2/namei.cif (!bh) {
bh535fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh537fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh538fs/ext2/namei.cwait_on_buffer (bh);
bh544fs/ext2/namei.cbrelse (bh);
bh554fs/ext2/namei.cstruct buffer_head * bh;
bh561fs/ext2/namei.c!(bh = ext2_bread (inode, 0, 0, &err))) {
bh567fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh579fs/ext2/namei.cif ((void *) de >= (void *) (bh->b_data + sb->s_blocksize)) {
bh580fs/ext2/namei.cbrelse (bh);
bh581fs/ext2/namei.cbh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err);
bh582fs/ext2/namei.cif (!bh) {
bh589fs/ext2/namei.cde = (struct ext2_dir_entry *) bh->b_data;
bh591fs/ext2/namei.cif (!ext2_check_dir_entry ("empty_dir", inode, de, bh,
bh593fs/ext2/namei.cbrelse (bh);
bh597fs/ext2/namei.cbrelse (bh);
bh603fs/ext2/namei.cbrelse (bh);
bh611fs/ext2/namei.cstruct buffer_head * bh;
bh618fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh620fs/ext2/namei.cif (!bh)
bh629fs/ext2/namei.cbrelse(bh);
bh660fs/ext2/namei.cretval = ext2_delete_entry (de, bh);
bh666fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh668fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh669fs/ext2/namei.cwait_on_buffer (bh);
bh684fs/ext2/namei.cbrelse (bh);
bh692fs/ext2/namei.cstruct buffer_head * bh;
bh700fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh701fs/ext2/namei.cif (!bh)
bh712fs/ext2/namei.cbrelse(bh);
bh727fs/ext2/namei.cretval = ext2_delete_entry (de, bh);
bh731fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh733fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh734fs/ext2/namei.cwait_on_buffer (bh);
bh743fs/ext2/namei.cbrelse (bh);
bh754fs/ext2/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh798fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh799fs/ext2/namei.cif (bh) {
bh803fs/ext2/namei.cbrelse (bh);
bh807fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh808fs/ext2/namei.cif (!bh) {
bh818fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh820fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh821fs/ext2/namei.cwait_on_buffer (bh);
bh823fs/ext2/namei.cbrelse (bh);
bh833fs/ext2/namei.cstruct buffer_head * bh;
bh851fs/ext2/namei.cbh = ext2_find_entry (dir, name, len, &de);
bh852fs/ext2/namei.cif (bh) {
bh853fs/ext2/namei.cbrelse (bh);
bh858fs/ext2/namei.cbh = ext2_add_entry (dir, name, len, &de, &err);
bh859fs/ext2/namei.cif (!bh) {
bh867fs/ext2/namei.cmark_buffer_dirty(bh, 1);
bh869fs/ext2/namei.cll_rw_block (WRITE, 1, &bh);
bh870fs/ext2/namei.cwait_on_buffer (bh);
bh872fs/ext2/namei.cbrelse (bh);
bh358fs/ext2/super.cstruct buffer_head * bh;
bh378fs/ext2/super.cif (!(bh = bread (dev, sb_block, BLOCK_SIZE))) {
bh389fs/ext2/super.ces = (struct ext2_super_block *) bh->b_data;
bh395fs/ext2/super.cbrelse (bh);
bh408fs/ext2/super.cbrelse (bh);
bh412fs/ext2/super.cbh = bread (dev, logic_sb_block, sb->s_blocksize);
bh413fs/ext2/super.cif(!bh) {
bh417fs/ext2/super.ces = (struct ext2_super_block *) (((char *)bh->b_data) + offset);
bh422fs/ext2/super.cbrelse (bh);
bh444fs/ext2/super.csb->u.ext2_sb.s_sbh = bh;
bh465fs/ext2/super.cbrelse (bh);
bh473fs/ext2/super.cif (sb->s_blocksize != bh->b_size) {
bh476fs/ext2/super.cbrelse (bh);
bh487fs/ext2/super.cbrelse (bh);
bh497fs/ext2/super.cbrelse (bh);
bh506fs/ext2/super.cbrelse (bh);
bh515fs/ext2/super.cbrelse (bh);
bh532fs/ext2/super.cbrelse (bh);
bh547fs/ext2/super.cbrelse (bh);
bh560fs/ext2/super.cbrelse (bh);
bh587fs/ext2/super.cbrelse (bh);
bh56fs/ext2/symlink.cstruct buffer_head * bh = NULL;
bh79fs/ext2/symlink.cif (!(bh = ext2_bread (inode, 0, 0, &error))) {
bh84fs/ext2/symlink.clink = bh->b_data;
bh91fs/ext2/symlink.cif (bh)
bh92fs/ext2/symlink.cbrelse (bh);
bh98fs/ext2/symlink.cstruct buffer_head * bh = NULL;
bh110fs/ext2/symlink.cbh = ext2_bread (inode, 0, 0, &err);
bh111fs/ext2/symlink.cif (!bh) {
bh115fs/ext2/symlink.clink = bh->b_data;
bh125fs/ext2/symlink.cif (bh)
bh126fs/ext2/symlink.cbrelse (bh);
bh63fs/ext2/truncate.cstruct buffer_head * bh;
bh78fs/ext2/truncate.cbh = get_hash_table (inode->i_dev, tmp,
bh81fs/ext2/truncate.cbrelse (bh);
bh84fs/ext2/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
bh86fs/ext2/truncate.cbrelse (bh);
bh92fs/ext2/truncate.cbforget(bh);
bh113fs/ext2/truncate.cstruct buffer_head * bh;
bh146fs/ext2/truncate.cbh = get_hash_table (inode->i_dev, tmp,
bh149fs/ext2/truncate.cbrelse (bh);
bh152fs/ext2/truncate.cif ((bh && bh->b_count != 1) || tmp != *ind) {
bh154fs/ext2/truncate.cbrelse (bh);
bh159fs/ext2/truncate.cbforget(bh);
bh323fs/ext2/truncate.cstruct buffer_head * bh;
bh358fs/ext2/truncate.cbh = ext2_bread (inode,
bh361fs/ext2/truncate.cif (bh) {
bh362fs/ext2/truncate.cmemset (bh->b_data + offset, 0,
bh364fs/ext2/truncate.cmark_buffer_dirty (bh, 0);
bh365fs/ext2/truncate.cbrelse (bh);
bh228fs/hpfs/hpfs_fs.cstruct buffer_head *bh[4];
bh876fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh908fs/hpfs/hpfs_fs.cblock = map_sector(inode->i_dev, hpfs_bmap(inode, q), &bh);
bh936fs/hpfs/hpfs_fs.cbrelse(bh);
bh1007fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1023fs/hpfs/hpfs_fs.cfnode = map_fnode(inode->i_dev, inode->i_ino, &bh);
bh1027fs/hpfs/hpfs_fs.cfile_secno, &bh);
bh1028fs/hpfs/hpfs_fs.cbrelse(bh);
bh1583fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1587fs/hpfs/hpfs_fs.cfnode = map_fnode(dev, ino, &bh);
bh1592fs/hpfs/hpfs_fs.cbrelse(bh);
bh1665fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1667fs/hpfs/hpfs_fs.cif ((*bhp = bh = bread(dev, secno, 512)) != 0)
bh1668fs/hpfs/hpfs_fs.creturn bh->b_data;
bh1680fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1692fs/hpfs/hpfs_fs.cqbh->bh[0] = bh = breada(dev, secno, 512, 0, UINT_MAX);
bh1693fs/hpfs/hpfs_fs.cif (!bh)
bh1695fs/hpfs/hpfs_fs.cmemcpy(data, bh->b_data, 512);
bh1697fs/hpfs/hpfs_fs.cqbh->bh[1] = bh = bread(dev, secno + 1, 512);
bh1698fs/hpfs/hpfs_fs.cif (!bh)
bh1700fs/hpfs/hpfs_fs.cmemcpy(data + 512, bh->b_data, 512);
bh1702fs/hpfs/hpfs_fs.cqbh->bh[2] = bh = bread(dev, secno + 2, 512);
bh1703fs/hpfs/hpfs_fs.cif (!bh)
bh1705fs/hpfs/hpfs_fs.cmemcpy(data + 2 * 512, bh->b_data, 512);
bh1707fs/hpfs/hpfs_fs.cqbh->bh[3] = bh = bread(dev, secno + 3, 512);
bh1708fs/hpfs/hpfs_fs.cif (!bh)
bh1710fs/hpfs/hpfs_fs.cmemcpy(data + 3 * 512, bh->b_data, 512);
bh1715fs/hpfs/hpfs_fs.cbrelse(qbh->bh[2]);
bh1717fs/hpfs/hpfs_fs.cbrelse(qbh->bh[1]);
bh1719fs/hpfs/hpfs_fs.cbrelse(qbh->bh[0]);
bh1731fs/hpfs/hpfs_fs.cbrelse(qbh->bh[3]);
bh1732fs/hpfs/hpfs_fs.cbrelse(qbh->bh[2]);
bh1733fs/hpfs/hpfs_fs.cbrelse(qbh->bh[1]);
bh1734fs/hpfs/hpfs_fs.cbrelse(qbh->bh[0]);
bh114fs/isofs/dir.cstruct buffer_head *bh;
bh126fs/isofs/dir.cif (!(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size)))
bh137fs/isofs/dir.cbrelse(bh);
bh142fs/isofs/dir.cbh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size);
bh143fs/isofs/dir.cif (!bh)
bh148fs/isofs/dir.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh158fs/isofs/dir.cbrelse(bh);
bh165fs/isofs/dir.cbh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size);
bh166fs/isofs/dir.cif (!bh)
bh178fs/isofs/dir.cbrelse(bh);
bh182fs/isofs/dir.cbh = breada(inode->i_dev, block, bufsize, filp->f_pos+de_len, inode->i_size);
bh183fs/isofs/dir.cif (!bh)
bh185fs/isofs/dir.cmemcpy(bufsize - offset + (char *) tmpde, bh->b_data, next_offset);
bh254fs/isofs/dir.cbrelse(bh);
bh96fs/isofs/file.cstruct buffer_head * bh;
bh100fs/isofs/file.cif (block && (bh = bread(inode->i_dev,block, ISOFS_BUFFER_SIZE(inode)))) {
bh101fs/isofs/file.cpnt = (unsigned char *) bh->b_data;
bh112fs/isofs/file.cbrelse(bh);
bh188fs/isofs/inode.cstruct buffer_head *bh=NULL;
bh244fs/isofs/inode.cif (!(bh = bread(dev, iso_blknum << (ISOFS_BLOCK_BITS-blocksize_bits), opt.blocksize))) {
bh254fs/isofs/inode.cvdp = (struct iso_volume_descriptor *)bh->b_data;
bh255fs/isofs/inode.chdp = (struct hs_volume_descriptor *)bh->b_data;
bh281fs/isofs/inode.cbrelse(bh);
bh340fs/isofs/inode.cbrelse(bh);
bh382fs/isofs/inode.cbrelse(bh);
bh417fs/isofs/inode.cstruct buffer_head * bh;
bh427fs/isofs/inode.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
bh432fs/isofs/inode.cpnt = ((unsigned char *) bh->b_data
bh445fs/isofs/inode.cbrelse(bh);
bh448fs/isofs/inode.cmemcpy(cpnt, bh->b_data + offset, frag1);
bh449fs/isofs/inode.cbrelse(bh);
bh450fs/isofs/inode.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
bh456fs/isofs/inode.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh558fs/isofs/inode.cbrelse(bh);
bh641fs/isofs/inode.cstruct buffer_head * bh;
bh646fs/isofs/inode.cif (!(bh = bread(parent->i_dev, block, bufsize)))  return -1;
bh649fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh652fs/isofs/inode.cbrelse(bh);
bh662fs/isofs/inode.cbrelse(bh);
bh670fs/isofs/inode.cbrelse(bh);
bh683fs/isofs/inode.cif (!block || !(bh = bread(parent->i_dev,block, bufsize)))
bh688fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh697fs/isofs/inode.cbrelse(bh);
bh705fs/isofs/inode.c|| !(bh = bread(parent->i_dev,block, bufsize)))
bh723fs/isofs/inode.cmemcpy(cpnt, bh->b_data + old_offset, frag1);
bh725fs/isofs/inode.cbrelse(bh);
bh730fs/isofs/inode.cif(!(bh = bread(parent->i_dev,block,bufsize))) {
bh734fs/isofs/inode.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh756fs/isofs/inode.cbrelse(bh);
bh786fs/isofs/inode.cvoid leak_check_brelse(struct buffer_head * bh){
bh788fs/isofs/inode.creturn brelse(bh);
bh67fs/isofs/namei.cstruct buffer_head * bh;
bh86fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) return NULL;
bh89fs/isofs/namei.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh97fs/isofs/namei.cbrelse(bh);
bh102fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize)))
bh118fs/isofs/namei.cmemcpy(cpnt, bh->b_data + old_offset, frag1);
bh121fs/isofs/namei.cbrelse(bh);
bh124fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) {
bh128fs/isofs/namei.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh208fs/isofs/namei.creturn bh;
bh214fs/isofs/namei.cbrelse(bh);
bh222fs/isofs/namei.cstruct buffer_head * bh;
bh241fs/isofs/namei.cif (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) {
bh247fs/isofs/namei.cbrelse(bh);
bh57fs/isofs/rock.cstruct buffer_head * bh; \
bh68fs/isofs/rock.cbh = bread(DEV->i_dev, block++, ISOFS_BUFFER_SIZE(DEV)); \
bh69fs/isofs/rock.cif(!bh) {printk("Unable to read continuation Rock Ridge record\n"); \
bh72fs/isofs/rock.cmemcpy(buffer, bh->b_data + offset, 1024 - offset); \
bh73fs/isofs/rock.cbrelse(bh); \
bh79fs/isofs/rock.cbh = bread(DEV->i_dev, block, ISOFS_BUFFER_SIZE(DEV)); \
bh80fs/isofs/rock.cif(bh){       \
bh81fs/isofs/rock.cmemcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \
bh82fs/isofs/rock.cbrelse(bh); \
bh406fs/isofs/rock.cstruct buffer_head * bh;
bh425fs/isofs/rock.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
bh430fs/isofs/rock.cpnt = ((unsigned char *) bh->b_data) + (inode->i_ino & (bufsize - 1));
bh441fs/isofs/rock.cmemcpy(cpnt, bh->b_data + offset, frag1);
bh442fs/isofs/rock.cbrelse(bh);
bh443fs/isofs/rock.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
bh449fs/isofs/rock.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh517fs/isofs/rock.cbrelse(bh);
bh23fs/minix/bitmap.cstruct buffer_head *bh;
bh26fs/minix/bitmap.cif (!(bh=map[i])) 
bh35fs/minix/bitmap.ctmp = bh->b_data[end] & ((1<<numbits)-1);
bh40fs/minix/bitmap.csum += nibblemap[bh->b_data[j] & 0xf] 
bh41fs/minix/bitmap.c+ nibblemap[(bh->b_data[j]>>4)&0xf];
bh48fs/minix/bitmap.cstruct buffer_head * bh;
bh60fs/minix/bitmap.cbh = get_hash_table(sb->s_dev,block,BLOCK_SIZE);
bh61fs/minix/bitmap.cif (bh)
bh62fs/minix/bitmap.cbh->b_dirt=0;
bh63fs/minix/bitmap.cbrelse(bh);
bh67fs/minix/bitmap.cbh = sb->u.minix_sb.s_zmap[zone];
bh68fs/minix/bitmap.cif (!bh) {
bh72fs/minix/bitmap.cif (!clear_bit(bit,bh->b_data))
bh75fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh81fs/minix/bitmap.cstruct buffer_head * bh;
bh91fs/minix/bitmap.cif ((bh=sb->u.minix_sb.s_zmap[i]) != NULL)
bh92fs/minix/bitmap.cif ((j=find_first_zero_bit(bh->b_data, 8192)) < 8192)
bh94fs/minix/bitmap.cif (i>=8 || !bh || j>=8192)
bh96fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {
bh100fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh105fs/minix/bitmap.cif (!(bh = getblk(sb->s_dev,j,BLOCK_SIZE))) {
bh109fs/minix/bitmap.cmemset(bh->b_data, 0, BLOCK_SIZE);
bh110fs/minix/bitmap.cbh->b_uptodate = 1;
bh111fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh112fs/minix/bitmap.cbrelse(bh);
bh124fs/minix/bitmap.cstruct buffer_head * bh;
bh150fs/minix/bitmap.cif (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) {
bh155fs/minix/bitmap.cif (!clear_bit(ino & 8191, bh->b_data))
bh157fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh164fs/minix/bitmap.cstruct buffer_head * bh;
bh174fs/minix/bitmap.cif ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL)
bh175fs/minix/bitmap.cif ((j=find_first_zero_bit(bh->b_data, 8192)) < 8192)
bh177fs/minix/bitmap.cif (!bh || j >= 8192) {
bh181fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {  /* shouldn't happen */
bh186fs/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);
bh83fs/minix/dir.cbrelse(bh);
bh90fs/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);
bh28fs/minix/fsync.cstruct buffer_head * bh;
bh34fs/minix/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
bh35fs/minix/fsync.cif (!bh)
bh38fs/minix/fsync.cbrelse (bh);
bh41fs/minix/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh42fs/minix/fsync.cbrelse(bh);
bh45fs/minix/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt)
bh47fs/minix/fsync.cbrelse(bh);
bh50fs/minix/fsync.cll_rw_block(WRITE, 1, &bh);
bh51fs/minix/fsync.cbh->b_count--;
bh56fs/minix/fsync.cstruct buffer_head **bh, int wait) 
bh61fs/minix/fsync.c*bh = NULL;
bh68fs/minix/fsync.c*bh = bread(inode->i_dev, tmp, blocksize);
bh70fs/minix/fsync.cbrelse(*bh);
bh71fs/minix/fsync.c*bh = NULL;
bh74fs/minix/fsync.cif (!*bh)
bh121fs/minix/inode.cstruct buffer_head *bh;
bh131fs/minix/inode.cif (!(bh = bread(dev,1,BLOCK_SIZE))) {
bh138fs/minix/inode.cms = (struct minix_super_block *) bh->b_data;
bh140fs/minix/inode.cs->u.minix_sb.s_sbh = bh;
bh161fs/minix/inode.cbrelse(bh);
bh190fs/minix/inode.cbrelse(bh);
bh204fs/minix/inode.cbrelse(bh);
bh211fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh240fs/minix/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
bh244fs/minix/inode.cif (!bh)
bh246fs/minix/inode.ctmp = ((unsigned short *) bh->b_data)[nr];
bh247fs/minix/inode.cbrelse(bh);
bh316fs/minix/inode.cstruct buffer_head * bh, int nr, int create)
bh322fs/minix/inode.cif (!bh)
bh324fs/minix/inode.cif (!bh->b_uptodate) {
bh325fs/minix/inode.cll_rw_block(READ, 1, &bh);
bh326fs/minix/inode.cwait_on_buffer(bh);
bh327fs/minix/inode.cif (!bh->b_uptodate) {
bh328fs/minix/inode.cbrelse(bh);
bh332fs/minix/inode.cp = nr + (unsigned short *) bh->b_data;
bh336fs/minix/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh338fs/minix/inode.cbrelse(bh);
bh345fs/minix/inode.cbrelse(bh);
bh350fs/minix/inode.cbrelse(bh);
bh353fs/minix/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh360fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh361fs/minix/inode.cbrelse(bh);
bh367fs/minix/inode.cstruct buffer_head * bh;
bh381fs/minix/inode.cbh = inode_getblk(inode,7,create);
bh382fs/minix/inode.creturn block_getblk(inode, bh, block, create);
bh385fs/minix/inode.cbh = inode_getblk(inode,8,create);
bh386fs/minix/inode.cbh = block_getblk(inode, bh, block>>9, create);
bh387fs/minix/inode.creturn block_getblk(inode, bh, block & 511, create);
bh392fs/minix/inode.cstruct buffer_head * bh;
bh394fs/minix/inode.cbh = minix_getblk(inode,block,create);
bh395fs/minix/inode.cif (!bh || bh->b_uptodate)
bh396fs/minix/inode.creturn bh;
bh397fs/minix/inode.cll_rw_block(READ, 1, &bh);
bh398fs/minix/inode.cwait_on_buffer(bh);
bh399fs/minix/inode.cif (bh->b_uptodate)
bh400fs/minix/inode.creturn bh;
bh401fs/minix/inode.cbrelse(bh);
bh407fs/minix/inode.cstruct buffer_head * bh;
bh423fs/minix/inode.cif (!(bh=bread(inode->i_dev,block, BLOCK_SIZE))) {
bh428fs/minix/inode.craw_inode = ((struct minix_inode *) bh->b_data) +
bh441fs/minix/inode.cbrelse(bh);
bh458fs/minix/inode.cstruct buffer_head * bh;
bh472fs/minix/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE))) {
bh477fs/minix/inode.craw_inode = ((struct minix_inode *)bh->b_data) +
bh490fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh491fs/minix/inode.creturn bh;
bh496fs/minix/inode.cstruct buffer_head *bh;
bh497fs/minix/inode.cbh = minix_update_inode(inode);
bh498fs/minix/inode.cbrelse(bh);
bh504fs/minix/inode.cstruct buffer_head *bh;
bh506fs/minix/inode.cbh = minix_update_inode(inode);
bh507fs/minix/inode.cif (bh && bh->b_dirt)
bh509fs/minix/inode.cll_rw_block(WRITE, 1, &bh);
bh510fs/minix/inode.cwait_on_buffer(bh);
bh511fs/minix/inode.cif (bh->b_req && !bh->b_uptodate)
bh519fs/minix/inode.celse if (!bh)
bh521fs/minix/inode.cbrelse (bh);
bh41fs/minix/namei.cstruct buffer_head * bh, unsigned long * offset,
bh46fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + *offset);
bh68fs/minix/namei.cstruct buffer_head * bh;
bh82fs/minix/namei.cbh = NULL;
bh85fs/minix/namei.cif (!bh) {
bh86fs/minix/namei.cbh = minix_bread(dir,block,0);
bh87fs/minix/namei.cif (!bh) {
bh92fs/minix/namei.c*res_dir = (struct minix_dir_entry *) (bh->b_data + offset);
bh93fs/minix/namei.cif (minix_match(namelen,name,bh,&offset,info))
bh94fs/minix/namei.creturn bh;
bh95fs/minix/namei.cif (offset < bh->b_size)
bh97fs/minix/namei.cbrelse(bh);
bh98fs/minix/namei.cbh = NULL;
bh102fs/minix/namei.cbrelse(bh);
bh112fs/minix/namei.cstruct buffer_head * bh;
bh121fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
bh126fs/minix/namei.cbrelse(bh);
bh152fs/minix/namei.cstruct buffer_head * bh;
bh170fs/minix/namei.cbh = NULL;
bh173fs/minix/namei.cif (!bh) {
bh174fs/minix/namei.cbh = minix_bread(dir,block,1);
bh175fs/minix/namei.cif (!bh)
bh178fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
bh180fs/minix/namei.cif (block*bh->b_size + offset > dir->i_size) {
bh182fs/minix/namei.cdir->i_size = block*bh->b_size + offset;
bh187fs/minix/namei.cbrelse(bh);
bh196fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh200fs/minix/namei.cif (offset < bh->b_size)
bh202fs/minix/namei.cbrelse(bh);
bh203fs/minix/namei.cbh = NULL;
bh207fs/minix/namei.c*res_buf = bh;
bh216fs/minix/namei.cstruct buffer_head * bh;
bh230fs/minix/namei.cerror = minix_add_entry(dir,name,len, &bh ,&de);
bh239fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh240fs/minix/namei.cbrelse(bh);
bh250fs/minix/namei.cstruct buffer_head * bh;
bh255fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh256fs/minix/namei.cif (bh) {
bh257fs/minix/namei.cbrelse(bh);
bh287fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh296fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh297fs/minix/namei.cbrelse(bh);
bh307fs/minix/namei.cstruct buffer_head * bh, *dir_block;
bh316fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh317fs/minix/namei.cif (bh) {
bh318fs/minix/namei.cbrelse(bh);
bh354fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh362fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh367fs/minix/namei.cbrelse(bh);
bh377fs/minix/namei.cstruct buffer_head * bh;
bh385fs/minix/namei.cbh = NULL;
bh391fs/minix/namei.cbh = minix_bread(inode,0,0);
bh392fs/minix/namei.cif (!bh)
bh394fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
bh397fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + info->s_dirsize);
bh401fs/minix/namei.cif (!bh) {
bh402fs/minix/namei.cbh = minix_bread(inode,block,0);
bh403fs/minix/namei.cif (!bh) {
bh408fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
bh411fs/minix/namei.cbrelse(bh);
bh414fs/minix/namei.cif (offset < bh->b_size)
bh416fs/minix/namei.cbrelse(bh);
bh417fs/minix/namei.cbh = NULL;
bh421fs/minix/namei.cbrelse(bh);
bh424fs/minix/namei.cbrelse(bh);
bh434fs/minix/namei.cstruct buffer_head * bh;
bh438fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh440fs/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);
bh528fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh536fs/minix/namei.cbrelse(bh);
bh546fs/minix/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh572fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh573fs/minix/namei.cif (bh) {
bh577fs/minix/namei.cbrelse(bh);
bh581fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
bh590fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh591fs/minix/namei.cbrelse(bh);
bh601fs/minix/namei.cstruct buffer_head * bh;
bh613fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh614fs/minix/namei.cif (bh) {
bh615fs/minix/namei.cbrelse(bh);
bh620fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh627fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh628fs/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.cif (bh) {
bh52fs/minix/truncate.cmark_buffer_clean(bh);
bh53fs/minix/truncate.cbrelse(bh);
bh62fs/minix/truncate.cstruct buffer_head * bh;
bh91fs/minix/truncate.cbh = get_hash_table(inode->i_dev,tmp,BLOCK_SIZE);
bh93fs/minix/truncate.cbrelse(bh);
bh96fs/minix/truncate.cif ((bh && bh->b_count != 1) || tmp != *ind) {
bh98fs/minix/truncate.cbrelse(bh);
bh103fs/minix/truncate.cbrelse(bh);
bh87fs/msdos/buffer.cstruct buffer_head *bh)
bh89fs/msdos/buffer.cif (bh != NULL){
bh91fs/msdos/buffer.cbrelse (bh);
bh93fs/msdos/buffer.cbrelse (bh->b_next);
bh97fs/msdos/buffer.ckfree (bh);
bh104fs/msdos/buffer.cstruct buffer_head *bh,
bh108fs/msdos/buffer.cbh = bh->b_next;
bh110fs/msdos/buffer.cmark_buffer_dirty (bh,dirty_val);
bh115fs/msdos/buffer.cstruct buffer_head *bh,
bh119fs/msdos/buffer.cbh = bh->b_next;
bh121fs/msdos/buffer.cbh->b_uptodate = val;
bh125fs/msdos/buffer.cstruct buffer_head *bh)
bh128fs/msdos/buffer.cbh = bh->b_next;
bh130fs/msdos/buffer.creturn bh->b_uptodate;
bh137fs/msdos/buffer.cstruct buffer_head *bh[32])
bh140fs/msdos/buffer.cll_rw_block(opr,nbreq,bh);
bh145fs/msdos/buffer.ctmp[i] = bh[i]->b_next;
bh68fs/msdos/dir.cstruct buffer_head *bh;
bh87fs/msdos/dir.cbh = NULL;
bh88fs/msdos/dir.cwhile ((ino = msdos_get_entry(inode,&filp->f_pos,&bh,&de)) > -1) {
bh131fs/msdos/dir.cif (bh) brelse(bh);
bh22fs/msdos/fat.cstruct buffer_head *bh,*bh2,*c_bh,*c_bh2;
bh32fs/msdos/fat.cif (!(bh = bread(sb->s_dev,MSDOS_SB(sb)->fat_start+(first >>
bh38fs/msdos/fat.cbh2 = bh;
bh42fs/msdos/fat.cbrelse(bh);
bh49fs/msdos/fat.cnext = CF_LE_W(((unsigned short *) bh->b_data)[(first &
bh54fs/msdos/fat.cp_first = &((unsigned char *) bh->b_data)[first & (SECTOR_SIZE-1)];
bh63fs/msdos/fat.c((unsigned short *) bh->b_data)[(first & (SECTOR_SIZE-1)) >>
bh76fs/msdos/fat.cmark_buffer_dirty(bh, 1);
bh81fs/msdos/fat.cmemcpy(c_bh->b_data,bh->b_data,SECTOR_SIZE);
bh83fs/msdos/fat.cif (bh != bh2) {
bh97fs/msdos/fat.cbrelse(bh);
bh98fs/msdos/fat.cif (bh != bh2) brelse(bh2);
bh131fs/msdos/file.cstruct buffer_head *bh;
bh134fs/msdos/file.cbh = getblk(inode->i_dev,sector,SECTOR_SIZE);
bh135fs/msdos/file.cif (bh == NULL)  break;
bh136fs/msdos/file.cpre->bhlist[pre->nblist++] = bh;
bh137fs/msdos/file.cif (!msdos_is_uptodate(sb,bh)) bhreq[nbreq++] = bh;
bh210fs/msdos/file.cstruct buffer_head *bh = pre.bhlist[pre.nolist];
bh213fs/msdos/file.cif (bh == NULL) break;
bh224fs/msdos/file.cwait_on_buffer(bh);
bh225fs/msdos/file.cif (!msdos_is_uptodate(sb,bh)){
bh227fs/msdos/file.cbrelse (bh);
bh231fs/msdos/file.cdata = bh->b_data + offset;
bh250fs/msdos/file.cbrelse(bh);
bh274fs/msdos/file.cstruct buffer_head *bh;
bh311fs/msdos/file.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){
bh315fs/msdos/file.c}else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) {
bh320fs/msdos/file.cmemcpy_fromfs(bh->b_data+offset,buf,written = size);
bh325fs/msdos/file.cto = (char *) bh->b_data+(filp->f_pos & (SECTOR_SIZE-1));
bh349fs/msdos/file.cmsdos_set_uptodate(sb,bh,1);
bh350fs/msdos/file.cmark_buffer_dirty(bh, 0);
bh351fs/msdos/file.cbrelse(bh);
bh169fs/msdos/inode.cstruct buffer_head *bh;
bh198fs/msdos/inode.cbh = bread(sb->s_dev, 0, 1024);
bh200fs/msdos/inode.cif (bh == NULL || !msdos_is_uptodate(sb,bh)) {
bh201fs/msdos/inode.cbrelse (bh);
bh207fs/msdos/inode.cb = (struct msdos_boot_sector *) bh->b_data;
bh256fs/msdos/inode.cbrelse(bh);
bh360fs/msdos/inode.cstruct buffer_head *bh;
bh387fs/msdos/inode.cif (!(bh = bread(inode->i_dev,inode->i_ino >> MSDOS_DPB_BITS,
bh393fs/msdos/inode.craw_entry = &((struct msdos_dir_entry *) (bh->b_data))
bh439fs/msdos/inode.cbrelse(bh);
bh446fs/msdos/inode.cstruct buffer_head *bh;
bh451fs/msdos/inode.cif (!(bh = bread(inode->i_dev,inode->i_ino >> MSDOS_DPB_BITS,
bh457fs/msdos/inode.craw_entry = &((struct msdos_dir_entry *) (bh->b_data))
bh473fs/msdos/inode.cmark_buffer_dirty(bh, 1);
bh474fs/msdos/inode.cbrelse(bh);
bh120fs/msdos/misc.cstruct buffer_head *bh;
bh194fs/msdos/misc.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE)))
bh197fs/msdos/misc.cmemset(bh->b_data,0,SECTOR_SIZE);
bh198fs/msdos/misc.cmsdos_set_uptodate(sb,bh,1);
bh199fs/msdos/misc.cmark_buffer_dirty(bh, 1);
bh200fs/msdos/misc.cbrelse(bh);
bh283fs/msdos/misc.cint msdos_get_entry(struct inode *dir, loff_t *pos,struct buffer_head **bh,
bh294fs/msdos/misc.cPRINTK (("get_entry sector %d %p\n",sector,*bh));
bh298fs/msdos/misc.cif (*bh)
bh299fs/msdos/misc.cbrelse(*bh);
bh301fs/msdos/misc.cif (!(*bh = bread(dir->i_dev,sector,SECTOR_SIZE))) {
bh306fs/msdos/misc.c*de = (struct msdos_dir_entry *) ((*bh)->b_data+(offset &
bh370fs/msdos/misc.cstruct buffer_head *bh;
bh375fs/msdos/misc.cif (!(bh = bread(sb->s_dev,sector,SECTOR_SIZE))) return -EIO;
bh376fs/msdos/misc.cdata = (struct msdos_dir_entry *) bh->b_data;
bh396fs/msdos/misc.cif (!res_bh) brelse(bh);
bh398fs/msdos/misc.c*res_bh = bh;
bh404fs/msdos/misc.cbrelse(bh);
bh4fs/msdos/msbuffer.hvoid msdos_brelse (struct super_block *sb, struct buffer_head *bh);
bh6fs/msdos/msbuffer.hstruct buffer_head *bh,
bh9fs/msdos/msbuffer.hstruct buffer_head *bh,
bh11fs/msdos/msbuffer.hint msdos_is_uptodate (struct super_block *sb, struct buffer_head *bh);
bh13fs/msdos/msbuffer.hint nbreq, struct buffer_head *bh[32]);
bh111fs/msdos/namei.cstruct buffer_head **bh,struct msdos_dir_entry **de,int *ino)
bh133fs/msdos/namei.creturn msdos_scan(dir,msdos_name,bh,de,ino,scantype);
bh143fs/msdos/namei.cstruct buffer_head *bh;
bh167fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
bh172fs/msdos/namei.cif (bh) brelse(bh);
bh207fs/msdos/namei.cstruct buffer_head *bh;
bh211fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino,SCAN_ANY)) < 0) {
bh215fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino,SCAN_ANY)) < 0) return res;
bh229fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh232fs/msdos/namei.cbrelse(bh);
bh245fs/msdos/namei.cstruct buffer_head *bh;
bh262fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino,SCAN_HID) >= 0) {
bh264fs/msdos/namei.cbrelse(bh);
bh268fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino,SCAN_NOTHID) >= 0) {
bh270fs/msdos/namei.cbrelse(bh);
bh304fs/msdos/namei.cstruct buffer_head *bh;
bh317fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino,SCAN_ANY) >= 0) {
bh319fs/msdos/namei.cbrelse(bh);
bh364fs/msdos/namei.cstruct buffer_head *bh;
bh371fs/msdos/namei.cbh = NULL;
bh372fs/msdos/namei.cwhile (msdos_get_entry(dir,&pos,&bh,&de) > -1)
bh376fs/msdos/namei.cbrelse(bh);
bh379fs/msdos/namei.cif (bh)
bh380fs/msdos/namei.cbrelse(bh);
bh390fs/msdos/namei.cstruct buffer_head *bh;
bh394fs/msdos/namei.cbh = NULL;
bh399fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
bh415fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh418fs/msdos/namei.cbrelse(bh);
bh433fs/msdos/namei.cstruct buffer_head *bh;
bh437fs/msdos/namei.cbh = NULL;
bh439fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
bh458fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh460fs/msdos/namei.cbrelse(bh);
bh34fs/sysv/balloc.cstruct buffer_head * bh;
bh58fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
bh59fs/sysv/balloc.cif (!bh) {
bh64fs/sysv/balloc.cbh_data = bh->b_data;
bh86fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh87fs/sysv/balloc.cbh->b_uptodate = 1;
bh88fs/sysv/balloc.cbrelse(bh);
bh95fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
bh96fs/sysv/balloc.cif (!bh) {
bh101fs/sysv/balloc.cmemset(bh->b_data, 0, sb->sv_block_size);
bh103fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh104fs/sysv/balloc.cbh->b_uptodate = 1;
bh105fs/sysv/balloc.cbrelse(bh);
bh109fs/sysv/balloc.cbh = sv_get_hash_table(sb, sb->s_dev, block);
bh110fs/sysv/balloc.cif (bh)
bh111fs/sysv/balloc.cbh->b_dirt = 0;
bh112fs/sysv/balloc.cbrelse(bh);
bh131fs/sysv/balloc.cstruct buffer_head * bh;
bh160fs/sysv/balloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh167fs/sysv/balloc.cbh_data = bh->b_data;
bh189fs/sysv/balloc.cbrelse(bh);
bh195fs/sysv/balloc.cbrelse(bh);
bh198fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
bh199fs/sysv/balloc.cif (!bh) {
bh204fs/sysv/balloc.cif (bh->b_count != 1) {
bh209fs/sysv/balloc.cmemset(bh->b_data, 0, sb->sv_block_size);
bh210fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh211fs/sysv/balloc.cbh->b_uptodate = 1;
bh212fs/sysv/balloc.cbrelse(bh);
bh230fs/sysv/balloc.cstruct buffer_head * bh;
bh257fs/sysv/balloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh261fs/sysv/balloc.cbh_data = bh->b_data;
bh283fs/sysv/balloc.cbrelse(bh);
bh287fs/sysv/balloc.cbrelse(bh);
bh301fs/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);
bh81fs/sysv/dir.cif (!bh) {
bh85fs/sysv/dir.cbh_data = bh->b_data;
bh102fs/sysv/dir.cbrelse(bh);
bh109fs/sysv/dir.cbrelse(bh);
bh204fs/sysv/file.cstruct buffer_head * bh;
bh228fs/sysv/file.cbh = sysv_getblk (inode, pos >> sb->sv_block_size_bits, 1);
bh229fs/sysv/file.cif (!bh) {
bh237fs/sysv/file.cif (c != sb->sv_block_size && !bh->b_uptodate) {
bh238fs/sysv/file.cll_rw_block(READ, 1, &bh);
bh239fs/sysv/file.cwait_on_buffer(bh);
bh240fs/sysv/file.cif (!bh->b_uptodate) {
bh241fs/sysv/file.cbrelse(bh);
bh248fs/sysv/file.cp = (pos & sb->sv_block_size_1) + bh->b_data;
bh257fs/sysv/file.cbh->b_uptodate = 1;
bh258fs/sysv/file.cmark_buffer_dirty(bh, 0);
bh259fs/sysv/file.cbrelse(bh);
bh31fs/sysv/fsync.cstruct buffer_head * bh;
bh41fs/sysv/fsync.cbh = sv_get_hash_table(sb, inode->i_dev, block);
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, int wait)
bh68fs/sysv/fsync.c*bh = NULL;
bh77fs/sysv/fsync.c*bh = sv_bread(inode->i_sb, inode->i_dev, block);
bh79fs/sysv/fsync.cbrelse(*bh);
bh80fs/sysv/fsync.c*bh = NULL;
bh83fs/sysv/fsync.cif (!*bh)
bh56fs/sysv/ialloc.cstruct buffer_head * bh;
bh82fs/sysv/ialloc.cif (!(bh = sv_bread(sb, inode->i_dev, sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits)))) {
bh88fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1);
bh97fs/sysv/ialloc.cmark_buffer_dirty(bh, 1);
bh99fs/sysv/ialloc.cbrelse(bh);
bh107fs/sysv/ialloc.cstruct buffer_head * bh;
bh128fs/sysv/ialloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh133fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + j;
bh138fs/sysv/ialloc.cbrelse(bh);
bh180fs/sysv/ialloc.cstruct buffer_head * bh;
bh194fs/sysv/ialloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh199fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + j;
bh203fs/sysv/ialloc.cbrelse(bh);
bh119fs/sysv/inode.cstatic const char* detect_xenix (struct super_block *sb, struct buffer_head *bh)
bh123fs/sysv/inode.csbd = (struct xenix_super_block *) bh->b_data;
bh176fs/sysv/inode.cstatic const char* detect_sysv4 (struct super_block *sb, struct buffer_head *bh)
bh180fs/sysv/inode.csbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh193fs/sysv/inode.cstatic struct super_block * detected_sysv4 (struct super_block *sb, struct buffer_head *bh)
bh198fs/sysv/inode.csbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh200fs/sysv/inode.csbd = (struct sysv4_super_block *) bh->b_data;
bh214fs/sysv/inode.csb->sv_bh1 = bh;
bh215fs/sysv/inode.csb->sv_bh2 = bh;
bh234fs/sysv/inode.cstatic const char* detect_sysv2 (struct super_block *sb, struct buffer_head *bh)
bh238fs/sysv/inode.csbd = (struct sysv2_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh251fs/sysv/inode.cstatic struct super_block * detected_sysv2 (struct super_block *sb, struct buffer_head *bh)
bh256fs/sysv/inode.csbd = (struct sysv2_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh258fs/sysv/inode.csbd = (struct sysv2_super_block *) bh->b_data;
bh272fs/sysv/inode.csb->sv_bh1 = bh;
bh273fs/sysv/inode.csb->sv_bh2 = bh;
bh292fs/sysv/inode.cstatic const char* detect_coherent (struct super_block *sb, struct buffer_head *bh)
bh296fs/sysv/inode.csbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh304fs/sysv/inode.cstatic struct super_block * detected_coherent (struct super_block *sb, struct buffer_head *bh)
bh308fs/sysv/inode.csbd = (struct coh_super_block *) bh->b_data;
bh320fs/sysv/inode.csb->sv_bh1 = bh;
bh321fs/sysv/inode.csb->sv_bh2 = bh;
bh342fs/sysv/inode.cstruct buffer_head *bh;
bh360fs/sysv/inode.cif ((bh = bread(dev, 1, BLOCK_SIZE)) != NULL) {
bh361fs/sysv/inode.cif ((found = detect_xenix(sb,bh)) != NULL)
bh363fs/sysv/inode.cbrelse(bh);
bh365fs/sysv/inode.cif ((bh = bread(dev, 0, BLOCK_SIZE)) != NULL) {
bh367fs/sysv/inode.cif ((found = detect_sysv4(sb,bh)) != NULL)
bh369fs/sysv/inode.cif ((found = detect_sysv2(sb,bh)) != NULL)
bh372fs/sysv/inode.cif ((found = detect_coherent(sb,bh)) != NULL)
bh374fs/sysv/inode.cbrelse(bh);
bh381fs/sysv/inode.cif ((bh = bread(dev, offsets[i], BLOCK_SIZE)) != NULL) {
bh383fs/sysv/inode.cif ((found = detect_sysv4(sb,bh)) != NULL) {
bh387fs/sysv/inode.cif ((found = detect_sysv2(sb,bh)) != NULL) {
bh391fs/sysv/inode.cbrelse(bh);
bh407fs/sysv/inode.cif (!detected_xenix(sb,bh,bh))
bh411fs/sysv/inode.cif (!detected_sysv4(sb,bh))
bh415fs/sysv/inode.cif (!detected_sysv2(sb,bh))
bh420fs/sysv/inode.cbrelse(bh);
bh430fs/sysv/inode.cunsigned long blocknr = bh->b_blocknr << sb->sv_block_size_ratio_bits;
bh432fs/sysv/inode.cbrelse(bh);
bh561fs/sysv/inode.cstatic int block_bmap(struct super_block * sb, struct buffer_head * bh, int nr, int convert)
bh565fs/sysv/inode.cif (!bh)
bh567fs/sysv/inode.ctmp = ((sysv_zone_t *) bh->b_data) [nr];
bh570fs/sysv/inode.cbrelse(bh);
bh582fs/sysv/inode.cstruct buffer_head * bh;
bh592fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh593fs/sysv/inode.creturn block_bmap(sb, bh, block, convert);
bh600fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh601fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_bits, convert);
bh604fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh605fs/sysv/inode.creturn block_bmap(sb, bh, block & sb->sv_ind_per_block_1, convert);
bh612fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh613fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_2_bits, convert);
bh616fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh617fs/sysv/inode.ci = block_bmap(sb, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1,convert);
bh620fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh621fs/sysv/inode.creturn block_bmap(sb, bh, block & sb->sv_ind_per_block_1, convert);
bh672fs/sysv/inode.cstruct buffer_head * bh, int nr, int create)
bh679fs/sysv/inode.cif (!bh)
bh681fs/sysv/inode.cif (!bh->b_uptodate) {
bh682fs/sysv/inode.cll_rw_block(READ, 1, &bh);
bh683fs/sysv/inode.cwait_on_buffer(bh);
bh684fs/sysv/inode.cif (!bh->b_uptodate) {
bh685fs/sysv/inode.cbrelse(bh);
bh690fs/sysv/inode.cp = nr + (sysv_zone_t *) bh->b_data;
bh696fs/sysv/inode.cresult = sv_getblk(sb, bh->b_dev, block);
bh698fs/sysv/inode.cbrelse(bh);
bh705fs/sysv/inode.cbrelse(bh);
bh710fs/sysv/inode.cbrelse(bh);
bh713fs/sysv/inode.cresult = sv_getblk(sb, bh->b_dev, block);
bh720fs/sysv/inode.cmark_buffer_dirty(bh, 1);
bh721fs/sysv/inode.cbrelse(bh);
bh728fs/sysv/inode.cstruct buffer_head * bh;
bh734fs/sysv/inode.cbh = inode_getblk(inode,10,create);
bh735fs/sysv/inode.creturn block_getblk(inode, bh, block, create);
bh739fs/sysv/inode.cbh = inode_getblk(inode,11,create);
bh740fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_bits, create);
bh741fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create);
bh745fs/sysv/inode.cbh = inode_getblk(inode,12,create);
bh746fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_2_bits, create);
bh747fs/sysv/inode.cbh = block_getblk(inode, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1, create);
bh748fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create);
bh760fs/sysv/inode.cstruct buffer_head * bh;
bh762fs/sysv/inode.cbh = sysv_getblk(inode,block,create);
bh763fs/sysv/inode.cif (!bh || bh->b_uptodate)
bh764fs/sysv/inode.creturn bh;
bh765fs/sysv/inode.cll_rw_block(READ, 1, &bh);
bh766fs/sysv/inode.cwait_on_buffer(bh);
bh767fs/sysv/inode.cif (bh->b_uptodate)
bh768fs/sysv/inode.creturn bh;
bh769fs/sysv/inode.cbrelse(bh);
bh801fs/sysv/inode.cstruct buffer_head * bh;
bh816fs/sysv/inode.cif (!(bh = sv_bread(sb,inode->i_dev,block))) {
bh822fs/sysv/inode.craw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1);
bh854fs/sysv/inode.cbrelse(bh);
bh890fs/sysv/inode.cstruct buffer_head * bh;
bh904fs/sysv/inode.cif (!(bh = sv_bread(sb,inode->i_dev,block))) {
bh909fs/sysv/inode.craw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1);
bh938fs/sysv/inode.cmark_buffer_dirty(bh, 1);
bh939fs/sysv/inode.creturn bh;
bh944fs/sysv/inode.cstruct buffer_head *bh;
bh945fs/sysv/inode.cbh = sysv_update_inode(inode);
bh946fs/sysv/inode.cbrelse(bh);
bh952fs/sysv/inode.cstruct buffer_head *bh;
bh954fs/sysv/inode.cbh = sysv_update_inode(inode);
bh955fs/sysv/inode.cif (bh && bh->b_dirt) {
bh956fs/sysv/inode.cll_rw_block(WRITE, 1, &bh);
bh957fs/sysv/inode.cwait_on_buffer(bh);
bh958fs/sysv/inode.cif (bh->b_req && !bh->b_uptodate)
bh966fs/sysv/inode.celse if (!bh)
bh968fs/sysv/inode.cbrelse (bh);
bh65fs/sysv/namei.cstruct buffer_head * bh;
bh76fs/sysv/namei.cbh = NULL;
bh79fs/sysv/namei.cif (!bh) {
bh80fs/sysv/namei.cbh = sysv_file_bread(dir,block,0);
bh81fs/sysv/namei.cif (!bh) {
bh88fs/sysv/namei.c*res_dir = (struct sysv_dir_entry *) (bh->b_data + offset) ))
bh89fs/sysv/namei.creturn bh;
bh94fs/sysv/namei.cbrelse(bh);
bh95fs/sysv/namei.cbh = NULL;
bh98fs/sysv/namei.cbrelse(bh);
bh108fs/sysv/namei.cstruct buffer_head * bh;
bh117fs/sysv/namei.cif (!(bh = sysv_find_entry(dir,name,len,&de))) {
bh122fs/sysv/namei.cbrelse(bh);
bh149fs/sysv/namei.cstruct buffer_head * bh;
bh164fs/sysv/namei.cbh = NULL;
bh167fs/sysv/namei.cif (!bh) {
bh168fs/sysv/namei.cbh = sysv_file_bread(dir,block,1);
bh169fs/sysv/namei.cif (!bh)
bh172fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + offset);
bh182fs/sysv/namei.cbrelse(bh);
bh190fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh196fs/sysv/namei.cbrelse(bh);
bh197fs/sysv/namei.cbh = NULL;
bh200fs/sysv/namei.c*res_buf = bh;
bh209fs/sysv/namei.cstruct buffer_head * bh;
bh223fs/sysv/namei.cerror = sysv_add_entry(dir,name,len, &bh ,&de);
bh232fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh233fs/sysv/namei.cbrelse(bh);
bh243fs/sysv/namei.cstruct buffer_head * bh;
bh248fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh249fs/sysv/namei.cif (bh) {
bh250fs/sysv/namei.cbrelse(bh);
bh280fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh289fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh290fs/sysv/namei.cbrelse(bh);
bh300fs/sysv/namei.cstruct buffer_head * bh, *dir_block;
bh307fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh308fs/sysv/namei.cif (bh) {
bh309fs/sysv/namei.cbrelse(bh);
bh345fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh353fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh358fs/sysv/namei.cbrelse(bh);
bh369fs/sysv/namei.cstruct buffer_head * bh;
bh375fs/sysv/namei.cbh = NULL;
bh381fs/sysv/namei.cbh = sysv_file_bread(inode,0,0);
bh382fs/sysv/namei.cif (!bh)
bh384fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + 0*SYSV_DIRSIZE);
bh387fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + 1*SYSV_DIRSIZE);
bh392fs/sysv/namei.cif (!bh) {
bh393fs/sysv/namei.cbh = sysv_file_bread(inode,block,0);
bh394fs/sysv/namei.cif (!bh) {
bh400fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + offset);
bh404fs/sysv/namei.cbrelse(bh);
bh409fs/sysv/namei.cbrelse(bh);
bh410fs/sysv/namei.cbh = NULL;
bh413fs/sysv/namei.cbrelse(bh);
bh416fs/sysv/namei.cbrelse(bh);
bh426fs/sysv/namei.cstruct buffer_head * bh;
bh430fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh432fs/sysv/namei.cif (!bh)
bh464fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh474fs/sysv/namei.cbrelse(bh);
bh482fs/sysv/namei.cstruct buffer_head * bh;
bh488fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh489fs/sysv/namei.cif (!bh)
bh498fs/sysv/namei.cbrelse(bh);
bh518fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh526fs/sysv/namei.cbrelse(bh);
bh541fs/sysv/namei.cstruct buffer_head * bh;
bh567fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh568fs/sysv/namei.cif (bh) {
bh572fs/sysv/namei.cbrelse(bh);
bh576fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
bh585fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh586fs/sysv/namei.cbrelse(bh);
bh596fs/sysv/namei.cstruct buffer_head * bh;
bh608fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh609fs/sysv/namei.cif (bh) {
bh610fs/sysv/namei.cbrelse(bh);
bh615fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh622fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh623fs/sysv/namei.cbrelse(bh);
bh51fs/sysv/symlink.cstruct buffer_head * bh;
bh72fs/sysv/symlink.cif (!(bh = sysv_file_bread(inode, 0, 0))) { /* is reading 1 block enough ?? */
bh79fs/sysv/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
bh81fs/sysv/symlink.cbrelse(bh);
bh87fs/sysv/symlink.cstruct buffer_head * bh;
bh98fs/sysv/symlink.cbh = sysv_file_bread(inode, 0, 0);
bh100fs/sysv/symlink.cif (!bh)
bh102fs/sysv/symlink.cbh_data = bh->b_data;
bh108fs/sysv/symlink.cbrelse(bh);
bh46fs/sysv/truncate.cstruct buffer_head * bh;
bh56fs/sysv/truncate.cbh = sv_get_hash_table(sb, inode->i_dev, block);
bh58fs/sysv/truncate.cbrelse(bh);
bh61fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (block != *p)) {
bh63fs/sysv/truncate.cbrelse(bh);
bh68fs/sysv/truncate.cbrelse(bh);
bh82fs/sysv/truncate.cstruct buffer_head * bh;
bh113fs/sysv/truncate.cbh = sv_get_hash_table(sb, inode->i_dev, block);
bh115fs/sysv/truncate.cbrelse(bh);
bh118fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (tmp != *ind)) {
bh120fs/sysv/truncate.cbrelse(bh);
bh125fs/sysv/truncate.cbrelse(bh);
bh28fs/xiafs/bitmap.cstatic int find_first_zero(struct buffer_head *bh, int start_bit, int end_bit) 
bh39fs/xiafs/bitmap.cbmap=(u_long *)bh->b_data;
bh61fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh65fs/xiafs/bitmap.cstatic void clear_buf(struct buffer_head * bh) 
bh70fs/xiafs/bitmap.clp=(long *)bh->b_data;
bh71fs/xiafs/bitmap.cfor (i= bh->b_size >> 2; i-- > 0; )
bh172fs/xiafs/bitmap.cstruct buffer_head * bh;
bh195fs/xiafs/bitmap.cbh = get__map_zone(sb, bmap_buf, bznr, cache, first_zone, 
bh197fs/xiafs/bitmap.cif (!bh)
bh199fs/xiafs/bitmap.ctmp=find_first_zero(bh, start_bit, end_bit);
bh216fs/xiafs/bitmap.cstruct buffer_head * bh;
bh228fs/xiafs/bitmap.cbh = get_hash_table(sb->s_dev, d_addr, XIAFS_ZSIZE(sb));
bh229fs/xiafs/bitmap.cif (bh)
bh230fs/xiafs/bitmap.cbh->b_dirt=0;
bh231fs/xiafs/bitmap.cbrelse(bh);
bh233fs/xiafs/bitmap.cbh = get_zmap_zone(sb, bit, NULL);
bh234fs/xiafs/bitmap.cif (!bh)
bh237fs/xiafs/bitmap.cif (!clear_bit(offset, bh->b_data))
bh241fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh247fs/xiafs/bitmap.cstruct buffer_head * bh;
bh263fs/xiafs/bitmap.cif (!(bh = getblk(sb->s_dev, tmp, XIAFS_ZSIZE(sb)))) {
bh267fs/xiafs/bitmap.cif (bh->b_count != 1) {
bh271fs/xiafs/bitmap.cclear_buf(bh);
bh272fs/xiafs/bitmap.cbh->b_uptodate = 1;
bh273fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh274fs/xiafs/bitmap.cbrelse(bh);
bh280fs/xiafs/bitmap.cstruct buffer_head * bh;
bh294fs/xiafs/bitmap.cbh = get_imap_zone(sb, ino, NULL);
bh295fs/xiafs/bitmap.cif (!bh)
bh298fs/xiafs/bitmap.cif (!clear_bit(ino & (XIAFS_BITS_PER_Z(sb)-1), bh->b_data))
bh302fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh340fs/xiafs/bitmap.cstatic u_long count_zone(struct buffer_head * bh)
bh346fs/xiafs/bitmap.cfor (i=bh->b_size; i-- > 0; ) {
bh347fs/xiafs/bitmap.ctmp=bh->b_data[i];
bh355fs/xiafs/bitmap.cstruct buffer_head * bh;
bh362fs/xiafs/bitmap.cbh=get_imap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
bh363fs/xiafs/bitmap.cif (bh) {
bh364fs/xiafs/bitmap.csum += count_zone(bh);
bh374fs/xiafs/bitmap.cstruct buffer_head * bh;
bh381fs/xiafs/bitmap.cbh=get_zmap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
bh382fs/xiafs/bitmap.cif (bh) {
bh383fs/xiafs/bitmap.csum += count_zone(bh);
bh70fs/xiafs/dir.cstruct buffer_head * bh;
bh79fs/xiafs/dir.cbh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0);
bh80fs/xiafs/dir.cif (!bh) {
bh85fs/xiafs/dir.cde = (struct xiafs_direct *) (bh->b_data + i);
bh91fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
bh96fs/xiafs/dir.c(char *)de+de->d_rec_len > XIAFS_ZSIZE(inode->i_sb)+bh->b_data ||
bh101fs/xiafs/dir.cbrelse(bh);
bh110fs/xiafs/dir.cbrelse(bh);
bh116fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
bh118fs/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)
bh65fs/xiafs/inode.cstruct buffer_head *bh;
bh76fs/xiafs/inode.cif (!(bh = bread(dev, 0, BLOCK_SIZE))) {
bh83fs/xiafs/inode.csp = (struct xiafs_super_block *) bh->b_data;
bh88fs/xiafs/inode.cbrelse(bh);
bh100fs/xiafs/inode.cbrelse(bh);
bh102fs/xiafs/inode.cbh = bread (dev, 0,  s->s_blocksize);
bh103fs/xiafs/inode.cif(!bh) {
bh107fs/xiafs/inode.csp = (struct xiafs_super_block *) (((char *)bh->b_data) + BLOCK_SIZE) ;
bh117fs/xiafs/inode.cbrelse(bh);
bh184fs/xiafs/inode.cstatic int zone_bmap(struct buffer_head * bh, int nr)
bh188fs/xiafs/inode.cif (!bh)
bh190fs/xiafs/inode.ctmp = ((u_long *) bh->b_data)[nr];
bh191fs/xiafs/inode.cbrelse(bh);
bh274fs/xiafs/inode.cindt_getblk(struct inode * inode, struct buffer_head * bh, 
bh281fs/xiafs/inode.cif (!bh)
bh283fs/xiafs/inode.cif (!bh->b_uptodate) {
bh284fs/xiafs/inode.cll_rw_block(READ, 1, &bh);
bh285fs/xiafs/inode.cwait_on_buffer(bh);
bh286fs/xiafs/inode.cif (!bh->b_uptodate) {
bh287fs/xiafs/inode.cbrelse(bh);
bh291fs/xiafs/inode.clp = nr + (u_long *) bh->b_data;
bh294fs/xiafs/inode.cresult = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh296fs/xiafs/inode.cbrelse(bh);
bh303fs/xiafs/inode.cbrelse(bh);
bh308fs/xiafs/inode.cbrelse(bh);
bh311fs/xiafs/inode.cresult = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh319fs/xiafs/inode.cmark_buffer_dirty(bh, 1);
bh320fs/xiafs/inode.cbrelse(bh);
bh326fs/xiafs/inode.cstruct buffer_head * bh;
bh344fs/xiafs/inode.cbh = dt_getblk(inode, &(inode->u.xiafs_i.i_ind_zone), create, prev_addr);
bh345fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone, create, prev_addr);
bh346fs/xiafs/inode.creturn bh;
bh349fs/xiafs/inode.cbh = dt_getblk(inode, &(inode->u.xiafs_i.i_dind_zone), create, prev_addr);
bh350fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), 
bh352fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), 
bh354fs/xiafs/inode.creturn bh;
bh359fs/xiafs/inode.cstruct buffer_head * bh;
bh361fs/xiafs/inode.cbh = xiafs_getblk(inode, zone, create);
bh362fs/xiafs/inode.cif (!bh || bh->b_uptodate)
bh363fs/xiafs/inode.creturn bh;
bh364fs/xiafs/inode.cll_rw_block(READ, 1, &bh);
bh365fs/xiafs/inode.cwait_on_buffer(bh);
bh366fs/xiafs/inode.cif (bh->b_uptodate)
bh367fs/xiafs/inode.creturn bh;
bh368fs/xiafs/inode.cbrelse(bh);
bh374fs/xiafs/inode.cstruct buffer_head * bh;
bh389fs/xiafs/inode.cif (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) {
bh393fs/xiafs/inode.craw_inode = ((struct xiafs_inode *) bh->b_data) + 
bh414fs/xiafs/inode.cbrelse(bh);
bh431fs/xiafs/inode.cstruct buffer_head * bh;
bh451fs/xiafs/inode.cif (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) {
bh456fs/xiafs/inode.craw_inode = ((struct xiafs_inode *)bh->b_data) +
bh479fs/xiafs/inode.cmark_buffer_dirty(bh, 1);
bh480fs/xiafs/inode.creturn bh;
bh486fs/xiafs/inode.cstruct buffer_head * bh;
bh487fs/xiafs/inode.cbh = xiafs_update_inode(inode);
bh488fs/xiafs/inode.cbrelse (bh);
bh494fs/xiafs/inode.cstruct buffer_head *bh;
bh496fs/xiafs/inode.cbh = xiafs_update_inode(inode);
bh497fs/xiafs/inode.cif (bh && bh->b_dirt)
bh499fs/xiafs/inode.cll_rw_block(WRITE, 1, &bh);
bh500fs/xiafs/inode.cwait_on_buffer(bh);
bh501fs/xiafs/inode.cif (bh->b_req && !bh->b_uptodate)
bh508fs/xiafs/inode.celse if (!bh)
bh510fs/xiafs/inode.cbrelse (bh);
bh62fs/xiafs/namei.cstruct buffer_head * bh;
bh77fs/xiafs/namei.cbh = xiafs_bread(inode, i, 0);
bh78fs/xiafs/namei.cif (!bh)
bh80fs/xiafs/namei.cdep_pre=dep=(struct xiafs_direct *)bh->b_data;
bh84fs/xiafs/namei.cbrelse(bh);
bh91fs/xiafs/namei.cdep->d_rec_len+(char *)dep > bh->b_data+XIAFS_ZSIZE(inode->i_sb) ||
bh94fs/xiafs/namei.cbrelse(bh);
bh101fs/xiafs/namei.creturn bh;
bh105fs/xiafs/namei.cdep=(struct xiafs_direct *)(bh->b_data + pos);
bh107fs/xiafs/namei.cbrelse(bh);
bh121fs/xiafs/namei.cstruct buffer_head * bh;
bh130fs/xiafs/namei.cif (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) {
bh135fs/xiafs/namei.cbrelse(bh);
bh159fs/xiafs/namei.cstruct buffer_head * bh;
bh172fs/xiafs/namei.cbh =  xiafs_bread(dir, pos >> XIAFS_ZSIZE_BITS(dir->i_sb), pos ? 1:0);
bh173fs/xiafs/namei.cif (!bh)
bh175fs/xiafs/namei.cde_pre=de=(struct xiafs_direct *)bh->b_data;
bh180fs/xiafs/namei.cbrelse(bh);
bh184fs/xiafs/namei.cde_pre=de=(struct xiafs_direct *)(bh->b_data+12);
bh198fs/xiafs/namei.c(char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(dir->i_sb) ||
bh202fs/xiafs/namei.cbrelse(bh);
bh225fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh229fs/xiafs/namei.creturn bh;
bh233fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
bh235fs/xiafs/namei.cbrelse(bh);
bh249fs/xiafs/namei.cstruct buffer_head * bh;
bh263fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh264fs/xiafs/namei.cif (!bh) {
bh272fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh273fs/xiafs/namei.cbrelse(bh);
bh282fs/xiafs/namei.cstruct buffer_head * bh;
bh287fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
bh288fs/xiafs/namei.cif (bh) {
bh289fs/xiafs/namei.cbrelse(bh);
bh320fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh321fs/xiafs/namei.cif (!bh) {
bh329fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh330fs/xiafs/namei.cbrelse(bh);
bh339fs/xiafs/namei.cstruct buffer_head * bh, *dir_block;
bh342fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
bh343fs/xiafs/namei.cif (bh) {
bh344fs/xiafs/namei.cbrelse(bh);
bh386fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh387fs/xiafs/namei.cif (!bh) {
bh394fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh399fs/xiafs/namei.cbrelse(bh);
bh409fs/xiafs/namei.cstruct buffer_head * bh;
bh419fs/xiafs/namei.cbh =  xiafs_bread(inode, i, 0);
bh421fs/xiafs/namei.cif (!bh) {
bh425fs/xiafs/namei.cde=(struct xiafs_direct *)bh->b_data;
bh429fs/xiafs/namei.cbrelse(bh);
bh432fs/xiafs/namei.cde=(struct xiafs_direct *)(12 + bh->b_data);
bh435fs/xiafs/namei.cbrelse(bh);
bh442fs/xiafs/namei.cif (!bh)
bh445fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
bh448fs/xiafs/namei.c(char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(inode->i_sb) ||
bh452fs/xiafs/namei.cbrelse(bh);
bh456fs/xiafs/namei.cbrelse(bh);
bh461fs/xiafs/namei.cbrelse(bh);
bh490fs/xiafs/namei.cstruct buffer_head * bh;
bh494fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
bh496fs/xiafs/namei.cif (!bh)
bh524fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh534fs/xiafs/namei.cbrelse(bh);
bh542fs/xiafs/namei.cstruct buffer_head * bh;
bh548fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
bh549fs/xiafs/namei.cif (!bh)
bh558fs/xiafs/namei.cbrelse(bh);
bh572fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh579fs/xiafs/namei.cbrelse(bh);
bh590fs/xiafs/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh594fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len, &de, NULL);
bh595fs/xiafs/namei.cif (bh) {
bh596fs/xiafs/namei.cbrelse(bh);
bh621fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh622fs/xiafs/namei.cif (!bh) {
bh630fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh631fs/xiafs/namei.cbrelse(bh);
bh641fs/xiafs/namei.cstruct buffer_head * bh;
bh653fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, NULL);
bh654fs/xiafs/namei.cif (bh) {
bh655fs/xiafs/namei.cbrelse(bh);
bh660fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh661fs/xiafs/namei.cif (!bh) {
bh667fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh668fs/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);
bh327include/linux/blk.hif (CURRENT->bh) { \
bh328include/linux/blk.hif (!CURRENT->bh->b_lock) \
bh350include/linux/blk.hstruct buffer_head * bh;
bh362include/linux/blk.hif ((bh = req->bh) != NULL) {
bh363include/linux/blk.hreq->bh = bh->b_reqnext;
bh364include/linux/blk.hbh->b_reqnext = NULL;
bh365include/linux/blk.hbh->b_uptodate = uptodate;    
bh366include/linux/blk.hunlock_buffer(bh);
bh367include/linux/blk.hif ((bh = req->bh) != NULL) {
bh368include/linux/blk.hreq->current_nr_sectors = bh->b_size >> 9;
bh373include/linux/blk.hreq->buffer = bh->b_data;
bh30include/linux/blkdev.hstruct buffer_head * bh;
bh448include/linux/fs.hextern inline void mark_buffer_clean(struct buffer_head * bh)
bh450include/linux/fs.hif(bh->b_dirt) {
bh451include/linux/fs.hbh->b_dirt = 0;
bh452include/linux/fs.hif(bh->b_list == BUF_DIRTY) refile_buffer(bh);
bh456include/linux/fs.hextern inline void mark_buffer_dirty(struct buffer_head * bh, int flag)
bh458include/linux/fs.hif(!bh->b_dirt) {
bh459include/linux/fs.hbh->b_dirt = 1;
bh460include/linux/fs.hset_writetime(bh, flag);
bh461include/linux/fs.hif(bh->b_list != BUF_DIRTY) refile_buffer(bh);
bh495include/linux/fs.hextern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]);
bh202include/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);
bh129include/linux/msdos_fs.hextern int msdos_get_entry(struct inode *dir,loff_t *pos,struct buffer_head **bh,
bh24include/linux/stats206.hx(bh), x(open), x(ioctl_multisession)
bh38kernel/softirq.cstruct bh_struct *bh;
bh40kernel/softirq.cbh = bh_base;
bh42kernel/softirq.cfor (mask = 1, left = ~0 ; left & active ; bh++,mask += mask,left += left) {
bh46kernel/softirq.cfn = bh->routine;
bh49kernel/softirq.cfn(bh->data);
bh82mm/filemap.cstruct buffer_head * bh;
bh84mm/filemap.cbh = buffer_pages[MAP_NR(page)];
bh85mm/filemap.cif (bh) {
bh87mm/filemap.cstruct buffer_head * tmp = bh;
bh91mm/filemap.c} while (tmp != bh);
bh914mm/memory.cstruct buffer_head * bh, * tmp;
bh941mm/memory.cbh = buffer_pages[MAP_NR(old_page)];
bh942mm/memory.cif (!bh)
bh952mm/memory.cbuffer_pages[MAP_NR(new_page)] = bh;
bh953mm/memory.ctmp = bh;
bh957mm/memory.c} while (tmp != bh);
bh757mm/swap.cstruct buffer_head * bh;
bh759mm/swap.cbh = buffer_pages[MAP_NR(addr)];
bh760mm/swap.cif (bh) {
bh761mm/swap.cstruct buffer_head *tmp = bh;
bh767mm/swap.c} while (tmp != bh);