Home
last modified time | relevance | path

Searched refs:blen (Results 1 – 25 of 65) sorted by relevance

123

/linux-2.6.39/crypto/
Dtcrypt.h26 unsigned int blen; /* buffer length */ member
60 { .blen = 16, .plen = 16, },
61 { .blen = 64, .plen = 16, },
62 { .blen = 64, .plen = 64, },
63 { .blen = 256, .plen = 16, },
64 { .blen = 256, .plen = 64, },
65 { .blen = 256, .plen = 256, },
66 { .blen = 1024, .plen = 16, },
67 { .blen = 1024, .plen = 256, },
68 { .blen = 1024, .plen = 1024, },
[all …]
Dtcrypt.c71 struct scatterlist *sg, int blen, int sec) in test_cipher_jiffies() argument
80 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen); in test_cipher_jiffies()
82 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen); in test_cipher_jiffies()
89 bcount, sec, (long)bcount * blen); in test_cipher_jiffies()
94 struct scatterlist *sg, int blen) in test_cipher_cycles() argument
106 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen); in test_cipher_cycles()
108 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen); in test_cipher_cycles()
120 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen); in test_cipher_cycles()
122 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen); in test_cipher_cycles()
137 (cycles + 4) / 8, blen); in test_cipher_cycles()
[all …]
/linux-2.6.39/drivers/media/dvb/dvb-usb/
Daz6027.c302 int az6027_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) in az6027_usb_in_op() argument
315 blen, in az6027_usb_in_op()
325 debug_dump(b, blen, deb_xfer); in az6027_usb_in_op()
336 int blen) in az6027_usb_out_op() argument
341 debug_dump(b, blen, deb_xfer); in az6027_usb_out_op()
353 blen, in az6027_usb_out_op()
356 if (ret != blen) { in az6027_usb_out_op()
372 int blen; in az6027_streaming_ctrl() local
379 blen = 0; in az6027_streaming_ctrl()
381 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); in az6027_streaming_ctrl()
[all …]
Dgp8psk.c54 int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) in gp8psk_usb_in_op() argument
61 while (ret >= 0 && ret != blen && try < 3) { in gp8psk_usb_in_op()
66 value,index,b,blen, in gp8psk_usb_in_op()
72 if (ret < 0 || ret != blen) { in gp8psk_usb_in_op()
79 debug_dump(b,blen,deb_xfer); in gp8psk_usb_in_op()
87 u16 index, u8 *b, int blen) in gp8psk_usb_out_op() argument
92 debug_dump(b,blen,deb_xfer); in gp8psk_usb_out_op()
101 value,index,b,blen, in gp8psk_usb_out_op()
102 2000) != blen) { in gp8psk_usb_out_op()
Dvp702x.c37 int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) in vp702x_usb_in_op() argument
45 value,index,b,blen, in vp702x_usb_in_op()
56 debug_dump(b,blen,deb_xfer); in vp702x_usb_in_op()
62 u16 index, u8 *b, int blen) in vp702x_usb_out_op() argument
66 debug_dump(b,blen,deb_xfer); in vp702x_usb_out_op()
72 value,index,b,blen, in vp702x_usb_out_op()
73 2000)) != blen) { in vp702x_usb_out_op()
Dgp8psk.h98 extern int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen
100 u16 index, u8 *b, int blen);
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_stats.c145 size_t blen = 0; in ipath_qcheck() local
151 blen = snprintf(buf, sizeof buf, "port 0 hdrqfull %u", in ipath_qcheck()
157 blen += snprintf(buf + blen, sizeof buf - blen, in ipath_qcheck()
159 blen ? ", " : "", in ipath_qcheck()
175 blen += snprintf(buf + blen, sizeof buf - blen, in ipath_qcheck()
177 blen ? ", " : "", in ipath_qcheck()
183 if (blen) in ipath_qcheck()
Dipath_driver.c886 char *buf, size_t blen) in decode_sdma_errs() argument
913 bidx += snprintf(buf + bidx, blen - bidx, in decode_sdma_errs()
924 int ipath_decode_err(struct ipath_devdata *dd, char *buf, size_t blen, in ipath_decode_err() argument
934 strlcat(buf, "EBP ", blen); in ipath_decode_err()
936 strlcat(buf, "VCRC ", blen); in ipath_decode_err()
938 strlcat(buf, "CRC ", blen); in ipath_decode_err()
943 strlcat(buf, "rshortpktlen ", blen); in ipath_decode_err()
945 strlcat(buf, "sdroppeddatapkt ", blen); in ipath_decode_err()
947 strlcat(buf, "spktlen ", blen); in ipath_decode_err()
951 strlcat(buf, "CRC ", blen); in ipath_decode_err()
[all …]
/linux-2.6.39/drivers/staging/keucr/
Dmsscsi.c130 WORD blen = ((Cdb[7]<< 8) & 0xff00) | ((Cdb[8]<< 0) & 0x00ff); in MS_SCSI_Read() local
131 DWORD blenByte = blen * 0x200; in MS_SCSI_Read()
187 if (blen > (us->MS_Lib.PagesPerBlock-PageNum) ) in MS_SCSI_Read()
190 len = blen; in MS_SCSI_Read()
215 blen -= len; in MS_SCSI_Read()
216 if (blen<=0) in MS_SCSI_Read()
237 WORD blen = ((Cdb[7]<< 8) & 0xff00) | ((Cdb[8]<< 0) & 0x00ff); in MS_SCSI_Write() local
238 DWORD blenByte = blen * 0x200; in MS_SCSI_Write()
293 if (blen > (us->MS_Lib.PagesPerBlock-PageNum) ) in MS_SCSI_Write()
296 len = blen; in MS_SCSI_Write()
[all …]
Dsmscsi.c138 WORD blen = ((Cdb[7]<< 8) & 0xff00) | ((Cdb[8]<< 0) & 0x00ff); in SM_SCSI_Read() local
139 DWORD blenByte = blen * 0x200; in SM_SCSI_Read()
150 result = Media_D_ReadSector(us, bn, blen, buf); in SM_SCSI_Read()
170 WORD blen = ((Cdb[7]<< 8) & 0xff00) | ((Cdb[8]<< 0) & 0x00ff); in SM_SCSI_Write() local
171 DWORD blenByte = blen * 0x200; in SM_SCSI_Write()
183 result = Media_D_CopySector(us, bn, blen, buf); in SM_SCSI_Write()
/linux-2.6.39/include/linux/usb/
Dwusb.h313 const void *b, size_t blen, size_t len);
318 const void *b, size_t blen) in wusb_prf_64() argument
320 return wusb_prf(out, out_size, key, n, a, b, blen, 64); in wusb_prf_64()
326 const void *b, size_t blen) in wusb_prf_128() argument
328 return wusb_prf(out, out_size, key, n, a, b, blen, 128); in wusb_prf_128()
334 const void *b, size_t blen) in wusb_prf_256() argument
336 return wusb_prf(out, out_size, key, n, a, b, blen, 256); in wusb_prf_256()
/linux-2.6.39/drivers/usb/wusbcore/
Dcrypto.c202 size_t blen) in wusb_ccm_mac() argument
226 - blen % sizeof(struct aes_ccm_block); in wusb_ccm_mac()
227 zero_padding = blen % sizeof(struct aes_ccm_block); in wusb_ccm_mac()
230 dst_size = blen + sizeof(b0) + sizeof(b1) + zero_padding; in wusb_ccm_mac()
253 b1.la = cpu_to_be16(blen + 14); in wusb_ccm_mac()
259 sg_set_buf(&sg[2], b, blen); in wusb_ccm_mac()
302 const void *b, size_t blen, size_t len) in wusb_prf() argument
339 &n, a, b, blen); in wusb_prf()
/linux-2.6.39/fs/gfs2/
Drgrp.h55 extern void __gfs2_free_data(struct gfs2_inode *ip, u64 bstart, u32 blen);
56 extern void gfs2_free_data(struct gfs2_inode *ip, u64 bstart, u32 blen);
57 extern void __gfs2_free_meta(struct gfs2_inode *ip, u64 bstart, u32 blen);
58 extern void gfs2_free_meta(struct gfs2_inode *ip, u64 bstart, u32 blen);
Dbmap.c761 u32 blen, btotal; in do_strip() local
794 blen = 0; in do_strip()
802 if (bstart + blen == bn) in do_strip()
803 blen++; in do_strip()
809 blen = 1; in do_strip()
842 blen = 0; in do_strip()
851 if (bstart + blen == bn) in do_strip()
852 blen++; in do_strip()
856 __gfs2_free_meta(ip, bstart, blen); in do_strip()
858 __gfs2_free_data(ip, bstart, blen); in do_strip()
[all …]
Drgrp.c1396 u32 blen, unsigned char new_state) in rgblk_free() argument
1414 while (blen--) { in rgblk_free()
1605 void __gfs2_free_data(struct gfs2_inode *ip, u64 bstart, u32 blen) in __gfs2_free_data() argument
1610 rgd = rgblk_free(sdp, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_data()
1613 trace_gfs2_block_alloc(ip, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_data()
1614 rgd->rd_free += blen; in __gfs2_free_data()
1630 void gfs2_free_data(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_free_data() argument
1634 __gfs2_free_data(ip, bstart, blen); in gfs2_free_data()
1635 gfs2_statfs_change(sdp, 0, +blen, 0); in gfs2_free_data()
1636 gfs2_quota_change(ip, -(s64)blen, ip->i_inode.i_uid, ip->i_inode.i_gid); in gfs2_free_data()
[all …]
Dxattr.c236 unsigned int blen = 0; in ea_dealloc_unstuffed() local
277 if (bstart + blen == bn) in ea_dealloc_unstuffed()
278 blen++; in ea_dealloc_unstuffed()
281 gfs2_free_meta(ip, bstart, blen); in ea_dealloc_unstuffed()
283 blen = 1; in ea_dealloc_unstuffed()
290 gfs2_free_meta(ip, bstart, blen); in ea_dealloc_unstuffed()
1335 unsigned int blen = 0; in ea_dealloc_indirect() local
1361 if (bstart + blen == bn) in ea_dealloc_indirect()
1362 blen++; in ea_dealloc_indirect()
1367 blen = 1; in ea_dealloc_indirect()
[all …]
/linux-2.6.39/net/mac80211/
Daes_ccm.c73 int blen = (j == num_blocks && last_len) ? in ieee80211_aes_ccm_encrypt() local
77 for (i = 0; i < blen; i++) in ieee80211_aes_ccm_encrypt()
84 for (i = 0; i < blen; i++) in ieee80211_aes_ccm_encrypt()
113 int blen = (j == num_blocks && last_len) ? in ieee80211_aes_ccm_decrypt() local
120 for (i = 0; i < blen; i++) { in ieee80211_aes_ccm_decrypt()
/linux-2.6.39/drivers/s390/crypto/
Dzcrypt_cca_key.h32 unsigned short blen; member
168 key->t6_hdr.blen = cpu_to_be16(0x189); in zcrypt_type6_mex_key_de()
171 key->t6_hdr.blen = cpu_to_le16(0x189); in zcrypt_type6_mex_key_de()
258 key->t6_hdr.blen = cpu_to_be16(key->pubHdr.token_length + 6); in zcrypt_type6_mex_key_en()
261 key->t6_hdr.blen = cpu_to_le16(key->pubHdr.token_length + 6); in zcrypt_type6_mex_key_en()
304 key->t6_hdr.blen = cpu_to_be16(size); in zcrypt_type6_crt_key()
307 key->t6_hdr.blen = cpu_to_le16(size); in zcrypt_type6_crt_key()
/linux-2.6.39/drivers/scsi/
Dconstants.c1336 int blen, fixed_valid; in scsi_decode_sense_extras() local
1344 blen = sizeof(buff) - 1; in scsi_decode_sense_extras()
1346 res += snprintf(buff + res, blen - res, in scsi_decode_sense_extras()
1351 res += snprintf(buff + res, blen - res, ", "); in scsi_decode_sense_extras()
1352 res += snprintf(buff + res, blen - res, "FMK"); in scsi_decode_sense_extras()
1357 res += snprintf(buff + res, blen - res, ", "); in scsi_decode_sense_extras()
1358 res += snprintf(buff + res, blen - res, "EOM"); in scsi_decode_sense_extras()
1363 res += snprintf(buff + res, blen - res, ", "); in scsi_decode_sense_extras()
1364 res += snprintf(buff + res, blen - res, "ILI"); in scsi_decode_sense_extras()
/linux-2.6.39/fs/ubifs/
Dtnc_commit.c418 int wlen, blen, err; in layout_in_empty_space() local
527 blen = buf_len; in layout_in_empty_space()
529 blen = ALIGN(wlen, c->min_io_size); in layout_in_empty_space()
532 buf_offs += blen; in layout_in_empty_space()
536 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
542 used -= blen; in layout_in_empty_space()
549 blen - used, 0, 0); in layout_in_empty_space()
966 int blen, nxt_offs = buf_offs + used + next_len; in write_index() local
972 blen = buf_len; in write_index()
975 blen = ALIGN(wlen, c->min_io_size); in write_index()
[all …]
/linux-2.6.39/drivers/net/
Dni65.h107 volatile short blen; member
119 volatile unsigned short blen; member
/linux-2.6.39/fs/nfsd/
Dnfs4idmap.c120 int *blen) in idtoname_request() argument
125 qword_add(bpp, blen, ent->authname); in idtoname_request()
127 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in idtoname_request()
128 qword_add(bpp, blen, idstr); in idtoname_request()
307 int *blen) in nametoid_request() argument
311 qword_add(bpp, blen, ent->authname); in nametoid_request()
312 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in nametoid_request()
313 qword_add(bpp, blen, ent->name); in nametoid_request()
/linux-2.6.39/drivers/tty/serial/
Dmrst_max3110.c150 int i, j, blen; in max3110_read_multi() local
152 blen = M3110_RX_FIFO_DEPTH * sizeof(u16); in max3110_read_multi()
153 buf = kzalloc(blen * 2, GFP_KERNEL | GFP_DMA); in max3110_read_multi()
161 ibuf = buf + blen; in max3110_read_multi()
163 if (max3110_write_then_read(max, obuf, ibuf, blen, 1)) { in max3110_read_multi()
280 int i, j, len, blen, dma_size, left, ret = 0; in send_circ_buf() local
294 blen = len * sizeof(u16); in send_circ_buf()
295 memset(ibuf, 0, blen); in send_circ_buf()
304 ret = max3110_write_then_read(max, obuf, ibuf, blen, 0); in send_circ_buf()
/linux-2.6.39/net/ceph/
Dcrypto.c58 int blen = inlen * 3 / 4; in ceph_crypto_key_unarmor() local
63 buf = kmalloc(blen, GFP_NOFS); in ceph_crypto_key_unarmor()
66 blen = ceph_unarmor(buf, inkey, inkey+inlen); in ceph_crypto_key_unarmor()
67 if (blen < 0) { in ceph_crypto_key_unarmor()
69 return blen; in ceph_crypto_key_unarmor()
73 ret = ceph_crypto_key_decode(key, &p, p + blen); in ceph_crypto_key_unarmor()
/linux-2.6.39/sound/soc/codecs/
Dwm8804.c280 u16 blen; in wm8804_hw_params() local
286 blen = 0x0; in wm8804_hw_params()
289 blen = 0x1; in wm8804_hw_params()
292 blen = 0x2; in wm8804_hw_params()
301 snd_soc_update_bits(codec, WM8804_AIFTX, 0xc, blen << 2); in wm8804_hw_params()
302 snd_soc_update_bits(codec, WM8804_AIFRX, 0xc, blen << 2); in wm8804_hw_params()

123