Searched refs:plen (Results 1 - 25 of 220) sorted by path

123456789

/linux-master/arch/sparc/kernel/
H A Dadi_64.c62 int plen; local
69 plen = strlen(prop) + 1;
70 prop += plen;
71 len -= plen;
H A Dioport.c229 unsigned long plen; local
231 plen = resource_size(res);
232 BUG_ON((plen & (PAGE_SIZE-1)) != 0);
233 srmmu_unmapiorange(res->start, plen);
H A Dsetup_64.c490 int i, plen; local
505 plen = strlen(prop) + 1;
506 prop += plen;
507 len -= plen;
/linux-master/arch/sparc/prom/
H A Dtree_32.c112 int plen, ret; local
115 plen = prom_getproplen(node, prop);
116 if((plen > bufsize) || (plen == 0) || (plen == -1))
H A Dtree_64.c121 int plen; local
123 plen = prom_getproplen(node, prop);
124 if ((plen > bufsize) || (plen == 0) || (plen == -1))
/linux-master/drivers/bluetooth/
H A Dbt3c_cs.c301 info->rx_count = eh->plen;
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_diag.c552 u32 plen, pbufn, maxlen_reserve; local
608 plen = sizeof(u32) + dp.len;
610 tmpbuf = vmalloc(plen);
623 plen >>= 2; /* in dwords */
626 dp.pbc_wd = plen;
647 qib_pio_copy(piobuf + 2, tmpbuf, plen - 1);
649 __raw_writel(tmpbuf[plen - 1], piobuf + plen + 1);
651 qib_pio_copy(piobuf + 2, tmpbuf, plen);
/linux-master/fs/befs/
H A Ddatastream.c134 u16 plen; local
148 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ?
150 memcpy(buff + bytes_read, bh->b_data, plen);
152 bytes_read += plen;
/linux-master/include/video/
H A Domapfb_dss.h595 int channel, u16 plen);
/linux-master/arch/mips/include/asm/
H A Dvpe.h59 unsigned long plen; member in struct:vpe
/linux-master/arch/mips/kernel/
H A Dvpe.c588 len = v->plen;
786 v->plen = P_SIZE;
828 v->plen = 0;
851 if ((count + v->len) > v->plen) {
/linux-master/arch/powerpc/kernel/
H A Deeh.c272 size_t *plen = flag; local
275 *plen += eeh_dump_dev_log(edev, pci_regs_buf + *plen,
276 EEH_PCI_REGS_LOG_LEN - *plen);
H A Dprom_init.c1229 unsigned int plen; local
1243 plen = prom_getproplen(node, "ibm,ppc-interrupt-server#s");
1244 if (plen == PROM_ERROR)
1246 plen >>= 2;
1247 prom_debug("Found %lu smt threads per core\n", (unsigned long)plen);
1250 if (plen < 1 || plen > 64) {
1252 (unsigned long)plen);
1255 return plen;
1657 unsigned int plen; local
[all...]
/linux-master/arch/powerpc/lib/
H A Dcode-patching.c489 size_t plen; local
492 plen = min_t(size_t, PAGE_SIZE - offset_in_page(addr), len);
496 err = __do_patch_instructions_mm(addr, code, plen, repeat_instr);
498 err = __do_patch_instructions(addr, code, plen, repeat_instr);
503 len -= plen;
504 addr = (u32 *)((unsigned long)addr + plen);
506 code = (u32 *)((unsigned long)code + plen);
/linux-master/arch/powerpc/platforms/powermac/
H A Dpfunc_core.c685 const int plen = strlen(PP_PREFIX); local
690 if (strncmp(pp->name, PP_PREFIX, plen) != 0)
692 name = pp->name + plen;
H A Dsetup.c89 int plen; local
111 pp = of_get_property(np, "compatible", &plen);
114 while (plen > 0) {
117 plen -= l;
/linux-master/arch/x86/platform/olpc/
H A Dolpc_dt.c72 int plen; local
74 plen = olpc_dt_getproplen(node, prop);
75 if (plen > bufsize || plen < 1) {
78 const void *args[] = { (void *)node, prop, buf, (void *)plen };
79 void *res[] = { &plen };
87 return plen;
222 int plen, len; local
224 plen = olpc_dt_getproperty(node, "compatible", buf, sizeof(buf));
225 if (plen <
[all...]
/linux-master/block/
H A Dsed-opal.c1018 u32 clen, plen, slen; local
1031 plen = be32_to_cpu(hdr->pkt.length);
1034 clen, plen, slen);
1036 if (clen == 0 || plen == 0 || slen == 0 ||
1039 clen, plen, slen);
/linux-master/crypto/
H A Daf_alg.c716 size_t plen = min_t(size_t, used, sg[i].length); local
727 if (dst_offset >= plen) {
729 dst_offset -= plen;
734 plen - dst_offset,
741 sg[i].length -= plen;
742 sg[i].offset += plen;
744 used -= plen;
745 ctx->used -= plen;
995 ssize_t plen; local
1047 plen
[all...]
H A Dtcrypt.c740 int plen, char *out, int secs)
746 if (plen == blen)
754 for (pcount = 0; pcount < blen; pcount += plen) {
810 int plen, char *out)
815 if (plen == blen)
823 for (pcount = 0; pcount < blen; pcount += plen) {
842 for (pcount = 0; pcount < blen; pcount += plen) {
919 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen);
921 ahash_request_set_crypt(req, sg, output, speed[i].plen);
739 test_ahash_jiffies(struct ahash_request *req, int blen, int plen, char *out, int secs) argument
809 test_ahash_cycles(struct ahash_request *req, int blen, int plen, char *out) argument
[all...]
H A Dtcrypt.h27 unsigned int plen; /* per-update length */ member in struct:hash_speed
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
[all...]
H A Dtestmgr.c2034 const unsigned int authsize = vec->clen - vec->plen;
2094 input[1].iov_len = enc ? vec->plen : vec->clen;
2096 vec->alen + (enc ? vec->plen :
2099 vec->plen),
2111 enc ? vec->plen : vec->clen, iv);
2121 if (req->cryptlen != (enc ? vec->plen : vec->clen) ||
2132 if (req->cryptlen != (enc ? vec->plen : vec->clen))
2192 enc ? vec->clen : vec->plen,
2279 const unsigned int authsize = vec->clen - vec->plen;
2290 flip_random_bit(rng, (u8 *)vec->ctext + vec->plen, authsiz
[all...]
H A Dtestmgr.h96 * @plen: Length of @ptext in bytes
116 unsigned int plen; member in struct:aead_testvec
15149 .plen = 64,
15175 .plen = 16,
15195 .plen = 64,
15221 .plen = 60,
15251 .plen = 60,
15363 .plen = 719,
15475 .plen = 64,
15502 .plen
[all...]
/linux-master/crypto/asymmetric_keys/
H A Dx509_loader.c13 size_t plen; local
26 plen = (p[2] << 8) | p[3];
27 plen += 4;
28 if (plen > end - p)
35 plen,
49 p += plen;
/linux-master/drivers/ata/
H A Dlibata-scsi.c1293 * @plen: the transfer length
1295 static void scsi_6_lba_len(const u8 *cdb, u64 *plba, u32 *plen) argument
1307 *plen = len;
1318 * @plen: the transfer length
1320 static inline void scsi_10_lba_len(const u8 *cdb, u64 *plba, u32 *plen) argument
1323 *plen = get_unaligned_be16(&cdb[7]);
1334 * @plen: the transfer length
1336 static inline void scsi_16_lba_len(const u8 *cdb, u64 *plba, u32 *plen) argument
1339 *plen = get_unaligned_be32(&cdb[10]);

Completed in 682 milliseconds

123456789