Lines Matching refs:block

6  *  Super block routines for the OSTA-UDF(tm) filesystem.
441 * bs= Set the block size.
461 * lastblock= Set the last block of the filesystem/
465 * fileset= Override the fileset block location. (unused)
770 /* Read a block */
849 udf_debug("Rootdir at block=%u, partition=%u\n",
874 udf_debug("Fileset at block=%u, partition=%u\n",
889 static int udf_load_pvoldesc(struct super_block *sb, sector_t block)
902 bh = udf_read_tagged(sb, block, block, &ident);
986 udf_debug("Metadata file location: block = %u part = %u\n",
993 udf_debug("Mirror metadata file location: block = %u part = %u\n",
1017 udf_debug("Bitmap file location: block = %u part = %u\n",
1129 udf_debug("Partition (%d type %x) starts at physical %u, block length %u\n",
1191 * VAT file entry is in the last recorded block. Some broken disks have
1219 pr_notice("Failed to read VAT inode from the last recorded block (%lu), retrying with the last block of the device (%lu).\n",
1260 * Load partition descriptor block
1265 static int udf_load_partdesc(struct super_block *sb, sector_t block)
1276 bh = udf_read_tagged(sb, block, block, &ident);
1417 static int udf_load_logicalvol(struct super_block *sb, sector_t block,
1430 bh = udf_read_tagged(sb, block, block, &ident);
1550 udf_debug("FileSet found in LogicalVolDesc at block=%u, partition=%u\n",
1708 * @block First block of first extent of the sequence.
1717 sector_t block, sector_t lastblock,
1745 for (; (!done && block <= lastblock); block++) {
1746 bh = udf_read_tagged(sb, block, block, &ident);
1765 block = le32_to_cpu(vdp->nextVolDescSeqExt.extLocation);
1769 lastblock += block - 1;
1770 /* For loop is going to increment 'block' again */
1771 block--;
1789 curr->block = block;
1802 if (!data.vds[VDS_POS_PRIMARY_VOL_DESC].block) {
1807 ret = udf_load_pvoldesc(sb, data.vds[VDS_POS_PRIMARY_VOL_DESC].block);
1811 if (data.vds[VDS_POS_LOGICAL_VOL_DESC].block) {
1813 data.vds[VDS_POS_LOGICAL_VOL_DESC].block,
1821 ret = udf_load_partdesc(sb, data.part_descs_loc[i].rec.block);
1874 * Check whether there is an anchor block in the given block and
1878 * block
1880 static int udf_check_anchor_block(struct super_block *sb, sector_t block,
1887 bh = udf_read_tagged(sb, block, block, &ident);
1922 * block 256
1931 * The trouble is which block is the last one. Drives often misreport
1964 /* Finally try block 512 in case media is open */
1969 * Check Volume Structure Descriptor, find Anchor block and load Volume
1973 * block was not found.
1984 udf_warn(sb, "Bad block size\n");
2006 /* Look for anchor block and load Volume Descriptor Sequence */
2275 /* assign inodes by physical block number */
2279 udf_err(sb, "Error in udf_iget, block=%u, partition=%u\n",
2396 * Let's pretend each free block is also a free 'inode' since UDF does
2415 udf_pblk_t block = 0, newblock;
2437 index = sizeof(struct spaceBitmapDesc); /* offset in first block only */
2447 newblock = udf_get_lb_pblock(sb, &loc, ++block);
2471 epos.block = UDF_I(table)->i_location;