tag | line | file | source code |
blocks | 633 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
blocks | 635 | drivers/scsi/fdomain.c | blocks = (buf[0] << 24) | (buf[1] << 16) |
blocks | 638 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
blocks | 85 | fs/block_dev.c | unsigned int blocks; |
blocks | 124 | fs/block_dev.c | blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
blocks | 127 | fs/block_dev.c | blocks += read_ahead[MAJOR(dev)] / (blocksize >> 9); |
blocks | 128 | fs/block_dev.c | if (block + blocks > size) |
blocks | 129 | fs/block_dev.c | blocks = size - block; |
blocks | 145 | fs/block_dev.c | while (blocks) { |
blocks | 146 | fs/block_dev.c | --blocks; |
blocks | 75 | fs/ext/file.c | int block, blocks, offset; |
blocks | 104 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
blocks | 107 | fs/ext/file.c | blocks += read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9); |
blocks | 108 | fs/ext/file.c | if (block + blocks > size) |
blocks | 109 | fs/ext/file.c | blocks = size - block; |
blocks | 125 | fs/ext/file.c | while (blocks) { |
blocks | 126 | fs/ext/file.c | --blocks; |
blocks | 79 | fs/ext2/file.c | int block, blocks, offset; |
blocks | 112 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
blocks | 115 | fs/ext2/file.c | blocks += read_ahead[MAJOR(inode->i_dev)] >> |
blocks | 117 | fs/ext2/file.c | if (block + blocks > size) |
blocks | 118 | fs/ext2/file.c | blocks = size - block; |
blocks | 136 | fs/ext2/file.c | while (blocks) { |
blocks | 137 | fs/ext2/file.c | --blocks; |
blocks | 194 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 245 | fs/ext2/inode.c | inode->i_blocks += blocks; |
blocks | 261 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 322 | fs/ext2/inode.c | inode->i_blocks += blocks; |
blocks | 52 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 79 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 114 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 174 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 189 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 209 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 249 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 268 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 308 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 117 | fs/isofs/file.c | int block, blocks, offset; |
blocks | 145 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode); |
blocks | 164 | fs/isofs/file.c | while (blocks) { |
blocks | 166 | fs/isofs/file.c | --blocks; |
blocks | 186 | fs/isofs/file.c | if(blocks == 0 && bhrequest && filp->f_reada && bhb != bhe) { |
blocks | 69 | fs/minix/file.c | int block, blocks, offset; |
blocks | 98 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
blocks | 101 | fs/minix/file.c | blocks += read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9); |
blocks | 102 | fs/minix/file.c | if (block + blocks > size) |
blocks | 103 | fs/minix/file.c | blocks = size - block; |
blocks | 119 | fs/minix/file.c | while (blocks) { |
blocks | 120 | fs/minix/file.c | --blocks; |
blocks | 584 | fs/nfs/dir.c | inode->i_blocks = fattr->blocks; |
blocks | 139 | fs/nfs/inode.c | res.bsize = res.blocks = res.bfree = res.bavail = 0; |
blocks | 142 | fs/nfs/inode.c | put_fs_long(res.blocks, &buf->f_blocks); |
blocks | 141 | fs/nfs/proc.c | fattr->blocks = ntohl(*p++); |
blocks | 180 | fs/nfs/proc.c | res->blocks = ntohl(*p++); |
blocks | 37 | fs/stat.c | unsigned int blocks, indirect; |
blocks | 69 | fs/stat.c | blocks = (tmp.st_size + BLOCK_SIZE - 1) / BLOCK_SIZE; |
blocks | 70 | fs/stat.c | if (blocks > D_B) { |
blocks | 71 | fs/stat.c | indirect = (blocks - D_B + I_B - 1) / I_B; |
blocks | 72 | fs/stat.c | blocks += indirect; |
blocks | 75 | fs/stat.c | blocks += indirect; |
blocks | 77 | fs/stat.c | blocks++; |
blocks | 80 | fs/stat.c | tmp.st_blocks = (BLOCK_SIZE / 512) * blocks; |
blocks | 114 | fs/sysv/file.c | int blocks, offset; |
blocks | 143 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
blocks | 146 | fs/sysv/file.c | blocks += read_ahead[MAJOR(inode->i_dev)] >> (sb->sv_block_size_bits - 9); |
blocks | 147 | fs/sysv/file.c | if (block + blocks > size) |
blocks | 148 | fs/sysv/file.c | blocks = size - block; |
blocks | 168 | fs/sysv/file.c | while (blocks) { |
blocks | 169 | fs/sysv/file.c | --blocks; |
blocks | 32 | fs/sysv/truncate.c | static int coh_trunc_direct (struct inode * inode, unsigned long blocks) |
blocks | 38 | fs/sysv/truncate.c | for (i = blocks; i < 10 ; i++) { |
blocks | 53 | fs/sysv/truncate.c | static int coh_trunc_indirect (struct inode * inode, unsigned long blocks, unsigned long * p, int convert, unsigned char * dirt) |
blocks | 62 | fs/sysv/truncate.c | if (blocks >= sb->sv_ind_per_block) |
blocks | 79 | fs/sysv/truncate.c | for (i = blocks; i < sb->sv_ind_per_block; i++) { |
blocks | 108 | fs/sysv/truncate.c | static int coh_trunc_dindirect (struct inode * inode, unsigned long blocks, unsigned long * p, int convert, unsigned char * dirt) |
blocks | 118 | fs/sysv/truncate.c | if (blocks >= sb->sv_ind_per_block_2) |
blocks | 135 | fs/sysv/truncate.c | for (i = blocks >> sb->sv_ind_per_block_bits, j = blocks & sb->sv_ind_per_block_1; |
blocks | 165 | fs/sysv/truncate.c | static int coh_trunc_tindirect (struct inode * inode, unsigned long blocks, unsigned long * p) |
blocks | 175 | fs/sysv/truncate.c | if (blocks >= sb->sv_ind_per_block_3) |
blocks | 190 | fs/sysv/truncate.c | for (i = blocks >> sb->sv_ind_per_block_2_bits, j = blocks & sb->sv_ind_per_block_2_1; |
blocks | 220 | fs/sysv/truncate.c | long blocks; |
blocks | 223 | fs/sysv/truncate.c | blocks = (inode->i_size + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
blocks | 224 | fs/sysv/truncate.c | retry = coh_trunc_direct(inode,blocks); |
blocks | 225 | fs/sysv/truncate.c | blocks -= 10; |
blocks | 226 | fs/sysv/truncate.c | if (blocks < 0) blocks = 0; |
blocks | 227 | fs/sysv/truncate.c | retry |= coh_trunc_indirect(inode,blocks,&inode->u.sysv_i.i_data[10],0,&inode->i_dirt); |
blocks | 228 | fs/sysv/truncate.c | blocks -= sb->sv_ind_per_block; |
blocks | 229 | fs/sysv/truncate.c | if (blocks < 0) blocks = 0; |
blocks | 230 | fs/sysv/truncate.c | retry |= coh_trunc_dindirect(inode,blocks,&inode->u.sysv_i.i_data[11],0,&inode->i_dirt); |
blocks | 231 | fs/sysv/truncate.c | blocks -= sb->sv_ind_per_block_2; |
blocks | 232 | fs/sysv/truncate.c | if (blocks < 0) blocks = 0; |
blocks | 233 | fs/sysv/truncate.c | retry |= coh_trunc_tindirect(inode,blocks,&inode->u.sysv_i.i_data[12]); |
blocks | 23 | fs/xiafs/xiafs_mac.h | #define XIAFS_GET_BLOCKS(row_ip, blocks) \ |
blocks | 24 | fs/xiafs/xiafs_mac.h | blocks=((((row_ip)->i_zone[0] >> 24) & 0xff )|\ |
blocks | 29 | fs/xiafs/xiafs_mac.h | #define XIAFS_PUT_BLOCKS(row_ip, blocks) \ |
blocks | 30 | fs/xiafs/xiafs_mac.h | (row_ip)->i_zone[2]=((blocks)<< 8) & 0xff000000;\ |
blocks | 31 | fs/xiafs/xiafs_mac.h | (row_ip)->i_zone[1]=((blocks)<<16) & 0xff000000;\ |
blocks | 32 | fs/xiafs/xiafs_mac.h | (row_ip)->i_zone[0]=((blocks)<<24) & 0xff000000 |
blocks | 137 | include/linux/nfs.h | u_int blocks; |
blocks | 164 | include/linux/nfs.h | u_int blocks; |