• Home
  • Raw
  • Download

Lines Matching refs:block

30 uint32_t udf_get_pblock(struct super_block *sb, uint32_t block,  in udf_get_pblock()  argument
37 "invalid partition\n", block, partition, offset); in udf_get_pblock()
42 return map->s_partition_func(sb, block, partition, offset); in udf_get_pblock()
44 return map->s_partition_root + block + offset; in udf_get_pblock()
47 uint32_t udf_get_pblock_virt15(struct super_block *sb, uint32_t block, in udf_get_pblock_virt15() argument
62 if (block > vdata->s_num_entries) { in udf_get_pblock_virt15()
64 "(%d max %d)\n", block, vdata->s_num_entries); in udf_get_pblock_virt15()
70 vdata->s_start_offset))[block]); in udf_get_pblock_virt15()
74 if (block >= index) { in udf_get_pblock_virt15()
75 block -= index; in udf_get_pblock_virt15()
76 newblock = 1 + (block / (sb->s_blocksize / sizeof(uint32_t))); in udf_get_pblock_virt15()
77 index = block % (sb->s_blocksize / sizeof(uint32_t)); in udf_get_pblock_virt15()
80 index = vdata->s_start_offset / sizeof(uint32_t) + block; in udf_get_pblock_virt15()
88 sb, block, partition, loc, index); in udf_get_pblock_virt15()
107 inline uint32_t udf_get_pblock_virt20(struct super_block *sb, uint32_t block, in udf_get_pblock_virt20() argument
110 return udf_get_pblock_virt15(sb, block, partition, offset); in udf_get_pblock_virt20()
113 uint32_t udf_get_pblock_spar15(struct super_block *sb, uint32_t block, in udf_get_pblock_spar15() argument
125 packet = (block + offset) & ~(sdata->s_packet_len - 1); in udf_get_pblock_spar15()
143 ((block + offset) & in udf_get_pblock_spar15()
150 return map->s_partition_root + block + offset; in udf_get_pblock_spar15()
271 static uint32_t udf_try_read_meta(struct inode *inode, uint32_t block, in udf_try_read_meta() argument
282 if (inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset) != in udf_try_read_meta()
296 uint32_t udf_get_pblock_meta25(struct super_block *sb, uint32_t block, in udf_get_pblock_meta25() argument
313 retblk = udf_try_read_meta(inode, block, partition, offset); in udf_get_pblock_meta25()
320 retblk = udf_try_read_meta(inode, block, partition, offset); in udf_get_pblock_meta25()