Home
last modified time | relevance | path

Searched full:blen (Results 1 – 25 of 171) sorted by relevance

1234567

/kernel/linux/linux-4.19/crypto/
Dtcrypt.h31 unsigned int blen; /* buffer length */ member
77 { .blen = 16, .plen = 16, },
78 { .blen = 64, .plen = 16, },
79 { .blen = 64, .plen = 64, },
80 { .blen = 256, .plen = 16, },
81 { .blen = 256, .plen = 64, },
82 { .blen = 256, .plen = 256, },
83 { .blen = 1024, .plen = 16, },
84 { .blen = 1024, .plen = 256, },
85 { .blen = 1024, .plen = 1024, },
[all …]
Dtcrypt.c187 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
206 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_aead_jiffies()
214 int blen, u32 num_mb) in test_mb_aead_cycles() argument
247 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
458 int blen, int secs) in test_aead_jiffies() argument
476 bcount, secs, (long)bcount * blen); in test_aead_jiffies()
480 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
517 (cycles + 4) / 8, blen); in test_aead_cycles()
747 static int test_mb_ahash_jiffies(struct test_mb_ahash_data *data, int blen, in test_mb_ahash_jiffies() argument
767 bcount * num_mb, secs, (long)bcount * blen * num_mb); in test_mb_ahash_jiffies()
[all …]
/kernel/linux/linux-5.10/crypto/
Dtcrypt.h26 unsigned int blen; /* buffer length */ member
72 { .blen = 16, .plen = 16, },
73 { .blen = 64, .plen = 16, },
74 { .blen = 64, .plen = 64, },
75 { .blen = 256, .plen = 16, },
76 { .blen = 256, .plen = 64, },
77 { .blen = 256, .plen = 256, },
78 { .blen = 1024, .plen = 16, },
79 { .blen = 1024, .plen = 256, },
80 { .blen = 1024, .plen = 1024, },
[all …]
Dtcrypt.c184 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
203 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
211 int blen, u32 num_mb) in test_mb_aead_cycles() argument
244 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
455 int blen, int secs) in test_aead_jiffies() argument
473 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
477 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
514 (cycles + 4) / 8, blen); in test_aead_cycles()
744 static int test_mb_ahash_jiffies(struct test_mb_ahash_data *data, int blen, in test_mb_ahash_jiffies() argument
764 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_ahash_jiffies()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/arm-spe-decoder/
Darm-spe-pkt-decoder.c287 size_t blen = buf_len; in arm_spe_pkt_desc() local
292 blen -= ret; in arm_spe_pkt_desc()
296 blen -= ret; in arm_spe_pkt_desc()
301 blen -= ret; in arm_spe_pkt_desc()
306 blen -= ret; in arm_spe_pkt_desc()
311 blen -= ret; in arm_spe_pkt_desc()
316 blen -= ret; in arm_spe_pkt_desc()
321 blen -= ret; in arm_spe_pkt_desc()
326 blen -= ret; in arm_spe_pkt_desc()
331 blen -= ret; in arm_spe_pkt_desc()
[all …]
/kernel/linux/linux-4.19/tools/perf/util/
Darm-spe-pkt-decoder.c287 size_t blen = buf_len; in arm_spe_pkt_desc() local
292 blen -= ret; in arm_spe_pkt_desc()
296 blen -= ret; in arm_spe_pkt_desc()
301 blen -= ret; in arm_spe_pkt_desc()
306 blen -= ret; in arm_spe_pkt_desc()
311 blen -= ret; in arm_spe_pkt_desc()
316 blen -= ret; in arm_spe_pkt_desc()
321 blen -= ret; in arm_spe_pkt_desc()
326 blen -= ret; in arm_spe_pkt_desc()
331 blen -= ret; in arm_spe_pkt_desc()
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/dvb-usb/
Daz6027.c302 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.c33 u16 index, u8 *b, int blen) in gp8psk_usb_in_op() argument
38 if (blen > sizeof(st->data)) in gp8psk_usb_in_op()
44 while (ret >= 0 && ret != blen && try < 3) { in gp8psk_usb_in_op()
49 value, index, st->data, blen, in gp8psk_usb_in_op()
55 if (ret < 0 || ret != blen) { in gp8psk_usb_in_op()
60 memcpy(b, st->data, blen); in gp8psk_usb_in_op()
64 debug_dump(b,blen,deb_xfer); in gp8psk_usb_in_op()
72 u16 index, u8 *b, int blen) in gp8psk_usb_out_op() argument
78 debug_dump(b,blen,deb_xfer); in gp8psk_usb_out_op()
80 if (blen > sizeof(st->data)) in gp8psk_usb_out_op()
[all …]
Dvp702x.c34 u16 value, u16 index, u8 *b, int blen) in vp702x_usb_in_op_unlocked() argument
42 value, index, b, blen, in vp702x_usb_in_op_unlocked()
53 debug_dump(b,blen,deb_xfer); in vp702x_usb_in_op_unlocked()
59 u16 index, u8 *b, int blen) in vp702x_usb_in_op() argument
64 ret = vp702x_usb_in_op_unlocked(d, req, value, index, b, blen); in vp702x_usb_in_op()
71 u16 value, u16 index, u8 *b, int blen) in vp702x_usb_out_op_unlocked() argument
75 debug_dump(b,blen,deb_xfer); in vp702x_usb_out_op_unlocked()
81 value,index,b,blen, in vp702x_usb_out_op_unlocked()
82 2000)) != blen) { in vp702x_usb_out_op_unlocked()
90 u16 index, u8 *b, int blen) in vp702x_usb_out_op() argument
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Daz6027.c299 u16 value, u16 index, u8 *b, int blen) in az6027_usb_in_op() argument
312 blen, in az6027_usb_in_op()
322 debug_dump(b, blen, deb_xfer); in az6027_usb_in_op()
333 int blen) in az6027_usb_out_op() argument
338 debug_dump(b, blen, deb_xfer); in az6027_usb_out_op()
350 blen, in az6027_usb_out_op()
353 if (ret != blen) { in az6027_usb_out_op()
369 int blen; in az6027_streaming_ctrl() local
376 blen = 0; in az6027_streaming_ctrl()
378 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); in az6027_streaming_ctrl()
[all …]
Dgp8psk.c30 u16 index, u8 *b, int blen) in gp8psk_usb_in_op() argument
35 if (blen > sizeof(st->data)) in gp8psk_usb_in_op()
41 while (ret >= 0 && ret != blen && try < 3) { in gp8psk_usb_in_op()
46 value, index, st->data, blen, in gp8psk_usb_in_op()
52 if (ret < 0 || ret != blen) { in gp8psk_usb_in_op()
57 memcpy(b, st->data, blen); in gp8psk_usb_in_op()
61 debug_dump(b,blen,deb_xfer); in gp8psk_usb_in_op()
69 u16 index, u8 *b, int blen) in gp8psk_usb_out_op() argument
75 debug_dump(b,blen,deb_xfer); in gp8psk_usb_out_op()
77 if (blen > sizeof(st->data)) in gp8psk_usb_out_op()
[all …]
Dvp702x.c31 u16 value, u16 index, u8 *b, int blen) in vp702x_usb_in_op_unlocked() argument
39 value, index, b, blen, in vp702x_usb_in_op_unlocked()
50 debug_dump(b,blen,deb_xfer); in vp702x_usb_in_op_unlocked()
56 u16 index, u8 *b, int blen) in vp702x_usb_in_op() argument
61 ret = vp702x_usb_in_op_unlocked(d, req, value, index, b, blen); in vp702x_usb_in_op()
68 u16 value, u16 index, u8 *b, int blen) in vp702x_usb_out_op_unlocked() argument
72 debug_dump(b,blen,deb_xfer); in vp702x_usb_out_op_unlocked()
78 value,index,b,blen, in vp702x_usb_out_op_unlocked()
79 2000)) != blen) { in vp702x_usb_out_op_unlocked()
87 u16 index, u8 *b, int blen) in vp702x_usb_out_op() argument
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Daz6007.c101 u16 index, u8 *b, int blen) in __az6007_read() argument
109 value, index, b, blen, 5000); in __az6007_read()
119 DUMP_PREFIX_NONE, b, blen); in __az6007_read()
126 u16 index, u8 *b, int blen) in az6007_read() argument
134 ret = __az6007_read(d->udev, req, value, index, b, blen); in az6007_read()
142 u16 index, u8 *b, int blen) in __az6007_write() argument
150 DUMP_PREFIX_NONE, b, blen); in __az6007_write()
153 if (blen > 64) { in __az6007_write()
155 blen); in __az6007_write()
163 value, index, b, blen, 5000); in __az6007_write()
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/dvb-usb-v2/
Daz6007.c109 u16 index, u8 *b, int blen) in __az6007_read() argument
117 value, index, b, blen, 5000); in __az6007_read()
127 DUMP_PREFIX_NONE, b, blen); in __az6007_read()
134 u16 index, u8 *b, int blen) in az6007_read() argument
142 ret = __az6007_read(d->udev, req, value, index, b, blen); in az6007_read()
150 u16 index, u8 *b, int blen) in __az6007_write() argument
158 DUMP_PREFIX_NONE, b, blen); in __az6007_write()
161 if (blen > 64) { in __az6007_write()
163 blen); in __az6007_write()
171 value, index, b, blen, 5000); in __az6007_write()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtxring_overwrite.c41 static void build_packet(void *buffer, size_t blen, char payload_char) in build_packet() argument
48 memset(buffer, 0, blen); in build_packet()
61 iph->tot_len = htons(blen - off); in build_packet()
68 udph->len = htons(blen - off); in build_packet()
72 memset(buffer + off, payload_char, blen - off); in build_packet()
/kernel/linux/linux-4.19/drivers/usb/wusbcore/
Dcrypto.c156 * @blen: size of b...
173 * (1) Created as 6.5 says, again, using as l(a) 'Blen + 14', and
189 * NOTE: blen is not aligned to a block size, we'll pad zeros, that's
198 size_t blen) in wusb_ccm_mac() argument
218 zero_padding = blen % sizeof(struct aes_ccm_block); in wusb_ccm_mac()
221 dst_size = blen + sizeof(scratch->b0) + sizeof(scratch->b1) + in wusb_ccm_mac()
239 * says that to initialize B1 from A with 'l(a) = blen + in wusb_ccm_mac()
243 scratch->b1.la = cpu_to_be16(blen + 14); in wusb_ccm_mac()
249 sg_set_buf(&sg[2], b, blen); in wusb_ccm_mac()
297 const void *b, size_t blen, size_t len) in wusb_prf() argument
[all …]
/kernel/linux/linux-4.19/include/linux/usb/
Dwusb.h316 const void *b, size_t blen, size_t len);
321 const void *b, size_t blen) in wusb_prf_64() argument
323 return wusb_prf(out, out_size, key, n, a, b, blen, 64); in wusb_prf_64()
329 const void *b, size_t blen) in wusb_prf_128() argument
331 return wusb_prf(out, out_size, key, n, a, b, blen, 128); in wusb_prf_128()
337 const void *b, size_t blen) in wusb_prf_256() argument
339 return wusb_prf(out, out_size, key, n, a, b, blen, 256); in wusb_prf_256()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dep7211-edb7211.dts23 power-supply = <&blen>;
65 blen: blen { label
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dep7211-edb7211.dts26 power-supply = <&blen>;
68 blen: blen { label
/kernel/linux/linux-4.19/net/ceph/
Dcrypto.c110 int blen = inlen * 3 / 4; in ceph_crypto_key_unarmor() local
115 buf = kmalloc(blen, GFP_NOFS); in ceph_crypto_key_unarmor()
118 blen = ceph_unarmor(buf, inkey, inkey+inlen); in ceph_crypto_key_unarmor()
119 if (blen < 0) { in ceph_crypto_key_unarmor()
121 return blen; in ceph_crypto_key_unarmor()
125 ret = ceph_crypto_key_decode(key, &p, p + blen); in ceph_crypto_key_unarmor()
/kernel/linux/linux-5.10/net/ceph/
Dcrypto.c110 int blen = inlen * 3 / 4; in ceph_crypto_key_unarmor() local
115 buf = kmalloc(blen, GFP_NOFS); in ceph_crypto_key_unarmor()
118 blen = ceph_unarmor(buf, inkey, inkey+inlen); in ceph_crypto_key_unarmor()
119 if (blen < 0) { in ceph_crypto_key_unarmor()
121 return blen; in ceph_crypto_key_unarmor()
125 ret = ceph_crypto_key_decode(key, &p, p + blen); in ceph_crypto_key_unarmor()
/kernel/linux/linux-5.10/fs/gfs2/
Dmeta_io.c369 * @blen: length of buffers to be removed
376 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
381 u64 end = bstart + blen; in gfs2_ail1_wipe()
430 * @blen: the number of buffers in the run
434 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
440 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
441 while (blen) { in gfs2_journal_wipe()
460 blen--; in gfs2_journal_wipe()
Dxattr.c234 unsigned int blen = 0; in ea_dealloc_unstuffed() local
279 if (bstart + blen == bn) in ea_dealloc_unstuffed()
280 blen++; in ea_dealloc_unstuffed()
283 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
285 blen = 1; in ea_dealloc_unstuffed()
292 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
1259 unsigned int blen = 0; in ea_dealloc_indirect() local
1289 if (bstart + blen == bn) in ea_dealloc_indirect()
1290 blen++; in ea_dealloc_indirect()
1295 blen = 1; in ea_dealloc_indirect()
[all …]
/kernel/linux/linux-4.19/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c557 size_t blen = buf_len; in intel_pt_pkt_desc() local
559 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
563 blen -= ret; in intel_pt_pkt_desc()
566 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
568 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
572 blen -= ret; in intel_pt_pkt_desc()
575 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
578 blen -= ret; in intel_pt_pkt_desc()
579 return buf_len - blen; in intel_pt_pkt_desc()
/kernel/linux/linux-4.19/fs/gfs2/
Dxattr.c237 unsigned int blen = 0; in ea_dealloc_unstuffed() local
282 if (bstart + blen == bn) in ea_dealloc_unstuffed()
283 blen++; in ea_dealloc_unstuffed()
286 gfs2_free_meta(ip, bstart, blen); in ea_dealloc_unstuffed()
288 blen = 1; in ea_dealloc_unstuffed()
295 gfs2_free_meta(ip, bstart, blen); in ea_dealloc_unstuffed()
1257 unsigned int blen = 0; in ea_dealloc_indirect() local
1287 if (bstart + blen == bn) in ea_dealloc_indirect()
1288 blen++; in ea_dealloc_indirect()
1293 blen = 1; in ea_dealloc_indirect()
[all …]

1234567