Lines Matching defs:block
41 /* NOTE NOTE NOTE: nr is a block number _as_ _stored_ _on_ _disk_ */
49 unsigned block = fs32_to_cpu(sbi, nr);
59 if (block < sbi->s_firstdatazone || block >= sbi->s_nzones) {
60 printk("sysv_free_block: trying to free block not in datazone\n");
72 /* If the free list head in super-block is full, it is copied
73 * into this block being freed, ditto if it's completely empty
77 block += sbi->s_block_base;
78 bh = sb_getblk(sb, block);
103 unsigned int block;
117 block = fs32_to_cpu(sbi, nr);
121 if (block < sbi->s_firstdatazone || block >= sbi->s_nzones) {
122 printk("sysv_new_block: new block %d is not in data zone\n",
123 block);
127 if (count == 0) { /* the last block continues the free list */
130 block += sbi->s_block_base;
131 if (!(bh = sb_bread(sb, block))) {
132 printk("sysv_new_block: cannot read free-list block\n");
133 /* retry this same block next time */
139 printk("sysv_new_block: free-list block with >flc_size entries\n");
166 unsigned block;
172 * lie and say it has no free block at all.
197 block = fs32_to_cpu(sbi, zone);
201 if (block < sbi->s_firstdatazone || block >= sbi->s_nzones)
203 block += sbi->s_block_base;
204 bh = sb_bread(sb, block);
219 printk("sysv_count_free_blocks: new block %d is not in data zone\n",
220 block);
223 printk("sysv_count_free_blocks: cannot read free-list block\n");
226 printk("sysv_count_free_blocks: >flc_size entries in free-list block\n");
233 printk("sysv_count_free_blocks: free block count was %d, "