bs 282 crypto/blkcipher.c unsigned bs = walk->blocksize; bs 284 crypto/blkcipher.c unsigned aligned_bs = ALIGN(bs, alignmask + 1); bs 295 crypto/blkcipher.c iv = blkcipher_get_spot(iv, bs) + aligned_bs; bs 296 crypto/blkcipher.c iv = blkcipher_get_spot(iv, bs) + aligned_bs; bs 167 crypto/ccm.c unsigned int bs = 16; bs 175 crypto/ccm.c getlen = bs - pctx->ilen; bs 178 crypto/ccm.c crypto_xor(odata, idata, bs); bs 186 crypto/ccm.c while (datalen >= bs) { bs 187 crypto/ccm.c crypto_xor(odata, data, bs); bs 190 crypto/ccm.c datalen -= bs; bs 191 crypto/ccm.c data += bs; bs 48 crypto/hmac.c int bs = crypto_hash_blocksize(parent); bs 51 crypto/hmac.c char *opad = ipad + bs; bs 52 crypto/hmac.c char *digest = opad + bs; bs 57 crypto/hmac.c if (keylen > bs) { bs 71 crypto/hmac.c tmplen = bs * 2 + ds; bs 97 crypto/hmac.c memset(ipad + keylen, 0, bs - keylen); bs 98 crypto/hmac.c memcpy(opad, ipad, bs); bs 100 crypto/hmac.c for (i = 0; i < bs; i++) { bs 111 crypto/hmac.c int bs = crypto_hash_blocksize(parent); bs 114 crypto/hmac.c struct hmac_ctx *ctx = align_ptr(ipad + bs * 2 + ds, sizeof(void *)); bs 121 crypto/hmac.c sg_init_one(&tmp, ipad, bs); bs 127 crypto/hmac.c return crypto_hash_update(&desc, &tmp, bs); bs 145 crypto/hmac.c int bs = crypto_hash_blocksize(parent); bs 147 crypto/hmac.c char *opad = crypto_hash_ctx_aligned(parent) + bs; bs 148 crypto/hmac.c char *digest = opad + bs; bs 156 crypto/hmac.c sg_init_one(&tmp, opad, bs + ds); bs 162 crypto/hmac.c return crypto_hash_digest(&desc, &tmp, bs + ds, out); bs 169 crypto/hmac.c int bs = crypto_hash_blocksize(parent); bs 172 crypto/hmac.c char *opad = ipad + bs; bs 173 crypto/hmac.c char *digest = opad + bs; bs 184 crypto/hmac.c sg_set_buf(sg1, ipad, bs); bs 188 crypto/hmac.c sg_set_buf(sg2, opad, bs + ds); bs 190 crypto/hmac.c err = crypto_hash_digest(&desc, sg1, nbytes + bs, digest); bs 194 crypto/hmac.c return crypto_hash_digest(&desc, sg2, bs + ds, out); bs 131 crypto/lrw.c const int bs = crypto_cipher_blocksize(ctx->child); bs 166 crypto/lrw.c wsrc += bs; bs 167 crypto/lrw.c wdst += bs; bs 168 crypto/lrw.c } while ((avail -= bs) >= bs); bs 56 crypto/xcbc.c void (*xor)(u8 *a, const u8 *b, unsigned int bs); bs 72 crypto/xcbc.c int bs = crypto_hash_blocksize(parent); bs 74 crypto/xcbc.c u8 key1[bs]; bs 81 crypto/xcbc.c return crypto_cipher_setkey(ctx->child, key1, bs); bs 102 crypto/xcbc.c int bs = crypto_hash_blocksize(pdesc->tfm); bs 105 crypto/xcbc.c memset(ctx->odds, 0, bs); bs 106 crypto/xcbc.c memset(ctx->prev, 0, bs); bs 118 crypto/xcbc.c int bs = crypto_hash_blocksize(parent); bs 135 crypto/xcbc.c if ((ctx->len + len) <= bs) { bs 153 crypto/xcbc.c memcpy(ctx->odds + ctx->len, p, bs - ctx->len); bs 154 crypto/xcbc.c len -= bs - ctx->len; bs 155 crypto/xcbc.c p += bs - ctx->len; bs 157 crypto/xcbc.c ctx->xor(ctx->prev, ctx->odds, bs); bs 164 crypto/xcbc.c while (len > bs) { bs 165 crypto/xcbc.c ctx->xor(ctx->prev, p, bs); bs 168 crypto/xcbc.c p += bs; bs 169 crypto/xcbc.c len -= bs; bs 206 crypto/xcbc.c int bs = crypto_hash_blocksize(parent); bs 209 crypto/xcbc.c if (ctx->len == bs) { bs 210 crypto/xcbc.c u8 key2[bs]; bs 216 crypto/xcbc.c (u8 *)(ctx->consts + bs)); bs 218 crypto/xcbc.c ctx->xor(ctx->prev, ctx->odds, bs); bs 219 crypto/xcbc.c ctx->xor(ctx->prev, key2, bs); bs 224 crypto/xcbc.c u8 key3[bs]; bs 230 crypto/xcbc.c rlen = bs - ctx->len -1; bs 238 crypto/xcbc.c (u8 *)(ctx->consts + bs * 2)); bs 240 crypto/xcbc.c ctx->xor(ctx->prev, ctx->odds, bs); bs 241 crypto/xcbc.c ctx->xor(ctx->prev, key3, bs); bs 268 crypto/xcbc.c int bs = crypto_hash_blocksize(__crypto_hash_cast(tfm)); bs 274 crypto/xcbc.c switch(bs) { bs 284 crypto/xcbc.c ctx->prev = ctx->odds + bs; bs 285 crypto/xcbc.c ctx->key = ctx->prev + bs; bs 99 crypto/xts.c const int bs = crypto_cipher_blocksize(ctx->child); bs 129 crypto/xts.c wsrc += bs; bs 130 crypto/xts.c wdst += bs; bs 131 crypto/xts.c } while ((avail -= bs) >= bs); bs 53 fs/bio-integrity.c bip = mempool_alloc(bs->bio_integrity_pool, gfp_mask); bs 61 fs/bio-integrity.c iv = bvec_alloc_bs(gfp_mask, nr_vecs, &idx, bs); bs 64 fs/bio-integrity.c mempool_free(bip, bs->bio_integrity_pool); bs 114 fs/bio-integrity.c mempool_free(bip->bip_vec, bs->bvec_pools[bip->bip_pool]); bs 115 fs/bio-integrity.c mempool_free(bip, bs->bio_integrity_pool); bs 696 fs/bio-integrity.c bip = bio_integrity_alloc_bioset(bio, GFP_NOIO, bip_src->bip_vcnt, bs); bs 714 fs/bio-integrity.c bs->bio_integrity_pool = mempool_create_slab_pool(pool_size, bs 716 fs/bio-integrity.c if (!bs->bio_integrity_pool) bs 725 fs/bio-integrity.c if (bs->bio_integrity_pool) bs 726 fs/bio-integrity.c mempool_destroy(bs->bio_integrity_pool); bs 67 fs/bio.c if (bs) { bs 97 fs/bio.c bvl = mempool_alloc(bs->bvec_pools[*idx], gfp_mask); bs 164 fs/bio.c if (bs) bs 165 fs/bio.c bio = mempool_alloc(bs->bio_pool, gfp_mask); bs 176 fs/bio.c bvl = bvec_alloc_bs(gfp_mask, nr_iovecs, &idx, bs); bs 178 fs/bio.c if (bs) bs 179 fs/bio.c mempool_free(bio, bs->bio_pool); bs 1350 fs/bio.c mempool_t **bvp = bs->bvec_pools + i; bs 1364 fs/bio.c mempool_t *bvp = bs->bvec_pools[i]; bs 1374 fs/bio.c if (bs->bio_pool) bs 1375 fs/bio.c mempool_destroy(bs->bio_pool); bs 1377 fs/bio.c bioset_integrity_free(bs); bs 1378 fs/bio.c biovec_free_pools(bs); bs 1380 fs/bio.c kfree(bs); bs 1385 fs/bio.c struct bio_set *bs = kzalloc(sizeof(*bs), GFP_KERNEL); bs 1387 fs/bio.c if (!bs) bs 1390 fs/bio.c bs->bio_pool = mempool_create_slab_pool(bio_pool_size, bio_slab); bs 1391 fs/bio.c if (!bs->bio_pool) bs 1394 fs/bio.c if (bioset_integrity_create(bs, bio_pool_size)) bs 1397 fs/bio.c if (!biovec_create_pools(bs, bvec_pool_size)) bs 1398 fs/bio.c return bs; bs 1401 fs/bio.c bioset_free(bs); bs 646 fs/ext3/xattr.c bs->bh = sb_bread(sb, EXT3_I(inode)->i_file_acl); bs 648 fs/ext3/xattr.c if (!bs->bh) bs 650 fs/ext3/xattr.c ea_bdebug(bs->bh, "b_count=%d, refcount=%d", bs 651 fs/ext3/xattr.c atomic_read(&(bs->bh->b_count)), bs 652 fs/ext3/xattr.c le32_to_cpu(BHDR(bs->bh)->h_refcount)); bs 653 fs/ext3/xattr.c if (ext3_xattr_check_block(bs->bh)) { bs 661 fs/ext3/xattr.c bs->s.base = BHDR(bs->bh); bs 662 fs/ext3/xattr.c bs->s.first = BFIRST(bs->bh); bs 663 fs/ext3/xattr.c bs->s.end = bs->bh->b_data + bs->bh->b_size; bs 664 fs/ext3/xattr.c bs->s.here = bs->s.first; bs 665 fs/ext3/xattr.c error = ext3_xattr_find_entry(&bs->s.here, i->name_index, bs 666 fs/ext3/xattr.c i->name, bs->bh->b_size, 1); bs 669 fs/ext3/xattr.c bs->s.not_found = error; bs 684 fs/ext3/xattr.c struct ext3_xattr_search *s = &bs->s; bs 693 fs/ext3/xattr.c ce = mb_cache_entry_get(ext3_xattr_cache, bs->bh->b_bdev, bs 694 fs/ext3/xattr.c bs->bh->b_blocknr); bs 695 fs/ext3/xattr.c error = ext3_journal_get_write_access(handle, bs->bh); bs 698 fs/ext3/xattr.c lock_buffer(bs->bh); bs 705 fs/ext3/xattr.c ea_bdebug(bs->bh, "modifying in-place"); bs 711 fs/ext3/xattr.c ext3_xattr_cache_insert(bs->bh); bs 713 fs/ext3/xattr.c unlock_buffer(bs->bh); bs 718 fs/ext3/xattr.c bs->bh); bs 723 fs/ext3/xattr.c int offset = (char *)s->here - bs->bh->b_data; bs 725 fs/ext3/xattr.c unlock_buffer(bs->bh); bs 726 fs/ext3/xattr.c journal_release_buffer(handle, bs->bh); bs 732 fs/ext3/xattr.c ea_bdebug(bs->bh, "cloning"); bs 733 fs/ext3/xattr.c s->base = kmalloc(bs->bh->b_size, GFP_NOFS); bs 737 fs/ext3/xattr.c memcpy(s->base, BHDR(bs->bh), bs->bh->b_size); bs 741 fs/ext3/xattr.c s->end = s->base + bs->bh->b_size; bs 771 fs/ext3/xattr.c if (new_bh == bs->bh) bs 795 fs/ext3/xattr.c } else if (bs->bh && s->base == bs->bh->b_data) { bs 797 fs/ext3/xattr.c ea_bdebug(bs->bh, "keeping this block"); bs 798 fs/ext3/xattr.c new_bh = bs->bh; bs 837 fs/ext3/xattr.c if (bs->bh && bs->bh != new_bh) bs 838 fs/ext3/xattr.c ext3_xattr_release_block(handle, inode, bs->bh); bs 845 fs/ext3/xattr.c if (!(bs->bh && s->base == bs->bh->b_data)) bs 950 fs/ext3/xattr.c struct ext3_xattr_block_find bs = { bs 974 fs/ext3/xattr.c error = ext3_xattr_block_find(inode, &i, &bs); bs 977 fs/ext3/xattr.c if (is.s.not_found && bs.s.not_found) { bs 995 fs/ext3/xattr.c else if (!bs.s.not_found) bs 996 fs/ext3/xattr.c error = ext3_xattr_block_set(handle, inode, &i, &bs); bs 999 fs/ext3/xattr.c if (!error && !bs.s.not_found) { bs 1001 fs/ext3/xattr.c error = ext3_xattr_block_set(handle, inode, &i, &bs); bs 1003 fs/ext3/xattr.c if (EXT3_I(inode)->i_file_acl && !bs.s.base) { bs 1004 fs/ext3/xattr.c error = ext3_xattr_block_find(inode, &i, &bs); bs 1008 fs/ext3/xattr.c error = ext3_xattr_block_set(handle, inode, &i, &bs); bs 1033 fs/ext3/xattr.c brelse(bs.bh); bs 656 fs/ext4/xattr.c bs->bh = sb_bread(sb, EXT4_I(inode)->i_file_acl); bs 658 fs/ext4/xattr.c if (!bs->bh) bs 660 fs/ext4/xattr.c ea_bdebug(bs->bh, "b_count=%d, refcount=%d", bs 661 fs/ext4/xattr.c atomic_read(&(bs->bh->b_count)), bs 662 fs/ext4/xattr.c le32_to_cpu(BHDR(bs->bh)->h_refcount)); bs 663 fs/ext4/xattr.c if (ext4_xattr_check_block(bs->bh)) { bs 671 fs/ext4/xattr.c bs->s.base = BHDR(bs->bh); bs 672 fs/ext4/xattr.c bs->s.first = BFIRST(bs->bh); bs 673 fs/ext4/xattr.c bs->s.end = bs->bh->b_data + bs->bh->b_size; bs 674 fs/ext4/xattr.c bs->s.here = bs->s.first; bs 675 fs/ext4/xattr.c error = ext4_xattr_find_entry(&bs->s.here, i->name_index, bs 676 fs/ext4/xattr.c i->name, bs->bh->b_size, 1); bs 679 fs/ext4/xattr.c bs->s.not_found = error; bs 694 fs/ext4/xattr.c struct ext4_xattr_search *s = &bs->s; bs 703 fs/ext4/xattr.c ce = mb_cache_entry_get(ext4_xattr_cache, bs->bh->b_bdev, bs 704 fs/ext4/xattr.c bs->bh->b_blocknr); bs 705 fs/ext4/xattr.c error = ext4_journal_get_write_access(handle, bs->bh); bs 708 fs/ext4/xattr.c lock_buffer(bs->bh); bs 715 fs/ext4/xattr.c ea_bdebug(bs->bh, "modifying in-place"); bs 721 fs/ext4/xattr.c ext4_xattr_cache_insert(bs->bh); bs 723 fs/ext4/xattr.c unlock_buffer(bs->bh); bs 728 fs/ext4/xattr.c bs->bh); bs 733 fs/ext4/xattr.c int offset = (char *)s->here - bs->bh->b_data; bs 735 fs/ext4/xattr.c unlock_buffer(bs->bh); bs 736 fs/ext4/xattr.c jbd2_journal_release_buffer(handle, bs->bh); bs 741 fs/ext4/xattr.c ea_bdebug(bs->bh, "cloning"); bs 742 fs/ext4/xattr.c s->base = kmalloc(bs->bh->b_size, GFP_NOFS); bs 746 fs/ext4/xattr.c memcpy(s->base, BHDR(bs->bh), bs->bh->b_size); bs 750 fs/ext4/xattr.c s->end = s->base + bs->bh->b_size; bs 780 fs/ext4/xattr.c if (new_bh == bs->bh) bs 804 fs/ext4/xattr.c } else if (bs->bh && s->base == bs->bh->b_data) { bs 806 fs/ext4/xattr.c ea_bdebug(bs->bh, "keeping this block"); bs 807 fs/ext4/xattr.c new_bh = bs->bh; bs 846 fs/ext4/xattr.c if (bs->bh && bs->bh != new_bh) bs 847 fs/ext4/xattr.c ext4_xattr_release_block(handle, inode, bs->bh); bs 854 fs/ext4/xattr.c if (!(bs->bh && s->base == bs->bh->b_data)) bs 959 fs/ext4/xattr.c struct ext4_xattr_block_find bs = { bs 987 fs/ext4/xattr.c error = ext4_xattr_block_find(inode, &i, &bs); bs 990 fs/ext4/xattr.c if (is.s.not_found && bs.s.not_found) { bs 1008 fs/ext4/xattr.c else if (!bs.s.not_found) bs 1009 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, &bs); bs 1012 fs/ext4/xattr.c if (!error && !bs.s.not_found) { bs 1014 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, &bs); bs 1016 fs/ext4/xattr.c if (EXT4_I(inode)->i_file_acl && !bs.s.base) { bs 1017 fs/ext4/xattr.c error = ext4_xattr_block_find(inode, &i, &bs); bs 1021 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, &bs); bs 1048 fs/ext4/xattr.c brelse(bs.bh); bs 1126 fs/ext4/xattr.c struct ext4_xattr_block_find *bs = NULL; bs 1216 fs/ext4/xattr.c bs = kzalloc(sizeof(struct ext4_xattr_block_find), GFP_NOFS); bs 1217 fs/ext4/xattr.c if (!is || !bs) { bs 1223 fs/ext4/xattr.c bs->s.not_found = -ENODATA; bs 1225 fs/ext4/xattr.c bs->bh = NULL; bs 1305 fs/ext4/xattr.c error = ext4_xattr_block_find(inode, &i, bs); bs 1310 fs/ext4/xattr.c error = ext4_xattr_block_set(handle, inode, &i, bs); bs 1317 fs/ext4/xattr.c kfree(bs); bs 1329 fs/ext4/xattr.c kfree(bs); bs 68 fs/hpfs/alloc.c unsigned bs = near & ~0x3fff; bs 79 fs/hpfs/alloc.c if (bs != ~0x3fff) { bs 85 fs/hpfs/alloc.c ret = bs + nr; bs 104 fs/hpfs/alloc.c ret = bs + q; bs 127 fs/hpfs/alloc.c ret = bs + q; bs 135 fs/hpfs/alloc.c if (hpfs_sb(s)->sb_chk && ((ret >> 14) != (bs >> 14) || (bmp[(ret & 0x3fff) >> 5] | ~(((1 << n) - 1) << (ret & 0x1f))) != 0xffffffff)) { bs 1040 fs/nfsd/nfs3xdr.c u64 bs = s->f_bsize; bs 1045 fs/nfsd/nfs3xdr.c p = xdr_encode_hyper(p, bs * s->f_blocks); /* total bytes */ bs 1046 fs/nfsd/nfs3xdr.c p = xdr_encode_hyper(p, bs * s->f_bfree); /* free bytes */ bs 1047 fs/nfsd/nfs3xdr.c p = xdr_encode_hyper(p, bs * s->f_bavail); /* user available bytes */ bs 136 fs/xfs/xfs_dir2_trace.c xfs_buf_t *bpbs = bs ? bs->bps[0] : NULL; bs 67 lib/ts_bm.c int shift = bm->patlen - 1, bs; bs 89 lib/ts_bm.c next: bs = bm->bad_shift[text[shift-i]]; bs 92 lib/ts_bm.c shift = max_t(int, shift-i+bs, shift+bm->good_shift[i]); bs 722 net/atm/br2684.c "%d.%d.%d.%d\n", bs(prefix), bs(netmask)); bs 103 net/netfilter/nf_conntrack_h323_asn1.c #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} bs 104 net/netfilter/nf_conntrack_h323_asn1.c #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} bs 105 net/netfilter/nf_conntrack_h323_asn1.c #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} bs 106 net/netfilter/nf_conntrack_h323_asn1.c #define CHECK_BOUND(bs,n) if((bs)->cur+(n)>(bs)->end)return(H323_ERROR_BOUND) bs 157 net/netfilter/nf_conntrack_h323_asn1.c v = *bs->cur++; bs 162 net/netfilter/nf_conntrack_h323_asn1.c v += *bs->cur++; bs 171 net/netfilter/nf_conntrack_h323_asn1.c unsigned int b = (*bs->cur) & (0x80 >> bs->bit); bs 173 net/netfilter/nf_conntrack_h323_asn1.c INC_BIT(bs); bs 184 net/netfilter/nf_conntrack_h323_asn1.c v = (*bs->cur) & (0xffU >> bs->bit); bs 185 net/netfilter/nf_conntrack_h323_asn1.c l = b + bs->bit; bs 189 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = l; bs 191 net/netfilter/nf_conntrack_h323_asn1.c bs->cur++; bs 192 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = 0; bs 196 net/netfilter/nf_conntrack_h323_asn1.c v += *(++bs->cur); bs 198 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = l - 8; bs 213 net/netfilter/nf_conntrack_h323_asn1.c l = bs->bit + b; bs 216 net/netfilter/nf_conntrack_h323_asn1.c v = (unsigned int)(*bs->cur) << (bs->bit + 24); bs 217 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = l; bs 219 net/netfilter/nf_conntrack_h323_asn1.c v = (unsigned int)(*bs->cur++) << (bs->bit + 24); bs 220 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = 0; bs 224 net/netfilter/nf_conntrack_h323_asn1.c v |= (unsigned int)(*bs->cur++) << shift; bs 227 net/netfilter/nf_conntrack_h323_asn1.c v |= (unsigned int)(*bs->cur) << shift; bs 228 net/netfilter/nf_conntrack_h323_asn1.c v <<= bs->bit; bs 230 net/netfilter/nf_conntrack_h323_asn1.c v <<= bs->bit; bs 231 net/netfilter/nf_conntrack_h323_asn1.c v |= (*bs->cur) >> (8 - bs->bit); bs 234 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = l & 0x7; bs 251 net/netfilter/nf_conntrack_h323_asn1.c v |= *bs->cur++; bs 254 net/netfilter/nf_conntrack_h323_asn1.c v |= *bs->cur++; bs 257 net/netfilter/nf_conntrack_h323_asn1.c v |= *bs->cur++; bs 260 net/netfilter/nf_conntrack_h323_asn1.c v |= *bs->cur++; bs 281 net/netfilter/nf_conntrack_h323_asn1.c INC_BIT(bs); bs 283 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 295 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 296 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 1); bs 297 net/netfilter/nf_conntrack_h323_asn1.c len = *bs->cur++; bs 298 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 300 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 314 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 315 net/netfilter/nf_conntrack_h323_asn1.c bs->cur++; bs 318 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 319 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += 2; bs 322 net/netfilter/nf_conntrack_h323_asn1.c len = get_bits(bs, 2) + 1; bs 323 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 325 net/netfilter/nf_conntrack_h323_asn1.c unsigned int v = get_uint(bs, len) + f->lb; bs 329 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 332 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 333 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 334 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 335 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 338 net/netfilter/nf_conntrack_h323_asn1.c INC_BITS(bs, f->sz); bs 344 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 354 net/netfilter/nf_conntrack_h323_asn1.c if ((f->attr & EXT) && get_bit(bs)) { bs 355 net/netfilter/nf_conntrack_h323_asn1.c INC_BITS(bs, 7); bs 357 net/netfilter/nf_conntrack_h323_asn1.c INC_BITS(bs, f->sz); bs 360 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 372 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 378 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 379 net/netfilter/nf_conntrack_h323_asn1.c len = (*bs->cur++) << 8; bs 380 net/netfilter/nf_conntrack_h323_asn1.c len += (*bs->cur++) + f->lb; bs 383 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 384 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 391 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len >> 3; bs 392 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = len & 7; bs 394 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 407 net/netfilter/nf_conntrack_h323_asn1.c len = get_bits(bs, f->sz) + f->lb; bs 409 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 410 net/netfilter/nf_conntrack_h323_asn1.c INC_BITS(bs, (len << 2)); bs 412 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 427 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 432 net/netfilter/nf_conntrack_h323_asn1.c bs->cur[0], bs->cur[1], bs 433 net/netfilter/nf_conntrack_h323_asn1.c bs->cur[2], bs->cur[3], bs 434 net/netfilter/nf_conntrack_h323_asn1.c bs->cur[4] * 256 + bs->cur[5])); bs 436 net/netfilter/nf_conntrack_h323_asn1.c bs->cur - bs->buf; bs 442 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 443 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 1); bs 444 net/netfilter/nf_conntrack_h323_asn1.c len = (*bs->cur++) + f->lb; bs 447 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 448 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 449 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs) + f->lb; bs 452 net/netfilter/nf_conntrack_h323_asn1.c len = get_bits(bs, f->sz) + f->lb; bs 453 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 457 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 461 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 475 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 476 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 1); bs 477 net/netfilter/nf_conntrack_h323_asn1.c len = (*bs->cur++) + f->lb; bs 480 net/netfilter/nf_conntrack_h323_asn1.c len = get_bits(bs, f->sz) + f->lb; bs 481 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 485 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len << 1; bs 487 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 0); bs 506 net/netfilter/nf_conntrack_h323_asn1.c ext = (f->attr & EXT) ? get_bit(bs) : 0; bs 509 net/netfilter/nf_conntrack_h323_asn1.c bmp = get_bitmap(bs, f->sz); bs 528 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 529 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 530 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, len); bs 534 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 537 net/netfilter/nf_conntrack_h323_asn1.c beg = bs->cur; bs 540 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, base, bs 545 net/netfilter/nf_conntrack_h323_asn1.c bs->cur = beg + len; bs 546 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = 0; bs 547 net/netfilter/nf_conntrack_h323_asn1.c } else if ((err = (Decoders[son->type]) (bs, son, base, bs 558 net/netfilter/nf_conntrack_h323_asn1.c bmp2_len = get_bits(bs, 7) + 1; bs 559 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, (bmp2_len + 7) >> 3); bs 560 net/netfilter/nf_conntrack_h323_asn1.c bmp2 = get_bitmap(bs, bmp2_len); bs 564 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 570 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 571 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 572 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, len); bs 573 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 586 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 587 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 588 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, len); bs 592 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 595 net/netfilter/nf_conntrack_h323_asn1.c beg = bs->cur; bs 597 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, base, bs 602 net/netfilter/nf_conntrack_h323_asn1.c bs->cur = beg + len; bs 603 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = 0; bs 625 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 626 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 1); bs 627 net/netfilter/nf_conntrack_h323_asn1.c count = *bs->cur++; bs 630 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 631 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 632 net/netfilter/nf_conntrack_h323_asn1.c count = *bs->cur++; bs 634 net/netfilter/nf_conntrack_h323_asn1.c count = *bs->cur++; bs 637 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 638 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, 2); bs 639 net/netfilter/nf_conntrack_h323_asn1.c count = get_len(bs); bs 642 net/netfilter/nf_conntrack_h323_asn1.c count = get_bits(bs, f->sz); bs 660 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 661 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 662 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, len); bs 666 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 669 net/netfilter/nf_conntrack_h323_asn1.c beg = bs->cur; bs 671 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, bs 679 net/netfilter/nf_conntrack_h323_asn1.c bs->cur = beg + len; bs 680 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = 0; bs 682 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, bs 713 net/netfilter/nf_conntrack_h323_asn1.c if ((f->attr & EXT) && get_bit(bs)) { bs 715 net/netfilter/nf_conntrack_h323_asn1.c type = get_bits(bs, 7) + f->lb; bs 718 net/netfilter/nf_conntrack_h323_asn1.c type = get_bits(bs, f->sz); bs 729 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 730 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 731 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, len); bs 732 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 744 net/netfilter/nf_conntrack_h323_asn1.c BYTE_ALIGN(bs); bs 745 net/netfilter/nf_conntrack_h323_asn1.c len = get_len(bs); bs 746 net/netfilter/nf_conntrack_h323_asn1.c CHECK_BOUND(bs, len); bs 750 net/netfilter/nf_conntrack_h323_asn1.c bs->cur += len; bs 753 net/netfilter/nf_conntrack_h323_asn1.c beg = bs->cur; bs 755 net/netfilter/nf_conntrack_h323_asn1.c if ((err = (Decoders[son->type]) (bs, son, base, level + 1)) < bs 759 net/netfilter/nf_conntrack_h323_asn1.c bs->cur = beg + len; bs 760 net/netfilter/nf_conntrack_h323_asn1.c bs->bit = 0; bs 761 net/netfilter/nf_conntrack_h323_asn1.c } else if ((err = (Decoders[son->type]) (bs, son, base, level + 1)) < bs 775 net/netfilter/nf_conntrack_h323_asn1.c bitstr_t bs; bs 777 net/netfilter/nf_conntrack_h323_asn1.c bs.buf = bs.beg = bs.cur = buf; bs 778 net/netfilter/nf_conntrack_h323_asn1.c bs.end = buf + sz; bs 779 net/netfilter/nf_conntrack_h323_asn1.c bs.bit = 0; bs 781 net/netfilter/nf_conntrack_h323_asn1.c return decode_choice(&bs, &ras_message, (char *) ras, 0); bs 792 net/netfilter/nf_conntrack_h323_asn1.c bitstr_t bs; bs 794 net/netfilter/nf_conntrack_h323_asn1.c bs.buf = buf; bs 795 net/netfilter/nf_conntrack_h323_asn1.c bs.beg = bs.cur = beg; bs 796 net/netfilter/nf_conntrack_h323_asn1.c bs.end = beg + sz; bs 797 net/netfilter/nf_conntrack_h323_asn1.c bs.bit = 0; bs 799 net/netfilter/nf_conntrack_h323_asn1.c return decode_seq(&bs, &h323_userinformation, (char *) uuie, 0); bs 811 net/netfilter/nf_conntrack_h323_asn1.c bitstr_t bs; bs 813 net/netfilter/nf_conntrack_h323_asn1.c bs.buf = bs.beg = bs.cur = buf; bs 814 net/netfilter/nf_conntrack_h323_asn1.c bs.end = buf + sz; bs 815 net/netfilter/nf_conntrack_h323_asn1.c bs.bit = 0; bs 817 net/netfilter/nf_conntrack_h323_asn1.c return decode_choice(&bs, &multimediasystemcontrolmessage,