/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/befs/ |
H A D | super.c | 34 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size); 74 if ((befs_sb->block_size != 1024) 75 && (befs_sb->block_size != 2048) 76 && (befs_sb->block_size != 4096) 77 && (befs_sb->block_size != 8192)) { 78 befs_error(sb, "invalid blocksize: %u", befs_sb->block_size); 82 if (befs_sb->block_size > PAGE_SIZE) { 84 "than system pagesize(%lu)", befs_sb->block_size, 90 * block_shift and block_size encod [all...] |
H A D | io.c | 54 bh = bread(sb->s_dev, vfs_block, befs_sb->block_size); 84 bh = bread(sb->s_dev, vfs_block, befs_sb->block_size);
|
H A D | befs_fs.h | 35 __u32 block_size; member in struct:befs_sb_info 185 return BEFS_SB(sb)->block_size / sizeof (befs_inode_addr); 197 return BEFS_SB(sb)->block_size * run.len;
|
H A D | datastream.c | 142 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? 143 BEFS_SB(sb)->block_size : len - bytes_read; 175 if (ds->size & (befs_sb->block_size - 1)) 201 dbl_bytes / (befs_sb->block_size * BEFS_DBLINDIR_BRUN_LEN);
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/ |
H A D | human_readable.c | 9 * 1) I'm using an unsigned long long to hold the product size * block_size, 32 unsigned long block_size, 51 val = ((unsigned long long) size) * block_size; 31 make_human_readable_str(unsigned long size, unsigned long block_size, unsigned long display_unit) argument
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/ext2ed/ |
H A D | file_com.c | 34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; 36 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; 44 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); 85 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; 86 file_info.file_offset=file_info.block_num*file_system_info.block_size; 88 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); 106 if (file_info.offset_in_block+offset < file_system_info.block_size) { 133 if (offset < file_system_info.block_size) { 186 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; [all...] |
H A D | inode_com.c | 39 block_num=device_offset/file_system_info.block_size; 46 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 87 block_num=device_offset/file_system_info.block_size; 94 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 129 block_num=device_offset/file_system_info.block_size; 136 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 295 block_num=device_offset/file_system_info.block_size; 302 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 377 block_num=inode_offset/file_system_info.block_size; 405 block_num=inode_offset/file_system_info.block_size; [all...] |
H A D | dir_com.c | 61 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size; 66 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; 105 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); 122 next = file_system_info.block_size - info.dir_entry_offset; 128 if (info.dir_entry_offset >= file_system_info.block_size) { /* We crossed a block boundary */ 132 info.global_block_offset=info.global_block_num*file_system_info.block_size; 133 info.file_offset=info.block_num*file_system_info.block_size; 137 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); 402 low_read (file_info.buffer,file_system_info.block_size,file_inf [all...] |
H A D | group_com.c | 93 offset=file_system_info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per_group*file_system_info.block_size; 112 temp=(device_offset-file_system_info.first_group_desc_offset) % (file_system_info.super_block.s_blocks_per_group*file_system_info.block_size);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/mm/ |
H A D | page_io.c | 42 int block_size; local 55 block_size = PAGE_SIZE; 61 block_size = swapf->i_sb->s_blocksize; 62 for (i=0, j=0; j< PAGE_SIZE ; i++, j += block_size) 73 /* block_size == PAGE_SIZE/zones_used */ 74 brw_page(rw, page, dev, zones, block_size);
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/misc/ |
H A D | badblocks.c | 80 fprintf(stderr, _("Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n [-c blocks_at_once] [-p num_passes] [-t test_pattern [-t test_pattern [...]]]\n device [last_block [start_block]]\n"), 265 static long do_read (int dev, unsigned char * buffer, int try, int block_size, argument 270 set_o_direct(dev, buffer, try * block_size, current_block); 276 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, 277 SEEK_SET) != (ext2_loff_t) current_block * block_size) 281 got = read (dev, buffer, try * block_size); 286 got /= block_size; 294 static long do_write (int dev, unsigned char * buffer, int try, int block_size, argument 299 set_o_direct(dev, buffer, try * block_size, current_block); 305 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, 330 test_ro(int dev, unsigned long last_block, int block_size, unsigned long from_count, unsigned long blocks_at_once) argument 433 test_rw(int dev, unsigned long last_block, int block_size, unsigned long from_count, unsigned long blocks_at_once) argument 558 test_nd(int dev, unsigned long last_block, int block_size, unsigned long from_count, unsigned long blocks_at_once) argument 826 int block_size = 1024; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/libbcmcrypto/openssl/ |
H A D | evp_locl.h | 65 bl = ctx->cipher->block_size;\ 105 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 109 nid##_##nmode, block_size, key_len, iv_len, \ 121 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 124 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 141 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 144 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ 148 nid, block_size, key_len, iv_len, cbits, flags, \ 150 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ 156 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/ |
H A D | rtas_flash.c | 60 unsigned long block_size, image_size; local 71 block_size = f->blocks[i].length; 72 if (block_size <= 0 || block_size > PAGE_SIZE) { 76 image_size += block_size;
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/ |
H A D | unix_io.c | 132 size = (count < 0) ? -count : count * channel->block_size; 133 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 170 size = (count < 0) ? -count : count * channel->block_size; 171 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 174 count, size, block, channel->block_size, (long long)location); 220 size = channel->block_size; 225 size = count * channel->block_size; 228 location = ((ext2_loff_t) block * channel->block_size) + data->offset; 267 if ((retval = ext2fs_get_mem(channel->block_size, 403 io->block_size [all...] |
H A D | openfs.c | 63 unsigned int block_size, io_manager manager, 66 return ext2fs_open2(name, 0, flags, superblock, block_size, 72 * Superblock and block_size can be zero to use the default size. 83 unsigned int block_size, io_manager manager, 146 block_size = fs->image_header->fs_blocksize; 159 if (!block_size) { 163 io_channel_set_blksize(fs->io, block_size); 246 if (block_size) { 247 if (block_size != fs->blocksize) { 62 ext2fs_open(const char *name, int flags, int superblock, unsigned int block_size, io_manager manager, ext2_filsys *ret_fs) argument 81 ext2fs_open2(const char *name, const char *io_options, int flags, int superblock, unsigned int block_size, io_manager manager, ext2_filsys *ret_fs) argument
|
H A D | inode_io.c | 141 io->block_size = 1024; 195 channel->block_size = blksize; 211 block * channel->block_size, 215 count = (count < 0) ? -count : (count * channel->block_size); 231 block * channel->block_size, 235 count = (count < 0) ? -count : (count * channel->block_size);
|
H A D | dosio.c | 162 ioch->block_size = 1024; /* The smallest ext2fs block size */ 365 channel->block_size = blksize; 381 size = (size_t)((count < 0) ? -count : count * channel->block_size); 382 loc = (ext2_loff_t) block * channel->block_size; 419 size = (size_t)channel->block_size; 425 size = (size_t)(count * channel->block_size); 428 loc = (ext2_loff_t)block * channel->block_size;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/char/ |
H A D | tapechar.c | 161 size_t block_size; local 183 if (ti->block_size == 0) { 184 block_size = count; 186 block_size = ti->block_size; 190 debug_int_event (tape_debug_area,6,block_size); 192 cqr = ti->discipline->read_block (data, block_size, ti); 231 debug_int_event (tape_debug_area,6,block_size - ti->devstat.rescnt); 233 filp->f_pos += block_size - ti->devstat.rescnt; 234 return block_size 245 size_t block_size; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/partitions/ |
H A D | mac.h | 47 __u16 block_size; member in struct:mac_driver_desc
|
H A D | mac.c | 45 secsize = be16_to_cpu(md->block_size);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/ |
H A D | st.c | 439 if (STp->block_size == 0) 442 STps->drv_block += STbuffer->writing / STp->block_size; 505 if (STp->block_size == 0) 512 transfer = ((offset + STp->block_size - 1) / 513 STp->block_size) * STp->block_size; 522 blks = transfer / STp->block_size; 583 if (STp->block_size == 0) 587 (STp->buffer)->read_pointer) / STp->block_size - 588 ((STp->buffer)->read_pointer + STp->block_size [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/dmasound/ |
H A D | dmasound_core.c | 476 sq->block_size = sq->bufSize; 486 sq->block_size = sq->user_frag_size ; 487 sq->block_size *= 489 sq->block_size /= 492 sq->block_size *= dmasound.hard.speed ; 493 sq->block_size /= dmasound.soft.speed ; 497 sq->block_size += (hard_frame - 1) ; 498 sq->block_size &= ~(hard_frame - 1) ; /* make sure we are aligned */ 500 if ( sq->block_size <= 0 || sq->block_size > s [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/e2fsck/ |
H A D | ehandler.c | 44 for (i=0; i < count; i++, p += channel->block_size, block++) { 90 for (i=0; i < count; i++, p += channel->block_size, block++) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/squashfs/ |
H A D | mksquashfs.c | 67 int noI = 0, noD = 0, check_data = 0, block_size = SQUASHFS_FILE_SIZE, block_log; variable 242 unsigned int mangle(char *d, char *s, int size, int block_size, int uncompressed, int data_block) argument 244 unsigned long c_byte = block_size << 1; 751 long bytes = block_size; 754 char cbuffer[block_size]; 776 unsigned char buffer[block_size << 1]; 784 fragment_table[fragments].size = mangle(buffer, fragment_data, fragment_size, block_size, noF, 1); 805 if(fragment_size + size > block_size) 964 char frag_buffer1[block_size]; 1010 unsigned int blocks = (read_size + block_size [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/block/ |
H A D | dasd_diag.h | 50 u32 block_size; member in struct:diag_init_io_t
|