Searched refs:bsize (Results 1 - 25 of 234) sorted by relevance

12345678910

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/crypto/
H A Dsha_common.c23 unsigned int bsize = crypto_shash_blocksize(desc->tfm); local
28 index = ctx->count & (bsize - 1);
31 if ((index + len) < bsize)
36 memcpy(ctx->buf + index, data, bsize - index);
37 ret = crypt_s390_kimd(ctx->func, ctx->state, ctx->buf, bsize);
38 BUG_ON(ret != bsize);
39 data += bsize - index;
40 len -= bsize - index;
44 if (len >= bsize) {
46 len & ~(bsize
62 unsigned int bsize = crypto_shash_blocksize(desc->tfm); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Dnoquotas.c27 BOOL disk_quotas(const char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
29 (*bsize) = 512; /* This value should be ignored */
H A Ddfree.c27 static void disk_norm(BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
33 maxdisksize = ((maxdisksize*1024)/(*bsize))*1024;
41 while (*dfree > WORDMAX || *dsize > WORDMAX || *bsize < 512) {
44 *bsize *= 2;
48 if (*bsize > (WORDMAX*512)) {
49 *bsize = (WORDMAX*512);
67 SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize)
76 (*bsize) = 512;
105 *bsize = STR_TO_SMB_BIG_UINT(p, NULL);
107 *bsize
66 sys_disk_free(connection_struct *conn, const char *path, BOOL small_query, SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
170 get_dfree_info(connection_struct *conn, const char *path, BOOL small_query, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
[all...]
H A Dntquotas.c26 static SMB_BIG_UINT limit_nt2unix(SMB_BIG_UINT in, SMB_BIG_UINT bsize) argument
30 ret = (SMB_BIG_UINT)(in/bsize);
46 static SMB_BIG_UINT limit_unix2nt(SMB_BIG_UINT in, SMB_BIG_UINT bsize) argument
50 ret = (SMB_BIG_UINT)(in*bsize);
104 qt->usedspace = (SMB_BIG_UINT)D.curblocks*D.bsize;
105 qt->softlim = limit_unix2nt(D.softlimit, D.bsize);
106 qt->hardlim = limit_unix2nt(D.hardlimit, D.bsize);
125 D.bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE;
127 D.softlimit = limit_nt2unix(qt->softlim,D.bsize);
128 D.hardlimit = limit_nt2unix(qt->hardlim,D.bsize);
[all...]
H A Dquotas.c49 BOOL disk_quotas_vxfs(const pstring name, char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize);
68 SMB_BIG_UINT bsize; member in struct:_LINUX_SMB_DISK_QUOTA
69 SMB_BIG_UINT hardlimit; /* In bsize units. */
70 SMB_BIG_UINT softlimit; /* In bsize units. */
71 SMB_BIG_UINT curblocks; /* In bsize units. */
96 dp->bsize = (SMB_BIG_UINT)512;
126 dp->bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE;
152 dp->bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE;
158 dp->curblocks = ((SMB_BIG_UINT)D.dqb_curspace) / dp->bsize;
182 dp->bsize
197 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
298 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
459 nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
579 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
740 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
806 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
999 nfs_quotas(char *nfspath, uid_t euser_id, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
1124 disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
1340 disk_quotas_vxfs(const pstring name, char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB_BIG_UINT *dsize) argument
1421 disk_quotas(const char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
1439 disk_quotas(const char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/
H A Dcts.c80 int bsize = crypto_blkcipher_blocksize(desc->tfm); local
81 u8 tmp[bsize], tmp2[bsize];
84 int lastn = nbytes - bsize;
85 u8 iv[bsize];
86 u8 s[bsize * 2], d[bsize * 2];
98 memcpy(iv, desc->info, bsize);
104 sg_set_buf(&sgsrc[0], s, bsize);
105 sg_set_buf(&sgdst[0], tmp, bsize);
130 int bsize = crypto_blkcipher_blocksize(desc->tfm); local
166 int bsize = crypto_blkcipher_blocksize(desc->tfm); local
224 int bsize = crypto_blkcipher_blocksize(desc->tfm); local
[all...]
H A Dpcbc.c51 int bsize = crypto_cipher_blocksize(tfm); local
58 crypto_xor(iv, src, bsize);
60 memcpy(iv, dst, bsize);
61 crypto_xor(iv, src, bsize);
63 src += bsize;
64 dst += bsize;
65 } while ((nbytes -= bsize) >= bsize);
76 int bsize = crypto_cipher_blocksize(tfm); local
80 u8 tmpbuf[bsize];
129 int bsize = crypto_cipher_blocksize(tfm); local
156 int bsize = crypto_cipher_blocksize(tfm); local
[all...]
H A Dcbc.c48 int bsize = crypto_cipher_blocksize(tfm); local
55 crypto_xor(iv, src, bsize);
57 memcpy(iv, dst, bsize);
59 src += bsize;
60 dst += bsize;
61 } while ((nbytes -= bsize) >= bsize);
72 int bsize = crypto_cipher_blocksize(tfm); local
78 crypto_xor(src, iv, bsize);
82 src += bsize;
120 int bsize = crypto_cipher_blocksize(tfm); local
146 int bsize = crypto_cipher_blocksize(tfm); local
[all...]
H A Dctr.c52 unsigned int bsize = crypto_cipher_blocksize(tfm); local
55 u8 tmp[bsize + alignmask];
65 crypto_inc(ctrblk, bsize);
73 unsigned int bsize = crypto_cipher_blocksize(tfm); local
82 crypto_xor(dst, src, bsize);
85 crypto_inc(ctrblk, bsize);
87 src += bsize;
88 dst += bsize;
89 } while ((nbytes -= bsize) >= bsize);
99 unsigned int bsize = crypto_cipher_blocksize(tfm); local
129 unsigned int bsize = crypto_cipher_blocksize(child); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/mpi/
H A Dmpi-pow.c45 mpi_size_t esize, msize, bsize, rsize; local
103 bsize = base->nlimbs;
105 if (bsize > msize)
110 (The quotient is (bsize - msize + 1) limbs.) */
111 bp_nlimbs = bsec ? (bsize + 1):0;
112 bp = bp_marker = mpi_alloc_limb_space( bsize + 1, bsec );
113 MPN_COPY ( bp, base->d, bsize );
116 _gcry_mpih_divrem( bp + msize, 0, bp, bsize, mp, msize );
117 bsize = msize;
120 MPN_NORMALIZE( bp, bsize );
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/
H A Dmpi-pow.c45 mpi_size_t esize, msize, bsize, rsize; local
103 bsize = base->nlimbs;
105 if (bsize > msize)
110 (The quotient is (bsize - msize + 1) limbs.) */
111 bp_nlimbs = bsec ? (bsize + 1):0;
112 bp = bp_marker = mpi_alloc_limb_space( bsize + 1, bsec );
113 MPN_COPY ( bp, base->d, bsize );
116 _gcry_mpih_divrem( bp + msize, 0, bp, bsize, mp, msize );
117 bsize = msize;
120 MPN_NORMALIZE( bp, bsize );
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/
H A Dsysquotas_linux.c45 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
91 dp->bsize = bsize;
114 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
118 if (bsize == dp->bsize) {
124 D.dqb_bsoftlimit = (dp->softlimit*dp->bsize)/bsize;
125 D.dqb_bhardlimit = (dp->hardlimit*dp->bsize)/bsize;
179 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
248 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
313 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
382 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
[all...]
H A Dsysquotas_4A.c93 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
165 dp->bsize = bsize;
188 SMB_BIG_UINT bsize = (SMB_BIG_UINT)QUOTABLOCK_SIZE; local
192 if (bsize == dp->bsize) {
198 D.dqb_bsoftlimit = (dp->softlimit*dp->bsize)/bsize;
199 D.dqb_bhardlimit = (dp->hardlimit*dp->bsize)/bsize;
[all...]
H A Dsysquotas_xfs.c78 SMB_BIG_UINT bsize = (SMB_BIG_UINT)BBSIZE; local
146 dp->bsize = bsize;
165 SMB_BIG_UINT bsize = (SMB_BIG_UINT)BBSIZE; local
176 if (bsize == dp->bsize) {
182 D.d_blk_softlimit = (dp->softlimit*dp->bsize)/bsize;
183 D.d_blk_hardlimit = (dp->hardlimit*dp->bsize)/bsize;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/freevxfs/
H A Dvxfs_olt.c57 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) argument
59 BUG_ON(sbp->s_blocksize % bsize);
60 return (block * (sbp->s_blocksize / bsize));
67 * @bsize: blocksize of the filesystem
77 vxfs_read_olt(struct super_block *sbp, u_long bsize) argument
85 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize));
H A Dvxfs_lookup.c75 u_long bsize = ip->i_sb->s_blocksize; local
76 return (ip->i_size + bsize - 1) & ~(bsize - 1);
118 u_long bsize = ip->i_sb->s_blocksize; local
140 baddr = kaddr + (block * bsize);
141 limit = baddr + bsize - VXFS_DIRLEN(1);
247 u_long bsize = sbp->s_blocksize; local
295 baddr = kaddr + (block * bsize);
296 limit = baddr + bsize - VXFS_DIRLEN(1);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/sio/
H A DSReadline.c32 InitSReadlineInfo(SReadlineInfo *srl, int fd, char *buf, size_t bsize, int tlen, int requireEOLN) argument
40 if (bsize < 512)
41 bsize = 512; /* Pointless, otherwise. */
42 buf = (char *) malloc(bsize);
49 memset(buf, 0, bsize);
51 srl->bufSizeMax = bsize;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Dinternal.h70 unsigned int bsize; member in struct:nfs_parsed_mount_data
284 unsigned long nfs_block_bits(unsigned long bsize, unsigned char *nrbitsp) argument
287 if ((bsize & (bsize - 1)) || nrbitsp) {
290 for (nrbits = 31; nrbits && !(bsize & (1 << nrbits)); nrbits--)
292 bsize = 1 << nrbits;
297 return bsize;
313 unsigned long nfs_block_size(unsigned long bsize, unsigned char *nrbitsp) argument
315 if (bsize < NFS_MIN_FILE_IO_SIZE)
316 bsize
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/volume_id/lib/
H A Dext.c76 size_t bsize; local
87 bsize = 0x400 << le32_to_cpu(es->s_log_block_size);
88 dbg("ext blocksize 0x%zx", bsize);
89 if (bsize < EXT3_MIN_BLOCK_SIZE || bsize > EXT3_MAX_BLOCK_SIZE) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dwmadec.c395 int block_len, bsize, n; local
400 bsize = s->frame_len_bits - s->block_len_bits;
402 s->dsp.vector_fmul_add(out, in, s->windows[bsize],
408 bsize = s->frame_len_bits - s->prev_block_len_bits;
410 s->dsp.vector_fmul_add(out+n, in+n, s->windows[bsize],
422 bsize = s->frame_len_bits - s->block_len_bits;
424 s->dsp.vector_fmul_reverse(out, in, s->windows[bsize], block_len);
429 bsize = s->frame_len_bits - s->next_block_len_bits;
433 s->dsp.vector_fmul_reverse(out+n, in+n, s->windows[bsize], block_len);
446 int n, v, a, ch, bsize; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dwmadec.c388 int block_len, bsize, n; local
393 bsize = s->frame_len_bits - s->block_len_bits;
395 s->fdsp.vector_fmul_add(out, in, s->windows[bsize],
401 bsize = s->frame_len_bits - s->prev_block_len_bits;
403 s->fdsp.vector_fmul_add(out+n, in+n, s->windows[bsize],
415 bsize = s->frame_len_bits - s->block_len_bits;
417 s->fdsp.vector_fmul_reverse(out, in, s->windows[bsize], block_len);
422 bsize = s->frame_len_bits - s->next_block_len_bits;
426 s->fdsp.vector_fmul_reverse(out+n, in+n, s->windows[bsize], block_len);
439 int n, v, a, ch, bsize; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/
H A Dqla_inline.h48 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) argument
52 uint32_t iter = bsize >> 2;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/demos/
H A Db64.c84 int bsize = BSIZE, verbose = 0; local
166 bsize = (int)n;
168 BIO_printf(bio_err, "bufsize=%d\n", bsize);
172 buff = (unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize));
226 inl = BIO_read(rbio, (char *)buff, bsize);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/demos/
H A Db64.c84 int bsize=BSIZE,verbose=0; local
174 bsize=(int)n;
175 if (verbose) BIO_printf(bio_err,"bufsize=%d\n",bsize);
179 buff=(unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize));
243 inl=BIO_read(rbio,(char *)buff,bsize);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/demos/
H A Db64.c84 int bsize = BSIZE, verbose = 0; local
166 bsize = (int)n;
168 BIO_printf(bio_err, "bufsize=%d\n", bsize);
172 buff = (unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize));
226 inl = BIO_read(rbio, (char *)buff, bsize);

Completed in 169 milliseconds

12345678910