taglinefilesource code
block42drivers/block/blk.h#define SUBSECTOR(block) (CURRENT->current_nr_sectors > 0)
block1169drivers/block/cdu31a.cunsigned int  block,
block1188drivers/block/cdu31a.cif (((block % 4) * 512) != ((2048 - readahead_dataleft) % 2048))
block1190drivers/block/cdu31a.csony_next_block += block % 4;
block1191drivers/block/cdu31a.csony_blocks_left -= block % 4;
block1192drivers/block/cdu31a.cskip = (block % 4) * 512;
block1376drivers/block/cdu31a.cint block;
block1444drivers/block/cdu31a.cblock = CURRENT->sector;
block1462drivers/block/cdu31a.cif ((dev != 0) && (block == 64))
block1472drivers/block/cdu31a.cblock += (ses_tocs[dev]->start_track_lba * 4);
block1482drivers/block/cdu31a.cif ((block / 4) < ses_tocs[dev]->start_track_lba)
block1488drivers/block/cdu31a.cif ((block / 4) >= ses_tocs[dev]->lead_out_start_lba)
block1494drivers/block/cdu31a.cif (((block + nblock) / 4) >= ses_tocs[dev]->lead_out_start_lba)
block1518drivers/block/cdu31a.cif (start_request(block / 4, CDU31A_READAHEAD / 4, 0, dev))
block1527drivers/block/cdu31a.celse if (block != sony_next_block)
block1531drivers/block/cdu31a.cblock,
block1541drivers/block/cdu31a.celse if (start_request(block / 4, CDU31A_READAHEAD / 4, 0, dev))
block1548drivers/block/cdu31a.cread_data_block(CURRENT->buffer, block, nblock, res_reg, &res_size);
block1881drivers/block/floppy.cint block;
block1893drivers/block/floppy.cblock = current_count_sectors + CURRENT->sector;
block1894drivers/block/floppy.cif (block > DRS->maxblock)
block1895drivers/block/floppy.cDRS->maxblock=block;
block1896drivers/block/floppy.cif ( block > floppy->sect)
block2906drivers/block/floppy.cint block;
block2917drivers/block/floppy.cblock = (filp->f_pos + count) >> 9;
block2918drivers/block/floppy.cif(block > UDRS->maxblock)
block2919drivers/block/floppy.cUDRS->maxblock = block;
block703drivers/block/hd.cunsigned int dev, block, nsect, sec, track, head, cyl;
block718drivers/block/hd.cblock = CURRENT->sector;
block720drivers/block/hd.cif (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects || ((block+nsect) > hd[dev].nr_sects)) {
block726drivers/block/hd.c(CURRENT->dev>>6)+'a', block, nsect);
block731drivers/block/hd.cblock += hd[dev].start_sect;
block738drivers/block/hd.csec   = block % hd_info[dev].sect + 1;
block739drivers/block/hd.ctrack = block / hd_info[dev].sect;
block269drivers/block/ide-cd.cstatic int cdrom_start_read (ide_dev_t *dev, unsigned int block);
block380drivers/block/ide-cd.cstatic int cdrom_start_read (ide_dev_t *dev, unsigned int block)
block609drivers/block/ide-cd.cstatic int do_rw_cdrom (ide_dev_t *dev, unsigned long block)
block636drivers/block/ide-cd.creturn cdrom_start_read (dev, block);
block914drivers/block/ide.cstatic inline int do_rw_disk (ide_dev_t *dev, struct request *rq, unsigned long block)
block922drivers/block/ide.cblock, rq->nr_sectors, (unsigned long) rq->buffer);
block924drivers/block/ide.cOUT_BYTE(block,HD_SECTOR);
block925drivers/block/ide.cOUT_BYTE(block>>=8,HD_LCYL);
block926drivers/block/ide.cOUT_BYTE(block>>=8,HD_HCYL);
block927drivers/block/ide.cOUT_BYTE(((block>>8)&0x0f)|dev->select.all,HD_CURRENT);
block930drivers/block/ide.ctrack = block / dev->sect;
block931drivers/block/ide.csect  = block % dev->sect + 1;
block1003drivers/block/ide.cunsigned long block, blockend;
block1044drivers/block/ide.cblock    = rq->sector;
block1045drivers/block/ide.cblockend = block + rq->nr_sectors;
block1046drivers/block/ide.cif ((blockend < block) || (blockend > ide_hd[HWIF][minor].nr_sects)) {
block1048drivers/block/ide.cdev->name, block, rq->nr_sectors);
block1052drivers/block/ide.cblock += ide_hd[HWIF][minor].start_sect;
block1067drivers/block/ide.cif (do_rw_disk(dev, rq, block))
block1071drivers/block/ide.cif (do_rw_cdrom(dev, block))
block113drivers/block/ramdisk.cint    block, tries;
block127drivers/block/ramdisk.cblock = tries;
block128drivers/block/ramdisk.cbh = breada(ROOT_DEV,block+1,BLOCK_SIZE, 0,  PAGE_SIZE);
block145drivers/block/ramdisk.cblock);
block155drivers/block/ramdisk.cblock);
block176drivers/block/ramdisk.cbh = breada(ROOT_DEV, block, BLOCK_SIZE, 0,  PAGE_SIZE);
block178drivers/block/ramdisk.cbh = bread(ROOT_DEV, block, BLOCK_SIZE);
block181drivers/block/ramdisk.cblock);
block188drivers/block/ramdisk.cblock++;
block1869drivers/block/sbpcd.cint block, checksum;
block1874drivers/block/sbpcd.cfor (block=CD_BLOCK_OFFSET+1;block<CD_BLOCK_OFFSET+200;block++)
block1882drivers/block/sbpcd.cdrvcmd[1]=(block>>16)&0xFF;
block1883drivers/block/sbpcd.cdrvcmd[2]=(block>>8)&0xFF;
block1884drivers/block/sbpcd.cdrvcmd[3]=block&0xFF;
block1893drivers/block/sbpcd.cdrvcmd[2]=(block>>16)&0xFF;
block1894drivers/block/sbpcd.cdrvcmd[3]=(block>>8)&0xFF;
block1895drivers/block/sbpcd.cdrvcmd[4]=block&0xFF;
block2975drivers/block/sbpcd.cint i=0, j=0, frame, block;
block2999drivers/block/sbpcd.cblock=msf2lba(&read_audio.addr.msf.minute);
block3001drivers/block/sbpcd.cblock=read_audio.addr.lba;
block3004drivers/block/sbpcd.cblock, blk2msf(block)));
block3035drivers/block/sbpcd.cdrvcmd[1]=(block>>16)&0x000000ff;
block3036drivers/block/sbpcd.cdrvcmd[2]=(block>>8)&0x000000ff;
block3037drivers/block/sbpcd.cdrvcmd[3]=block&0x000000ff;
block3045drivers/block/sbpcd.clba2msf(block,&drvcmd[1]); /* msf-bin format required */
block3236drivers/block/sbpcd.cu_int block;
block3257drivers/block/sbpcd.cblock = CURRENT->sector; /* always numbered as 512-byte-pieces */
block3266drivers/block/sbpcd.cDPRINTF((DBG_BSZ,"SBPCD: read sector %d (%d sectors)\n", block, nsect));
block3268drivers/block/sbpcd.cDPRINTF((DBG_MUL,"SBPCD: read LBA %d\n", block/4));
block3336drivers/block/sbpcd.cint block;
block3339drivers/block/sbpcd.cblock=CURRENT->sector/4;
block3345drivers/block/sbpcd.cDPRINTF((DBG_MUL,"SBPCD: read MSF %08X\n", blk2msf(block)));
block3349drivers/block/sbpcd.cblk2msf(DriveStruct[d].lba_multi+block),
block3350drivers/block/sbpcd.cblk2msf(block)));
block3351drivers/block/sbpcd.cblock=DriveStruct[d].lba_multi+block;
block3354drivers/block/sbpcd.cif ((block<=DriveStruct[d].last_redirect)
block3358drivers/block/sbpcd.cblk2msf(DriveStruct[d].lba_multi+block),
block3359drivers/block/sbpcd.cblk2msf(block)));
block3360drivers/block/sbpcd.cblock=DriveStruct[d].lba_multi+block;
block3366drivers/block/sbpcd.cif (block+SBP_BUFFER_FRAMES <= DriveStruct[d].CDsize_frm)
block3370drivers/block/sbpcd.cDriveStruct[d].sbp_read_frames=DriveStruct[d].CDsize_frm-block;
block3375drivers/block/sbpcd.cblock, DriveStruct[d].CDsize_frm));
block3393drivers/block/sbpcd.cdrvcmd[1]=(block>>16)&0x000000ff;
block3394drivers/block/sbpcd.cdrvcmd[2]=(block>>8)&0x000000ff;
block3395drivers/block/sbpcd.cdrvcmd[3]=block&0x000000ff;
block3406drivers/block/sbpcd.clba2msf(block,&drvcmd[1]); /* msf-bcd format required */
block3413drivers/block/sbpcd.cdrvcmd[1]=(block>>16)&0x000000ff;
block3414drivers/block/sbpcd.cdrvcmd[2]=(block>>8)&0x000000ff;
block3415drivers/block/sbpcd.cdrvcmd[3]=block&0x000000ff;
block3425drivers/block/sbpcd.clba2msf(block,&drvcmd[1]); /* msf-bin format required */
block211drivers/block/xd.cu_int block,count,retry;
block219drivers/block/xd.cblock = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect;
block226drivers/block/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
block323drivers/block/xd.cstatic int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count)
block330drivers/block/xd.cprintk("xd_readwrite: operation = %s, drive = %d, buffer = 0x%X, block = %d, count = %d\n",operation == READ ? "read" : "write",drive,buffer,block,count);
block337drivers/block/xd.ctrack = block / xd_info[drive].sectors;
block340drivers/block/xd.csector = block % xd_info[drive].sectors;
block367drivers/block/xd.ccount -= temp, buffer += temp * 0x200, block += temp;
block398drivers/scsi/eata.csh[j]->block = sh[j];
block230drivers/scsi/hosts.cretval->block = NULL;
block321drivers/scsi/hosts.cif (shpnt->block) sh[block_count++] = shpnt;
block323drivers/scsi/hosts.cif (block_count == 1) sh[0]->block = NULL;
block328drivers/scsi/hosts.csh[index]->block = sh[index + 1];
block333drivers/scsi/hosts.csh[block_count - 1]->block = sh[0];
block245drivers/scsi/hosts.hstruct Scsi_Host * block;
block617drivers/scsi/scsi.c((device->host->block && host_active && device->host != host_active) || 
block618drivers/scsi/scsi.c(device->host->block && host_next && device->host != host_next) ||
block621drivers/scsi/scsi.cif (device->host->block && !host_next && host_active 
block703drivers/scsi/scsi.c((host->block && host_active && host != host_active) ||
block704drivers/scsi/scsi.c(host->block && host_next && host != host_next) ||
block709drivers/scsi/scsi.cif (host->block && !host_next && host_active && host != host_active) 
block946drivers/scsi/scsi.c((host->block && host_active && host != host_active) ||
block947drivers/scsi/scsi.c(host->block && host_next && host != host_next) ||
block953drivers/scsi/scsi.cif (host->block && !host_next && host_active 
block959drivers/scsi/scsi.c((host->block && host_active && host != host_active) ||
block960drivers/scsi/scsi.c(host->block && host_next && host != host_next) ||
block967drivers/scsi/scsi.cif (host->block) {
block975drivers/scsi/scsi.chost_next = host->block;
block1419drivers/scsi/scsi.cif (host->block) scsi_maybe_deadlocked = 1;
block1446drivers/scsi/scsi.cif (host->block && host->host_busy == 0) {
block1447drivers/scsi/scsi.cstruct Scsi_Host * block;
block1449drivers/scsi/scsi.cblock = host_next;
block1452drivers/scsi/scsi.cif (block) wake_up(&block->host_wait);
block1454drivers/scsi/scsi.cfor (block = host->block; block != host; block = block->block)
block1455drivers/scsi/scsi.cwake_up(&block->host_wait);
block1640drivers/scsi/scsi.cif (host->block) {
block1652drivers/scsi/scsi.cif (host->block && host->host_busy == 0) {
block70drivers/scsi/scsi_debug.cif ((bh->b_blocknr << 1) + start != block)           \
block71drivers/scsi/scsi_debug.c{  printk("Wrong bh block# %d %d ",bh->b_blocknr, block);  \
block91drivers/scsi/scsi_debug.cif (SCpnt->request.sector + start != block) panic("Wrong block.");  \
block95drivers/scsi/scsi_debug.cif ((SCpnt->request.bh->b_blocknr << 1) + start != block)           \
block96drivers/scsi/scsi_debug.c{  printk("Wrong bh block# %d %d ",SCpnt->request.bh->b_blocknr, block);  \
block159drivers/scsi/scsi_debug.cint block, start;
block238drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
block240drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
block274drivers/scsi/scsi_debug.cif(block == 0 && target == 0) {
block289drivers/scsi/scsi_debug.cif (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors,
block295drivers/scsi/scsi_debug.cif(block == 0xfff0) {
block317drivers/scsi/scsi_debug.cmemcpy(buff+60, &block, sizeof(block));
block325drivers/scsi/scsi_debug.cblock += bufflen >> 9;
block349drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
block351drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
block361drivers/scsi/scsi_debug.cif (block != *((unsigned long *) (buff+60))) {
block362drivers/scsi/scsi_debug.cprintk("%x %x :",block,  *((unsigned long *) (buff+60)));
block405drivers/scsi/sd.cint dev, block, this_count;
block420drivers/scsi/sd.cblock = SCpnt->request.sector;
block424drivers/scsi/sd.cprintk("Doing sd request, dev = %d, block = %d\n", dev, block);
block429drivers/scsi/sd.cblock + SCpnt->request.nr_sectors > sd[dev].nr_sects)
block435drivers/scsi/sd.cblock += sd[dev].start_sect;
block449drivers/scsi/sd.cprintk("sd%c : real dev = /dev/sd%c, block = %d\n", 'a' + MINOR(SCpnt->request.dev), dev, block);
block464drivers/scsi/sd.cif((block & 1) || (SCpnt->request.nr_sectors & 1)) {
block723drivers/scsi/sd.cif(block & 1) panic("sd.c:Bad block number requested");
block725drivers/scsi/sd.cblock = block >> 1;
block730drivers/scsi/sd.cblock = block << 1;
block734drivers/scsi/sd.cif (((this_count > 0xff) ||  (block > 0x1fffff)) && rscsi_disks[dev].ten)
block740drivers/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
block741drivers/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
block742drivers/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
block743drivers/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
block753drivers/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
block754drivers/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
block755drivers/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
block494drivers/scsi/sr.cunsigned int dev, block, realcount;
block507drivers/scsi/sr.cblock = SCpnt->request.sector;  
block570drivers/scsi/sr.cif (block >= 64 && block < 68) {
block571drivers/scsi/sr.cblock += scsi_CDs[dev].mpcd_sector*4; }
block691drivers/scsi/sr.cstart = block % 4;
block713drivers/scsi/sr.cblock = block >> 2; /* These are the sectors that the cdrom uses */
block715drivers/scsi/sr.cblock = block & 0xfffffffc;
block721drivers/scsi/sr.cif (((realcount > 0xff) || (block > 0x1fffff)) && scsi_CDs[dev].ten) 
block730drivers/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
block731drivers/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
block732drivers/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
block733drivers/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
block746drivers/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
block747drivers/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
block748drivers/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
block756drivers/scsi/sr.cprintk("ReadCD: %d %d %d %d\n",block, realcount, buffer, this_count);
block374drivers/scsi/u14-34f.csh[j]->block = sh[j];
block87drivers/sound/opl3.cstatic void     freq_to_fnum (int freq, int *block, int *fnum);
block543drivers/sound/opl3.cint             block, fnum, freq, voice_mode;
block720drivers/sound/opl3.cfreq_to_fnum (freq, &block, &fnum);
block731drivers/sound/opl3.cdata = 0x20 | ((block & 0x7) << 2) | ((fnum >> 8) & 0x3);
block741drivers/sound/opl3.cfreq_to_fnum (int freq, int *block, int *fnum)
block779drivers/sound/opl3.c*block = octave;
block1005drivers/sound/opl3.cint             block, fnum, freq;
block1024drivers/sound/opl3.cfreq_to_fnum (freq, &block, &fnum);
block1031drivers/sound/opl3.cdata = 0x20 | ((block & 0x7) << 2) | ((fnum >> 8) & 0x3);  /*
block100drivers/sound/pss.cstatic int      pss_download_boot (unsigned char *block, int size);
block643drivers/sound/pss.cpss_download_boot (unsigned char *block, int size)
block658drivers/sound/pss.cpss_outpw (pss_base + PSS_DATA, *block++);
block688drivers/sound/pss.cpss_outpw (pss_base + PSS_DATA, *block++);
block23fs/block_dev.cint block, blocks;
block53fs/block_dev.cblock = filp->f_pos >> blocksize_bits;
block61fs/block_dev.cif (block >= size)
block69fs/block_dev.cbh = getblk(dev, block, blocksize);
block71fs/block_dev.cbh = breada(dev,block,block+1,block+2,-1);
block74fs/block_dev.cfor(i=0; i<blocks_per_cluster; i++) cluster_list[i] = block+i;
block75fs/block_dev.cif((block % blocks_per_cluster) == 0)
block77fs/block_dev.cbh = getblk(dev, block, blocksize);
block84fs/block_dev.cbh = bread(dev,block,blocksize);
block88fs/block_dev.cif (block + blocks > size) blocks = size - block;
block90fs/block_dev.cexcess = (block + blocks) % blocks_per_cluster;
block95fs/block_dev.cif(((i+block) % blocks_per_cluster) == 0) {
block96fs/block_dev.cfor(j=0; j<blocks_per_cluster; j++) cluster_list[j] = block+i+j;
block99fs/block_dev.cbhlist[i] = getblk (dev, block+i, blocksize);
block112fs/block_dev.cblock++;
block159fs/block_dev.cunsigned int block;
block204fs/block_dev.cblock = offset >> blocksize_bits;
block212fs/block_dev.cexcess = (block + blocks) % blocks_per_cluster;
block219fs/block_dev.cif (block + blocks > size)
block220fs/block_dev.cblocks = size - block;
block238fs/block_dev.cif((block % blocks_per_cluster) == 0) {
block239fs/block_dev.cfor(i=0; i<blocks_per_cluster; i++) cluster_list[i] = block+i;
block243fs/block_dev.c*bhb = getblk(dev, block++, blocksize);
block274fs/buffer.c#define _hashfn(dev,block) (((unsigned)(dev^block))%nr_hash)
block275fs/buffer.c#define hash(dev,block) hash_table[_hashfn(dev,block)]
block411fs/buffer.cstatic struct buffer_head * find_buffer(dev_t dev, int block, int size)
block415fs/buffer.cfor (tmp = hash(dev,block) ; tmp != NULL ; tmp = tmp->b_next)
block416fs/buffer.cif (tmp->b_dev==dev && tmp->b_blocknr==block)
block434fs/buffer.cstruct buffer_head * get_hash_table(dev_t dev, int block, int size)
block439fs/buffer.cif (!(bh=find_buffer(dev,block,size)))
block443fs/buffer.cif (bh->b_dev == dev && bh->b_blocknr == block && bh->b_size == size)
block687fs/buffer.cstruct buffer_head * getblk(dev_t dev, int block, int size)
block699fs/buffer.cbh = get_hash_table(dev, block, size);
block709fs/buffer.cif (find_buffer(dev,block,size))
block724fs/buffer.cbh->b_blocknr=block;
block799fs/buffer.cstruct buffer_head * bread(dev_t dev, int block, int size)
block803fs/buffer.cif (!(bh = getblk(dev, block, size))) {
block826fs/buffer.cstruct buffer_head * breada(dev_t dev, int block, int bufsize,
block838fs/buffer.cif (block < 0 || !(bh = getblk(dev,block,bufsize)))
block856fs/buffer.cbh = getblk(dev,block+i,bufsize);
block1004fs/buffer.cint block;
block1014fs/buffer.cblock = *++b;
block1015fs/buffer.cif (!block)
block1017fs/buffer.cfirst = get_hash_table(dev, block, size);
block1046fs/buffer.cint block;
block1054fs/buffer.cblock = *(p++);
block1055fs/buffer.cif (!block)
block1057fs/buffer.cif (find_buffer(dev, block, size))
block1062fs/buffer.cblock = 0;
block1064fs/buffer.carr[block++] = bh;
block1085fs/buffer.cread_buffers(arr,block);
block1086fs/buffer.cwhile (block-- > 0)
block1087fs/buffer.cbrelse(arr[block]);
block1113fs/buffer.cint block;
block1115fs/buffer.cblock = b[0];
block1116fs/buffer.cif (!block)
block1118fs/buffer.cbh = get_hash_table(dev, block, size);
block1513fs/buffer.cstatic unsigned long try_to_generate_cluster(dev_t dev, int block, int size)
block1529fs/buffer.cnblock = block;
block1546fs/buffer.cbh->b_blocknr = block++;
block75fs/ext/file.cint block, blocks, offset;
block101fs/ext/file.cblock = offset >> BLOCK_SIZE_BITS;
block109fs/ext/file.cif (block + blocks > size)
block110fs/ext/file.cblocks = size - block;
block128fs/ext/file.c*bhb = ext_getblk(inode, block++, 0);
block40fs/ext/freelists.cvoid ext_free_block(struct super_block * sb, int block)
block50fs/ext/freelists.cif (block < sb->u.ext_sb.s_firstdatazone ||
block51fs/ext/freelists.cblock >= sb->u.ext_sb.s_nzones) {
block55fs/ext/freelists.cbh = get_hash_table(sb->s_dev, block, sb->s_blocksize);
block63fs/ext/freelists.cprintk("ext_free_block: block full, skipping to %d\n", block);
block68fs/ext/freelists.cblock, sb->s_blocksize)))
block73fs/ext/freelists.csb->u.ext_sb.s_firstfreeblocknumber = block;
block75fs/ext/freelists.cefb->free[efb->count++] = block;
block145fs/ext/freelists.cunsigned long count, block;
block153fs/ext/freelists.cblock = efb->next;
block154fs/ext/freelists.cwhile (block) {
block155fs/ext/freelists.cif (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
block157fs/ext/freelists.cblock = 0;
block161fs/ext/freelists.cblock = efb->next;
block180fs/ext/freelists.cunsigned long block;
block221fs/ext/freelists.cblock = 2 + (ino - 1) / EXT_INODES_PER_BLOCK;
block222fs/ext/freelists.cif (!(bh = bread(dev, block, sb->s_blocksize)))
block244fs/ext/freelists.cunsigned long block;
block270fs/ext/freelists.cblock = 2 + (((unsigned long) efi->next) - 1) / EXT_INODES_PER_BLOCK;
block276fs/ext/freelists.cbread(sb->s_dev, block, sb->s_blocksize)))
block305fs/ext/freelists.cunsigned long count, block, ino;
block321fs/ext/freelists.cblock = 2 + ((ino - 1) / EXT_INODES_PER_BLOCK);
block322fs/ext/freelists.cif (!(bh = bread (sb->s_dev, block, sb->s_blocksize))) {
block324fs/ext/freelists.cblock = 0;
block30fs/ext/fsync.cstatic int sync_block (struct inode * inode, unsigned long * block, int wait)
block35fs/ext/fsync.cif (!*block)
block37fs/ext/fsync.ctmp = *block;
block38fs/ext/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
block41fs/ext/fsync.cif (*block != tmp) {
block62fs/ext/inode.cint dev = s->s_dev,block;
block107fs/ext/inode.cblock = 2 + (s->u.ext_sb.s_firstfreeinodenumber - 1) / EXT_INODES_PER_BLOCK;
block108fs/ext/inode.cif (!(s->u.ext_sb.s_firstfreeinodeblock = bread(dev, block, BLOCK_SIZE))) {
block177fs/ext/inode.cint ext_bmap(struct inode * inode,int block)
block181fs/ext/inode.cif (block<0) {
block185fs/ext/inode.cif (block >= 9+256+256*256+256*256*256) {
block189fs/ext/inode.cif (block<9)
block190fs/ext/inode.creturn inode_bmap(inode,block);
block191fs/ext/inode.cblock -= 9;
block192fs/ext/inode.cif (block<256) {
block196fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
block198fs/ext/inode.cblock -= 256;
block199fs/ext/inode.cif (block<256*256) {
block203fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>8);
block206fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
block208fs/ext/inode.cblock -= 256*256;
block212fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>16);
block215fs/ext/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),(block>>8) & 255);
block218fs/ext/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 255);
block304fs/ext/inode.cstruct buffer_head * ext_getblk(struct inode * inode, int block, int create)
block308fs/ext/inode.cif (block<0) {
block312fs/ext/inode.cif (block >= 9+256+256*256+256*256*256) {
block316fs/ext/inode.cif (block<9)
block317fs/ext/inode.creturn inode_getblk(inode,block,create);
block318fs/ext/inode.cblock -= 9;
block319fs/ext/inode.cif (block<256) {
block321fs/ext/inode.creturn block_getblk(inode,bh,block,create);
block323fs/ext/inode.cblock -= 256;
block324fs/ext/inode.cif (block<256*256) {
block326fs/ext/inode.cbh = block_getblk(inode,bh,block>>8,create);
block327fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
block329fs/ext/inode.cblock -= 256*256;
block331fs/ext/inode.cbh = block_getblk(inode,bh,block>>16,create);
block332fs/ext/inode.cbh = block_getblk(inode,bh,(block>>8) & 255,create);
block333fs/ext/inode.creturn block_getblk(inode,bh,block & 255,create);
block336fs/ext/inode.cstruct buffer_head * ext_bread(struct inode * inode, int block, int create)
block340fs/ext/inode.cbh = ext_getblk(inode,block,create);
block355fs/ext/inode.cint block;
block357fs/ext/inode.cblock = 2 + (inode->i_ino-1)/EXT_INODES_PER_BLOCK;
block358fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
block371fs/ext/inode.celse for (block = 0; block < 12; block++)
block372fs/ext/inode.cinode->u.ext_i.i_data[block] = raw_inode->i_zone[block];
block393fs/ext/inode.cint block;
block395fs/ext/inode.cblock = 2 + (inode->i_ino-1)/EXT_INODES_PER_BLOCK;
block396fs/ext/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE)))
block408fs/ext/inode.celse for (block = 0; block < 12; block++)
block409fs/ext/inode.craw_inode->i_zone[block] = inode->u.ext_i.i_data[block];
block167fs/ext2/balloc.cvoid ext2_free_blocks (struct super_block * sb, unsigned long block,
block185fs/ext2/balloc.cif (block < es->s_first_data_block || 
block186fs/ext2/balloc.c(block + count) > es->s_blocks_count) {
block189fs/ext2/balloc.c"block = %lu, count = %lu", block, count);
block194fs/ext2/balloc.cext2_debug ("freeing block %lu\n", block);
block196fs/ext2/balloc.cblock_group = (block - es->s_first_data_block) /
block198fs/ext2/balloc.cbit = (block - es->s_first_data_block) % EXT2_BLOCKS_PER_GROUP(sb);
block203fs/ext2/balloc.cblock, count);
block209fs/ext2/balloc.c(in_range (gdp->bg_block_bitmap, block, count) ||
block210fs/ext2/balloc.cin_range (gdp->bg_inode_bitmap, block, count) ||
block211fs/ext2/balloc.cin_range (block, gdp->bg_inode_table,
block213fs/ext2/balloc.cin_range (block + count - 1, gdp->bg_inode_table,
block218fs/ext2/balloc.cblock, count);
block224fs/ext2/balloc.cblock);
block511fs/ext2/balloc.cstatic inline int block_in_use (unsigned long block,
block515fs/ext2/balloc.creturn test_bit ((block - sb->u.ext2_sb.s_es->s_first_data_block) %
block83fs/ext2/file.cint block, blocks, offset;
block114fs/ext2/file.cblock = offset >> EXT2_BLOCK_SIZE_BITS(sb);
block122fs/ext2/file.cif (block + blocks > size)
block123fs/ext2/file.cblocks = size - block;
block146fs/ext2/file.cif(!clusterblocks) clusterblocks = ext2_getcluster(inode, block);
block150fs/ext2/file.c*bhb = ext2_getblk (inode, block++, 0, &err);
block30fs/ext2/fsync.cstatic int sync_block (struct inode * inode, unsigned long * block, int wait)
block35fs/ext2/fsync.cif (!*block)
block37fs/ext2/fsync.ctmp = *block;
block38fs/ext2/fsync.cbh = get_hash_table (inode->i_dev, *block, blocksize);
block41fs/ext2/fsync.cif (*block != tmp) {
block126fs/ext2/inode.cint ext2_bmap (struct inode * inode, int block)
block131fs/ext2/inode.cif (block < 0) {
block135fs/ext2/inode.cif (block >= EXT2_NDIR_BLOCKS + addr_per_block +
block141fs/ext2/inode.cif (block < EXT2_NDIR_BLOCKS)
block142fs/ext2/inode.creturn inode_bmap (inode, block);
block143fs/ext2/inode.cblock -= EXT2_NDIR_BLOCKS;
block144fs/ext2/inode.cif (block < addr_per_block) {
block149fs/ext2/inode.cinode->i_sb->s_blocksize), block);
block151fs/ext2/inode.cblock -= addr_per_block;
block152fs/ext2/inode.cif (block < addr_per_block * addr_per_block) {
block158fs/ext2/inode.cblock / addr_per_block);
block163fs/ext2/inode.cblock & (addr_per_block - 1));
block165fs/ext2/inode.cblock -= addr_per_block * addr_per_block;
block170fs/ext2/inode.cblock / (addr_per_block * addr_per_block));
block174fs/ext2/inode.c(block / addr_per_block) & (addr_per_block - 1));
block178fs/ext2/inode.cblock & (addr_per_block - 1));
block358fs/ext2/inode.cstruct buffer_head * ext2_getblk (struct inode * inode, long block,
block366fs/ext2/inode.cif (block < 0) {
block370fs/ext2/inode.cif (block > EXT2_NDIR_BLOCKS + addr_per_block  +
block382fs/ext2/inode.cext2_debug ("block %lu, next %lu, goal %lu.\n", block, 
block386fs/ext2/inode.cif (block == inode->u.ext2_i.i_next_alloc_block + 1) {
block392fs/ext2/inode.cb = block;
block393fs/ext2/inode.cif (block < EXT2_NDIR_BLOCKS)
block394fs/ext2/inode.creturn inode_getblk (inode, block, create, b, err);
block395fs/ext2/inode.cblock -= EXT2_NDIR_BLOCKS;
block396fs/ext2/inode.cif (block < addr_per_block) {
block398fs/ext2/inode.creturn block_getblk (inode, bh, block, create,
block401fs/ext2/inode.cblock -= addr_per_block;
block402fs/ext2/inode.cif (block < addr_per_block * addr_per_block) {
block404fs/ext2/inode.cbh = block_getblk (inode, bh, block / addr_per_block, create,
block406fs/ext2/inode.creturn block_getblk (inode, bh, block & (addr_per_block - 1),
block409fs/ext2/inode.cblock -= addr_per_block * addr_per_block;
block411fs/ext2/inode.cbh = block_getblk (inode, bh, block/(addr_per_block * addr_per_block),
block413fs/ext2/inode.cbh = block_getblk (inode, bh, (block/addr_per_block) & (addr_per_block - 1),
block415fs/ext2/inode.creturn block_getblk (inode, bh, block & (addr_per_block - 1), create,
block419fs/ext2/inode.cint ext2_getcluster (struct inode * inode, long block)
block428fs/ext2/inode.cif (block < 0) {
block432fs/ext2/inode.cif (block > EXT2_NDIR_BLOCKS + addr_per_block  +
block440fs/ext2/inode.cb = block;
block441fs/ext2/inode.cif (block < EXT2_NDIR_BLOCKS) return 0;
block443fs/ext2/inode.cblock -= EXT2_NDIR_BLOCKS;
block445fs/ext2/inode.cif (block < addr_per_block) {
block447fs/ext2/inode.creturn block_getcluster (inode, bh, block, 
block450fs/ext2/inode.cblock -= addr_per_block;
block451fs/ext2/inode.cif (block < addr_per_block * addr_per_block) {
block453fs/ext2/inode.cbh = block_getblk (inode, bh, block / addr_per_block, create,
block455fs/ext2/inode.creturn block_getcluster (inode, bh, block & (addr_per_block - 1),
block458fs/ext2/inode.cblock -= addr_per_block * addr_per_block;
block460fs/ext2/inode.cbh = block_getblk (inode, bh, block/(addr_per_block * addr_per_block),
block462fs/ext2/inode.cbh = block_getblk (inode, bh, (block/addr_per_block) & (addr_per_block - 1),
block464fs/ext2/inode.creturn block_getcluster (inode, bh, block & (addr_per_block - 1),
block468fs/ext2/inode.cstruct buffer_head * ext2_bread (struct inode * inode, int block, 
block473fs/ext2/inode.cbh = ext2_getblk (inode, block, create, err);
block492fs/ext2/inode.cunsigned long block;
block513fs/ext2/inode.cblock = gdp[desc].bg_inode_table +
block516fs/ext2/inode.cif (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize)))
block519fs/ext2/inode.c"inode=%lu, block=%lu", inode->i_ino, block);
block550fs/ext2/inode.celse for (block = 0; block < EXT2_N_BLOCKS; block++)
block551fs/ext2/inode.cinode->u.ext2_i.i_data[block] = raw_inode->i_block[block];
block584fs/ext2/inode.cunsigned long block;
block604fs/ext2/inode.cblock = gdp[desc].bg_inode_table +
block607fs/ext2/inode.cif (!(bh = bread (inode->i_dev, block, inode->i_sb->s_blocksize)))
block610fs/ext2/inode.c"inode=%lu, block=%lu", inode->i_ino, block);
block632fs/ext2/inode.celse for (block = 0; block < EXT2_N_BLOCKS; block++)
block633fs/ext2/inode.craw_inode->i_block[block] = inode->u.ext2_i.i_data[block];
block75fs/ext2/namei.cint block, toread, i, err;
block92fs/ext2/namei.cfor (block = 0; block < NAMEI_RA_SIZE; ++block) {
block95fs/ext2/namei.cif ((block << EXT2_BLOCK_SIZE_BITS (sb)) >= dir->i_size)
block97fs/ext2/namei.cbh = ext2_getblk (dir, block, 0, &err);
block98fs/ext2/namei.cbh_use[block] = bh;
block103fs/ext2/namei.cblock = 0;
block110fs/ext2/namei.cif ((block % NAMEI_RA_BLOCKS) == 0 && toread) {
block114fs/ext2/namei.cbh = bh_use[block % NAMEI_RA_SIZE];
block146fs/ext2/namei.cif (((block + NAMEI_RA_SIZE) << EXT2_BLOCK_SIZE_BITS (sb)) >=
block150fs/ext2/namei.cbh = ext2_getblk (dir, block + NAMEI_RA_SIZE, 0, &err);
block151fs/ext2/namei.cbh_use[block++ % NAMEI_RA_SIZE] = bh;
block348fs/ext2/super.cunsigned long block = sb->u.ext2_sb.s_es->s_first_data_block;
block357fs/ext2/super.cif (gdp->bg_block_bitmap < block ||
block358fs/ext2/super.cgdp->bg_block_bitmap >= block + EXT2_BLOCKS_PER_GROUP(sb))
block366fs/ext2/super.cif (gdp->bg_inode_bitmap < block ||
block367fs/ext2/super.cgdp->bg_inode_bitmap >= block + EXT2_BLOCKS_PER_GROUP(sb))
block375fs/ext2/super.cif (gdp->bg_inode_table < block ||
block377fs/ext2/super.cblock + EXT2_BLOCKS_PER_GROUP(sb))
block385fs/ext2/super.cblock += EXT2_BLOCKS_PER_GROUP(sb);
block871fs/hpfs/hpfs_fs.cchar *block;
block902fs/hpfs/hpfs_fs.cblock = map_sector(inode->i_dev, hpfs_bmap(inode, q), &bh);
block903fs/hpfs/hpfs_fs.cif (!block)
block911fs/hpfs/hpfs_fs.cinode->i_hpfs_conv = choose_conv(block + r, n);
block918fs/hpfs/hpfs_fs.cmemcpy_tofs(buf, block + r, n);
block925fs/hpfs/hpfs_fs.cn0 = convcpy_tofs(buf, block + r, n);
block332fs/inode.cint bmap(struct inode * inode, int block)
block335fs/inode.creturn inode->i_op->bmap(inode,block);
block19fs/ioctl.cint block;
block30fs/ioctl.cblock = get_fs_long((long *) arg);
block31fs/ioctl.cblock = filp->f_inode->i_op->bmap(filp->f_inode,block);
block32fs/ioctl.cput_fs_long(block,(long *) arg);
block68fs/isofs/dir.cunsigned int block,offset,i, j;
block84fs/isofs/dir.cblock = isofs_bmap(inode,filp->f_pos>>bufbits);
block86fs/isofs/dir.cif(!block) return 0;
block88fs/isofs/dir.cif(!(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size)))
block94fs/isofs/dir.cblock, offset, filp->f_pos);
block97fs/isofs/dir.cinode_number = (block << bufbits) + (offset & (bufsize - 1));
block108fs/isofs/dir.cblock = isofs_bmap(inode,(filp->f_pos)>>bufbits);
block109fs/isofs/dir.cif (!block
block110fs/isofs/dir.c|| !(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, 
block134fs/isofs/dir.cblock = isofs_bmap(inode,(filp->f_pos)>> bufbits);
block135fs/isofs/dir.cif (!block
block136fs/isofs/dir.c|| !(bh = breada(inode->i_dev, block, bufsize,
block96fs/isofs/file.cint block;
block101fs/isofs/file.cblock = isofs_bmap(inode,0);
block102fs/isofs/file.cif (block && (bh = bread(inode->i_dev,block, ISOFS_BUFFER_SIZE(inode)))) {
block122fs/isofs/file.cint block, blocks, offset, total_blocks;
block148fs/isofs/file.cblock = filp->f_pos >> ISOFS_BUFFER_BITS(inode);
block166fs/isofs/file.cif (block + blocks > total_blocks)
block167fs/isofs/file.cblocks = total_blocks - block;
block187fs/isofs/file.c*bhb = getblk(inode->i_dev,isofs_bmap(inode, block++), ISOFS_BUFFER_SIZE(inode));
block338fs/isofs/inode.cint isofs_bmap(struct inode * inode,int block)
block341fs/isofs/inode.cif (block<0) {
block345fs/isofs/inode.creturn (inode->u.isofs_i.i_first_extent >> ISOFS_BUFFER_BITS(inode)) + block;
block356fs/isofs/inode.cint block;
block359fs/isofs/inode.cblock = inode->i_ino >> ISOFS_BUFFER_BITS(inode);
block360fs/isofs/inode.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
block383fs/isofs/inode.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
block458fs/isofs/inode.cprintk("Get inode %d: %d %d: %d\n",inode->i_ino, block, 
block564fs/isofs/inode.cunsigned int block,offset;
block574fs/isofs/inode.cblock = extent << (ISOFS_BLOCK_BITS - bufbits);
block575fs/isofs/inode.cif (!(bh = bread(parent->i_dev, block, bufsize)))  return -1;
block611fs/isofs/inode.cblock = parent_dir << (ISOFS_BLOCK_BITS - bufbits);
block612fs/isofs/inode.cif (!block || !(bh = bread(parent->i_dev,block, bufsize)))
block618fs/isofs/inode.cinode_number = (block << bufbits)+(offset & (bufsize - 1));
block628fs/isofs/inode.cblock++;
block631fs/isofs/inode.cif((block & 1) && (ISOFS_BLOCK_BITS - bufbits))
block633fs/isofs/inode.cif (!block
block634fs/isofs/inode.c|| !(bh = bread(parent->i_dev,block, bufsize)))
block658fs/isofs/inode.cblock++;
block659fs/isofs/inode.cif(!(bh = bread(parent->i_dev,block,bufsize))) {
block710fs/isofs/inode.cstruct buffer_head * leak_check_bread(int dev, int block, int size){
block712fs/isofs/inode.creturn bread(dev, block, size);
block66fs/isofs/namei.cunsigned int block, i, f_pos, offset, inode_number;
block80fs/isofs/namei.cif (!(block = dir->u.isofs_i.i_first_extent)) return NULL;
block85fs/isofs/namei.cblock = isofs_bmap(dir,f_pos >> bufbits);
block87fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) return NULL;
block92fs/isofs/namei.cinode_number = (block << bufbits) + (offset & (bufsize - 1));
block102fs/isofs/namei.cblock = isofs_bmap(dir,f_pos>>bufbits);
block103fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize)))
block124fs/isofs/namei.cblock = isofs_bmap(dir,f_pos>>bufbits);
block125fs/isofs/namei.cif (!block || !(bh = bread(dir->i_dev,block,bufsize))) {
block56fs/isofs/rock.cint block, offset, offset1; \
block60fs/isofs/rock.cblock = cont_extent; \
block64fs/isofs/rock.cblock <<= 1;    \
block65fs/isofs/rock.cif (offset >= 1024) block++; \
block68fs/isofs/rock.cbh = bread(DEV->i_dev, block++, ISOFS_BUFFER_SIZE(DEV)); \
block79fs/isofs/rock.cbh = bread(DEV->i_dev, block, ISOFS_BUFFER_SIZE(DEV)); \
block401fs/isofs/rock.cint block;
block413fs/isofs/rock.cblock = inode->i_ino >> bufbits;
block414fs/isofs/rock.cif (!(bh=bread(inode->i_dev,block, bufsize))) {
block432fs/isofs/rock.cif (!(bh = bread(inode->i_dev,++block, bufsize))) {
block46fs/minix/bitmap.cvoid minix_free_block(struct super_block * sb, int block)
block55fs/minix/bitmap.cif (block < sb->u.minix_sb.s_firstdatazone ||
block56fs/minix/bitmap.cblock >= sb->u.minix_sb.s_nzones) {
block60fs/minix/bitmap.cbh = get_hash_table(sb->s_dev,block,BLOCK_SIZE);
block64fs/minix/bitmap.czone = block - sb->u.minix_sb.s_firstdatazone + 1;
block73fs/minix/bitmap.cprintk("free_block (%04x:%d): bit already cleared\n",sb->s_dev,block);
block69fs/minix/file.cint block, blocks, offset;
block95fs/minix/file.cblock = offset >> BLOCK_SIZE_BITS;
block103fs/minix/file.cif (block + blocks > size)
block104fs/minix/file.cblocks = size - block;
block122fs/minix/file.c*bhb = minix_getblk(inode, block++, 0);
block27fs/minix/fsync.cstatic int sync_block (struct inode * inode, unsigned short * block, int wait)
block32fs/minix/fsync.cif (!*block)
block34fs/minix/fsync.ctmp = *block;
block35fs/minix/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
block38fs/minix/fsync.cif (*block != tmp) {
block120fs/minix/inode.cint i,dev=s->s_dev,block;
block164fs/minix/inode.cblock=2;
block166fs/minix/inode.cif ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
block167fs/minix/inode.cblock++;
block171fs/minix/inode.cif ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL)
block172fs/minix/inode.cblock++;
block175fs/minix/inode.cif (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) {
block244fs/minix/inode.cint minix_bmap(struct inode * inode,int block)
block248fs/minix/inode.cif (block<0) {
block252fs/minix/inode.cif (block >= 7+512+512*512) {
block256fs/minix/inode.cif (block < 7)
block257fs/minix/inode.creturn inode_bmap(inode,block);
block258fs/minix/inode.cblock -= 7;
block259fs/minix/inode.cif (block < 512) {
block263fs/minix/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block);
block265fs/minix/inode.cblock -= 512;
block269fs/minix/inode.ci = block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block>>9);
block272fs/minix/inode.creturn block_bmap(bread(inode->i_dev,i,BLOCK_SIZE),block & 511);
block358fs/minix/inode.cstruct buffer_head * minix_getblk(struct inode * inode, int block, int create)
block362fs/minix/inode.cif (block<0) {
block366fs/minix/inode.cif (block >= 7+512+512*512) {
block370fs/minix/inode.cif (block < 7)
block371fs/minix/inode.creturn inode_getblk(inode,block,create);
block372fs/minix/inode.cblock -= 7;
block373fs/minix/inode.cif (block < 512) {
block375fs/minix/inode.creturn block_getblk(inode, bh, block, create);
block377fs/minix/inode.cblock -= 512;
block379fs/minix/inode.cbh = block_getblk(inode, bh, block>>9, create);
block380fs/minix/inode.creturn block_getblk(inode, bh, block & 511, create);
block383fs/minix/inode.cstruct buffer_head * minix_bread(struct inode * inode, int block, int create)
block387fs/minix/inode.cbh = minix_getblk(inode,block,create);
block402fs/minix/inode.cint block, ino;
block412fs/minix/inode.cblock = 2 + inode->i_sb->u.minix_sb.s_imap_blocks +
block415fs/minix/inode.cif (!(bh=bread(inode->i_dev,block, BLOCK_SIZE))) {
block431fs/minix/inode.celse for (block = 0; block < 9; block++)
block432fs/minix/inode.cinode->u.minix_i.i_data[block] = raw_inode->i_zone[block];
block452fs/minix/inode.cint ino, block;
block461fs/minix/inode.cblock = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + inode->i_sb->u.minix_sb.s_zmap_blocks +
block463fs/minix/inode.cif (!(bh=bread(inode->i_dev, block, BLOCK_SIZE))) {
block478fs/minix/inode.celse for (block = 0; block < 9; block++)
block479fs/minix/inode.craw_inode->i_zone[block] = inode->u.minix_i.i_data[block];
block67fs/minix/namei.cunsigned long block, offset;
block83fs/minix/namei.cblock = offset = 0;
block84fs/minix/namei.cwhile (block*BLOCK_SIZE+offset < dir->i_size) {
block86fs/minix/namei.cbh = minix_bread(dir,block,0);
block88fs/minix/namei.cblock++;
block100fs/minix/namei.cblock++;
block151fs/minix/namei.cunsigned long block, offset;
block171fs/minix/namei.cblock = offset = 0;
block174fs/minix/namei.cbh = minix_bread(dir,block,1);
block180fs/minix/namei.cif (block*bh->b_size + offset > dir->i_size) {
block182fs/minix/namei.cdir->i_size = block*bh->b_size + offset;
block204fs/minix/namei.cblock++;
block375fs/minix/namei.cunsigned int block, offset;
block383fs/minix/namei.cblock = 0;
block399fs/minix/namei.cwhile (block*BLOCK_SIZE+offset < inode->i_size) {
block401fs/minix/namei.cbh = minix_bread(inode,block,0);
block403fs/minix/namei.cblock++;
block418fs/minix/namei.cblock++;
block9fs/msdos/buffer.cint block)
block13fs/msdos/buffer.cret = bread (sb->s_dev,block,512);
block15fs/msdos/buffer.cstruct buffer_head *real = bread (sb->s_dev,block>>1,1024);
block51fs/msdos/buffer.cif (block & 1) ret->b_data += 512;
block62fs/msdos/buffer.cint block)
block66fs/msdos/buffer.cret = getblk (sb->s_dev,block,512);
block74fs/msdos/buffer.cret = msdos_bread (sb,block);
block334fs/msdos/inode.cint msdos_bmap(struct inode *inode,int block)
block341fs/msdos/inode.creturn sb->dir_start + block;
block343fs/msdos/inode.ccluster = block/sb->cluster_size;
block344fs/msdos/inode.coffset = block % sb->cluster_size;
block2fs/msdos/msbuffer.hstruct buffer_head *msdos_bread (struct super_block *sb, int block);
block3fs/msdos/msbuffer.hstruct buffer_head *msdos_getblk (struct super_block *sb, int block);
block32fs/sysv/balloc.cvoid sysv_free_block(struct super_block * sb, unsigned int block)
block41fs/sysv/balloc.cif (block < sb->sv_firstdatazone || block >= sb->sv_nzones) {
block58fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
block95fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
block109fs/sysv/balloc.cbh = sv_get_hash_table(sb, sb->s_dev, block);
block115fs/sysv/balloc.cblock = to_coh_ulong(block);
block116fs/sysv/balloc.csb->sv_sb_flc_blocks[(*sb->sv_sb_flc_count)++] = block;
block130fs/sysv/balloc.cunsigned int block;
block143fs/sysv/balloc.cblock = sb->sv_sb_flc_blocks[(*sb->sv_sb_flc_count)-1];
block145fs/sysv/balloc.cblock = from_coh_ulong(block);
block146fs/sysv/balloc.cif (block == 0) { /* Applies only to Xenix FS, SystemV FS */
block151fs/sysv/balloc.cif (block < sb->sv_firstdatazone || block >= sb->sv_nzones) {
block152fs/sysv/balloc.cprintk("sysv_new_block: new block %d is not in data zone\n",block);
block160fs/sysv/balloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
block198fs/sysv/balloc.cbh = sv_getblk(sb, sb->s_dev, block);
block222fs/sysv/balloc.creturn block;
block229fs/sysv/balloc.cunsigned int block;
block239fs/sysv/balloc.cblock = sb->sv_sb_flc_blocks[--i];
block241fs/sysv/balloc.cblock = from_coh_ulong(block);
block242fs/sysv/balloc.cif (block == 0) /* block 0 terminates list */
block253fs/sysv/balloc.cif (block < sb->sv_firstdatazone || block >= sb->sv_nzones) {
block254fs/sysv/balloc.cprintk("sysv_count_free_blocks: new block %d is not in data zone\n",block);
block257fs/sysv/balloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
block291fs/sysv/balloc.cblock = flc_blocks[--i];
block293fs/sysv/balloc.cblock = from_coh_ulong(block);
block294fs/sysv/balloc.cif (block == 0) /* block 0 terminates list */
block302fs/sysv/balloc.cif (block == 0) /* Applies only to Xenix FS and SystemV FS */
block76fs/sysv/file.cunsigned int block;
block103fs/sysv/file.cblock = offset >> sb->sv_block_size_bits;
block110fs/sysv/file.cif (block + blocks > size)
block111fs/sysv/file.cblocks = size - block;
block130fs/sysv/file.c*bhb = sysv_getblk(inode, block++, 0);
block32fs/sysv/fsync.cunsigned long tmp, block;
block35fs/sysv/fsync.cblock = tmp = *blockp;
block37fs/sysv/fsync.cblock = from_coh_ulong(block);
block38fs/sysv/fsync.cif (!block)
block41fs/sysv/fsync.cbh = sv_get_hash_table(sb, inode->i_dev, block);
block66fs/sysv/fsync.cunsigned long tmp, block;
block69fs/sysv/fsync.cblock = tmp = *iblockp;
block71fs/sysv/fsync.cblock = from_coh_ulong(block);
block72fs/sysv/fsync.cif (!block)
block77fs/sysv/fsync.c*bh = sv_bread(inode->i_sb, inode->i_dev, block);
block108fs/sysv/ialloc.cint i,j,ino,block;
block126fs/sysv/ialloc.cfor (i = 0, ino = SYSV_ROOT_INO+1, block = sb->sv_firstinodezone, j = SYSV_ROOT_INO ; i < sb->sv_fic_size && block < sb->sv_firstdatazone ; block++, j = 0) {
block127fs/sysv/ialloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
block181fs/sysv/ialloc.cint j,block,count;
block192fs/sysv/ialloc.cfor (block = sb->sv_firstinodezone, j = SYSV_ROOT_INO ; block < sb->sv_firstdatazone ; block++, j = 0) {
block193fs/sysv/ialloc.cif (!(bh = sv_bread(sb, sb->s_dev, block))) {
block574fs/sysv/inode.cunsigned int block = block_nr;
block580fs/sysv/inode.cif (block < 10)
block581fs/sysv/inode.creturn inode_bmap(sb,inode,block);
block582fs/sysv/inode.cblock -= 10;
block584fs/sysv/inode.cif (block < sb->sv_ind_per_block) {
block589fs/sysv/inode.creturn block_bmap(sb, bh, block, convert);
block591fs/sysv/inode.cblock -= sb->sv_ind_per_block;
block592fs/sysv/inode.cif (block < sb->sv_ind_per_block_2) {
block597fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_bits, convert);
block601fs/sysv/inode.creturn block_bmap(sb, bh, block & sb->sv_ind_per_block_1, convert);
block603fs/sysv/inode.cblock -= sb->sv_ind_per_block_2;
block604fs/sysv/inode.cif (block < sb->sv_ind_per_block_3) {
block609fs/sysv/inode.ci = block_bmap(sb, bh, block >> sb->sv_ind_per_block_2_bits, convert);
block613fs/sysv/inode.ci = block_bmap(sb, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1,convert);
block617fs/sysv/inode.creturn block_bmap(sb, bh, block & sb->sv_ind_per_block_1, convert);
block619fs/sysv/inode.cif ((int)block<0) {
block671fs/sysv/inode.cunsigned long tmp, block;
block688fs/sysv/inode.cblock = tmp = *p;
block690fs/sysv/inode.cblock = from_coh_ulong(block);
block692fs/sysv/inode.cresult = sv_getblk(sb, bh->b_dev, block);
block704fs/sysv/inode.cblock = sysv_new_block(sb);
block705fs/sysv/inode.cif (!block) {
block709fs/sysv/inode.cresult = sv_getblk(sb, bh->b_dev, block);
block711fs/sysv/inode.csysv_free_block(sb,block);
block715fs/sysv/inode.c*p = (sb->sv_convert ? to_coh_ulong(block) : block);
block721fs/sysv/inode.cstruct buffer_head * sysv_getblk(struct inode * inode, unsigned int block, int create)
block726fs/sysv/inode.cif (block < 10)
block727fs/sysv/inode.creturn inode_getblk(inode,block,create);
block728fs/sysv/inode.cblock -= 10;
block729fs/sysv/inode.cif (block < sb->sv_ind_per_block) {
block731fs/sysv/inode.creturn block_getblk(inode, bh, block, create);
block733fs/sysv/inode.cblock -= sb->sv_ind_per_block;
block734fs/sysv/inode.cif (block < sb->sv_ind_per_block_2) {
block736fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_bits, create);
block737fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create);
block739fs/sysv/inode.cblock -= sb->sv_ind_per_block_2;
block740fs/sysv/inode.cif (block < sb->sv_ind_per_block_3) {
block742fs/sysv/inode.cbh = block_getblk(inode, bh, block >> sb->sv_ind_per_block_2_bits, create);
block743fs/sysv/inode.cbh = block_getblk(inode, bh, (block >> sb->sv_ind_per_block_bits) & sb->sv_ind_per_block_1, create);
block744fs/sysv/inode.creturn block_getblk(inode, bh, block & sb->sv_ind_per_block_1, create);
block746fs/sysv/inode.cif ((int)block<0) {
block754fs/sysv/inode.cstruct buffer_head * sysv_file_bread(struct inode * inode, int block, int create)
block758fs/sysv/inode.cbh = sysv_getblk(inode,block,create);
block799fs/sysv/inode.cunsigned int block, ino;
block810fs/sysv/inode.cblock = sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits);
block811fs/sysv/inode.cif (!(bh = sv_bread(sb,inode->i_dev,block))) {
block841fs/sysv/inode.cfor (block = 0; block < 10+1+1+1; block++)
block842fs/sysv/inode.cinode->u.sysv_i.i_data[block] =
block843fs/sysv/inode.ccoh_read3byte(&raw_inode->i_a.i_addb[3*block]);
block845fs/sysv/inode.cfor (block = 0; block < 10+1+1+1; block++)
block846fs/sysv/inode.cinode->u.sysv_i.i_data[block] =
block847fs/sysv/inode.cread3byte(&raw_inode->i_a.i_addb[3*block]);
block886fs/sysv/inode.cunsigned int ino, block;
block896fs/sysv/inode.cblock = sb->sv_firstinodezone + ((ino-1) >> sb->sv_inodes_per_block_bits);
block897fs/sysv/inode.cif (!(bh = sv_bread(sb,inode->i_dev,block))) {
block925fs/sysv/inode.cfor (block = 0; block < 10+1+1+1; block++)
block926fs/sysv/inode.ccoh_write3byte(&raw_inode->i_a.i_addb[3*block],inode->u.sysv_i.i_data[block]);
block928fs/sysv/inode.cfor (block = 0; block < 10+1+1+1; block++)
block929fs/sysv/inode.cwrite3byte(&raw_inode->i_a.i_addb[3*block],inode->u.sysv_i.i_data[block]);
block64fs/sysv/namei.cunsigned long pos, block, offset; /* pos = block * block_size + offset */
block77fs/sysv/namei.cpos = block = offset = 0;
block80fs/sysv/namei.cbh = sysv_file_bread(dir,block,0);
block82fs/sysv/namei.c/* offset = 0; */ block++;
block96fs/sysv/namei.coffset = 0; block++;
block148fs/sysv/namei.cunsigned long pos, block, offset; /* pos = block * block_size + offset */
block165fs/sysv/namei.cpos = block = offset = 0;
block168fs/sysv/namei.cbh = sysv_file_bread(dir,block,1);
block197fs/sysv/namei.coffset = 0; block++;
block367fs/sysv/namei.cunsigned long pos, block, offset; /* pos = block * block_size + offset */
block373fs/sysv/namei.cblock = 0;
block392fs/sysv/namei.cbh = sysv_file_bread(inode,block,0);
block394fs/sysv/namei.c/* offset = 0; */ block++;
block410fs/sysv/namei.coffset = 0; block++;
block45fs/sysv/truncate.cunsigned long block;
block53fs/sysv/truncate.cblock = *p;
block54fs/sysv/truncate.cif (!block)
block56fs/sysv/truncate.cbh = sv_get_hash_table(sb, inode->i_dev, block);
block61fs/sysv/truncate.cif ((bh && bh->b_count != 1) || (block != *p)) {
block69fs/sysv/truncate.csysv_free_block(sb,block);
block81fs/sysv/truncate.cunsigned long tmp, block;
block108fs/sysv/truncate.cblock = tmp = *ind;
block110fs/sysv/truncate.cblock = from_coh_ulong(block);
block111fs/sysv/truncate.cif (!block)
block113fs/sysv/truncate.cbh = sv_get_hash_table(sb, inode->i_dev, block);
block126fs/sysv/truncate.csysv_free_block(sb,block);
block150fs/sysv/truncate.cunsigned long tmp, block;
block175fs/sysv/truncate.cblock = tmp = *ind;
block177fs/sysv/truncate.cblock = from_coh_ulong(block);
block178fs/sysv/truncate.cif (!block)
block204fs/sysv/truncate.cunsigned long tmp, block;
block229fs/sysv/truncate.cblock = tmp = *ind;
block231fs/sysv/truncate.cblock = from_coh_ulong(block);
block232fs/sysv/truncate.cif (!block)
block29fs/xiafs/fsync.cstatic int sync_block (struct inode * inode, unsigned long * block, int wait)
block34fs/xiafs/fsync.cif (!*block)
block36fs/xiafs/fsync.ctmp = *block;
block37fs/xiafs/fsync.cbh = get_hash_table(inode->i_dev, *block, blocksize);
block40fs/xiafs/fsync.cif (*block != tmp) {
block445include/linux/ext2_fs.hextern int ext2_getcluster (struct inode * inode, long block);
block82include/linux/ext_fs.hextern void ext_free_block(struct super_block * sb, int block);
block466include/linux/fs.hextern int bmap(struct inode * inode,int block);
block483include/linux/fs.hextern struct buffer_head * get_hash_table(dev_t dev, int block, int size);
block484include/linux/fs.hextern struct buffer_head * getblk(dev_t dev, int block, int size);
block491include/linux/fs.hextern struct buffer_head * bread(dev_t dev, int block, int size);
block493include/linux/fs.hextern struct buffer_head * breada(dev_t dev,int block, int size, 
block173include/linux/iso_fs.hextern int isofs_free_block(int dev, int block);
block201include/linux/iso_fs.hextern struct buffer_head * leak_check_bread(int dev, int block, int size);
block97include/linux/minix_fs.hextern void minix_free_block(struct super_block * sb, int block);
block164include/linux/msdos_fs.hextern int msdos_bmap(struct inode *inode,int block);
block340include/linux/sysv_fs.hsv_get_hash_table (struct super_block *sb, int dev, unsigned int block)
block342include/linux/sysv_fs.hreturn get_hash_table (dev, block + sb->sv_block_base, sb->sv_block_size);
block347include/linux/sysv_fs.hsv_getblk (struct super_block *sb, int dev, unsigned int block)
block349include/linux/sysv_fs.hreturn getblk (dev, block + sb->sv_block_base, sb->sv_block_size);
block354include/linux/sysv_fs.hsv_bread (struct super_block *sb, int dev, unsigned int block)
block356include/linux/sysv_fs.hreturn bread (dev, block + sb->sv_block_base, sb->sv_block_size);
block381include/linux/sysv_fs.hextern void sysv_free_block(struct super_block * sb, unsigned int block);
block118include/linux/xd.hstatic int xd_readwrite (u_char operation,u_char drive,char *buffer,u_int block,u_int count);
block85include/linux/xia_fs.hextern void xiafs_free_zone(struct super_block * sb, int block);
block34mm/filemap.cunsigned int block;
block39mm/filemap.cblock = address - area->vm_start + area->vm_offset;
block40mm/filemap.cblock >>= inode->i_sb->s_blocksize_bits;
block44mm/filemap.c*p = bmap(inode,block);
block46mm/filemap.cblock++;
block158mm/swap.cunsigned int block = offset << 3;
block161mm/swap.cif (!(zones[i] = swapf->i_op->smap(swapf,block++))) {
block168mm/swap.cunsigned int block = offset
block172mm/swap.cif (!(zones[i] = bmap(swapf,block++))) {