/external/dropbear/ |
H A D | algo.h | 56 unsigned char blocksize; member in struct:dropbear_cipher
|
H A D | packet.c | 99 unsigned char blocksize; local 102 blocksize = ses.keys->recv_algo_crypt->blocksize; 104 if (ses.readbuf == NULL || ses.readbuf->len < blocksize) { 105 /* In the first blocksize of a packet */ 107 /* Read the first blocksize of the packet, so we can decrypt it and 112 * a whole blocksize and should exit */ 155 unsigned char blocksize; local 159 blocksize = ses.keys->recv_algo_crypt->blocksize; 199 blocksize); local 229 unsigned char blocksize; local 413 unsigned char blocksize, macsize; local [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | extend.c | 21 fprintf(stderr, _("%s: %s filename nblocks blocksize\n"), 30 int nblocks, blocksize; local 40 blocksize = strtoul(argv[3], 0, 0); 47 block = malloc(blocksize); 50 blocksize); 53 memset(block, 0, blocksize); 60 ret = lseek(fd, nblocks*blocksize, SEEK_SET); 65 ret = read(fd, block, blocksize); 70 ret = lseek(fd, nblocks*blocksize, SEEK_SET); 75 ret = write(fd, block, blocksize); [all...] |
H A D | util.c | 410 int blocksize; local 418 ctx->blocksize = fs->blocksize; 424 if (ctx->blocksize) { 425 ret_sb = ctx->blocksize * 8; 426 if (ctx->blocksize == 1024) 432 ctx->blocksize = 1024; 445 for (blocksize = EXT2_MIN_BLOCK_SIZE; 446 blocksize <= EXT2_MAX_BLOCK_SIZE ; blocksize * [all...] |
H A D | journal.c | 68 struct buffer_head *getblk(kdev_t kdev, blk_t blocknr, int blocksize) argument 77 (unsigned long) blocknr, blocksize, ++bh_count); 84 bh->b_size = blocksize; 258 journal->j_blocksize = ctx->fs->blocksize; 307 if ((pb.last_block+1) * ctx->fs->blocksize < 370 io_channel_set_blksize(ctx->journal_io, ctx->fs->blocksize); 373 if (ctx->fs->blocksize == 1024) 375 bh = getblk(dev_journal, start, ctx->fs->blocksize); 484 ctx->fs->blocksize-V1_SB_SIZE); 605 memset (p, 0, ctx->fs->blocksize 838 int blocksize = ctx->fs->blocksize; local [all...] |
H A D | e2fsck.h | 205 int blocksize; /* blocksize */ member in struct:e2fsck_struct
|
H A D | unix.c | 78 _("Usage: %s [-panyrcdfvstDFSV] [-b superblock] [-B blocksize]\n" 93 " -B blocksize Force blocksize when looking for superblock\n" 699 ctx->blocksize = atoi(optarg); 959 if (ctx->superblock && ctx->blocksize) { 961 flags, ctx->superblock, ctx->blocksize, 964 int blocksize; local 965 for (blocksize = EXT2_MIN_BLOCK_SIZE; 966 blocksize <= EXT2_MAX_BLOCK_SIZE; blocksize * 1058 __u32 blocksize = EXT2_BLOCK_SIZE(fs->super); local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | getsize.c | 72 errcode_t ext2fs_get_device_size(const char *file, int blocksize, argument 96 *retblocks = pi.PartitionLength.QuadPart / blocksize; 106 gi.Cylinders.QuadPart / blocksize; 110 *retblocks = filesize.QuadPart / blocksize; 116 *retblocks = filesize / blocksize; 141 errcode_t ext2fs_get_device_size(const char *file, int blocksize, 173 && ((size64 / (blocksize / 512)) > 0xFFFFFFFF)) { 177 *retblocks = size64 / (blocksize / 512); 192 ((size64 / blocksize) > 0xFFFFFFFF)) { 196 *retblocks = size64 / blocksize; [all...] |
H A D | dblist_dir.c | 33 int blocksize, 48 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf); 26 ext2fs_dblist_dir_iterate(ext2_dblist dblist, int flags, char *block_buf, int (*func)(ext2_ino_t dir, int entry, struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument
|
H A D | imager.c | 43 static int check_zero_block(char *buf, int blocksize) argument 46 int left = blocksize; 69 buf = malloc(fs->blocksize * BUF_BLOCKS); 94 if (check_zero_block(cp, fs->blocksize)) { 98 cp += fs->blocksize; 99 lseek(fd, fs->blocksize, SEEK_CUR); 104 if (check_zero_block(cp + d*fs->blocksize, fs->blocksize)) 108 actual = write(fd, cp, fs->blocksize * d); 113 if (actual != (ssize_t) (fs->blocksize * [all...] |
H A D | link.c | 32 int blocksize, 48 if ((offset + dirent->rec_len < blocksize - 8) && 50 (offset + dirent->rec_len + next->rec_len <= blocksize)) { 30 link_proc(struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data) argument
|
H A D | dir_iterate.c | 55 int blocksize, 74 retval = ext2fs_get_mem(fs->blocksize, &ctx.buf); 93 int blocksize, 102 int blocksize, char *buf, void *priv_data) variable 106 return (*xl->func)(dirent, offset, blocksize, buf, xl->real_private); 115 int blocksize, 159 while (offset < fs->blocksize) { 161 if (((offset + dirent->rec_len) > fs->blocksize) || 176 fs->blocksize, ctx->buf, 47 ext2fs_dir_iterate2(ext2_filsys fs, ext2_ino_t dir, int flags, char *block_buf, int (*func)(ext2_ino_t dir, int entry, struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument 109 ext2fs_dir_iterate(ext2_filsys fs, ext2_ino_t dir, int flags, char *block_buf, int (*func)(struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument
|
H A D | nt_io.c | 1029 ext2fs_get_device_size(const char *file, int blocksize, argument 1059 *retblocks = (blk_t)(unsigned __int64)(FsSize / blocksize);
|
/external/qemu/block/ |
H A D | nbd.c | 39 size_t blocksize; member in struct:BDRVNBDState 49 size_t blocksize; local 88 ret = nbd_receive_negotiate(sock, &size, &blocksize); 94 s->blocksize = blocksize;
|
/external/dropbear/libtomcrypt/src/headers/ |
H A D | tomcrypt_hash.h | 158 unsigned long blocksize; member in struct:ltc_hash_descriptor
|
H A D | tomcrypt_mac.h | 322 blocksize; member in struct:__anon1861 356 blocksize; member in struct:__anon1862
|
/external/kernel-headers/original/linux/ |
H A D | smb.h | 32 __u16 blocksize; member in struct:smb_dskattr
|
/external/e2fsprogs/misc/ |
H A D | dumpe2fs.c | 54 "[-oB blocksize] device\n"), program_name); 327 int *blocksize) 368 } else if (strcmp(token, "blocksize") == 0 || 375 *blocksize = strtoul(arg, &p, 0); 378 _("Invalid blocksize parameter: %s\n"), 395 "\tblocksize=<blocksize>\n"), 326 parse_extended_opts(const char *opts, blk_t *superblock, int *blocksize) argument
|
H A D | e2image.c | 55 static void write_header(int fd, struct ext2_image_hdr *hdr, int blocksize) argument 60 header_buf = malloc(blocksize); 70 memset(header_buf, 0, blocksize); 75 actual = write(fd, header_buf, blocksize); 80 if (actual != blocksize) { 94 write_header(fd, NULL, fs->blocksize); 131 hdr.fs_blocksize = fs->blocksize; 143 write_header(fd, &hdr, fs->blocksize); 296 static int check_zero_block(char *buf, int blocksize) argument 299 int left = blocksize; 309 write_block(int fd, char *buf, int sparse_offset, int blocksize, blk_t block) argument [all...] |
/external/openssl/crypto/ec/ |
H A D | ec_mult.c | 84 size_t blocksize; /* block size for wNAF splitting */ member in struct:ec_pre_comp_st 112 ret->blocksize = 8; /* default */ 351 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ local 412 blocksize = pre_comp->blocksize; 416 numblocks = (BN_num_bits(scalar) / blocksize) + 1; 527 if (tmp_len < numblocks * blocksize) 530 numblocks = (tmp_len + blocksize - 1) / blocksize; 547 wNAF_len[i] = blocksize; 769 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num; local [all...] |
/external/quake/quake/src/QW/client/ |
H A D | r_surf.c | 27 int lightleft, sourcesstep, blocksize, sourcetstep; variable 256 blocksize = 16 >> r_drawsurf.surfmip; 271 horzblockstep = blocksize; 277 horzblockstep = blocksize << 1; 308 soffset = soffset + blocksize; 537 for (k=0 ; k<blocksize ; k++) 550 for (b=0; b<blocksize; b++)
|
/external/quake/quake/src/WinQuake/ |
H A D | r_surf.cpp | 27 int lightleft, sourcesstep, blocksize, sourcetstep;
variable 273 blocksize = 16 >> r_drawsurf.surfmip;
288 horzblockstep = blocksize;
294 horzblockstep = blocksize << 1;
325 soffset = soffset + blocksize;
554 for (k=0 ; k<blocksize ; k++)
567 for (b=0; b<blocksize; b++)
|
/external/e2fsprogs/debugfs/ |
H A D | logdump.c | 155 inodes_per_block = (current_fs->blocksize 336 unsigned int blocksize = 1024; local 361 blocksize = EXT2_BLOCK_SIZE(sb); 362 blocknr = (blocksize == 1024) ? 2 : 1; 367 fprintf(out_file, "\tblocksize=%d\n", blocksize); 375 retval = read_journal_block(cmdname, source, blocknr*blocksize, 386 blocksize = be32_to_cpu(jsb->s_blocksize); 399 blocknr*blocksize, buf, 400 blocksize, &got); 401 if (retval || got != blocksize) 460 dump_descriptor_block(FILE *out_file, struct journal_source *source, char *buf, journal_superblock_t *jsb, unsigned int *blockp, int blocksize, tid_t transaction) argument 565 dump_metadata_block(FILE *out_file, struct journal_source *source, journal_superblock_t *jsb EXT2FS_ATTR((unused)), unsigned int log_blocknr, unsigned int fs_blocknr, int blocksize, tid_t transaction) argument 667 do_hexdump(FILE *out_file, char *buf, int blocksize) argument [all...] |
/external/openssl/ssl/ |
H A D | d1_both.c | 228 unsigned int len, frag_off, mac_size, blocksize; local 283 blocksize = 2 * EVP_CIPHER_block_size(s->enc_write_ctx->cipher); 285 blocksize = 0; 291 DTLS1_RT_HEADER_LENGTH - mac_size - blocksize; 300 mac_size - blocksize;
|
/external/e2fsprogs/lib/blkid/ |
H A D | probe.c | 721 unsigned int blocksize; local 724 blocksize = blkid_le16(rs->rs_blocksize); 726 /* The blocksize must be at least 1k */ 727 if ((blocksize >> 10) == 0) 731 if (id->bim_kboff/(blocksize>>10) > blkid_le32(rs->rs_journal_block))
|