Home
last modified time | relevance | path

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

1234

/Linux-v5.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, (long)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, (long)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, (long)bcount * blen * num_mb); in test_mb_ahash_jiffies()
[all …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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()
/Linux-v5.10/arch/arm/boot/dts/
Dep7211-edb7211.dts23 power-supply = <&blen>;
65 blen: blen { label
/Linux-v5.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()
/Linux-v5.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 …]
Drgrp.h50 u64 bstart, u32 blen, int meta);
52 u64 bstart, u32 blen);
/Linux-v5.10/fs/ubifs/
Dtnc_commit.c433 int wlen, blen, err; in layout_in_empty_space() local
521 blen = buf_len; in layout_in_empty_space()
523 blen = ALIGN(wlen, c->min_io_size); in layout_in_empty_space()
526 buf_offs += blen; in layout_in_empty_space()
530 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
536 used -= blen; in layout_in_empty_space()
543 blen - used, 0, 0); in layout_in_empty_space()
829 int avail, wlen, err, lnum_pos = 0, blen, nxt_offs; in write_index() local
984 blen = buf_len; in write_index()
987 blen = ALIGN(wlen, c->min_io_size); in write_index()
[all …]
/Linux-v5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c674 size_t blen = buf_len; in intel_pt_pkt_desc() local
676 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
680 blen -= ret; in intel_pt_pkt_desc()
683 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
685 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
689 blen -= ret; in intel_pt_pkt_desc()
692 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
695 blen -= ret; in intel_pt_pkt_desc()
696 return buf_len - blen; in intel_pt_pkt_desc()
/Linux-v5.10/fs/
Dd_path.c85 int blen; in prepend_path() local
94 blen = *buflen; in prepend_path()
110 blen = *buflen; in prepend_path()
131 error = prepend_name(&bptr, &blen, &dentry->d_name); in prepend_path()
154 if (--blen < 0) in prepend_path()
160 *buflen = blen; in prepend_path()
/Linux-v5.10/fs/nfsd/
Dnfs4idmap.c133 int *blen) in idtoname_request() argument
138 qword_add(bpp, blen, ent->authname); in idtoname_request()
140 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in idtoname_request()
141 qword_add(bpp, blen, idstr); in idtoname_request()
313 int *blen) in nametoid_request() argument
317 qword_add(bpp, blen, ent->authname); in nametoid_request()
318 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in nametoid_request()
319 qword_add(bpp, blen, ent->name); in nametoid_request()
/Linux-v5.10/drivers/media/dvb-frontends/
Dgp8psk-fe.h65 int (*in)(void *priv, u8 req, u16 value, u16 index, u8 *b, int blen);
66 int (*out)(void *priv, u8 req, u16 value, u16 index, u8 *b, int blen);
/Linux-v5.10/sound/soc/codecs/
Dwm8804.c292 u16 blen; in wm8804_hw_params() local
298 blen = 0x0; in wm8804_hw_params()
301 blen = 0x1; in wm8804_hw_params()
304 blen = 0x2; in wm8804_hw_params()
313 snd_soc_component_update_bits(component, WM8804_AIFTX, 0xc, blen << 2); in wm8804_hw_params()
314 snd_soc_component_update_bits(component, WM8804_AIFRX, 0xc, blen << 2); in wm8804_hw_params()
/Linux-v5.10/drivers/usb/storage/
Dene_ub6250.c683 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in sd_scsi_read() local
685 u32 blenByte = blen * 0x200; in sd_scsi_read()
723 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in sd_scsi_write() local
725 u32 blenByte = blen * 0x200; in sd_scsi_write()
1535 u8 PageNum, u8 blen, void *buf) in ms_lib_read_extrablock() argument
1543 bcb->DataTransferLength = 0x4 * blen; in ms_lib_read_extrablock()
1551 bcb->CDB[6] = blen; in ms_lib_read_extrablock()
1646 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in ms_scsi_read() local
1647 u32 blenByte = blen * 0x200; in ms_scsi_read()
1695 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_read()
[all …]
/Linux-v5.10/drivers/s390/crypto/
Dzcrypt_cca_key.h15 unsigned short blen; member
157 key->t6_hdr.blen = key->pubHdr.token_length + 6; in zcrypt_type6_mex_key_en()
206 key->t6_hdr.blen = size; in zcrypt_type6_crt_key()
/Linux-v5.10/Documentation/filesystems/nfs/
Drpc-cache.rst88 int cache_request(struct cache_detail \*cd, struct cache_head \*h, char \*\*bpp, int \*blen)
90 to be instantiated. \*bpp is a buffer of size \*blen.
92 and \*blen should be reduced to show how much free
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_iba6120.c889 static int qib_decode_6120_err(struct qib_devdata *dd, char *buf, size_t blen, in qib_decode_6120_err() argument
900 strlcat(buf, "CRC ", blen); in qib_decode_6120_err()
905 strlcat(buf, "rhdrlen ", blen); in qib_decode_6120_err()
907 strlcat(buf, "rbadtid ", blen); in qib_decode_6120_err()
909 strlcat(buf, "rbadversion ", blen); in qib_decode_6120_err()
911 strlcat(buf, "rhdr ", blen); in qib_decode_6120_err()
913 strlcat(buf, "rlongpktlen ", blen); in qib_decode_6120_err()
915 strlcat(buf, "rmaxpktlen ", blen); in qib_decode_6120_err()
917 strlcat(buf, "rminpktlen ", blen); in qib_decode_6120_err()
919 strlcat(buf, "sminpktlen ", blen); in qib_decode_6120_err()
[all …]
/Linux-v5.10/drivers/net/ethernet/amd/
Dni65.h107 volatile short blen; member
119 volatile unsigned short blen; member
Dni65.c734 short blen[TMDNUM]; in ni65_stop_start() local
752 blen[i] = tmdp->blen; in ni65_stop_start()
766 p->tmdhead[i].blen = blen[num]; in ni65_stop_start()
827 tmdp->blen = tmdp->status2 = 0; in ni65_lance_reinit()
838 rmdp->blen = -(R_BUF_SIZE-8); in ni65_lance_reinit()
1023 dev->stats.tx_bytes -= (short)(tmdp->blen); in ni65_xmit_intr()
1124 rmdp->blen = -(R_BUF_SIZE-8); in ni65_recv_intr()
1197 tmdp->blen = -len; in ni65_send_packet()

1234