taglinefilesource code
bh2289drivers/block/floppy.cstruct buffer_head *bh;
bh2295drivers/block/floppy.cbh = CURRENT->bh;
bh2297drivers/block/floppy.cif (bh){
bh2298drivers/block/floppy.cbh = bh->b_reqnext;
bh2299drivers/block/floppy.cwhile ( bh && bh->b_data == base + size ){
bh2300drivers/block/floppy.csize += bh->b_size;
bh2301drivers/block/floppy.cbh = bh->b_reqnext;
bh2328drivers/block/floppy.cstruct buffer_head *bh;
bh2363drivers/block/floppy.cbh = CURRENT->bh;
bh2402drivers/block/floppy.cbh = bh->b_reqnext;
bh2404drivers/block/floppy.cif ( !bh){
bh2409drivers/block/floppy.csize = bh->b_size;
bh2410drivers/block/floppy.cbuffer = bh->b_data;
bh2694drivers/block/floppy.cif (CURRENT->bh && !CURRENT->bh->b_lock)
bh3565drivers/block/floppy.cstruct buffer_head * bh;
bh3592drivers/block/floppy.cif (!(bh = getblk(dev,0,size))){
bh3596drivers/block/floppy.cif ( bh && ! bh->b_uptodate)
bh3597drivers/block/floppy.cll_rw_block(READ, 1, &bh);
bh3599drivers/block/floppy.cwait_on_buffer(bh);
bh3600drivers/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);
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)))
bh487drivers/block/ide-cd.cif (rq->buffer != rq->bh->b_data)
bh489drivers/block/ide-cd.cint n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE;
bh490drivers/block/ide-cd.crq->buffer = rq->bh->b_data;
bh494drivers/block/ide-cd.crq->current_nr_sectors = rq->bh->b_size >> SECTOR_BITS;
bh559drivers/block/ide-cd.crq->bh = NULL;
bh580drivers/block/ide-cd.cif (!uptodate && rq->bh != 0)
bh988drivers/block/ide-cd.cnskip = MIN ((int)(rq->current_nr_sectors - (rq->bh->b_size >> SECTOR_BITS)),
bh1094drivers/block/ide-cd.cif (rq->current_nr_sectors < (rq->bh->b_size >> SECTOR_BITS) &&
bh1137drivers/block/ide-cd.cif (rq->current_nr_sectors != (rq->bh->b_size >> SECTOR_BITS))
bh1425drivers/block/ide-cd.creq.bh = NULL;
bh1023drivers/block/ide.cif ((rq->bh = rq->bh->b_reqnext) != NULL) {
bh1024drivers/block/ide.crq->current_nr_sectors = rq->bh->b_size>>9;
bh1025drivers/block/ide.crq->buffer             = rq->bh->b_data;
bh1335drivers/block/ide.cif (rq->bh && !rq->bh->b_lock) {
bh1636drivers/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);
bh1019drivers/cdrom/aztcd.cif (CURRENT->bh) {
bh1020drivers/cdrom/aztcd.cif (!CURRENT->bh->b_lock)
bh1556drivers/cdrom/cdu31a.cif (CURRENT->bh)
bh1558drivers/cdrom/cdu31a.cif (!CURRENT->bh->b_lock)
bh496drivers/cdrom/cm206.cstats(bh);
bh669drivers/cdrom/mcd.cif (CURRENT->bh) {
bh670drivers/cdrom/mcd.cif (!CURRENT->bh->b_lock)
bh1011drivers/cdrom/optcd.cif (CURRENT->bh) {
bh1012drivers/cdrom/optcd.cif (!CURRENT->bh->b_lock)
bh1346drivers/cdrom/sjcd.cif( CURRENT->bh && !( CURRENT->bh->b_lock ) )
bh826drivers/scsi/scsi.cstruct buffer_head * bh, *bhp;
bh882drivers/scsi/scsi.cbhp = bh = req->bh;
bh883drivers/scsi/scsi.cif(!tablesize) bh = NULL;
bh888drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
bh890drivers/scsi/scsi.cif(!bhp || !CONTIGUOUS_BUFFERS(bh,bhp)) tablesize--;
bh891drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
bh892drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
bh894drivers/scsi/scsi.cbh = bhp;
bh896drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
bh897drivers/scsi/scsi.cSCpnt->request.bhtail = bh;
bh898drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
bh899drivers/scsi/scsi.cbh->b_reqnext = NULL;
bh900drivers/scsi/scsi.cbh = req->bh;
bh904drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
bh905drivers/scsi/scsi.creq->buffer = bh->b_data;
bh950drivers/scsi/scsi.cstruct buffer_head * bh, *bhp;
bh1032drivers/scsi/scsi.cbhp = bh = req->bh;
bh1033drivers/scsi/scsi.cif(!tablesize) bh = NULL;
bh1038drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
bh1040drivers/scsi/scsi.cif(!bhp || !CONTIGUOUS_BUFFERS(bh,bhp)) tablesize--;
bh1041drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
bh1042drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
bh1044drivers/scsi/scsi.cbh = bhp;
bh1046drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){/* Any leftovers? */
bh1047drivers/scsi/scsi.cSCpnt->request.bhtail = bh;
bh1048drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
bh1049drivers/scsi/scsi.cbh->b_reqnext = NULL;
bh1050drivers/scsi/scsi.cbh = req->bh;
bh1053drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
bh1054drivers/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);
bh35drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
bh55drivers/scsi/scsicam.cstruct buffer_head *bh;
bh59drivers/scsi/scsicam.cif (!(bh = bread(MKDEV(MAJOR(dev), MINOR(dev)&~0xf), 0, 1024)))
bh65drivers/scsi/scsicam.cret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, 
bh67drivers/scsi/scsicam.cbrelse (bh);
bh91drivers/scsi/scsicam.cstatic int partsize(struct buffer_head *bh, unsigned long capacity,
bh99drivers/scsi/scsicam.cif (*(unsigned short *) (bh->b_data+510) == 0xAA55) {
bh101drivers/scsi/scsicam.c(0x1BE + bh->b_data), i = 0; i < 4; ++i, ++p) {
bh281drivers/scsi/sd.cif (!SCpnt->request.bh)
bh514drivers/scsi/sd.cstruct buffer_head * bh, *bhp;
bh608drivers/scsi/sd.cif (contiguous && SCpnt->request.bh &&
bh609drivers/scsi/sd.c((long) SCpnt->request.bh->b_data) 
bh612drivers/scsi/sd.cif(((long) SCpnt->request.bh->b_data) > ISA_DMA_THRESHOLD)
bh617drivers/scsi/sd.cif(contiguous && SCpnt->request.bh && SCpnt->request.bh->b_reqnext)
bh618drivers/scsi/sd.cfor(bh = SCpnt->request.bh, bhp = bh->b_reqnext; bhp; bh = bhp, 
bh620drivers/scsi/sd.cif(!CONTIGUOUS_BUFFERS(bh,bhp)) { 
bh626drivers/scsi/sd.cif (!SCpnt->request.bh || contiguous) {
bh659drivers/scsi/sd.cbh = SCpnt->request.bh;
bh664drivers/scsi/sd.cwhile(bh) {
bh665drivers/scsi/sd.cif ((this_count + (bh->b_size >> 9)) > this_count_max) break;
bh666drivers/scsi/sd.cif(!bhp || !CONTIGUOUS_BUFFERS(bhp,bh) ||
bh669drivers/scsi/sd.c((unsigned long) bh->b_data-1) == ISA_DMA_THRESHOLD)) {
bh673drivers/scsi/sd.cthis_count += (bh->b_size >> 9);
bh674drivers/scsi/sd.cbhp = bh;
bh675drivers/scsi/sd.cbh = bh->b_reqnext;
bh679drivers/scsi/sd.c((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--;
bh701drivers/scsi/sd.cfor(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext;
bh702drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
bh703drivers/scsi/sd.ccount++, bh = bhp) {
bh705drivers/scsi/sd.cbhp = bh->b_reqnext;
bh707drivers/scsi/sd.cif(!sgpnt[count].address) sgpnt[count].address = bh->b_data;
bh708drivers/scsi/sd.csgpnt[count].length += bh->b_size;
bh709drivers/scsi/sd.ccounted += bh->b_size >> 9;
bh745drivers/scsi/sd.cthis_count = counted -= bh->b_size >> 9;
bh755drivers/scsi/sd.cif(bhp && CONTIGUOUS_BUFFERS(bh,bhp) 
bh792drivers/scsi/sd.cbh = SCpnt->request.bh;
bh797drivers/scsi/sd.cwhile(bh){
bh798drivers/scsi/sd.cprintk("[%p %lx] ", bh->b_data, bh->b_size);
bh799drivers/scsi/sd.cbh = bh->b_reqnext;
bh159drivers/scsi/sr.cprintk("sr.c done: %x %x\n",result, SCpnt->request.bh->b_data);
bh177drivers/scsi/sr.cSCpnt->request.bh &&
bh178drivers/scsi/sr.cSCpnt->request.bh->b_reqnext &&
bh179drivers/scsi/sr.cSCpnt->request.bh->b_reqnext->b_size == 1024) {
bh180drivers/scsi/sr.cmemcpy((char *)SCpnt->request.bh->b_reqnext->b_data, 
bh208drivers/scsi/sr.cprintk("(%x %x %x) ",SCpnt->request.bh, SCpnt->request.nr_sectors, 
bh214drivers/scsi/sr.cif (!SCpnt->request.bh)
bh720drivers/scsi/sr.cstruct buffer_head * bh;
bh723drivers/scsi/sr.cbh = SCpnt->request.bh;
bh731drivers/scsi/sr.cwhile(bh && count < SCpnt->host->sg_tablesize) {
bh732drivers/scsi/sr.cif ((this_count + (bh->b_size >> 9)) > this_count_max) break;
bh733drivers/scsi/sr.cthis_count += (bh->b_size >> 9);
bh735drivers/scsi/sr.cbh = bh->b_reqnext;
bh761drivers/scsi/sr.cbh = SCpnt->request.bh;
bh770drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
bh771drivers/scsi/sr.ccount++, bh = bh->b_reqnext) {
bh772drivers/scsi/sr.cif (bh) { /* Need a placeholder at the end of the record? */
bh773drivers/scsi/sr.csgpnt[count].address = bh->b_data;
bh774drivers/scsi/sr.csgpnt[count].length = bh->b_size;
bh828drivers/scsi/sr.cif (!SCpnt->request.bh)    
bh831drivers/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)
bh69fs/ext/inode.cstruct buffer_head *bh;
bh77fs/ext/inode.cif (!(bh = bread(dev, 1, BLOCK_SIZE))) {
bh84fs/ext/inode.ces = (struct ext_super_block *) bh->b_data;
bh97fs/ext/inode.cbrelse(bh);
bh146fs/ext/inode.cstruct buffer_head * bh;
bh149fs/ext/inode.cif (!(bh = bread(sb->s_dev, 1, BLOCK_SIZE))) {
bh153fs/ext/inode.ces = (struct ext_super_block *) bh->b_data;
bh158fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh159fs/ext/inode.cbrelse (bh);
bh180fs/ext/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
bh184fs/ext/inode.cif (!bh)
bh186fs/ext/inode.ctmp = ((unsigned long *) bh->b_data)[nr];
bh187fs/ext/inode.cbrelse(bh);
bh269fs/ext/inode.cstruct buffer_head * bh, int nr, int create)
bh275fs/ext/inode.cif (!bh)
bh277fs/ext/inode.cif (!bh->b_uptodate) {
bh278fs/ext/inode.cll_rw_block(READ, 1, &bh);
bh279fs/ext/inode.cwait_on_buffer(bh);
bh280fs/ext/inode.cif (!bh->b_uptodate) {
bh281fs/ext/inode.cbrelse(bh);
bh285fs/ext/inode.cp = nr + (unsigned long *) bh->b_data;
bh289fs/ext/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh291fs/ext/inode.cbrelse(bh);
bh298fs/ext/inode.cbrelse(bh);
bh303fs/ext/inode.cbrelse(bh);
bh306fs/ext/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh313fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh314fs/ext/inode.cbrelse(bh);
bh320fs/ext/inode.cstruct buffer_head * bh;
bh334fs/ext/inode.cbh = inode_getblk(inode,9,create);
bh335fs/ext/inode.creturn block_getblk(inode,bh,block,create);
bh339fs/ext/inode.cbh = inode_getblk(inode,10,create);
bh340fs/ext/inode.cbh = block_getblk(inode,bh,block>>8,create);
bh341fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
bh344fs/ext/inode.cbh = inode_getblk(inode,11,create);
bh345fs/ext/inode.cbh = block_getblk(inode,bh,block>>16,create);
bh346fs/ext/inode.cbh = block_getblk(inode,bh,(block>>8) & 255,create);
bh347fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
bh352fs/ext/inode.cstruct buffer_head * bh;
bh354fs/ext/inode.cbh = ext_getblk(inode,block,create);
bh355fs/ext/inode.cif (!bh || bh->b_uptodate) 
bh356fs/ext/inode.creturn bh;
bh357fs/ext/inode.cll_rw_block(READ, 1, &bh);
bh358fs/ext/inode.cwait_on_buffer(bh);
bh359fs/ext/inode.cif (bh->b_uptodate)
bh360fs/ext/inode.creturn bh;
bh361fs/ext/inode.cbrelse(bh);
bh367fs/ext/inode.cstruct buffer_head * bh;
bh372fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
bh374fs/ext/inode.craw_inode = ((struct ext_inode *) bh->b_data) +
bh387fs/ext/inode.cbrelse(bh);
bh405fs/ext/inode.cstruct buffer_head * bh;
bh410fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
bh412fs/ext/inode.craw_inode = ((struct ext_inode *)bh->b_data) +
bh424fs/ext/inode.cmark_buffer_dirty(bh, 1);
bh426fs/ext/inode.creturn bh;
bh431fs/ext/inode.cstruct buffer_head *bh;
bh432fs/ext/inode.cbh = ext_update_inode (inode);
bh433fs/ext/inode.cbrelse(bh);
bh439fs/ext/inode.cstruct buffer_head *bh;
bh441fs/ext/inode.cbh = ext_update_inode(inode);
bh442fs/ext/inode.cif (bh && bh->b_dirt)
bh444fs/ext/inode.cll_rw_block(WRITE, 1, &bh);
bh445fs/ext/inode.cwait_on_buffer(bh);
bh446fs/ext/inode.cif (bh->b_req && !bh->b_uptodate)
bh454fs/ext/inode.celse if (!bh)
bh456fs/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);
bh364fs/ext2/super.cstruct buffer_head * bh;
bh384fs/ext2/super.cif (!(bh = bread (dev, sb_block, BLOCK_SIZE))) {
bh395fs/ext2/super.ces = (struct ext2_super_block *) bh->b_data;
bh401fs/ext2/super.cbrelse (bh);
bh414fs/ext2/super.cbrelse (bh);
bh418fs/ext2/super.cbh = bread (dev, logic_sb_block, sb->s_blocksize);
bh419fs/ext2/super.cif(!bh) {
bh423fs/ext2/super.ces = (struct ext2_super_block *) (((char *)bh->b_data) + offset);
bh428fs/ext2/super.cbrelse (bh);
bh450fs/ext2/super.csb->u.ext2_sb.s_sbh = bh;
bh471fs/ext2/super.cbrelse (bh);
bh479fs/ext2/super.cif (sb->s_blocksize != bh->b_size) {
bh482fs/ext2/super.cbrelse (bh);
bh493fs/ext2/super.cbrelse (bh);
bh503fs/ext2/super.cbrelse (bh);
bh512fs/ext2/super.cbrelse (bh);
bh521fs/ext2/super.cbrelse (bh);
bh538fs/ext2/super.cbrelse (bh);
bh553fs/ext2/super.cbrelse (bh);
bh566fs/ext2/super.cbrelse (bh);
bh593fs/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);
bh234fs/hpfs/hpfs_fs.cstruct buffer_head *bh[4];
bh882fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh914fs/hpfs/hpfs_fs.cblock = map_sector(inode->i_dev, hpfs_bmap(inode, q), &bh);
bh942fs/hpfs/hpfs_fs.cbrelse(bh);
bh1013fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1029fs/hpfs/hpfs_fs.cfnode = map_fnode(inode->i_dev, inode->i_ino, &bh);
bh1033fs/hpfs/hpfs_fs.cfile_secno, &bh);
bh1034fs/hpfs/hpfs_fs.cbrelse(bh);
bh1589fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1593fs/hpfs/hpfs_fs.cfnode = map_fnode(dev, ino, &bh);
bh1598fs/hpfs/hpfs_fs.cbrelse(bh);
bh1671fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1673fs/hpfs/hpfs_fs.cif ((*bhp = bh = bread(dev, secno, 512)) != 0)
bh1674fs/hpfs/hpfs_fs.creturn bh->b_data;
bh1686fs/hpfs/hpfs_fs.cstruct buffer_head *bh;
bh1698fs/hpfs/hpfs_fs.cqbh->bh[0] = bh = breada(dev, secno, 512, 0, UINT_MAX);
bh1699fs/hpfs/hpfs_fs.cif (!bh)
bh1701fs/hpfs/hpfs_fs.cmemcpy(data, bh->b_data, 512);
bh1703fs/hpfs/hpfs_fs.cqbh->bh[1] = bh = bread(dev, secno + 1, 512);
bh1704fs/hpfs/hpfs_fs.cif (!bh)
bh1706fs/hpfs/hpfs_fs.cmemcpy(data + 512, bh->b_data, 512);
bh1708fs/hpfs/hpfs_fs.cqbh->bh[2] = bh = bread(dev, secno + 2, 512);
bh1709fs/hpfs/hpfs_fs.cif (!bh)
bh1711fs/hpfs/hpfs_fs.cmemcpy(data + 2 * 512, bh->b_data, 512);
bh1713fs/hpfs/hpfs_fs.cqbh->bh[3] = bh = bread(dev, secno + 3, 512);
bh1714fs/hpfs/hpfs_fs.cif (!bh)
bh1716fs/hpfs/hpfs_fs.cmemcpy(data + 3 * 512, bh->b_data, 512);
bh1721fs/hpfs/hpfs_fs.cbrelse(qbh->bh[2]);
bh1723fs/hpfs/hpfs_fs.cbrelse(qbh->bh[1]);
bh1725fs/hpfs/hpfs_fs.cbrelse(qbh->bh[0]);
bh1737fs/hpfs/hpfs_fs.cbrelse(qbh->bh[3]);
bh1738fs/hpfs/hpfs_fs.cbrelse(qbh->bh[2]);
bh1739fs/hpfs/hpfs_fs.cbrelse(qbh->bh[1]);
bh1740fs/hpfs/hpfs_fs.cbrelse(qbh->bh[0]);
bh119fs/isofs/dir.cstruct buffer_head *bh;
bh131fs/isofs/dir.cif (!(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size)))
bh142fs/isofs/dir.cbrelse(bh);
bh147fs/isofs/dir.cbh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size);
bh148fs/isofs/dir.cif (!bh)
bh153fs/isofs/dir.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh163fs/isofs/dir.cbrelse(bh);
bh170fs/isofs/dir.cbh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size);
bh171fs/isofs/dir.cif (!bh)
bh183fs/isofs/dir.cbrelse(bh);
bh187fs/isofs/dir.cbh = breada(inode->i_dev, block, bufsize, filp->f_pos+de_len, inode->i_size);
bh188fs/isofs/dir.cif (!bh)
bh190fs/isofs/dir.cmemcpy(bufsize - offset + (char *) tmpde, bh->b_data, next_offset);
bh259fs/isofs/dir.cbrelse(bh);
bh102fs/isofs/file.cstruct buffer_head * bh;
bh106fs/isofs/file.cif (block && (bh = bread(inode->i_dev,block, ISOFS_BUFFER_SIZE(inode)))) {
bh107fs/isofs/file.cpnt = (unsigned char *) bh->b_data;
bh118fs/isofs/file.cbrelse(bh);
bh194fs/isofs/inode.cstruct buffer_head *bh=NULL;
bh250fs/isofs/inode.cif (!(bh = bread(dev, iso_blknum << (ISOFS_BLOCK_BITS-blocksize_bits), opt.blocksize))) {
bh260fs/isofs/inode.cvdp = (struct iso_volume_descriptor *)bh->b_data;
bh261fs/isofs/inode.chdp = (struct hs_volume_descriptor *)bh->b_data;
bh287fs/isofs/inode.cbrelse(bh);
bh346fs/isofs/inode.cbrelse(bh);
bh388fs/isofs/inode.cbrelse(bh);
bh423fs/isofs/inode.cstruct buffer_head * bh;
bh433fs/isofs/inode.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
bh438fs/isofs/inode.cpnt = ((unsigned char *) bh->b_data
bh451fs/isofs/inode.cbrelse(bh);
bh454fs/isofs/inode.cmemcpy(cpnt, bh->b_data + offset, frag1);
bh455fs/isofs/inode.cbrelse(bh);
bh456fs/isofs/inode.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
bh462fs/isofs/inode.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh564fs/isofs/inode.cbrelse(bh);
bh647fs/isofs/inode.cstruct buffer_head * bh;
bh652fs/isofs/inode.cif (!(bh = bread(parent->i_dev, block, bufsize)))  return -1;
bh655fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh658fs/isofs/inode.cbrelse(bh);
bh668fs/isofs/inode.cbrelse(bh);
bh676fs/isofs/inode.cbrelse(bh);
bh689fs/isofs/inode.cif (!block || !(bh = bread(parent->i_dev,block, bufsize)))
bh694fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh703fs/isofs/inode.cbrelse(bh);
bh711fs/isofs/inode.c|| !(bh = bread(parent->i_dev,block, bufsize)))
bh729fs/isofs/inode.cmemcpy(cpnt, bh->b_data + old_offset, frag1);
bh731fs/isofs/inode.cbrelse(bh);
bh736fs/isofs/inode.cif(!(bh = bread(parent->i_dev,block,bufsize))) {
bh740fs/isofs/inode.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh762fs/isofs/inode.cbrelse(bh);
bh792fs/isofs/inode.cvoid leak_check_brelse(struct buffer_head * bh){
bh794fs/isofs/inode.creturn brelse(bh);
bh71fs/isofs/namei.cstruct buffer_head * bh;
bh90fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) return NULL;
bh93fs/isofs/namei.cde = (struct iso_directory_record *) (bh->b_data + offset);
bh101fs/isofs/namei.cbrelse(bh);
bh106fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize)))
bh122fs/isofs/namei.cmemcpy(cpnt, bh->b_data + old_offset, frag1);
bh125fs/isofs/namei.cbrelse(bh);
bh128fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) {
bh132fs/isofs/namei.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh212fs/isofs/namei.creturn bh;
bh218fs/isofs/namei.cbrelse(bh);
bh226fs/isofs/namei.cstruct buffer_head * bh;
bh245fs/isofs/namei.cif (!(bh = isofs_find_entry(dir,name,len, &ino, &ino_back))) {
bh251fs/isofs/namei.cbrelse(bh);
bh60fs/isofs/rock.cstruct buffer_head * bh; \
bh71fs/isofs/rock.cbh = bread(DEV->i_dev, block++, ISOFS_BUFFER_SIZE(DEV)); \
bh72fs/isofs/rock.cif(!bh) {printk("Unable to read continuation Rock Ridge record\n"); \
bh75fs/isofs/rock.cmemcpy(buffer, bh->b_data + offset, 1024 - offset); \
bh76fs/isofs/rock.cbrelse(bh); \
bh82fs/isofs/rock.cbh = bread(DEV->i_dev, block, ISOFS_BUFFER_SIZE(DEV)); \
bh83fs/isofs/rock.cif(bh){       \
bh84fs/isofs/rock.cmemcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \
bh85fs/isofs/rock.cbrelse(bh); \
bh409fs/isofs/rock.cstruct buffer_head * bh;
bh428fs/isofs/rock.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
bh433fs/isofs/rock.cpnt = ((unsigned char *) bh->b_data) + (inode->i_ino & (bufsize - 1));
bh444fs/isofs/rock.cmemcpy(cpnt, bh->b_data + offset, frag1);
bh445fs/isofs/rock.cbrelse(bh);
bh446fs/isofs/rock.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
bh452fs/isofs/rock.cmemcpy((char *)cpnt+frag1, bh->b_data, offset);
bh520fs/isofs/rock.cbrelse(bh);
bh27fs/minix/bitmap.cstruct buffer_head *bh;
bh30fs/minix/bitmap.cif (!(bh=map[i])) 
bh39fs/minix/bitmap.ctmp = bh->b_data[end] & ((1<<numbits)-1);
bh44fs/minix/bitmap.csum += nibblemap[bh->b_data[j] & 0xf] 
bh45fs/minix/bitmap.c+ nibblemap[(bh->b_data[j]>>4)&0xf];
bh52fs/minix/bitmap.cstruct buffer_head * bh;
bh64fs/minix/bitmap.cbh = get_hash_table(sb->s_dev,block,BLOCK_SIZE);
bh65fs/minix/bitmap.cif (bh)
bh66fs/minix/bitmap.cbh->b_dirt=0;
bh67fs/minix/bitmap.cbrelse(bh);
bh71fs/minix/bitmap.cbh = sb->u.minix_sb.s_zmap[zone];
bh72fs/minix/bitmap.cif (!bh) {
bh76fs/minix/bitmap.cif (!clear_bit(bit,bh->b_data))
bh79fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh85fs/minix/bitmap.cstruct buffer_head * bh;
bh95fs/minix/bitmap.cif ((bh=sb->u.minix_sb.s_zmap[i]) != NULL)
bh96fs/minix/bitmap.cif ((j=find_first_zero_bit(bh->b_data, 8192)) < 8192)
bh98fs/minix/bitmap.cif (i>=8 || !bh || j>=8192)
bh100fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {
bh104fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh109fs/minix/bitmap.cif (!(bh = getblk(sb->s_dev,j,BLOCK_SIZE))) {
bh113fs/minix/bitmap.cmemset(bh->b_data, 0, BLOCK_SIZE);
bh114fs/minix/bitmap.cbh->b_uptodate = 1;
bh115fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh116fs/minix/bitmap.cbrelse(bh);
bh128fs/minix/bitmap.cstruct buffer_head * bh;
bh154fs/minix/bitmap.cif (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) {
bh159fs/minix/bitmap.cif (!clear_bit(ino & 8191, bh->b_data))
bh161fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh168fs/minix/bitmap.cstruct buffer_head * bh;
bh178fs/minix/bitmap.cif ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL)
bh179fs/minix/bitmap.cif ((j=find_first_zero_bit(bh->b_data, 8192)) < 8192)
bh181fs/minix/bitmap.cif (!bh || j >= 8192) {
bh185fs/minix/bitmap.cif (set_bit(j,bh->b_data)) {  /* shouldn't happen */
bh190fs/minix/bitmap.cmark_buffer_dirty(bh, 1);
bh66fs/minix/dir.cstruct buffer_head * bh;
bh77fs/minix/dir.cbh = minix_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0);
bh78fs/minix/dir.cif (!bh) {
bh83fs/minix/dir.cde = (struct minix_dir_entry *) (offset + bh->b_data);
bh87fs/minix/dir.cbrelse(bh);
bh94fs/minix/dir.cbrelse(bh);
bh197fs/minix/file.cstruct buffer_head * bh;
bh215fs/minix/file.cbh = minix_getblk(inode,pos/BLOCK_SIZE,1);
bh216fs/minix/file.cif (!bh) {
bh224fs/minix/file.cif (c != BLOCK_SIZE && !bh->b_uptodate) {
bh225fs/minix/file.cll_rw_block(READ, 1, &bh);
bh226fs/minix/file.cwait_on_buffer(bh);
bh227fs/minix/file.cif (!bh->b_uptodate) {
bh228fs/minix/file.cbrelse(bh);
bh234fs/minix/file.cp = (pos % BLOCK_SIZE) + bh->b_data;
bh239fs/minix/file.cbh->b_uptodate = 1;
bh240fs/minix/file.cmark_buffer_dirty(bh, 0);
bh241fs/minix/file.cbrelse(bh);
bh33fs/minix/fsync.cstruct buffer_head * bh;
bh39fs/minix/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
bh40fs/minix/fsync.cif (!bh)
bh43fs/minix/fsync.cbrelse (bh);
bh46fs/minix/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh47fs/minix/fsync.cbrelse(bh);
bh50fs/minix/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt)
bh52fs/minix/fsync.cbrelse(bh);
bh55fs/minix/fsync.cll_rw_block(WRITE, 1, &bh);
bh56fs/minix/fsync.cbh->b_count--;
bh61fs/minix/fsync.cstruct buffer_head **bh, int wait) 
bh66fs/minix/fsync.c*bh = NULL;
bh73fs/minix/fsync.c*bh = bread(inode->i_dev, tmp, blocksize);
bh75fs/minix/fsync.cbrelse(*bh);
bh76fs/minix/fsync.c*bh = NULL;
bh79fs/minix/fsync.cif (!*bh)
bh127fs/minix/inode.cstruct buffer_head *bh;
bh137fs/minix/inode.cif (!(bh = bread(dev,1,BLOCK_SIZE))) {
bh144fs/minix/inode.cms = (struct minix_super_block *) bh->b_data;
bh146fs/minix/inode.cs->u.minix_sb.s_sbh = bh;
bh167fs/minix/inode.cbrelse(bh);
bh196fs/minix/inode.cbrelse(bh);
bh210fs/minix/inode.cbrelse(bh);
bh217fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh246fs/minix/inode.cstatic int block_bmap(struct buffer_head * bh, int nr)
bh250fs/minix/inode.cif (!bh)
bh252fs/minix/inode.ctmp = ((unsigned short *) bh->b_data)[nr];
bh253fs/minix/inode.cbrelse(bh);
bh322fs/minix/inode.cstruct buffer_head * bh, int nr, int create)
bh328fs/minix/inode.cif (!bh)
bh330fs/minix/inode.cif (!bh->b_uptodate) {
bh331fs/minix/inode.cll_rw_block(READ, 1, &bh);
bh332fs/minix/inode.cwait_on_buffer(bh);
bh333fs/minix/inode.cif (!bh->b_uptodate) {
bh334fs/minix/inode.cbrelse(bh);
bh338fs/minix/inode.cp = nr + (unsigned short *) bh->b_data;
bh342fs/minix/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh344fs/minix/inode.cbrelse(bh);
bh351fs/minix/inode.cbrelse(bh);
bh356fs/minix/inode.cbrelse(bh);
bh359fs/minix/inode.cresult = getblk(bh->b_dev, tmp, BLOCK_SIZE);
bh366fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh367fs/minix/inode.cbrelse(bh);
bh373fs/minix/inode.cstruct buffer_head * bh;
bh387fs/minix/inode.cbh = inode_getblk(inode,7,create);
bh388fs/minix/inode.creturn block_getblk(inode, bh, block, create);
bh391fs/minix/inode.cbh = inode_getblk(inode,8,create);
bh392fs/minix/inode.cbh = block_getblk(inode, bh, block>>9, create);
bh393fs/minix/inode.creturn block_getblk(inode, bh, block & 511, create);
bh398fs/minix/inode.cstruct buffer_head * bh;
bh400fs/minix/inode.cbh = minix_getblk(inode,block,create);
bh401fs/minix/inode.cif (!bh || bh->b_uptodate)
bh402fs/minix/inode.creturn bh;
bh403fs/minix/inode.cll_rw_block(READ, 1, &bh);
bh404fs/minix/inode.cwait_on_buffer(bh);
bh405fs/minix/inode.cif (bh->b_uptodate)
bh406fs/minix/inode.creturn bh;
bh407fs/minix/inode.cbrelse(bh);
bh413fs/minix/inode.cstruct buffer_head * bh;
bh429fs/minix/inode.cif (!(bh=bread(inode->i_dev,block, BLOCK_SIZE))) {
bh434fs/minix/inode.craw_inode = ((struct minix_inode *) bh->b_data) +
bh447fs/minix/inode.cbrelse(bh);
bh464fs/minix/inode.cstruct buffer_head * bh;
bh478fs/minix/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE))) {
bh483fs/minix/inode.craw_inode = ((struct minix_inode *)bh->b_data) +
bh496fs/minix/inode.cmark_buffer_dirty(bh, 1);
bh497fs/minix/inode.creturn bh;
bh502fs/minix/inode.cstruct buffer_head *bh;
bh503fs/minix/inode.cbh = minix_update_inode(inode);
bh504fs/minix/inode.cbrelse(bh);
bh510fs/minix/inode.cstruct buffer_head *bh;
bh512fs/minix/inode.cbh = minix_update_inode(inode);
bh513fs/minix/inode.cif (bh && bh->b_dirt)
bh515fs/minix/inode.cll_rw_block(WRITE, 1, &bh);
bh516fs/minix/inode.cwait_on_buffer(bh);
bh517fs/minix/inode.cif (bh->b_req && !bh->b_uptodate)
bh525fs/minix/inode.celse if (!bh)
bh527fs/minix/inode.cbrelse (bh);
bh45fs/minix/namei.cstruct buffer_head * bh, unsigned long * offset,
bh50fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + *offset);
bh72fs/minix/namei.cstruct buffer_head * bh;
bh86fs/minix/namei.cbh = NULL;
bh89fs/minix/namei.cif (!bh) {
bh90fs/minix/namei.cbh = minix_bread(dir,block,0);
bh91fs/minix/namei.cif (!bh) {
bh96fs/minix/namei.c*res_dir = (struct minix_dir_entry *) (bh->b_data + offset);
bh97fs/minix/namei.cif (minix_match(namelen,name,bh,&offset,info))
bh98fs/minix/namei.creturn bh;
bh99fs/minix/namei.cif (offset < bh->b_size)
bh101fs/minix/namei.cbrelse(bh);
bh102fs/minix/namei.cbh = NULL;
bh106fs/minix/namei.cbrelse(bh);
bh116fs/minix/namei.cstruct buffer_head * bh;
bh125fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
bh130fs/minix/namei.cbrelse(bh);
bh156fs/minix/namei.cstruct buffer_head * bh;
bh174fs/minix/namei.cbh = NULL;
bh177fs/minix/namei.cif (!bh) {
bh178fs/minix/namei.cbh = minix_bread(dir,block,1);
bh179fs/minix/namei.cif (!bh)
bh182fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
bh184fs/minix/namei.cif (block*bh->b_size + offset > dir->i_size) {
bh186fs/minix/namei.cdir->i_size = block*bh->b_size + offset;
bh191fs/minix/namei.cbrelse(bh);
bh200fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh204fs/minix/namei.cif (offset < bh->b_size)
bh206fs/minix/namei.cbrelse(bh);
bh207fs/minix/namei.cbh = NULL;
bh211fs/minix/namei.c*res_buf = bh;
bh220fs/minix/namei.cstruct buffer_head * bh;
bh234fs/minix/namei.cerror = minix_add_entry(dir,name,len, &bh ,&de);
bh243fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh244fs/minix/namei.cbrelse(bh);
bh254fs/minix/namei.cstruct buffer_head * bh;
bh259fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh260fs/minix/namei.cif (bh) {
bh261fs/minix/namei.cbrelse(bh);
bh291fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh300fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh301fs/minix/namei.cbrelse(bh);
bh311fs/minix/namei.cstruct buffer_head * bh, *dir_block;
bh320fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh321fs/minix/namei.cif (bh) {
bh322fs/minix/namei.cbrelse(bh);
bh358fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh366fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh371fs/minix/namei.cbrelse(bh);
bh381fs/minix/namei.cstruct buffer_head * bh;
bh389fs/minix/namei.cbh = NULL;
bh395fs/minix/namei.cbh = minix_bread(inode,0,0);
bh396fs/minix/namei.cif (!bh)
bh398fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
bh401fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + info->s_dirsize);
bh405fs/minix/namei.cif (!bh) {
bh406fs/minix/namei.cbh = minix_bread(inode,block,0);
bh407fs/minix/namei.cif (!bh) {
bh412fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
bh415fs/minix/namei.cbrelse(bh);
bh418fs/minix/namei.cif (offset < bh->b_size)
bh420fs/minix/namei.cbrelse(bh);
bh421fs/minix/namei.cbh = NULL;
bh425fs/minix/namei.cbrelse(bh);
bh428fs/minix/namei.cbrelse(bh);
bh438fs/minix/namei.cstruct buffer_head * bh;
bh442fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh444fs/minix/namei.cif (!bh)
bh477fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh487fs/minix/namei.cbrelse(bh);
bh495fs/minix/namei.cstruct buffer_head * bh;
bh501fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh502fs/minix/namei.cif (!bh)
bh511fs/minix/namei.cbrelse(bh);
bh532fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh540fs/minix/namei.cbrelse(bh);
bh550fs/minix/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh576fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh577fs/minix/namei.cif (bh) {
bh581fs/minix/namei.cbrelse(bh);
bh585fs/minix/namei.ci = minix_add_entry(dir, name, len, &bh, &de);
bh594fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh595fs/minix/namei.cbrelse(bh);
bh605fs/minix/namei.cstruct buffer_head * bh;
bh617fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
bh618fs/minix/namei.cif (bh) {
bh619fs/minix/namei.cbrelse(bh);
bh624fs/minix/namei.cerror = minix_add_entry(dir, name, len, &bh, &de);
bh631fs/minix/namei.cmark_buffer_dirty(bh, 1);
bh632fs/minix/namei.cbrelse(bh);
bh49fs/minix/symlink.cstruct buffer_head * bh;
bh70fs/minix/symlink.cif (!(bh = minix_bread(inode, 0, 0))) {
bh77fs/minix/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
bh79fs/minix/symlink.cbrelse(bh);
bh85fs/minix/symlink.cstruct buffer_head * bh;
bh95fs/minix/symlink.cbh = minix_bread(inode, 0, 0);
bh97fs/minix/symlink.cif (!bh)
bh100fs/minix/symlink.cwhile (i<buflen && (c = bh->b_data[i])) {
bh104fs/minix/symlink.cbrelse(bh);
bh33fs/minix/truncate.cstruct buffer_head * bh;
bh43fs/minix/truncate.cbh = get_hash_table(inode->i_dev,tmp,BLOCK_SIZE);
bh45fs/minix/truncate.cbrelse(bh);
bh48fs/minix/truncate.cif ((bh && bh->b_count != 1) || tmp != *p) {
bh50fs/minix/truncate.cbrelse(bh);
bh55fs/minix/truncate.cif (bh) {
bh56fs/minix/truncate.cmark_buffer_clean(bh);
bh57fs/minix/truncate.cbrelse(bh);
bh66fs/minix/truncate.cstruct buffer_head * bh;
bh95fs/minix/truncate.cbh = get_hash_table(inode->i_dev,tmp,BLOCK_SIZE);
bh97fs/minix/truncate.cbrelse(bh);
bh100fs/minix/truncate.cif ((bh && bh->b_count != 1) || tmp != *ind) {
bh102fs/minix/truncate.cbrelse(bh);
bh107fs/minix/truncate.cbrelse(bh);
bh85fs/msdos/buffer.cstruct buffer_head *bh)
bh87fs/msdos/buffer.cif (bh != NULL){
bh89fs/msdos/buffer.cbrelse (bh);
bh91fs/msdos/buffer.cbrelse (bh->b_next);
bh95fs/msdos/buffer.ckfree (bh);
bh102fs/msdos/buffer.cstruct buffer_head *bh,
bh106fs/msdos/buffer.cbh = bh->b_next;
bh108fs/msdos/buffer.cmark_buffer_dirty (bh,dirty_val);
bh113fs/msdos/buffer.cstruct buffer_head *bh,
bh117fs/msdos/buffer.cbh = bh->b_next;
bh119fs/msdos/buffer.cbh->b_uptodate = val;
bh123fs/msdos/buffer.cstruct buffer_head *bh)
bh126fs/msdos/buffer.cbh = bh->b_next;
bh128fs/msdos/buffer.creturn bh->b_uptodate;
bh135fs/msdos/buffer.cstruct buffer_head *bh[32])
bh138fs/msdos/buffer.cll_rw_block(opr,nbreq,bh);
bh143fs/msdos/buffer.ctmp[i] = bh[i]->b_next;
bh71fs/msdos/dir.cstruct buffer_head *bh;
bh90fs/msdos/dir.cbh = NULL;
bh91fs/msdos/dir.cwhile ((ino = msdos_get_entry(inode,&filp->f_pos,&bh,&de)) > -1) {
bh127fs/msdos/dir.cif (bh) brelse(bh);
bh26fs/msdos/fat.cstruct buffer_head *bh,*bh2,*c_bh,*c_bh2;
bh36fs/msdos/fat.cif (!(bh = bread(sb->s_dev,MSDOS_SB(sb)->fat_start+(first >>
bh42fs/msdos/fat.cbh2 = bh;
bh46fs/msdos/fat.cbrelse(bh);
bh53fs/msdos/fat.cnext = CF_LE_W(((unsigned short *) bh->b_data)[(first &
bh58fs/msdos/fat.cp_first = &((unsigned char *) bh->b_data)[first & (SECTOR_SIZE-1)];
bh67fs/msdos/fat.c((unsigned short *) bh->b_data)[(first & (SECTOR_SIZE-1)) >>
bh80fs/msdos/fat.cmark_buffer_dirty(bh, 1);
bh85fs/msdos/fat.cmemcpy(c_bh->b_data,bh->b_data,SECTOR_SIZE);
bh87fs/msdos/fat.cif (bh != bh2) {
bh101fs/msdos/fat.cbrelse(bh);
bh102fs/msdos/fat.cif (bh != bh2) brelse(bh2);
bh135fs/msdos/file.cstruct buffer_head *bh;
bh138fs/msdos/file.cbh = getblk(inode->i_dev,sector,SECTOR_SIZE);
bh139fs/msdos/file.cif (bh == NULL)  break;
bh140fs/msdos/file.cpre->bhlist[pre->nblist++] = bh;
bh141fs/msdos/file.cif (!msdos_is_uptodate(sb,bh)) bhreq[nbreq++] = bh;
bh214fs/msdos/file.cstruct buffer_head *bh = pre.bhlist[pre.nolist];
bh217fs/msdos/file.cif (bh == NULL) break;
bh228fs/msdos/file.cwait_on_buffer(bh);
bh229fs/msdos/file.cif (!msdos_is_uptodate(sb,bh)){
bh231fs/msdos/file.cbrelse (bh);
bh235fs/msdos/file.cdata = bh->b_data + offset;
bh254fs/msdos/file.cbrelse(bh);
bh278fs/msdos/file.cstruct buffer_head *bh;
bh313fs/msdos/file.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){
bh317fs/msdos/file.c}else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) {
bh322fs/msdos/file.cmemcpy_fromfs(bh->b_data+offset,buf,written = size);
bh327fs/msdos/file.cto = (char *) bh->b_data+(filp->f_pos & (SECTOR_SIZE-1));
bh351fs/msdos/file.cmsdos_set_uptodate(sb,bh,1);
bh352fs/msdos/file.cmark_buffer_dirty(bh, 0);
bh353fs/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);
bh359fs/msdos/inode.cstruct buffer_head *bh;
bh386fs/msdos/inode.cif (!(bh = bread(inode->i_dev,inode->i_ino >> MSDOS_DPB_BITS,
bh392fs/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);
bh124fs/msdos/misc.cstruct buffer_head *bh;
bh198fs/msdos/misc.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE)))
bh201fs/msdos/misc.cmemset(bh->b_data,0,SECTOR_SIZE);
bh202fs/msdos/misc.cmsdos_set_uptodate(sb,bh,1);
bh203fs/msdos/misc.cmark_buffer_dirty(bh, 1);
bh204fs/msdos/misc.cbrelse(bh);
bh287fs/msdos/misc.cint msdos_get_entry(struct inode *dir, loff_t *pos,struct buffer_head **bh,
bh298fs/msdos/misc.cPRINTK (("get_entry sector %d %p\n",sector,*bh));
bh302fs/msdos/misc.cif (*bh)
bh303fs/msdos/misc.cbrelse(*bh);
bh305fs/msdos/misc.cif (!(*bh = bread(dir->i_dev,sector,SECTOR_SIZE))) {
bh310fs/msdos/misc.c*de = (struct msdos_dir_entry *) ((*bh)->b_data+(offset &
bh374fs/msdos/misc.cstruct buffer_head *bh;
bh379fs/msdos/misc.cif (!(bh = bread(sb->s_dev,sector,SECTOR_SIZE))) return -EIO;
bh380fs/msdos/misc.cdata = (struct msdos_dir_entry *) bh->b_data;
bh393fs/msdos/misc.cif (!res_bh) brelse(bh);
bh395fs/msdos/misc.c*res_bh = bh;
bh401fs/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]);
bh103fs/msdos/namei.cstruct buffer_head **bh,struct msdos_dir_entry **de,int *ino)
bh111fs/msdos/namei.creturn msdos_scan(dir,msdos_name,bh,de,ino);
bh121fs/msdos/namei.cstruct buffer_head *bh;
bh145fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
bh150fs/msdos/namei.cif (bh) brelse(bh);
bh186fs/msdos/namei.cstruct buffer_head *bh;
bh190fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino)) < 0) {
bh194fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino)) < 0) return res;
bh207fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh210fs/msdos/namei.cbrelse(bh);
bh223fs/msdos/namei.cstruct buffer_head *bh;
bh235fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino) >= 0) {
bh237fs/msdos/namei.cbrelse(bh);
bh271fs/msdos/namei.cstruct buffer_head *bh;
bh283fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino) >= 0) {
bh285fs/msdos/namei.cbrelse(bh);
bh330fs/msdos/namei.cstruct buffer_head *bh;
bh337fs/msdos/namei.cbh = NULL;
bh338fs/msdos/namei.cwhile (msdos_get_entry(dir,&pos,&bh,&de) > -1)
bh342fs/msdos/namei.cbrelse(bh);
bh345fs/msdos/namei.cif (bh)
bh346fs/msdos/namei.cbrelse(bh);
bh356fs/msdos/namei.cstruct buffer_head *bh;
bh360fs/msdos/namei.cbh = NULL;
bh365fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
bh381fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh384fs/msdos/namei.cbrelse(bh);
bh399fs/msdos/namei.cstruct buffer_head *bh;
bh403fs/msdos/namei.cbh = NULL;
bh405fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
bh420fs/msdos/namei.cmark_buffer_dirty(bh, 1);
bh422fs/msdos/namei.cbrelse(bh);
bh38fs/sysv/balloc.cstruct buffer_head * bh;
bh62fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
bh63fs/sysv/balloc.cif (!bh) {
bh68fs/sysv/balloc.cbh_data = bh->b_data;
bh90fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh91fs/sysv/balloc.cbh->b_uptodate = 1;
bh92fs/sysv/balloc.cbrelse(bh);
bh99fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
bh100fs/sysv/balloc.cif (!bh) {
bh105fs/sysv/balloc.cmemset(bh->b_data, 0, sb->sv_block_size);
bh107fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh108fs/sysv/balloc.cbh->b_uptodate = 1;
bh109fs/sysv/balloc.cbrelse(bh);
bh113fs/sysv/balloc.cbh = sv_get_hash_table(sb, sb->s_dev, block);
bh114fs/sysv/balloc.cif (bh)
bh115fs/sysv/balloc.cbh->b_dirt = 0;
bh116fs/sysv/balloc.cbrelse(bh);
bh135fs/sysv/balloc.cstruct buffer_head * bh;
bh164fs/sysv/balloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh171fs/sysv/balloc.cbh_data = bh->b_data;
bh193fs/sysv/balloc.cbrelse(bh);
bh199fs/sysv/balloc.cbrelse(bh);
bh202fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
bh203fs/sysv/balloc.cif (!bh) {
bh208fs/sysv/balloc.cif (bh->b_count != 1) {
bh213fs/sysv/balloc.cmemset(bh->b_data, 0, sb->sv_block_size);
bh214fs/sysv/balloc.cmark_buffer_dirty(bh, 1);
bh215fs/sysv/balloc.cbh->b_uptodate = 1;
bh216fs/sysv/balloc.cbrelse(bh);
bh234fs/sysv/balloc.cstruct buffer_head * bh;
bh261fs/sysv/balloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh265fs/sysv/balloc.cbh_data = bh->b_data;
bh287fs/sysv/balloc.cbrelse(bh);
bh291fs/sysv/balloc.cbrelse(bh);
bh305fs/sysv/balloc.cbrelse(bh);
bh74fs/sysv/dir.cstruct buffer_head * bh;
bh84fs/sysv/dir.cbh = sysv_file_bread(inode, filp->f_pos >> sb->sv_block_size_bits, 0);
bh85fs/sysv/dir.cif (!bh) {
bh89fs/sysv/dir.cbh_data = bh->b_data;
bh106fs/sysv/dir.cbrelse(bh);
bh113fs/sysv/dir.cbrelse(bh);
bh208fs/sysv/file.cstruct buffer_head * bh;
bh232fs/sysv/file.cbh = sysv_getblk (inode, pos >> sb->sv_block_size_bits, 1);
bh233fs/sysv/file.cif (!bh) {
bh241fs/sysv/file.cif (c != sb->sv_block_size && !bh->b_uptodate) {
bh242fs/sysv/file.cll_rw_block(READ, 1, &bh);
bh243fs/sysv/file.cwait_on_buffer(bh);
bh244fs/sysv/file.cif (!bh->b_uptodate) {
bh245fs/sysv/file.cbrelse(bh);
bh252fs/sysv/file.cp = (pos & sb->sv_block_size_1) + bh->b_data;
bh261fs/sysv/file.cbh->b_uptodate = 1;
bh262fs/sysv/file.cmark_buffer_dirty(bh, 0);
bh263fs/sysv/file.cbrelse(bh);
bh35fs/sysv/fsync.cstruct buffer_head * bh;
bh45fs/sysv/fsync.cbh = sv_get_hash_table(sb, inode->i_dev, block);
bh46fs/sysv/fsync.cif (!bh)
bh49fs/sysv/fsync.cbrelse (bh);
bh52fs/sysv/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh53fs/sysv/fsync.cbrelse(bh);
bh56fs/sysv/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt) {
bh57fs/sysv/fsync.cbrelse(bh);
bh60fs/sysv/fsync.cll_rw_block(WRITE, 1, &bh);
bh61fs/sysv/fsync.cbh->b_count--;
bh67fs/sysv/fsync.cstruct buffer_head * *bh, int wait)
bh72fs/sysv/fsync.c*bh = NULL;
bh81fs/sysv/fsync.c*bh = sv_bread(inode->i_sb, inode->i_dev, block);
bh83fs/sysv/fsync.cbrelse(*bh);
bh84fs/sysv/fsync.c*bh = NULL;
bh87fs/sysv/fsync.cif (!*bh)
bh60fs/sysv/ialloc.cstruct buffer_head * bh;
bh86fs/sysv/ialloc.cif (!(bh = sv_bread(sb, inode->i_dev, sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits)))) {
bh92fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1);
bh101fs/sysv/ialloc.cmark_buffer_dirty(bh, 1);
bh103fs/sysv/ialloc.cbrelse(bh);
bh111fs/sysv/ialloc.cstruct buffer_head * bh;
bh132fs/sysv/ialloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh137fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + j;
bh142fs/sysv/ialloc.cbrelse(bh);
bh184fs/sysv/ialloc.cstruct buffer_head * bh;
bh198fs/sysv/ialloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
bh203fs/sysv/ialloc.craw_inode = (struct sysv_inode *) bh->b_data + j;
bh207fs/sysv/ialloc.cbrelse(bh);
bh125fs/sysv/inode.cstatic const char* detect_xenix (struct super_block *sb, struct buffer_head *bh)
bh129fs/sysv/inode.csbd = (struct xenix_super_block *) bh->b_data;
bh182fs/sysv/inode.cstatic const char* detect_sysv4 (struct super_block *sb, struct buffer_head *bh)
bh186fs/sysv/inode.csbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh199fs/sysv/inode.cstatic struct super_block * detected_sysv4 (struct super_block *sb, struct buffer_head *bh)
bh204fs/sysv/inode.csbd = (struct sysv4_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh206fs/sysv/inode.csbd = (struct sysv4_super_block *) bh->b_data;
bh220fs/sysv/inode.csb->sv_bh1 = bh;
bh221fs/sysv/inode.csb->sv_bh2 = bh;
bh240fs/sysv/inode.cstatic const char* detect_sysv2 (struct super_block *sb, struct buffer_head *bh)
bh244fs/sysv/inode.csbd = (struct sysv2_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh257fs/sysv/inode.cstatic struct super_block * detected_sysv2 (struct super_block *sb, struct buffer_head *bh)
bh262fs/sysv/inode.csbd = (struct sysv2_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh264fs/sysv/inode.csbd = (struct sysv2_super_block *) bh->b_data;
bh278fs/sysv/inode.csb->sv_bh1 = bh;
bh279fs/sysv/inode.csb->sv_bh2 = bh;
bh298fs/sysv/inode.cstatic const char* detect_coherent (struct super_block *sb, struct buffer_head *bh)
bh302fs/sysv/inode.csbd = (struct coh_super_block *) (bh->b_data + BLOCK_SIZE/2);
bh310fs/sysv/inode.cstatic struct super_block * detected_coherent (struct super_block *sb, struct buffer_head *bh)
bh314fs/sysv/inode.csbd = (struct coh_super_block *) bh->b_data;
bh326fs/sysv/inode.csb->sv_bh1 = bh;
bh327fs/sysv/inode.csb->sv_bh2 = bh;
bh348fs/sysv/inode.cstruct buffer_head *bh;
bh366fs/sysv/inode.cif ((bh = bread(dev, 1, BLOCK_SIZE)) != NULL) {
bh367fs/sysv/inode.cif ((found = detect_xenix(sb,bh)) != NULL)
bh369fs/sysv/inode.cbrelse(bh);
bh371fs/sysv/inode.cif ((bh = bread(dev, 0, BLOCK_SIZE)) != NULL) {
bh373fs/sysv/inode.cif ((found = detect_sysv4(sb,bh)) != NULL)
bh375fs/sysv/inode.cif ((found = detect_sysv2(sb,bh)) != NULL)
bh378fs/sysv/inode.cif ((found = detect_coherent(sb,bh)) != NULL)
bh380fs/sysv/inode.cbrelse(bh);
bh387fs/sysv/inode.cif ((bh = bread(dev, offsets[i], BLOCK_SIZE)) != NULL) {
bh389fs/sysv/inode.cif ((found = detect_sysv4(sb,bh)) != NULL) {
bh393fs/sysv/inode.cif ((found = detect_sysv2(sb,bh)) != NULL) {
bh397fs/sysv/inode.cbrelse(bh);
bh413fs/sysv/inode.cif (!detected_xenix(sb,bh,bh))
bh417fs/sysv/inode.cif (!detected_sysv4(sb,bh))
bh421fs/sysv/inode.cif (!detected_sysv2(sb,bh))
bh426fs/sysv/inode.cbrelse(bh);
bh436fs/sysv/inode.cunsigned long blocknr = bh->b_blocknr << sb->sv_block_size_ratio_bits;
bh438fs/sysv/inode.cbrelse(bh);
bh567fs/sysv/inode.cstatic int block_bmap(struct super_block * sb, struct buffer_head * bh, int nr, int convert)
bh571fs/sysv/inode.cif (!bh)
bh573fs/sysv/inode.ctmp = ((sysv_zone_t *) bh->b_data) [nr];
bh576fs/sysv/inode.cbrelse(bh);
bh588fs/sysv/inode.cstruct buffer_head * bh;
bh598fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh599fs/sysv/inode.creturn block_bmap(sb, bh, block, convert);
bh606fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh607fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_bits, convert);
bh610fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh611fs/sysv/inode.creturn block_bmap(sb, bh, block & sb->sv_ind_per_block_1, convert);
bh618fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh619fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_2_bits, convert);
bh622fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh623fs/sysv/inode.ci = block_bmap(sb, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1,convert);
bh626fs/sysv/inode.cbh = bread(inode->i_dev,i,sb->sv_block_size);
bh627fs/sysv/inode.creturn block_bmap(sb, bh, block & sb->sv_ind_per_block_1, convert);
bh678fs/sysv/inode.cstruct buffer_head * bh, int nr, int create)
bh685fs/sysv/inode.cif (!bh)
bh687fs/sysv/inode.cif (!bh->b_uptodate) {
bh688fs/sysv/inode.cll_rw_block(READ, 1, &bh);
bh689fs/sysv/inode.cwait_on_buffer(bh);
bh690fs/sysv/inode.cif (!bh->b_uptodate) {
bh691fs/sysv/inode.cbrelse(bh);
bh696fs/sysv/inode.cp = nr + (sysv_zone_t *) bh->b_data;
bh702fs/sysv/inode.cresult = sv_getblk(sb, bh->b_dev, block);
bh704fs/sysv/inode.cbrelse(bh);
bh711fs/sysv/inode.cbrelse(bh);
bh716fs/sysv/inode.cbrelse(bh);
bh719fs/sysv/inode.cresult = sv_getblk(sb, bh->b_dev, block);
bh726fs/sysv/inode.cmark_buffer_dirty(bh, 1);
bh727fs/sysv/inode.cbrelse(bh);
bh734fs/sysv/inode.cstruct buffer_head * bh;
bh740fs/sysv/inode.cbh = inode_getblk(inode,10,create);
bh741fs/sysv/inode.creturn block_getblk(inode, bh, block, create);
bh745fs/sysv/inode.cbh = inode_getblk(inode,11,create);
bh746fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_bits, create);
bh747fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create);
bh751fs/sysv/inode.cbh = inode_getblk(inode,12,create);
bh752fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_2_bits, create);
bh753fs/sysv/inode.cbh = block_getblk(inode, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1, create);
bh754fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create);
bh766fs/sysv/inode.cstruct buffer_head * bh;
bh768fs/sysv/inode.cbh = sysv_getblk(inode,block,create);
bh769fs/sysv/inode.cif (!bh || bh->b_uptodate)
bh770fs/sysv/inode.creturn bh;
bh771fs/sysv/inode.cll_rw_block(READ, 1, &bh);
bh772fs/sysv/inode.cwait_on_buffer(bh);
bh773fs/sysv/inode.cif (bh->b_uptodate)
bh774fs/sysv/inode.creturn bh;
bh775fs/sysv/inode.cbrelse(bh);
bh807fs/sysv/inode.cstruct buffer_head * bh;
bh822fs/sysv/inode.cif (!(bh = sv_bread(sb,inode->i_dev,block))) {
bh828fs/sysv/inode.craw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1);
bh860fs/sysv/inode.cbrelse(bh);
bh896fs/sysv/inode.cstruct buffer_head * bh;
bh910fs/sysv/inode.cif (!(bh = sv_bread(sb,inode->i_dev,block))) {
bh915fs/sysv/inode.craw_inode = (struct sysv_inode *) bh->b_data + ((ino-1) & sb->sv_inodes_per_block_1);
bh944fs/sysv/inode.cmark_buffer_dirty(bh, 1);
bh945fs/sysv/inode.creturn bh;
bh950fs/sysv/inode.cstruct buffer_head *bh;
bh951fs/sysv/inode.cbh = sysv_update_inode(inode);
bh952fs/sysv/inode.cbrelse(bh);
bh958fs/sysv/inode.cstruct buffer_head *bh;
bh960fs/sysv/inode.cbh = sysv_update_inode(inode);
bh961fs/sysv/inode.cif (bh && bh->b_dirt) {
bh962fs/sysv/inode.cll_rw_block(WRITE, 1, &bh);
bh963fs/sysv/inode.cwait_on_buffer(bh);
bh964fs/sysv/inode.cif (bh->b_req && !bh->b_uptodate)
bh972fs/sysv/inode.celse if (!bh)
bh974fs/sysv/inode.cbrelse (bh);
bh69fs/sysv/namei.cstruct buffer_head * bh;
bh80fs/sysv/namei.cbh = NULL;
bh83fs/sysv/namei.cif (!bh) {
bh84fs/sysv/namei.cbh = sysv_file_bread(dir,block,0);
bh85fs/sysv/namei.cif (!bh) {
bh92fs/sysv/namei.c*res_dir = (struct sysv_dir_entry *) (bh->b_data + offset) ))
bh93fs/sysv/namei.creturn bh;
bh98fs/sysv/namei.cbrelse(bh);
bh99fs/sysv/namei.cbh = NULL;
bh102fs/sysv/namei.cbrelse(bh);
bh112fs/sysv/namei.cstruct buffer_head * bh;
bh121fs/sysv/namei.cif (!(bh = sysv_find_entry(dir,name,len,&de))) {
bh126fs/sysv/namei.cbrelse(bh);
bh153fs/sysv/namei.cstruct buffer_head * bh;
bh168fs/sysv/namei.cbh = NULL;
bh171fs/sysv/namei.cif (!bh) {
bh172fs/sysv/namei.cbh = sysv_file_bread(dir,block,1);
bh173fs/sysv/namei.cif (!bh)
bh176fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + offset);
bh186fs/sysv/namei.cbrelse(bh);
bh194fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh200fs/sysv/namei.cbrelse(bh);
bh201fs/sysv/namei.cbh = NULL;
bh204fs/sysv/namei.c*res_buf = bh;
bh213fs/sysv/namei.cstruct buffer_head * bh;
bh227fs/sysv/namei.cerror = sysv_add_entry(dir,name,len, &bh ,&de);
bh236fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh237fs/sysv/namei.cbrelse(bh);
bh247fs/sysv/namei.cstruct buffer_head * bh;
bh252fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh253fs/sysv/namei.cif (bh) {
bh254fs/sysv/namei.cbrelse(bh);
bh284fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh293fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh294fs/sysv/namei.cbrelse(bh);
bh304fs/sysv/namei.cstruct buffer_head * bh, *dir_block;
bh311fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh312fs/sysv/namei.cif (bh) {
bh313fs/sysv/namei.cbrelse(bh);
bh349fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh357fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh362fs/sysv/namei.cbrelse(bh);
bh373fs/sysv/namei.cstruct buffer_head * bh;
bh379fs/sysv/namei.cbh = NULL;
bh385fs/sysv/namei.cbh = sysv_file_bread(inode,0,0);
bh386fs/sysv/namei.cif (!bh)
bh388fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + 0*SYSV_DIRSIZE);
bh391fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + 1*SYSV_DIRSIZE);
bh396fs/sysv/namei.cif (!bh) {
bh397fs/sysv/namei.cbh = sysv_file_bread(inode,block,0);
bh398fs/sysv/namei.cif (!bh) {
bh404fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh->b_data + offset);
bh408fs/sysv/namei.cbrelse(bh);
bh413fs/sysv/namei.cbrelse(bh);
bh414fs/sysv/namei.cbh = NULL;
bh417fs/sysv/namei.cbrelse(bh);
bh420fs/sysv/namei.cbrelse(bh);
bh430fs/sysv/namei.cstruct buffer_head * bh;
bh434fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh436fs/sysv/namei.cif (!bh)
bh468fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh478fs/sysv/namei.cbrelse(bh);
bh486fs/sysv/namei.cstruct buffer_head * bh;
bh492fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh493fs/sysv/namei.cif (!bh)
bh502fs/sysv/namei.cbrelse(bh);
bh522fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh530fs/sysv/namei.cbrelse(bh);
bh545fs/sysv/namei.cstruct buffer_head * bh;
bh571fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh572fs/sysv/namei.cif (bh) {
bh576fs/sysv/namei.cbrelse(bh);
bh580fs/sysv/namei.ci = sysv_add_entry(dir, name, len, &bh, &de);
bh589fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh590fs/sysv/namei.cbrelse(bh);
bh600fs/sysv/namei.cstruct buffer_head * bh;
bh612fs/sysv/namei.cbh = sysv_find_entry(dir,name,len,&de);
bh613fs/sysv/namei.cif (bh) {
bh614fs/sysv/namei.cbrelse(bh);
bh619fs/sysv/namei.cerror = sysv_add_entry(dir, name, len, &bh, &de);
bh626fs/sysv/namei.cmark_buffer_dirty(bh, 1);
bh627fs/sysv/namei.cbrelse(bh);
bh55fs/sysv/symlink.cstruct buffer_head * bh;
bh76fs/sysv/symlink.cif (!(bh = sysv_file_bread(inode, 0, 0))) { /* is reading 1 block enough ?? */
bh83fs/sysv/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
bh85fs/sysv/symlink.cbrelse(bh);
bh91fs/sysv/symlink.cstruct buffer_head * bh;
bh102fs/sysv/symlink.cbh = sysv_file_bread(inode, 0, 0);
bh104fs/sysv/symlink.cif (!bh)
bh106fs/sysv/symlink.cbh_data = bh->b_data;
bh112fs/sysv/symlink.cbrelse(bh);
bh50fs/sysv/truncate.cstruct buffer_head * bh;
bh60fs/sysv/truncate.cbh = sv_get_hash_table(sb, inode->i_dev, block);
bh62fs/sysv/truncate.cbrelse(bh);
bh65fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (block != *p)) {
bh67fs/sysv/truncate.cbrelse(bh);
bh72fs/sysv/truncate.cbrelse(bh);
bh86fs/sysv/truncate.cstruct buffer_head * bh;
bh117fs/sysv/truncate.cbh = sv_get_hash_table(sb, inode->i_dev, block);
bh119fs/sysv/truncate.cbrelse(bh);
bh122fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (tmp != *ind)) {
bh124fs/sysv/truncate.cbrelse(bh);
bh129fs/sysv/truncate.cbrelse(bh);
bh32fs/xiafs/bitmap.cstatic int find_first_zero(struct buffer_head *bh, int start_bit, int end_bit) 
bh43fs/xiafs/bitmap.cbmap=(u_long *)bh->b_data;
bh65fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh69fs/xiafs/bitmap.cstatic void clear_buf(struct buffer_head * bh) 
bh74fs/xiafs/bitmap.clp=(long *)bh->b_data;
bh75fs/xiafs/bitmap.cfor (i= bh->b_size >> 2; i-- > 0; )
bh176fs/xiafs/bitmap.cstruct buffer_head * bh;
bh199fs/xiafs/bitmap.cbh = get__map_zone(sb, bmap_buf, bznr, cache, first_zone, 
bh201fs/xiafs/bitmap.cif (!bh)
bh203fs/xiafs/bitmap.ctmp=find_first_zero(bh, start_bit, end_bit);
bh220fs/xiafs/bitmap.cstruct buffer_head * bh;
bh232fs/xiafs/bitmap.cbh = get_hash_table(sb->s_dev, d_addr, XIAFS_ZSIZE(sb));
bh233fs/xiafs/bitmap.cif (bh)
bh234fs/xiafs/bitmap.cbh->b_dirt=0;
bh235fs/xiafs/bitmap.cbrelse(bh);
bh237fs/xiafs/bitmap.cbh = get_zmap_zone(sb, bit, NULL);
bh238fs/xiafs/bitmap.cif (!bh)
bh241fs/xiafs/bitmap.cif (!clear_bit(offset, bh->b_data))
bh245fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh251fs/xiafs/bitmap.cstruct buffer_head * bh;
bh267fs/xiafs/bitmap.cif (!(bh = getblk(sb->s_dev, tmp, XIAFS_ZSIZE(sb)))) {
bh271fs/xiafs/bitmap.cif (bh->b_count != 1) {
bh275fs/xiafs/bitmap.cclear_buf(bh);
bh276fs/xiafs/bitmap.cbh->b_uptodate = 1;
bh277fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh278fs/xiafs/bitmap.cbrelse(bh);
bh284fs/xiafs/bitmap.cstruct buffer_head * bh;
bh298fs/xiafs/bitmap.cbh = get_imap_zone(sb, ino, NULL);
bh299fs/xiafs/bitmap.cif (!bh)
bh302fs/xiafs/bitmap.cif (!clear_bit(ino & (XIAFS_BITS_PER_Z(sb)-1), bh->b_data))
bh306fs/xiafs/bitmap.cmark_buffer_dirty(bh, 1);
bh344fs/xiafs/bitmap.cstatic u_long count_zone(struct buffer_head * bh)
bh350fs/xiafs/bitmap.cfor (i=bh->b_size; i-- > 0; ) {
bh351fs/xiafs/bitmap.ctmp=bh->b_data[i];
bh359fs/xiafs/bitmap.cstruct buffer_head * bh;
bh366fs/xiafs/bitmap.cbh=get_imap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
bh367fs/xiafs/bitmap.cif (bh) {
bh368fs/xiafs/bitmap.csum += count_zone(bh);
bh378fs/xiafs/bitmap.cstruct buffer_head * bh;
bh385fs/xiafs/bitmap.cbh=get_zmap_zone(sb, i << XIAFS_BITS_PER_Z_BITS(sb), &not_que);
bh386fs/xiafs/bitmap.cif (bh) {
bh387fs/xiafs/bitmap.csum += count_zone(bh);
bh73fs/xiafs/dir.cstruct buffer_head * bh;
bh82fs/xiafs/dir.cbh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0);
bh83fs/xiafs/dir.cif (!bh) {
bh88fs/xiafs/dir.cde = (struct xiafs_direct *) (bh->b_data + i);
bh94fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
bh99fs/xiafs/dir.c(char *)de+de->d_rec_len > XIAFS_ZSIZE(inode->i_sb)+bh->b_data ||
bh104fs/xiafs/dir.cbrelse(bh);
bh113fs/xiafs/dir.cbrelse(bh);
bh119fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
bh121fs/xiafs/dir.cbrelse(bh);
bh198fs/xiafs/file.cstruct buffer_head * bh;
bh219fs/xiafs/file.cbh = xiafs_getblk(inode, pos >> XIAFS_ZSIZE_BITS(inode->i_sb), 1);
bh220fs/xiafs/file.cif (!bh) {
bh228fs/xiafs/file.cif (c != XIAFS_ZSIZE(inode->i_sb) && !bh->b_uptodate) {
bh229fs/xiafs/file.cll_rw_block(READ, 1, &bh);
bh230fs/xiafs/file.cwait_on_buffer(bh);
bh231fs/xiafs/file.cif (!bh->b_uptodate) {
bh232fs/xiafs/file.cbrelse(bh);
bh238fs/xiafs/file.ccp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data;
bh247fs/xiafs/file.cbh->b_uptodate = 1;
bh248fs/xiafs/file.cmark_buffer_dirty(bh, 0);
bh249fs/xiafs/file.cbrelse(bh);
bh35fs/xiafs/fsync.cstruct buffer_head * bh;
bh41fs/xiafs/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
bh42fs/xiafs/fsync.cif (!bh)
bh45fs/xiafs/fsync.cbrelse (bh);
bh48fs/xiafs/fsync.cif (wait && bh->b_req && !bh->b_uptodate) {
bh49fs/xiafs/fsync.cbrelse(bh);
bh52fs/xiafs/fsync.cif (wait || !bh->b_uptodate || !bh->b_dirt)
bh54fs/xiafs/fsync.cbrelse(bh);
bh57fs/xiafs/fsync.cll_rw_block(WRITE, 1, &bh);
bh58fs/xiafs/fsync.cbh->b_count--;
bh63fs/xiafs/fsync.cstruct buffer_head **bh, int wait) 
bh67fs/xiafs/fsync.c*bh = NULL;
bh74fs/xiafs/fsync.c*bh = bread(inode->i_dev, tmp, blocksize);
bh76fs/xiafs/fsync.cbrelse(*bh);
bh77fs/xiafs/fsync.c*bh = NULL;
bh80fs/xiafs/fsync.cif (!*bh)
bh71fs/xiafs/inode.cstruct buffer_head *bh;
bh82fs/xiafs/inode.cif (!(bh = bread(dev, 0, BLOCK_SIZE))) {
bh89fs/xiafs/inode.csp = (struct xiafs_super_block *) bh->b_data;
bh94fs/xiafs/inode.cbrelse(bh);
bh106fs/xiafs/inode.cbrelse(bh);
bh108fs/xiafs/inode.cbh = bread (dev, 0,  s->s_blocksize);
bh109fs/xiafs/inode.cif(!bh) {
bh113fs/xiafs/inode.csp = (struct xiafs_super_block *) (((char *)bh->b_data) + BLOCK_SIZE) ;
bh123fs/xiafs/inode.cbrelse(bh);
bh190fs/xiafs/inode.cstatic int zone_bmap(struct buffer_head * bh, int nr)
bh194fs/xiafs/inode.cif (!bh)
bh196fs/xiafs/inode.ctmp = ((u_long *) bh->b_data)[nr];
bh197fs/xiafs/inode.cbrelse(bh);
bh280fs/xiafs/inode.cindt_getblk(struct inode * inode, struct buffer_head * bh, 
bh287fs/xiafs/inode.cif (!bh)
bh289fs/xiafs/inode.cif (!bh->b_uptodate) {
bh290fs/xiafs/inode.cll_rw_block(READ, 1, &bh);
bh291fs/xiafs/inode.cwait_on_buffer(bh);
bh292fs/xiafs/inode.cif (!bh->b_uptodate) {
bh293fs/xiafs/inode.cbrelse(bh);
bh297fs/xiafs/inode.clp = nr + (u_long *) bh->b_data;
bh300fs/xiafs/inode.cresult = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh302fs/xiafs/inode.cbrelse(bh);
bh309fs/xiafs/inode.cbrelse(bh);
bh314fs/xiafs/inode.cbrelse(bh);
bh317fs/xiafs/inode.cresult = getblk(bh->b_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh325fs/xiafs/inode.cmark_buffer_dirty(bh, 1);
bh326fs/xiafs/inode.cbrelse(bh);
bh332fs/xiafs/inode.cstruct buffer_head * bh;
bh350fs/xiafs/inode.cbh = dt_getblk(inode, &(inode->u.xiafs_i.i_ind_zone), create, prev_addr);
bh351fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone, create, prev_addr);
bh352fs/xiafs/inode.creturn bh;
bh355fs/xiafs/inode.cbh = dt_getblk(inode, &(inode->u.xiafs_i.i_dind_zone), create, prev_addr);
bh356fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone>>XIAFS_ADDRS_PER_Z_BITS(inode->i_sb), 
bh358fs/xiafs/inode.cbh = indt_getblk(inode, bh, zone&(XIAFS_ADDRS_PER_Z(inode->i_sb)-1), 
bh360fs/xiafs/inode.creturn bh;
bh365fs/xiafs/inode.cstruct buffer_head * bh;
bh367fs/xiafs/inode.cbh = xiafs_getblk(inode, zone, create);
bh368fs/xiafs/inode.cif (!bh || bh->b_uptodate)
bh369fs/xiafs/inode.creturn bh;
bh370fs/xiafs/inode.cll_rw_block(READ, 1, &bh);
bh371fs/xiafs/inode.cwait_on_buffer(bh);
bh372fs/xiafs/inode.cif (bh->b_uptodate)
bh373fs/xiafs/inode.creturn bh;
bh374fs/xiafs/inode.cbrelse(bh);
bh380fs/xiafs/inode.cstruct buffer_head * bh;
bh395fs/xiafs/inode.cif (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) {
bh399fs/xiafs/inode.craw_inode = ((struct xiafs_inode *) bh->b_data) + 
bh420fs/xiafs/inode.cbrelse(bh);
bh437fs/xiafs/inode.cstruct buffer_head * bh;
bh457fs/xiafs/inode.cif (!(bh=bread(inode->i_dev, zone, XIAFS_ZSIZE(inode->i_sb)))) {
bh462fs/xiafs/inode.craw_inode = ((struct xiafs_inode *)bh->b_data) +
bh485fs/xiafs/inode.cmark_buffer_dirty(bh, 1);
bh486fs/xiafs/inode.creturn bh;
bh492fs/xiafs/inode.cstruct buffer_head * bh;
bh493fs/xiafs/inode.cbh = xiafs_update_inode(inode);
bh494fs/xiafs/inode.cbrelse (bh);
bh500fs/xiafs/inode.cstruct buffer_head *bh;
bh502fs/xiafs/inode.cbh = xiafs_update_inode(inode);
bh503fs/xiafs/inode.cif (bh && bh->b_dirt)
bh505fs/xiafs/inode.cll_rw_block(WRITE, 1, &bh);
bh506fs/xiafs/inode.cwait_on_buffer(bh);
bh507fs/xiafs/inode.cif (bh->b_req && !bh->b_uptodate)
bh514fs/xiafs/inode.celse if (!bh)
bh516fs/xiafs/inode.cbrelse (bh);
bh65fs/xiafs/namei.cstruct buffer_head * bh;
bh80fs/xiafs/namei.cbh = xiafs_bread(inode, i, 0);
bh81fs/xiafs/namei.cif (!bh)
bh83fs/xiafs/namei.cdep_pre=dep=(struct xiafs_direct *)bh->b_data;
bh87fs/xiafs/namei.cbrelse(bh);
bh94fs/xiafs/namei.cdep->d_rec_len+(char *)dep > bh->b_data+XIAFS_ZSIZE(inode->i_sb) ||
bh97fs/xiafs/namei.cbrelse(bh);
bh104fs/xiafs/namei.creturn bh;
bh108fs/xiafs/namei.cdep=(struct xiafs_direct *)(bh->b_data + pos);
bh110fs/xiafs/namei.cbrelse(bh);
bh124fs/xiafs/namei.cstruct buffer_head * bh;
bh133fs/xiafs/namei.cif (!(bh = xiafs_find_entry(dir, name, len, &dep, NULL))) {
bh138fs/xiafs/namei.cbrelse(bh);
bh162fs/xiafs/namei.cstruct buffer_head * bh;
bh175fs/xiafs/namei.cbh =  xiafs_bread(dir, pos >> XIAFS_ZSIZE_BITS(dir->i_sb), pos ? 1:0);
bh176fs/xiafs/namei.cif (!bh)
bh178fs/xiafs/namei.cde_pre=de=(struct xiafs_direct *)bh->b_data;
bh183fs/xiafs/namei.cbrelse(bh);
bh187fs/xiafs/namei.cde_pre=de=(struct xiafs_direct *)(bh->b_data+12);
bh201fs/xiafs/namei.c(char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(dir->i_sb) ||
bh205fs/xiafs/namei.cbrelse(bh);
bh228fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh232fs/xiafs/namei.creturn bh;
bh236fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
bh238fs/xiafs/namei.cbrelse(bh);
bh252fs/xiafs/namei.cstruct buffer_head * bh;
bh266fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh267fs/xiafs/namei.cif (!bh) {
bh275fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh276fs/xiafs/namei.cbrelse(bh);
bh285fs/xiafs/namei.cstruct buffer_head * bh;
bh290fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
bh291fs/xiafs/namei.cif (bh) {
bh292fs/xiafs/namei.cbrelse(bh);
bh323fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh324fs/xiafs/namei.cif (!bh) {
bh332fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh333fs/xiafs/namei.cbrelse(bh);
bh342fs/xiafs/namei.cstruct buffer_head * bh, *dir_block;
bh345fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len,&de, NULL);
bh346fs/xiafs/namei.cif (bh) {
bh347fs/xiafs/namei.cbrelse(bh);
bh389fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh390fs/xiafs/namei.cif (!bh) {
bh397fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh402fs/xiafs/namei.cbrelse(bh);
bh412fs/xiafs/namei.cstruct buffer_head * bh;
bh422fs/xiafs/namei.cbh =  xiafs_bread(inode, i, 0);
bh424fs/xiafs/namei.cif (!bh) {
bh428fs/xiafs/namei.cde=(struct xiafs_direct *)bh->b_data;
bh432fs/xiafs/namei.cbrelse(bh);
bh435fs/xiafs/namei.cde=(struct xiafs_direct *)(12 + bh->b_data);
bh438fs/xiafs/namei.cbrelse(bh);
bh445fs/xiafs/namei.cif (!bh)
bh448fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
bh451fs/xiafs/namei.c(char *)de+de->d_rec_len > bh->b_data+XIAFS_ZSIZE(inode->i_sb) ||
bh455fs/xiafs/namei.cbrelse(bh);
bh459fs/xiafs/namei.cbrelse(bh);
bh464fs/xiafs/namei.cbrelse(bh);
bh493fs/xiafs/namei.cstruct buffer_head * bh;
bh497fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
bh499fs/xiafs/namei.cif (!bh)
bh527fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh537fs/xiafs/namei.cbrelse(bh);
bh545fs/xiafs/namei.cstruct buffer_head * bh;
bh551fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, &de_pre);
bh552fs/xiafs/namei.cif (!bh)
bh561fs/xiafs/namei.cbrelse(bh);
bh575fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh582fs/xiafs/namei.cbrelse(bh);
bh593fs/xiafs/namei.cstruct buffer_head * bh = NULL, * name_block = NULL;
bh597fs/xiafs/namei.cbh = xiafs_find_entry(dir,name,len, &de, NULL);
bh598fs/xiafs/namei.cif (bh) {
bh599fs/xiafs/namei.cbrelse(bh);
bh624fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh625fs/xiafs/namei.cif (!bh) {
bh633fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh634fs/xiafs/namei.cbrelse(bh);
bh644fs/xiafs/namei.cstruct buffer_head * bh;
bh656fs/xiafs/namei.cbh = xiafs_find_entry(dir, name, len, &de, NULL);
bh657fs/xiafs/namei.cif (bh) {
bh658fs/xiafs/namei.cbrelse(bh);
bh663fs/xiafs/namei.cbh = xiafs_add_entry(dir, name, len, &de, NULL);
bh664fs/xiafs/namei.cif (!bh) {
bh670fs/xiafs/namei.cmark_buffer_dirty(bh, 1);
bh671fs/xiafs/namei.cbrelse(bh);
bh53fs/xiafs/symlink.cstruct buffer_head * bh;
bh63fs/xiafs/symlink.cbh = xiafs_bread(inode, 0, 0);
bh69fs/xiafs/symlink.cif (!bh)
bh71fs/xiafs/symlink.cfor (i=0; i < buflen && (c=bh->b_data[i]); i++)
bh75fs/xiafs/symlink.cbrelse(bh);
bh83fs/xiafs/symlink.cstruct buffer_head * bh;
bh108fs/xiafs/symlink.cif (!(bh = xiafs_bread(inode, 0, 0))) {
bh115fs/xiafs/symlink.cerror = open_namei(bh->b_data,flag,mode,res_inode,dir);
bh117fs/xiafs/symlink.cbrelse(bh);
bh45fs/xiafs/truncate.cstruct buffer_head * bh;
bh56fs/xiafs/truncate.cbh = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh58fs/xiafs/truncate.cbrelse(bh);
bh61fs/xiafs/truncate.cif ((bh && bh->b_count != 1) || tmp != *lp)
bh69fs/xiafs/truncate.cbrelse(bh);
bh79fs/xiafs/truncate.cstruct buffer_head * bh, * ind_bh;
bh102fs/xiafs/truncate.cbh = getblk(inode->i_dev, tmp, XIAFS_ZSIZE(inode->i_sb));
bh104fs/xiafs/truncate.cbrelse(bh);
bh107fs/xiafs/truncate.cif ((bh && bh->b_count != 1) || tmp != *indp)
bh115fs/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);
bh127include/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);
bh943mm/memory.cstruct buffer_head * bh, * tmp;
bh970mm/memory.cbh = buffer_pages[MAP_NR(old_page)];
bh971mm/memory.cif (!bh)
bh981mm/memory.cbuffer_pages[MAP_NR(new_page)] = bh;
bh982mm/memory.ctmp = bh;
bh986mm/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);