Home
last modified time | relevance | path

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

1234

/Linux-v6.1/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.c173 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
192 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
200 int blen, u32 num_mb) in test_mb_aead_cycles() argument
233 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
451 int blen, int secs) in test_aead_jiffies() argument
469 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
473 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
510 (cycles + 4) / 8, blen); in test_aead_cycles()
716 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest() argument
731 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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()
Dsrv6_end_next_csid_l3vpn_test.sh999 local blen="$3"
1003 if [ "${blen}" != "d" ]; then
1004 layout="${layout} lblen ${blen}"
1023 local blen="$2"
1030 __nextcsid_end_behavior_test "${nsname}" "add" "${blen}" "${flen}"
1032 __nextcsid_end_behavior_test "${nsname}" "del" "${blen}" "${flen}"
1049 local blen
1057 blen="$(__parse_csid_container_cfg "${cfg}" 1)"
1063 "${blen}" \
1069 "Accept valid C-SID container cfg (lblen=${blen}, nflen=${flen})"
[all …]
/Linux-v6.1/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()
272 * A return value of *blen or more means that the output was 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-v6.1/arch/arm/boot/dts/
Dep7211-edb7211.dts23 power-supply = <&blen>;
65 blen: blen { label
/Linux-v6.1/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-v6.1/fs/gfs2/
Dmeta_io.c374 * @blen: length of buffers to be removed
381 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
386 u64 end = bstart + blen; in gfs2_ail1_wipe()
435 * @blen: the number of buffers in the run
439 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
445 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
446 while (blen) { in gfs2_journal_wipe()
465 blen--; in gfs2_journal_wipe()
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 …]
Drgrp.h50 u64 bstart, u32 blen, int meta);
52 u64 bstart, u32 blen);
/Linux-v6.1/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-v6.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c703 size_t blen = buf_len; in intel_pt_pkt_desc() local
705 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc()
709 blen -= ret; in intel_pt_pkt_desc()
712 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc()
714 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc()
718 blen -= ret; in intel_pt_pkt_desc()
721 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc()
724 blen -= ret; in intel_pt_pkt_desc()
725 return buf_len - blen; in intel_pt_pkt_desc()
/Linux-v6.1/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-v6.1/drivers/pinctrl/sunplus/
Dsppctl.h58 .blen = bl, \
68 .blen = bl, \
154 const u8 blen; /* bit length */ member
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.c185 unsigned int *blen) in pvr2_ctrl_get_valname() argument
189 *blen = 0; in pvr2_ctrl_get_valname()
196 *blen = scnprintf( in pvr2_ctrl_get_valname()
200 *blen = 0; in pvr2_ctrl_get_valname()
212 *blen = scnprintf(bptr,bmax,"%s", in pvr2_ctrl_get_valname()
/Linux-v6.1/drivers/usb/storage/
Dene_ub6250.c680 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in sd_scsi_read() local
682 u32 blenByte = blen * 0x200; in sd_scsi_read()
720 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in sd_scsi_write() local
722 u32 blenByte = blen * 0x200; in sd_scsi_write()
1533 u8 PageNum, u8 blen, void *buf) in ms_lib_read_extrablock() argument
1541 bcb->DataTransferLength = 0x4 * blen; in ms_lib_read_extrablock()
1549 bcb->CDB[6] = blen; in ms_lib_read_extrablock()
1644 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in ms_scsi_read() local
1645 u32 blenByte = blen * 0x200; in ms_scsi_read()
1693 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) in ms_scsi_read()
[all …]

1234