/linux-4.4.14/crypto/ |
D | cts.c | 80 int bsize = crypto_blkcipher_blocksize(desc->tfm); in cts_cbc_encrypt() local 81 u8 tmp[bsize], tmp2[bsize]; in cts_cbc_encrypt() 84 int lastn = nbytes - bsize; in cts_cbc_encrypt() 85 u8 iv[bsize]; in cts_cbc_encrypt() 86 u8 s[bsize * 2], d[bsize * 2]; in cts_cbc_encrypt() 98 memcpy(iv, desc->info, bsize); in cts_cbc_encrypt() 104 sg_set_buf(&sgsrc[0], s, bsize); in cts_cbc_encrypt() 105 sg_set_buf(&sgdst[0], tmp, bsize); in cts_cbc_encrypt() 106 err = crypto_blkcipher_encrypt_iv(&lcldesc, sgdst, sgsrc, bsize); in cts_cbc_encrypt() 108 memcpy(d + bsize, tmp, lastn); in cts_cbc_encrypt() [all …]
|
D | pcbc.c | 51 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_segment() local 58 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment() 60 memcpy(iv, dst, bsize); in crypto_pcbc_encrypt_segment() 61 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment() 63 src += bsize; in crypto_pcbc_encrypt_segment() 64 dst += bsize; in crypto_pcbc_encrypt_segment() 65 } while ((nbytes -= bsize) >= bsize); in crypto_pcbc_encrypt_segment() 76 int bsize = crypto_cipher_blocksize(tfm); in crypto_pcbc_encrypt_inplace() local 80 u8 tmpbuf[bsize]; in crypto_pcbc_encrypt_inplace() 83 memcpy(tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace() [all …]
|
D | cbc.c | 48 int bsize = crypto_cipher_blocksize(tfm); in crypto_cbc_encrypt_segment() local 55 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment() 57 memcpy(iv, dst, bsize); in crypto_cbc_encrypt_segment() 59 src += bsize; in crypto_cbc_encrypt_segment() 60 dst += bsize; in crypto_cbc_encrypt_segment() 61 } while ((nbytes -= bsize) >= bsize); in crypto_cbc_encrypt_segment() 72 int bsize = crypto_cipher_blocksize(tfm); in crypto_cbc_encrypt_inplace() local 78 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace() 82 src += bsize; in crypto_cbc_encrypt_inplace() 83 } while ((nbytes -= bsize) >= bsize); in crypto_cbc_encrypt_inplace() [all …]
|
D | ctr.c | 58 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_final() local 61 u8 tmp[bsize + alignmask]; in crypto_ctr_crypt_final() 71 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_final() 79 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_segment() local 88 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment() 91 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_segment() 93 src += bsize; in crypto_ctr_crypt_segment() 94 dst += bsize; in crypto_ctr_crypt_segment() 95 } while ((nbytes -= bsize) >= bsize); in crypto_ctr_crypt_segment() 105 unsigned int bsize = crypto_cipher_blocksize(tfm); in crypto_ctr_crypt_inplace() local [all …]
|
D | lrw.c | 84 int err, bsize = LRW_BLOCK_SIZE; in setkey() local 85 const u8 *tweak = key + keylen - bsize; in setkey() 90 err = crypto_cipher_setkey(child, key, keylen - bsize); in setkey() 221 const unsigned int bsize = LRW_BLOCK_SIZE; in lrw_crypt() local 222 const unsigned int max_blks = req->tbuflen / bsize; in lrw_crypt() 239 nblocks = min(walk.nbytes / bsize, max_blks); in lrw_crypt() 270 nblocks * bsize); in lrw_crypt() 278 nbytes -= nblocks * bsize; in lrw_crypt() 279 nblocks = min(nbytes / bsize, max_blks); in lrw_crypt() 287 nblocks = min(nbytes / bsize, max_blks); in lrw_crypt()
|
D | ecb.c | 46 int bsize = crypto_cipher_blocksize(tfm); in crypto_ecb_crypt() local 59 wsrc += bsize; in crypto_ecb_crypt() 60 wdst += bsize; in crypto_ecb_crypt() 61 } while ((nbytes -= bsize) >= bsize); in crypto_ecb_crypt()
|
D | xts.c | 173 const unsigned int bsize = XTS_BLOCK_SIZE; in xts_crypt() local 174 const unsigned int max_blks = req->tbuflen / bsize; in xts_crypt() 190 nblocks = min(nbytes / bsize, max_blks); in xts_crypt() 213 nblocks * bsize); in xts_crypt() 221 nbytes -= nblocks * bsize; in xts_crypt() 222 nblocks = min(nbytes / bsize, max_blks); in xts_crypt() 232 nblocks = min(nbytes / bsize, max_blks); in xts_crypt()
|
D | ablkcipher.c | 77 unsigned int bsize) in ablkcipher_done_slow() argument 79 unsigned int n = bsize; in ablkcipher_done_slow() 93 return bsize; in ablkcipher_done_slow() 151 unsigned int bsize, in ablkcipher_next_slow() argument 155 unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); in ablkcipher_next_slow() 171 src = dst = ablkcipher_get_spot(dst, bsize); in ablkcipher_next_slow() 173 p->len = bsize; in ablkcipher_next_slow() 176 scatterwalk_copychunks(src, &walk->in, bsize, 0); in ablkcipher_next_slow() 180 walk->nbytes = bsize; in ablkcipher_next_slow() 229 unsigned int alignmask, bsize, n; in ablkcipher_walk_next() local [all …]
|
D | blkcipher.c | 75 unsigned int bsize) in blkcipher_done_slow() argument 80 addr = blkcipher_get_spot(addr, bsize); in blkcipher_done_slow() 81 scatterwalk_copychunks(addr, &walk->out, bsize, 1); in blkcipher_done_slow() 82 return bsize; in blkcipher_done_slow() 149 unsigned int bsize, in blkcipher_next_slow() argument 153 unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); in blkcipher_next_slow() 171 walk->dst.virt.addr = blkcipher_get_spot(walk->dst.virt.addr, bsize); in blkcipher_next_slow() 173 aligned_bsize, bsize); in blkcipher_next_slow() 175 scatterwalk_copychunks(walk->src.virt.addr, &walk->in, bsize, 0); in blkcipher_next_slow() 177 walk->nbytes = bsize; in blkcipher_next_slow() [all …]
|
/linux-4.4.14/arch/s390/crypto/ |
D | sha_common.c | 24 unsigned int bsize = crypto_shash_blocksize(desc->tfm); in s390_sha_update() local 29 index = ctx->count & (bsize - 1); in s390_sha_update() 32 if ((index + len) < bsize) in s390_sha_update() 37 memcpy(ctx->buf + index, data, bsize - index); in s390_sha_update() 38 ret = crypt_s390_kimd(ctx->func, ctx->state, ctx->buf, bsize); in s390_sha_update() 39 if (ret != bsize) in s390_sha_update() 41 data += bsize - index; in s390_sha_update() 42 len -= bsize - index; in s390_sha_update() 47 if (len >= bsize) { in s390_sha_update() 49 len & ~(bsize - 1)); in s390_sha_update() [all …]
|
/linux-4.4.14/arch/x86/crypto/ |
D | blowfish_glue.c | 85 unsigned int bsize = BF_BLOCK_SIZE; in ecb_crypt() local 96 if (nbytes >= bsize * 4) { in ecb_crypt() 100 wsrc += bsize * 4; in ecb_crypt() 101 wdst += bsize * 4; in ecb_crypt() 102 nbytes -= bsize * 4; in ecb_crypt() 103 } while (nbytes >= bsize * 4); in ecb_crypt() 105 if (nbytes < bsize) in ecb_crypt() 113 wsrc += bsize; in ecb_crypt() 114 wdst += bsize; in ecb_crypt() 115 nbytes -= bsize; in ecb_crypt() [all …]
|
D | glue_helper.c | 40 const unsigned int bsize = 128 / 8; in __glue_ecb_crypt_128bit() local 51 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, in __glue_ecb_crypt_128bit() 55 func_bytes = bsize * gctx->funcs[i].num_blocks; in __glue_ecb_crypt_128bit() 68 if (nbytes < bsize) in __glue_ecb_crypt_128bit() 97 const unsigned int bsize = 128 / 8; in __glue_cbc_encrypt_128bit() local 110 nbytes -= bsize; in __glue_cbc_encrypt_128bit() 111 } while (nbytes >= bsize); in __glue_cbc_encrypt_128bit() 143 const unsigned int bsize = 128 / 8; in __glue_cbc_decrypt_128bit() local 152 src += nbytes / bsize - 1; in __glue_cbc_decrypt_128bit() 153 dst += nbytes / bsize - 1; in __glue_cbc_decrypt_128bit() [all …]
|
D | des3_ede_glue.c | 89 unsigned int bsize = DES3_EDE_BLOCK_SIZE; in ecb_crypt() local 100 if (nbytes >= bsize * 3) { in ecb_crypt() 105 wsrc += bsize * 3; in ecb_crypt() 106 wdst += bsize * 3; in ecb_crypt() 107 nbytes -= bsize * 3; in ecb_crypt() 108 } while (nbytes >= bsize * 3); in ecb_crypt() 110 if (nbytes < bsize) in ecb_crypt() 118 wsrc += bsize; in ecb_crypt() 119 wdst += bsize; in ecb_crypt() 120 nbytes -= bsize; in ecb_crypt() [all …]
|
D | cast5_avx_glue.c | 64 const unsigned int bsize = CAST5_BLOCK_SIZE; in ecb_crypt() local 81 if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) { in ecb_crypt() 85 wsrc += bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 86 wdst += bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 87 nbytes -= bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 88 } while (nbytes >= bsize * CAST5_PARALLEL_BLOCKS); in ecb_crypt() 90 if (nbytes < bsize) in ecb_crypt() 100 wsrc += bsize; in ecb_crypt() 101 wdst += bsize; in ecb_crypt() 102 nbytes -= bsize; in ecb_crypt() [all …]
|
D | camellia_aesni_avx2_glue.c | 211 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; in encrypt_callback() local 217 if (nbytes >= CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS * bsize) { in encrypt_callback() 219 srcdst += bsize * CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS; in encrypt_callback() 220 nbytes -= bsize * CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS; in encrypt_callback() 223 if (nbytes >= CAMELLIA_AESNI_PARALLEL_BLOCKS * bsize) { in encrypt_callback() 225 srcdst += bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS; in encrypt_callback() 226 nbytes -= bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS; in encrypt_callback() 229 while (nbytes >= CAMELLIA_PARALLEL_BLOCKS * bsize) { in encrypt_callback() 231 srcdst += bsize * CAMELLIA_PARALLEL_BLOCKS; in encrypt_callback() 232 nbytes -= bsize * CAMELLIA_PARALLEL_BLOCKS; in encrypt_callback() [all …]
|
D | serpent_avx2_glue.c | 189 const unsigned int bsize = SERPENT_BLOCK_SIZE; in encrypt_callback() local 195 if (nbytes >= SERPENT_AVX2_PARALLEL_BLOCKS * bsize) { in encrypt_callback() 197 srcdst += bsize * SERPENT_AVX2_PARALLEL_BLOCKS; in encrypt_callback() 198 nbytes -= bsize * SERPENT_AVX2_PARALLEL_BLOCKS; in encrypt_callback() 201 while (nbytes >= SERPENT_PARALLEL_BLOCKS * bsize) { in encrypt_callback() 203 srcdst += bsize * SERPENT_PARALLEL_BLOCKS; in encrypt_callback() 204 nbytes -= bsize * SERPENT_PARALLEL_BLOCKS; in encrypt_callback() 207 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 213 const unsigned int bsize = SERPENT_BLOCK_SIZE; in decrypt_callback() local 219 if (nbytes >= SERPENT_AVX2_PARALLEL_BLOCKS * bsize) { in decrypt_callback() [all …]
|
D | camellia_aesni_avx_glue.c | 215 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; in encrypt_callback() local 221 if (nbytes >= CAMELLIA_AESNI_PARALLEL_BLOCKS * bsize) { in encrypt_callback() 223 srcdst += bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS; in encrypt_callback() 224 nbytes -= bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS; in encrypt_callback() 227 while (nbytes >= CAMELLIA_PARALLEL_BLOCKS * bsize) { in encrypt_callback() 229 srcdst += bsize * CAMELLIA_PARALLEL_BLOCKS; in encrypt_callback() 230 nbytes -= bsize * CAMELLIA_PARALLEL_BLOCKS; in encrypt_callback() 233 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 239 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; in decrypt_callback() local 245 if (nbytes >= CAMELLIA_AESNI_PARALLEL_BLOCKS * bsize) { in decrypt_callback() [all …]
|
D | twofish_avx_glue.c | 223 const unsigned int bsize = TF_BLOCK_SIZE; in encrypt_callback() local 229 if (nbytes == bsize * TWOFISH_PARALLEL_BLOCKS) { in encrypt_callback() 234 for (i = 0; i < nbytes / (bsize * 3); i++, srcdst += bsize * 3) in encrypt_callback() 237 nbytes %= bsize * 3; in encrypt_callback() 239 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 245 const unsigned int bsize = TF_BLOCK_SIZE; in decrypt_callback() local 251 if (nbytes == bsize * TWOFISH_PARALLEL_BLOCKS) { in decrypt_callback() 256 for (i = 0; i < nbytes / (bsize * 3); i++, srcdst += bsize * 3) in decrypt_callback() 259 nbytes %= bsize * 3; in decrypt_callback() 261 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback()
|
D | twofish_glue_3way.c | 188 const unsigned int bsize = TF_BLOCK_SIZE; in encrypt_callback() local 192 if (nbytes == 3 * bsize) { in encrypt_callback() 197 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 203 const unsigned int bsize = TF_BLOCK_SIZE; in decrypt_callback() local 207 if (nbytes == 3 * bsize) { in decrypt_callback() 212 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback()
|
D | serpent_sse2_glue.c | 192 const unsigned int bsize = SERPENT_BLOCK_SIZE; in encrypt_callback() local 198 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) { in encrypt_callback() 203 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 209 const unsigned int bsize = SERPENT_BLOCK_SIZE; in decrypt_callback() local 215 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) { in decrypt_callback() 220 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback()
|
D | cast6_avx_glue.c | 210 const unsigned int bsize = CAST6_BLOCK_SIZE; in encrypt_callback() local 216 if (nbytes == bsize * CAST6_PARALLEL_BLOCKS) { in encrypt_callback() 221 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 227 const unsigned int bsize = CAST6_BLOCK_SIZE; in decrypt_callback() local 233 if (nbytes == bsize * CAST6_PARALLEL_BLOCKS) { in decrypt_callback() 238 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback()
|
D | serpent_avx_glue.c | 223 const unsigned int bsize = SERPENT_BLOCK_SIZE; in encrypt_callback() local 229 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) { in encrypt_callback() 234 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 240 const unsigned int bsize = SERPENT_BLOCK_SIZE; in decrypt_callback() local 246 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) { in decrypt_callback() 251 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback()
|
D | camellia_glue.c | 1410 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; in encrypt_callback() local 1414 while (nbytes >= 2 * bsize) { in encrypt_callback() 1416 srcdst += bsize * 2; in encrypt_callback() 1417 nbytes -= bsize * 2; in encrypt_callback() 1420 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in encrypt_callback() 1426 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; in decrypt_callback() local 1430 while (nbytes >= 2 * bsize) { in decrypt_callback() 1432 srcdst += bsize * 2; in decrypt_callback() 1433 nbytes -= bsize * 2; in decrypt_callback() 1436 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize) in decrypt_callback()
|
/linux-4.4.14/arch/m68k/emu/ |
D | nfblock.c | 56 u32 blocks, bsize; member 99 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) in nfhd_init_one() argument 105 blocks, bsize); in nfhd_init_one() 107 if (bsize < 512 || (bsize & (bsize - 1))) { in nfhd_init_one() 118 dev->bsize = bsize; in nfhd_init_one() 119 dev->bshift = ffs(bsize) - 10; in nfhd_init_one() 127 blk_queue_logical_block_size(dev->queue, bsize); in nfhd_init_one() 138 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one() 157 u32 blocks, bsize; in nfhd_init() local 171 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init() [all …]
|
/linux-4.4.14/lib/mpi/ |
D | mpi-pow.c | 42 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local 86 bsize = base->nlimbs; in mpi_powm() 88 if (bsize > msize) { /* The base is larger than the module. Reduce it. */ in mpi_powm() 91 bp = bp_marker = mpi_alloc_limb_space(bsize + 1); in mpi_powm() 94 MPN_COPY(bp, base->d, bsize); in mpi_powm() 97 mpihelp_divrem(bp + msize, 0, bp, bsize, mp, msize); in mpi_powm() 98 bsize = msize; in mpi_powm() 101 MPN_NORMALIZE(bp, bsize); in mpi_powm() 105 if (!bsize) { in mpi_powm() 129 bp = bp_marker = mpi_alloc_limb_space(bsize); in mpi_powm() [all …]
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_olt.c | 57 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) in vxfs_oblock() argument 59 BUG_ON(sbp->s_blocksize % bsize); in vxfs_oblock() 60 return (block * (sbp->s_blocksize / bsize)); in vxfs_oblock() 77 vxfs_read_olt(struct super_block *sbp, u_long bsize) in vxfs_read_olt() argument 85 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize)); in vxfs_read_olt()
|
D | vxfs_lookup.c | 67 u_long bsize = ip->i_sb->s_blocksize; in dir_blocks() local 68 return (ip->i_size + bsize - 1) & ~(bsize - 1); in dir_blocks() 110 u_long bsize = ip->i_sb->s_blocksize; in vxfs_find_entry() local 132 baddr = kaddr + (block * bsize); in vxfs_find_entry() 133 limit = baddr + bsize - VXFS_DIRLEN(1); in vxfs_find_entry() 235 u_long bsize = sbp->s_blocksize; in vxfs_readdir() local 276 baddr = kaddr + (block * bsize); in vxfs_readdir() 277 limit = baddr + bsize - VXFS_DIRLEN(1); in vxfs_readdir()
|
D | vxfs_super.c | 153 u_long bsize; in vxfs_fill_super() local 165 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super() 166 if (!bsize) { in vxfs_fill_super() 211 if (vxfs_read_olt(sbp, bsize)) { in vxfs_fill_super()
|
D | vxfs_bmap.c | 71 unsigned long bsize = sb->s_blocksize; in vxfs_bmap_ext4() local 85 if ((bn / (indsize * indsize * bsize / 4)) == 0) { in vxfs_bmap_ext4()
|
/linux-4.4.14/fs/squashfs/ |
D | file_direct.c | 23 static int squashfs_read_cache(struct page *target_page, u64 block, int bsize, 27 int squashfs_readpage_block(struct page *target_page, u64 block, int bsize) in squashfs_readpage_block() argument 85 res = squashfs_read_cache(target_page, block, bsize, pages, in squashfs_readpage_block() 94 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor); in squashfs_readpage_block() 140 static int squashfs_read_cache(struct page *target_page, u64 block, int bsize, in squashfs_read_cache() argument 145 block, bsize); in squashfs_read_cache() 151 bsize); in squashfs_read_cache()
|
D | file_cache.c | 23 int squashfs_readpage_block(struct page *page, u64 block, int bsize) in squashfs_readpage_block() argument 27 block, bsize); in squashfs_readpage_block() 32 bsize); in squashfs_readpage_block()
|
D | file.c | 472 int bsize = read_blocklist(inode, index, &block); in squashfs_readpage() local 473 if (bsize < 0) in squashfs_readpage() 476 if (bsize == 0) in squashfs_readpage() 479 res = squashfs_readpage_block(page, block, bsize); in squashfs_readpage()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_mount.c | 311 s32 bsize; in chkSuper() local 327 bsize = le32_to_cpu(j_sb->s_bsize); in chkSuper() 329 if (bsize != PSIZE) { in chkSuper() 344 AIM_bytesize = lengthPXD(&(j_sb->s_aim2)) * bsize; in chkSuper() 346 AIT_bytesize = lengthPXD(&(j_sb->s_ait2)) * bsize; in chkSuper() 347 AIM_byte_addr = addressPXD(&(j_sb->s_aim2)) * bsize; in chkSuper() 348 AIT_byte_addr = addressPXD(&(j_sb->s_ait2)) * bsize; in chkSuper() 350 fsckwsp_addr = addressPXD(&(j_sb->s_fsckpxd)) * bsize; in chkSuper() 378 sbi->bsize = bsize; in chkSuper()
|
D | jfs_incore.h | 170 short bsize; /* logical block size */ member
|
D | jfs_logmgr.h | 69 __le32 bsize; /* 4: logical block size in byte */ member
|
D | jfs_dmap.c | 3897 int l2max, l2free, bsize, nextb, i; in dbInitTree() local 3920 for (l2free = dtp->budmin, bsize = 1; l2free < l2max; in dbInitTree() 3921 l2free++, bsize = nextb) { in dbInitTree() 3923 nextb = bsize << 1; in dbInitTree() 3930 if (*cp == l2free && *(cp + bsize) == l2free) { in dbInitTree() 3932 *(cp + bsize) = -1; /* right give left */ in dbInitTree()
|
D | jfs_logmgr.c | 2418 logsuper->bsize = cpu_to_le32(sbi->bsize); in lmLogFormat()
|
D | super.c | 157 buf->f_bsize = sbi->bsize; in jfs_statfs()
|
D | namei.c | 994 bmask = JFS_SBI(sb)->bsize - 1; in jfs_symlink()
|
D | jfs_xtree.c | 166 size = ((u64) ip->i_size + (JFS_SBI(ip->i_sb)->bsize - 1)) >> in xtLookup() 3228 teof = (newsize + (JFS_SBI(ip->i_sb)->bsize - 1)) >> in xtTruncate()
|
D | jfs_dtree.c | 981 n = sbi->bsize >> L2DTSLOTSIZE; in dtSplitUp()
|
/linux-4.4.14/fs/affs/ |
D | file.c | 508 u32 bidx, boff, bsize; in affs_do_readpage_ofs() local 516 bsize = AFFS_SB(sb)->s_data_blksize; in affs_do_readpage_ofs() 518 bidx = tmp / bsize; in affs_do_readpage_ofs() 519 boff = tmp % bsize; in affs_do_readpage_ofs() 525 tmp = min(bsize - boff, to - pos); in affs_do_readpage_ofs() 526 BUG_ON(pos + tmp > to || tmp > bsize); in affs_do_readpage_ofs() 544 u32 size, bsize; in affs_extent_file_ofs() local 548 bsize = AFFS_SB(sb)->s_data_blksize; in affs_extent_file_ofs() 551 bidx = size / bsize; in affs_extent_file_ofs() 552 boff = size % bsize; in affs_extent_file_ofs() [all …]
|
D | amigaffs.c | 340 int bsize; in affs_checksum_block() local 343 for (bsize = sb->s_blocksize / sizeof(__be32); bsize > 0; bsize--) in affs_checksum_block()
|
/linux-4.4.14/fs/nfs/ |
D | internal.h | 89 unsigned int bsize; member 570 unsigned long nfs_block_bits(unsigned long bsize, unsigned char *nrbitsp) in nfs_block_bits() argument 573 if ((bsize & (bsize - 1)) || nrbitsp) { in nfs_block_bits() 576 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--) in nfs_block_bits() 578 bsize = 1 << nrbits; in nfs_block_bits() 583 return bsize; in nfs_block_bits() 599 unsigned long nfs_block_size(unsigned long bsize, unsigned char *nrbitsp) in nfs_block_size() argument 601 if (bsize < NFS_MIN_FILE_IO_SIZE) in nfs_block_size() 602 bsize = NFS_DEF_FILE_IO_SIZE; in nfs_block_size() 603 else if (bsize >= NFS_MAX_FILE_IO_SIZE) in nfs_block_size() [all …]
|
D | proc.c | 86 info->rtmult = fsinfo.bsize; in nfs_proc_get_root() 89 info->wtmult = fsinfo.bsize; in nfs_proc_get_root() 531 stat->tbytes = (u64)fsinfo.blocks * fsinfo.bsize; in nfs_proc_statfs() 532 stat->fbytes = (u64)fsinfo.bfree * fsinfo.bsize; in nfs_proc_statfs() 533 stat->abytes = (u64)fsinfo.bavail * fsinfo.bsize; in nfs_proc_statfs() 561 info->rtmult = fsinfo.bsize; in nfs_proc_fsinfo() 564 info->wtmult = fsinfo.bsize; in nfs_proc_fsinfo()
|
D | pagelist.c | 697 unsigned int bsize) in nfs_pageio_mirror_init() argument 702 mirror->pg_bsize = bsize; in nfs_pageio_mirror_init() 722 size_t bsize, in nfs_pageio_init() argument 738 desc->pg_bsize = bsize; in nfs_pageio_init() 752 nfs_pageio_mirror_init(&desc->pg_mirrors[i], bsize); in nfs_pageio_init() 756 nfs_pageio_mirror_init(&desc->pg_mirrors[0], bsize); in nfs_pageio_init()
|
D | super.c | 655 if (nfss->bsize != 0) in nfs_show_mount_options() 656 seq_printf(m, ",bsize=%u", nfss->bsize); in nfs_show_mount_options() 834 seq_printf(m, ",bsize=%u", nfss->bsize); in nfs_show_stats() 1350 mnt->bsize = option; in nfs_parse_mount_options() 1969 data->bsize = 0; in nfs23_validate_mount_data() 2026 args->bsize = data->bsize; in nfs23_validate_mount_data() 2315 if (data && data->bsize) in nfs_fill_super() 2316 sb->s_blocksize = nfs_block_size(data->bsize, &sb->s_blocksize_bits); in nfs_fill_super()
|
D | nfs2xdr.c | 1026 result->bsize = be32_to_cpup(p++); in decode_info()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_diag.c | 329 unsigned int sb, bsize; in dasd_diag_check_device() local 407 for (bsize = 512; bsize <= PAGE_SIZE; bsize <<= 1) { in dasd_diag_check_device() 408 mdsk_init_io(device, bsize, 0, &end_block); in dasd_diag_check_device() 432 if (bsize > PAGE_SIZE) { in dasd_diag_check_device() 443 bsize = (unsigned int) label->block_size; in dasd_diag_check_device() 447 block->bp_block = bsize; in dasd_diag_check_device() 449 for (sb = 512; sb < bsize; sb = sb << 1) in dasd_diag_check_device()
|
D | dasd_int.h | 642 dasd_check_blocksize(int bsize) in dasd_check_blocksize() argument 644 if (bsize < 512 || bsize > 4096 || !is_power_of_2(bsize)) in dasd_check_blocksize()
|
/linux-4.4.14/drivers/mtd/ |
D | ftl.c | 790 uint32_t log_addr, bsize; in ftl_read() local 801 bsize = 1 << part->header.EraseUnitSize; in ftl_read() 812 offset = (part->EUNInfo[log_addr / bsize].Offset in ftl_read() 813 + (log_addr % bsize)); in ftl_read() 836 uint32_t bsize, blk, le_virt_addr; in set_bam_entry() local 846 bsize = 1 << part->header.EraseUnitSize; in set_bam_entry() 847 eun = log_addr / bsize; in set_bam_entry() 848 blk = (log_addr % bsize) / SECTOR_SIZE; in set_bam_entry() 904 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local 922 bsize = 1 << part->header.EraseUnitSize; in ftl_write() [all …]
|
/linux-4.4.14/include/media/ |
D | videobuf-core.h | 89 size_t bsize; member 227 unsigned int bcount, unsigned int bsize, 230 unsigned int bcount, unsigned int bsize,
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_inline.h | 71 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) in host_to_fcp_swap() argument 75 uint32_t iter = bsize >> 2; in host_to_fcp_swap() 84 host_to_adap(uint8_t *src, uint8_t *dst, uint32_t bsize) in host_to_adap() argument 88 uint32_t iter = bsize >> 2; in host_to_adap()
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
D | a.out.h | 30 __u64 bsize; member 67 #define a_bss ah.bsize
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf-core.c | 331 b->length = vb->bsize; in videobuf_status() 335 b->length = vb->bsize; in videobuf_status() 385 unsigned int bcount, unsigned int bsize, in __videobuf_mmap_setup() argument 406 q->bufs[i]->bsize = bsize; in __videobuf_mmap_setup() 409 q->bufs[i]->boff = PAGE_ALIGN(bsize) * i; in __videobuf_mmap_setup() 422 dprintk(1, "mmap setup: %d buffers, %d bytes each\n", i, bsize); in __videobuf_mmap_setup() 429 unsigned int bcount, unsigned int bsize, in videobuf_mmap_setup() argument 434 ret = __videobuf_mmap_setup(q, bcount, bsize, memory); in videobuf_mmap_setup() 587 if (b->length < buf->bsize) { in videobuf_qbuf() 804 q->read_buf->bsize = count; in videobuf_read_zerocopy() [all …]
|
D | videobuf-dma-sg.c | 530 vb->baddr, vb->bsize); in __videobuf_iolock() 541 vb->baddr, vb->bsize); in __videobuf_iolock() 604 size = PAGE_ALIGN(q->bufs[first]->bsize); in __videobuf_mmap_mapper() 630 size += PAGE_ALIGN(q->bufs[i]->bsize); in __videobuf_mmap_mapper()
|
D | videobuf-dma-contig.c | 301 if (__videobuf_dc_alloc(q->dev, mem, PAGE_ALIGN(buf->bsize), in __videobuf_mmap_mapper() 332 (long int)buf->bsize, vma->vm_pgoff, buf->i); in __videobuf_mmap_mapper()
|
D | videobuf-vmalloc.c | 278 (long int)buf->bsize, in __videobuf_mmap_mapper()
|
/linux-4.4.14/fs/reiserfs/ |
D | item_ops.c | 31 static int sd_is_left_mergeable(struct reiserfs_key *key, unsigned long bsize) in sd_is_left_mergeable() argument 136 unsigned long bsize) in direct_is_left_mergeable() argument 139 return ((le_key_k_offset(version, key) & (bsize - 1)) != 1); in direct_is_left_mergeable() 228 unsigned long bsize) in indirect_is_left_mergeable() argument 372 unsigned long bsize) in direntry_is_left_mergeable() argument 658 unsigned long bsize) in errcatch_is_left_mergeable() argument
|
D | reiserfs.h | 2630 unsigned long bsize); 2646 #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih,… argument 2647 …op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->… argument
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgf100.c | 569 u64 bsize = (u64)nvkm_rd32(device, 0x10f20c) << 20; in gf100_ram_ctor() local 584 if (psize != bsize) { in gf100_ram_ctor() 585 if (psize < bsize) in gf100_ram_ctor() 586 bsize = psize; in gf100_ram_ctor() 610 ((bsize * parts) - rsvd_head) >> in gf100_ram_ctor() 616 ret = nvkm_mm_init(&ram->vram, (0x0200000000ULL + bsize) >> in gf100_ram_ctor() 618 (size - (bsize * parts) - rsvd_tail) >> in gf100_ram_ctor()
|
/linux-4.4.14/arch/x86/include/asm/crypto/ |
D | glue_helper.h | 46 static inline bool glue_fpu_begin(unsigned int bsize, int fpu_blocks_limit, in glue_fpu_begin() argument 60 if (nbytes < bsize * (unsigned int)fpu_blocks_limit) in glue_fpu_begin()
|
/linux-4.4.14/fs/nfsd/ |
D | nfsctl.c | 873 int bsize; in write_maxblksize() local 874 int rv = get_int(&mesg, &bsize); in write_maxblksize() 880 bsize = max_t(int, bsize, 1024); in write_maxblksize() 881 bsize = min_t(int, bsize, NFSSVC_MAXBLKSIZE); in write_maxblksize() 882 bsize &= ~(1024-1); in write_maxblksize() 888 nfsd_max_blksize = bsize; in write_maxblksize()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00usb.c | 113 u16 off, len, bsize; in rt2x00usb_vendor_request_buff() local 121 bsize = min_t(u16, CSR_CACHE_SIZE, len); in rt2x00usb_vendor_request_buff() 124 bsize, REGISTER_TIMEOUT); in rt2x00usb_vendor_request_buff() 126 tb += bsize; in rt2x00usb_vendor_request_buff() 127 len -= bsize; in rt2x00usb_vendor_request_buff() 128 off += bsize; in rt2x00usb_vendor_request_buff()
|
/linux-4.4.14/security/apparmor/ |
D | match.c | 37 static struct table_header *unpack_table(char *blob, size_t bsize) in unpack_table() argument 43 if (bsize < sizeof(struct table_header)) in unpack_table() 59 if (bsize < tsize) in unpack_table()
|
/linux-4.4.14/include/uapi/linux/ |
D | nfs_mount.h | 42 unsigned int bsize; /* 3 */ member
|
D | coff.h | 135 char bsize[4]; /* uninitialized data " " */ member
|
D | fuse.h | 173 uint32_t bsize; member
|
/linux-4.4.14/drivers/net/wireless/ |
D | at76c50x-usb.c | 372 int bsize = 0; in at76_usbdfu_download() local 444 bsize = min_t(int, size, FW_BLOCK_SIZE); in at76_usbdfu_download() 445 memcpy(block, buf, bsize); in at76_usbdfu_download() 447 "bsize = %4d, blockno = %2d", size, bsize, in at76_usbdfu_download() 450 at76_load_int_fw_block(udev, blockno, block, bsize); in at76_usbdfu_download() 451 buf += bsize; in at76_usbdfu_download() 452 size -= bsize; in at76_usbdfu_download() 455 if (ret != bsize) in at76_usbdfu_download() 1264 int bsize; in at76_load_external_fw() local 1288 bsize = min_t(int, size, FW_BLOCK_SIZE); in at76_load_external_fw() [all …]
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_da_format.h | 844 static inline int xfs_attr_leaf_entsize_local_max(int bsize) in xfs_attr_leaf_entsize_local_max() argument 846 return (((bsize) >> 1) + ((bsize) >> 2)); in xfs_attr_leaf_entsize_local_max()
|
/linux-4.4.14/arch/mips/boot/ |
D | ecoff.h | 38 long bsize; /* uninitialized data " " */ member
|
D | elf2ecoff.c | 236 a->bsize = swab32(a->bsize); in convert_ecoff_aouthdr() 422 eah.bsize = bss.len; in main() 465 esecs[2].s_size = eah.bsize; in main()
|
/linux-4.4.14/security/tomoyo/ |
D | common.h | 1307 size_t bsize = 32; in tomoyo_round2() local 1309 size_t bsize = 64; in tomoyo_round2() 1313 while (size > bsize) in tomoyo_round2() 1314 bsize <<= 1; in tomoyo_round2() 1315 return bsize; in tomoyo_round2()
|
/linux-4.4.14/sound/oss/ |
D | pas2_pcm.c | 347 static int pas_audio_prepare_for_input(int dev, int bsize, int bcount) in pas_audio_prepare_for_input() argument 353 static int pas_audio_prepare_for_output(int dev, int bsize, int bcount) in pas_audio_prepare_for_output() argument
|
D | sb_audio.c | 252 static int sb1_audio_prepare_for_input(int dev, int bsize, int bcount) in sb1_audio_prepare_for_input() argument 267 static int sb1_audio_prepare_for_output(int dev, int bsize, int bcount) in sb1_audio_prepare_for_output() argument 465 static int sbpro_audio_prepare_for_input(int dev, int bsize, int bcount) in sbpro_audio_prepare_for_input() argument 493 static int sbpro_audio_prepare_for_output(int dev, int bsize, int bcount) in sbpro_audio_prepare_for_output() argument 631 static int sb16_audio_prepare_for_input(int dev, int bsize, int bcount) in sb16_audio_prepare_for_input() argument 657 static int sb16_audio_prepare_for_output(int dev, int bsize, int bcount) in sb16_audio_prepare_for_output() argument
|
D | sb_ess.c | 438 static int ess_audio_prepare_for_input(int dev, int bsize, int bcount) in ess_audio_prepare_for_input() argument 459 static int ess_audio_prepare_for_output_audio1 (int dev, int bsize, int bcount) in ess_audio_prepare_for_output_audio1() argument 480 static int ess_audio_prepare_for_output_audio2 (int dev, int bsize, int bcount) in ess_audio_prepare_for_output_audio2() argument 518 static int ess_audio_prepare_for_output(int dev, int bsize, int bcount) in ess_audio_prepare_for_output() argument 528 return ess_audio_prepare_for_output_audio2 (dev, bsize, bcount); in ess_audio_prepare_for_output() 530 return ess_audio_prepare_for_output_audio1 (dev, bsize, bcount); in ess_audio_prepare_for_output()
|
D | vidc.c | 321 static int vidc_audio_prepare_for_input(int dev, int bsize, int bcount) in vidc_audio_prepare_for_input() argument 338 static int vidc_audio_prepare_for_output(int dev, int bsize, int bcount) in vidc_audio_prepare_for_output() argument
|
D | ad1848.c | 191 static int ad1848_prepare_for_output(int dev, int bsize, int bcount); 192 static int ad1848_prepare_for_input(int dev, int bsize, int bcount); 1123 static int ad1848_prepare_for_output(int dev, int bsize, int bcount) in ad1848_prepare_for_output() argument 1191 static int ad1848_prepare_for_input(int dev, int bsize, int bcount) in ad1848_prepare_for_input() argument
|
D | waveartist.c | 567 waveartist_prepare_for_input(int dev, int bsize, int bcount) in waveartist_prepare_for_input() argument 624 waveartist_prepare_for_output(int dev, int bsize, int bcount) in waveartist_prepare_for_output() argument
|
D | swarm_cs4297a.c | 346 static void clear_advance(void *buf, unsigned bsize, unsigned bptr, in clear_advance() argument 349 if (bptr + len > bsize) { in clear_advance() 350 unsigned x = bsize - bptr; in clear_advance()
|
/linux-4.4.14/fs/cachefiles/ |
D | bind.c | 158 cache->bsize = stats.f_bsize; in cachefiles_daemon_add_cache() 164 cache->bsize, cache->bshift); in cachefiles_daemon_add_cache()
|
D | internal.h | 75 unsigned bsize; /* cache's block size */ member
|
/linux-4.4.14/fs/gfs2/ |
D | quota.c | 667 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page() local 672 boff = off % bsize; in gfs2_write_buf_to_page() 678 create_empty_buffers(page, bsize, 0); in gfs2_write_buf_to_page() 683 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page() 695 zero_user(page, bnum * bsize, bh->b_size); in gfs2_write_buf_to_page() 708 if (to_write > (bsize - boff)) { in gfs2_write_buf_to_page() 709 pg_off += (bsize - boff); in gfs2_write_buf_to_page() 710 to_write -= (bsize - boff); in gfs2_write_buf_to_page() 711 boff = pg_off % bsize; in gfs2_write_buf_to_page()
|
D | bmap.c | 608 unsigned int bsize = sdp->sd_sb.sb_bsize; in gfs2_block_map() local 629 bsize = sdp->sd_jbsize; in gfs2_block_map() 638 size = (lblock + 1) * bsize; in gfs2_block_map()
|
D | aops.c | 45 unsigned int bsize = head->b_size; in gfs2_page_add_databufs() local 51 end = start + bsize; in gfs2_page_add_databufs()
|
D | rgrp.c | 898 const unsigned bsize = sdp->sd_sb.sb_bsize; in read_rindex_entry() local 936 rgd->rd_gl->gl_vm.start = (rgd->rd_addr * bsize) & PAGE_CACHE_MASK; in read_rindex_entry() 938 rgd->rd_length) * bsize) - 1; in read_rindex_entry()
|
/linux-4.4.14/drivers/crypto/ |
D | hifn_795x.c | 2329 unsigned int bsize; member 2338 .name = "cfb(des3_ede)", .drv_name = "cfb-3des", .bsize = 8, 2348 .name = "ofb(des3_ede)", .drv_name = "ofb-3des", .bsize = 8, 2358 .name = "cbc(des3_ede)", .drv_name = "cbc-3des", .bsize = 8, 2369 .name = "ecb(des3_ede)", .drv_name = "ecb-3des", .bsize = 8, 2383 .name = "cfb(des)", .drv_name = "cfb-des", .bsize = 8, 2393 .name = "ofb(des)", .drv_name = "ofb-des", .bsize = 8, 2403 .name = "cbc(des)", .drv_name = "cbc-des", .bsize = 8, 2414 .name = "ecb(des)", .drv_name = "ecb-des", .bsize = 8, 2428 .name = "ecb(aes)", .drv_name = "ecb-aes", .bsize = 16, [all …]
|
/linux-4.4.14/fs/sysv/ |
D | super.c | 308 int bsize = 1 << n_bits; in complete_read_super() local 309 int bsize_4 = bsize >> 2; in complete_read_super() 317 sbi->s_inodes_per_block = bsize >> 6; in complete_read_super() 318 sbi->s_inodes_per_block_1 = (bsize >> 6)-1; in complete_read_super()
|
/linux-4.4.14/mm/ |
D | truncate.c | 735 int bsize = 1 << inode->i_blkbits; in pagecache_isize_extended() local 742 if (from >= to || bsize == PAGE_CACHE_SIZE) in pagecache_isize_extended() 745 rounded_from = round_up(from, bsize); in pagecache_isize_extended()
|
/linux-4.4.14/arch/powerpc/boot/ |
D | rs6000.h | 44 unsigned char bsize[4]; /* uninitialized data " " */ member
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | init.c | 231 int i, bsize, desc_len; in ath_descdma_setup() local 285 bsize = sizeof(struct ath_buf) * nbuf; in ath_descdma_setup() 286 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL); in ath_descdma_setup() 316 bsize = sizeof(struct ath_rxbuf) * nbuf; in ath_descdma_setup() 317 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL); in ath_descdma_setup()
|
/linux-4.4.14/include/linux/ |
D | nfs_page.h | 126 size_t bsize,
|
D | nfs_fs_sb.h | 143 unsigned int bsize; /* server block size */ member
|
D | jbd2.h | 1250 unsigned long long start, int len, int bsize);
|
D | nfs_xdr.h | 159 __u32 bsize; /* Filesystem block size */ member
|
/linux-4.4.14/fs/ |
D | block_dev.c | 1145 unsigned bsize = bdev_logical_block_size(bdev); in bd_set_size() local 1150 while (bsize < PAGE_CACHE_SIZE) { in bd_set_size() 1151 if (size & bsize) in bd_set_size() 1153 bsize <<= 1; in bd_set_size() 1155 bdev->bd_block_size = bsize; in bd_set_size() 1156 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in bd_set_size()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | gspca.c | 764 int n, nurbs, i, psize, npkt, bsize; in create_urbs() local 779 bsize = psize * npkt; in create_urbs() 782 npkt, psize, bsize); in create_urbs() 786 bsize = gspca_dev->cam.bulk_size; in create_urbs() 787 if (bsize == 0) in create_urbs() 788 bsize = psize; in create_urbs() 789 PDEBUG(D_STREAM, "bulk bsize:%d", bsize); in create_urbs() 804 bsize, in create_urbs() 814 urb->transfer_buffer_length = bsize; in create_urbs()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | sgiarcs.h | 279 unsigned char bsize; member 281 unsigned char bsize;
|
/linux-4.4.14/fs/nilfs2/ |
D | alloc.c | 392 unsigned bsize, in nilfs_palloc_find_available_slot() argument 395 int pos, end = bsize; in nilfs_palloc_find_available_slot() 397 if (likely(target < bsize)) { in nilfs_palloc_find_available_slot()
|
/linux-4.4.14/arch/alpha/boot/tools/ |
D | objstrip.c | 218 mem_size = fil_size + aout->ah.bsize; in main()
|
/linux-4.4.14/include/net/9p/ |
D | 9p.h | 527 u32 bsize; member
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | pxa_camera.c | 268 &buf->vb, buf->vb.baddr, buf->vb.bsize); in free_buffer() 436 vb, vb->baddr, vb->bsize); in pxa_videobuf_prepare() 446 memset((void *)vb->baddr, 0xaa, vb->bsize); in pxa_videobuf_prepare() 469 if (0 != vb->baddr && vb->bsize < vb->size) { in pxa_videobuf_prepare() 635 __func__, vb, vb->baddr, vb->bsize, pcdev->active); in pxa_videobuf_queue() 655 vb, vb->baddr, vb->bsize); in pxa_videobuf_release()
|
D | omap1_camera.c | 276 if (vb->baddr && vb->bsize < vb->size) { in omap1_videobuf_prepare()
|
/linux-4.4.14/fs/udf/ |
D | namei.c | 928 uint32_t bsize; in udf_symlink() local 941 bsize = sb->s_blocksize; in udf_symlink() 942 iinfo->i_lenExtents = bsize; in udf_symlink() 943 udf_add_aext(inode, &epos, &eloc, bsize, 0); in udf_symlink() 951 memset(epos.bh->b_data, 0x00, bsize); in udf_symlink()
|
D | inode.c | 1209 int bsize = 1 << inode->i_blkbits; in udf_setsize() local 1221 if (bsize < in udf_setsize() 1245 0x00, bsize - newsize - in udf_setsize()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | chip.c | 2003 static char *is_misc_err_name(char *buf, size_t bsize, unsigned int source) in is_misc_err_name() argument 2006 strncpy(buf, cce_misc_names[source], bsize); in is_misc_err_name() 2009 bsize, in is_misc_err_name() 2019 static char *is_sdma_eng_err_name(char *buf, size_t bsize, unsigned int source) in is_sdma_eng_err_name() argument 2021 snprintf(buf, bsize, "SDmaEngErrInt%u", source); in is_sdma_eng_err_name() 2028 static char *is_sendctxt_err_name(char *buf, size_t bsize, unsigned int source) in is_sendctxt_err_name() argument 2030 snprintf(buf, bsize, "SendCtxtErrInt%u", source); in is_sendctxt_err_name() 2045 static char *is_various_name(char *buf, size_t bsize, unsigned int source) in is_various_name() argument 2048 strncpy(buf, various_names[source], bsize); in is_various_name() 2050 snprintf(buf, bsize, "Reserved%u", source+IS_VARIOUS_START); in is_various_name() [all …]
|
/linux-4.4.14/fs/9p/ |
D | vfs_super.c | 259 buf->f_bsize = rs.bsize; in v9fs_statfs()
|
/linux-4.4.14/fs/ocfs2/ |
D | aops.c | 1106 unsigned int bsize = 1 << inode->i_blkbits; in ocfs2_map_page_blocks() local 1109 create_empty_buffers(page, bsize, 0); in ocfs2_map_page_blocks() 1113 bh = bh->b_this_page, block_start += bsize) { in ocfs2_map_page_blocks() 1114 block_end = block_start + bsize; in ocfs2_map_page_blocks() 1173 block_end = block_start + bsize; in ocfs2_map_page_blocks()
|
/linux-4.4.14/tools/perf/util/ |
D | probe-finder.c | 298 int bsize, boffs, total; in convert_variable_type() local 308 bsize = dwarf_bitsize(vr_die); in convert_variable_type() 309 if (bsize > 0) { in convert_variable_type() 315 ret = snprintf(buf, 16, "b%d@%d/%zd", bsize, boffs, in convert_variable_type()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-streams.c | 134 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer() 157 if ((buf->vb.baddr != 0) && (buf->vb.bsize < buf->vb.size)) in cx18_prepare_buffer()
|
D | cx18-mailbox.c | 191 if ((offset + buf->bytesused) <= vb_buf->vb.bsize) { in cx18_mdl_send_to_videobuf()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 116 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_buffer_prepare()
|
D | bttv-driver.c | 1577 if (width*height > buf->vb.bsize) in bttv_prepare_buffer() 1579 buf->vb.size = buf->vb.bsize; in bttv_prepare_buffer() 1619 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in bttv_prepare_buffer()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 1884 int bsize; in cfs_hash_rehash_worker() local 1965 bsize = cfs_hash_bkt_size(hs); in cfs_hash_rehash_worker() 1969 cfs_hash_buckets_free(bkts, bsize, new_size, old_size); in cfs_hash_rehash_worker()
|
/linux-4.4.14/drivers/media/common/saa7146/ |
D | saa7146_vbi.c | 234 if (0 != buf->vb.baddr && buf->vb.bsize < size) { in buffer_prepare()
|
D | saa7146_video.c | 1080 if (0 != buf->vb.baddr && buf->vb.bsize < size) { in buffer_prepare()
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
D | cx231xx-vbi.c | 230 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_buffer_prepare()
|
D | cx231xx-417.c | 1407 if (0 != buf->vb.baddr && buf->vb.bsize < size) in bb_buf_prepare()
|
D | cx231xx-video.c | 790 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in buffer_prepare()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_buf.c | 1449 size_t bsize, /* length to copy */ in xfs_buf_iomove() argument 1455 bend = boff + bsize; in xfs_buf_iomove()
|
/linux-4.4.14/sound/pci/ |
D | es1968.c | 1107 unsigned int pa, unsigned int bsize, in init_capture_apu() argument 1137 apu_set_register(chip, apu, 6, (pa + bsize) & 0xFFFF); in init_capture_apu() 1138 apu_set_register(chip, apu, 7, bsize); in init_capture_apu()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | evergreen_cs.c | 451 unsigned long tmp, nby, bsize, size, min = 0; in evergreen_cs_track_validate_cb() local 457 bsize = radeon_bo_size(track->cb_color_bo[id]); in evergreen_cs_track_validate_cb() 461 if ((tmp + size * mslice) <= bsize) { in evergreen_cs_track_validate_cb() 471 if (tmp <= bsize) { in evergreen_cs_track_validate_cb()
|
/linux-4.4.14/drivers/mmc/host/ |
D | s3cmci.c | 153 u32 con, pre, cmdarg, cmdcon, cmdsta, r0, r1, r2, r3, timer, bsize; in dbg_dumpregs() local 166 bsize = readl(host->base + S3C2410_SDIBSIZE); in dbg_dumpregs()
|
/linux-4.4.14/drivers/media/platform/ |
D | timblogiw.c | 499 if (vb->baddr && vb->bsize < data_size) in buffer_prepare()
|
D | fsl-viu.c | 459 if (buf->vb.baddr != 0 && buf->vb.bsize < buf->vb.size) in buffer_prepare()
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer.c | 1306 int bsize; in __ring_buffer_alloc() local 1343 bsize = sizeof(void *) * nr_cpu_ids; in __ring_buffer_alloc() 1344 buffer->buffers = kzalloc(ALIGN(bsize, cache_line_size()), in __ring_buffer_alloc()
|
/linux-4.4.14/net/9p/ |
D | client.c | 1903 &sb->bsize, &sb->blocks, &sb->bfree, &sb->bavail, in p9_client_statfs() 1914 fid->fid, (long unsigned int)sb->type, (long int)sb->bsize, in p9_client_statfs()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 2252 unsigned int bsize, unsigned int cong_thres, int gen, in t3_sge_init_flcntxt() argument 2268 V_FL_ENTRY_SIZE_LO(bsize & M_FL_ENTRY_SIZE_LO)); in t3_sge_init_flcntxt() 2270 V_FL_ENTRY_SIZE_HI(bsize >> (32 - S_FL_ENTRY_SIZE_LO)) | in t3_sge_init_flcntxt()
|
/linux-4.4.14/fs/fuse/ |
D | inode.c | 397 stbuf->f_bsize = attr->bsize; in convert_fuse_statfs()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_debugfs.c | 1262 size_t bsize; in lpfc_idiag_cmd_get() local 1270 bsize = min(nbytes, (sizeof(mybuf)-1)); in lpfc_idiag_cmd_get() 1272 if (copy_from_user(mybuf, buf, bsize)) in lpfc_idiag_cmd_get()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 342 uint64_t bsize:16; member 344 uint64_t bsize:16;
|
D | cvmx-sli-defs.h | 2520 uint64_t bsize:16; member 2522 uint64_t bsize:16;
|
D | cvmx-npei-defs.h | 3886 uint64_t bsize:16; member 3888 uint64_t bsize:16;
|
/linux-4.4.14/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 401 if (buf->vb.baddr != 0 && buf->vb.bsize < buf->vb.size) { in buffer_prepare()
|
/linux-4.4.14/sound/core/oss/ |
D | pcm_oss.c | 622 u64 bsize = (u64)runtime->oss.buffer_bytes * (u64)bytes; in snd_pcm_oss_bytes() local 623 return div_u64(bsize, buffer_size); in snd_pcm_oss_bytes()
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-video.c | 752 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in buffer_prepare()
|