Home
last modified time | relevance | path

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

12345

/openbmc/linux/crypto/
H A 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 …]
H A Dtcrypt.c176 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
195 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
203 int blen, u32 num_mb) in test_mb_aead_cycles() argument
236 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
454 int blen, int secs) in test_aead_jiffies() argument
472 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
476 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
513 (cycles + 4) / 8, blen); in test_aead_cycles()
719 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest() argument
734 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/qemu/crypto/
H A Dcipher-nettle.c.inc66 #define DEFINE_SETIV(NAME, TYPE, BLEN) \
71 if (niv != BLEN) { \
72 error_setg(errp, "Expected IV size %d not %zu", BLEN, niv); \
80 #define DEFINE_ECB(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \
85 if (!qcrypto_length_check(len, BLEN, errp)) { \
95 if (!qcrypto_length_check(len, BLEN, errp)) { \
109 #define DEFINE_CBC(NAME, TYPE, BLEN, ENCRYPT, DECRYPT) \
114 if (!qcrypto_length_check(len, BLEN, errp)) { \
117 cbc_encrypt(&ctx->key, ENCRYPT, BLEN, ctx->iv, len, out, in); \
124 if (!qcrypto_length_check(len, BLEN, errp)) { \
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H A 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 …]
/openbmc/qemu/target/m68k/
H A Dop_helper.c861 uint32_t blen; member
867 int bofs, blen; in bf_prep() local
884 blen = (bofs + len - 1) / 8; in bf_prep()
888 * word. For the cases where BLEN is not a power of 2, adjust ADDR so in bf_prep()
892 switch (blen) { in bf_prep()
921 .blen = blen, in bf_prep()
926 static uint64_t bf_load(CPUM68KState *env, uint32_t addr, int blen, in bf_load() argument
929 switch (blen) { in bf_load()
944 static void bf_store(CPUM68KState *env, uint32_t addr, int blen, in bf_store() argument
947 switch (blen) { in bf_store()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A 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()
H A 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 …]
/openbmc/linux/tools/perf/util/arm-spe-decoder/
H A 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()
503 size_t blen = buf_len; in arm_spe_pkt_desc() local
510 arm_spe_pkt_out_string(&err, &buf, &blen, "%s", name); in arm_spe_pkt_desc()
520 arm_spe_pkt_out_string(&err, &buf, &blen, "%s %lld", name, payload); in arm_spe_pkt_desc()
526 arm_spe_pkt_out_string(&err, &buf, &blen, "%s 0x%lx el%d", in arm_spe_pkt_desc()
/openbmc/linux/arch/arm/boot/dts/cirrus/
H A Dep7211-edb7211.dts23 power-supply = <&blen>;
65 blen: blen { label
/openbmc/linux/net/ceph/
H A 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()
/openbmc/linux/fs/gfs2/
H A Dmeta_io.c377 * @blen: length of buffers to be removed
384 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
389 u64 end = bstart + blen; in gfs2_ail1_wipe()
438 * @blen: the number of buffers in the run
442 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
454 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
455 while (blen) { in gfs2_journal_wipe()
474 blen--; in gfs2_journal_wipe()
H A 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 …]
H A Drgrp.h50 u64 bstart, u32 blen, int meta);
52 u64 bstart, u32 blen);
/openbmc/linux/fs/ubifs/
H A 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()
831 int avail, wlen, err, lnum_pos = 0, blen, nxt_offs; in write_index() local
986 blen = buf_len; in write_index()
989 blen = ALIGN(wlen, c->min_io_size); in write_index()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dmeson_spifc.c192 int blen = bitlen / 8; in meson_spifc_xfer() local
198 debug("xfer len %d (%d) dout %p din %p\n", bitlen, blen, dout, din); in meson_spifc_xfer()
202 while (done < blen && !ret) { in meson_spifc_xfer()
203 len = min_t(int, blen - done, SPIFC_BUFFER_SIZE); in meson_spifc_xfer()
206 done + len >= blen); in meson_spifc_xfer()
/openbmc/linux/tools/perf/util/intel-pt-decoder/
H A 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()
/openbmc/linux/drivers/pinctrl/sunplus/
H A Dsppctl.h58 .blen = bl, \
68 .blen = bl, \
154 const u8 blen; /* bit length */ member
/openbmc/linux/fs/nfsd/
H A Dnfs4idmap.c134 int *blen) in idtoname_request() argument
139 qword_add(bpp, blen, ent->authname); in idtoname_request()
141 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in idtoname_request()
142 qword_add(bpp, blen, idstr); in idtoname_request()
314 int *blen) in nametoid_request() argument
318 qword_add(bpp, blen, ent->authname); in nametoid_request()
319 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in nametoid_request()
320 qword_add(bpp, blen, ent->name); in nametoid_request()
/openbmc/linux/drivers/media/dvb-frontends/
H A 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);
/openbmc/qemu/hw/sd/
H A Domap_mmc.c53 uint16_t blen; member
274 host->blen_counter = host->blen; in omap_mmc_transfer()
311 host->blen = 0; in omap_mmc_reset()
515 s->blen = (value & 0x07ff) + 1; in omap_mmc_write()
516 s->blen_counter = s->blen; in omap_mmc_write()
522 s->blen_counter = s->blen; in omap_mmc_write()
/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_cca_key.h15 unsigned short blen; member
146 key->t6_hdr.blen = key->pubhdr.token_length + 6; in zcrypt_type6_mex_key_en()
194 key->t6_hdr.blen = size; in zcrypt_type6_crt_key()
/openbmc/linux/sound/soc/codecs/
H A 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()

12345