Home
last modified time | relevance | path

Searched refs:max_block (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/fs/hfs/
Dbitmap.c49 hfs_u16 max_block; /* index of last bitmap block */ in hfs_vbm_count_free() local
59 max_block = (mdb->fs_ablocks + HFS_BM_BPB - 1) / HFS_BM_BPB - 1; in hfs_vbm_count_free()
62 while (block_nr <= max_block) { in hfs_vbm_count_free()
63 if (block_nr != max_block) { in hfs_vbm_count_free()
125 hfs_u16 max_block; /* upper limit of outer loop */ in hfs_vbm_search_free() local
140 max_block = (mdb->fs_ablocks+HFS_BM_BPB-1) / HFS_BM_BPB - 1; in hfs_vbm_search_free()
143 for (block_nr = 0; block_nr <= max_block; block_nr++) { in hfs_vbm_search_free()
146 if (block_nr != max_block) { in hfs_vbm_search_free()
/linux-2.4.37.9/drivers/scsi/
Dst.h120 int max_block; member
Dst.c797 STp->min_block = STp->max_block = (-1); in check_tape()
810 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape()
817 STp->min_block, STp->max_block); in check_tape()
819 STp->min_block = STp->max_block = (-1); in check_tape()
1294 if (STp->max_block > 0 && in st_write()
1295 (count < STp->min_block || count > STp->max_block)) { in st_write()
1798 if (STp->max_block > 0 && in st_read()
1799 (count < STp->min_block || count > STp->max_block)) { in st_read()
2570 STp->max_block > 0 && in st_int_ioctl()
2572 (arg & MT_ST_BLKSIZE_MASK) > STp->max_block)) { in st_int_ioctl()
Dosst.h584 int max_block; member
Dosst.c5687 tpnt->max_block = OS_DATA_SIZE; in osst_attach()
/linux-2.4.37.9/fs/befs/
Ddatastream.c253 befs_blocknr_t max_block = in befs_find_brun_direct() local
258 if (blockno > max_block) { in befs_find_brun_direct()
/linux-2.4.37.9/fs/
Dblock_dev.c25 static unsigned long max_block(kdev_t dev) in max_block() function
125 if (iblock >= max_block(inode->i_rdev)) in blkdev_get_block()
/linux-2.4.37.9/fs/reiserfs/
Djournal.c1615 unsigned int max_block) in reiserfs_breada() argument
1626 if (block + BUFNR > max_block) { in reiserfs_breada()
1627 blocks = max_block - block; in reiserfs_breada()