Home
last modified time | relevance | path

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

123

/Linux-v5.15/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()
462 int blen, int secs) in test_aead_jiffies() argument
480 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
484 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
521 (cycles + 4) / 8, blen); in test_aead_cycles()
757 static int test_mb_ahash_jiffies(struct test_mb_ahash_data *data, int blen, in test_mb_ahash_jiffies() argument
777 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_ahash_jiffies()
[all …]
/Linux-v5.15/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.15/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.15/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.15/tools/perf/util/arm-spe-decoder/
Darm-spe-pkt-decoder.c253 static int arm_spe_pkt_out_string(int *err, char **buf_p, size_t *blen, in arm_spe_pkt_out_string() argument
264 ret = vsnprintf(*buf_p, *blen, fmt, ap); in arm_spe_pkt_out_string()
275 } else if ((size_t)ret >= *blen) { in arm_spe_pkt_out_string()
276 (*buf_p)[*blen - 1] = '\0'; in arm_spe_pkt_out_string()
286 *blen -= ret; in arm_spe_pkt_out_string()
492 size_t blen = buf_len; in arm_spe_pkt_desc() local
499 arm_spe_pkt_out_string(&err, &buf, &blen, "%s", name); in arm_spe_pkt_desc()
509 arm_spe_pkt_out_string(&err, &buf, &blen, "%s %lld", name, payload); in arm_spe_pkt_desc()
515 arm_spe_pkt_out_string(&err, &buf, &blen, "%s 0x%lx el%d", in arm_spe_pkt_desc()
/Linux-v5.15/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.15/net/ceph/
Dcrypto.c111 int blen = inlen * 3 / 4; in ceph_crypto_key_unarmor() local
116 buf = kmalloc(blen, GFP_NOFS); in ceph_crypto_key_unarmor()
119 blen = ceph_unarmor(buf, inkey, inkey+inlen); in ceph_crypto_key_unarmor()
120 if (blen < 0) { in ceph_crypto_key_unarmor()
122 return blen; in ceph_crypto_key_unarmor()
126 ret = ceph_crypto_key_decode(key, &p, p + blen); in ceph_crypto_key_unarmor()
/Linux-v5.15/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c670 size_t blen = buf_len; in intel_pt_pkt_desc() local
672 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
676 blen -= ret; in intel_pt_pkt_desc()
679 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
681 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
685 blen -= ret; in intel_pt_pkt_desc()
688 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
691 blen -= ret; in intel_pt_pkt_desc()
692 return buf_len - blen; in intel_pt_pkt_desc()
/Linux-v5.15/arch/arm/boot/dts/
Dep7211-edb7211.dts23 power-supply = <&blen>;
65 blen: blen { label
/Linux-v5.15/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()
/Linux-v5.15/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.15/fs/gfs2/
Dxattr.c240 unsigned int blen = 0; in ea_dealloc_unstuffed() local
286 if (bstart + blen == bn) in ea_dealloc_unstuffed()
287 blen++; in ea_dealloc_unstuffed()
290 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
292 blen = 1; in ea_dealloc_unstuffed()
299 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
1271 unsigned int blen = 0; in ea_dealloc_indirect() local
1301 if (bstart + blen == bn) in ea_dealloc_indirect()
1302 blen++; in ea_dealloc_indirect()
1307 blen = 1; in ea_dealloc_indirect()
[all …]
Dmeta_io.c382 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
387 u64 end = bstart + blen; in gfs2_ail1_wipe()
440 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
446 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
447 while (blen) { in gfs2_journal_wipe()
466 blen--; in gfs2_journal_wipe()
Drgrp.h50 u64 bstart, u32 blen, int meta);
52 u64 bstart, u32 blen);
/Linux-v5.15/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.15/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.15/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.15/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 …]
Dqib_iba7220.c812 u64 err, char *buf, size_t blen) in qib_decode_7220_sdma_errs() argument
848 bidx += scnprintf(buf + bidx, blen - bidx, in qib_decode_7220_sdma_errs()
970 static int qib_decode_7220_err(struct qib_devdata *dd, char *buf, size_t blen, in qib_decode_7220_err() argument
981 strlcat(buf, "CRC ", blen); in qib_decode_7220_err()
986 strlcat(buf, "rhdrlen ", blen); in qib_decode_7220_err()
988 strlcat(buf, "rbadtid ", blen); in qib_decode_7220_err()
990 strlcat(buf, "rbadversion ", blen); in qib_decode_7220_err()
992 strlcat(buf, "rhdr ", blen); in qib_decode_7220_err()
994 strlcat(buf, "sendspecialtrigger ", blen); in qib_decode_7220_err()
996 strlcat(buf, "rlongpktlen ", blen); in qib_decode_7220_err()
[all …]
/Linux-v5.15/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()
1536 u8 PageNum, u8 blen, void *buf) in ms_lib_read_extrablock() argument
1544 bcb->DataTransferLength = 0x4 * blen; in ms_lib_read_extrablock()
1552 bcb->CDB[6] = blen; in ms_lib_read_extrablock()
1647 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in ms_scsi_read() local
1648 u32 blenByte = blen * 0x200; in ms_scsi_read()
1696 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_read()
[all …]
/Linux-v5.15/drivers/net/wireless/marvell/libertas/
Dif_spi.c37 u16 blen; member
809 err = spu_write(card, port_reg, packet->buffer, packet->blen); in if_spi_h2c()
942 u16 blen; in if_spi_host_to_card() local
950 blen = ALIGN(nb, 4); in if_spi_host_to_card()
951 packet = kzalloc(sizeof(struct if_spi_packet) + blen, GFP_ATOMIC); in if_spi_host_to_card()
956 packet->blen = blen; in if_spi_host_to_card()
958 memset(packet->buffer + nb, 0, blen - nb); in if_spi_host_to_card()

123