Home
last modified time | relevance | path

Searched refs:plen (Results 1 – 15 of 15) sorted by relevance

/arch/x86/platform/olpc/
Dolpc_dt.c77 int plen; in olpc_dt_getproperty() local
79 plen = olpc_dt_getproplen(node, prop); in olpc_dt_getproperty()
80 if (plen > bufsize || plen < 1) { in olpc_dt_getproperty()
83 const void *args[] = { (void *)node, prop, buf, (void *)plen }; in olpc_dt_getproperty()
84 void *res[] = { &plen }; in olpc_dt_getproperty()
92 return plen; in olpc_dt_getproperty()
/arch/s390/crypto/
Dsha_common.c63 unsigned int index, end, plen; in s390_sha_final() local
66 plen = (bsize > SHA256_BLOCK_SIZE) ? 16 : 8; in s390_sha_final()
70 end = (index < bsize - plen) ? bsize : (2 * bsize); in s390_sha_final()
/arch/sparc/prom/
Dtree_64.c121 int plen; in prom_getproperty() local
123 plen = prom_getproplen(node, prop); in prom_getproperty()
124 if ((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
Dtree_32.c112 int plen, ret; in prom_getproperty() local
115 plen = prom_getproplen(node, prop); in prom_getproperty()
116 if((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
/arch/cris/arch-v32/lib/
Dmemset.c47 void *memset(void *pdst, int c, unsigned int plen) in memset() argument
53 register int n __asm__ ("r12") = plen; in memset()
/arch/cris/arch-v10/lib/
Dmemset.c47 void *memset(void *pdst, int c, unsigned int plen) in memset() argument
53 register int n __asm__ ("r12") = plen; in memset()
/arch/powerpc/platforms/powermac/
Dsetup.c103 int plen; in pmac_show_cpuinfo() local
125 pp = of_get_property(np, "compatible", &plen); in pmac_show_cpuinfo()
128 while (plen > 0) { in pmac_show_cpuinfo()
131 plen -= l; in pmac_show_cpuinfo()
Dpfunc_core.c684 const int plen = strlen(PP_PREFIX); in pmf_add_functions() local
689 if (strncmp(pp->name, PP_PREFIX, plen) != 0) in pmf_add_functions()
691 name = pp->name + plen; in pmf_add_functions()
/arch/sparc/kernel/
Dsetup_64.c503 int i, plen; in mdesc_cpu_hwcap_list() local
518 plen = strlen(prop) + 1; in mdesc_cpu_hwcap_list()
519 prop += plen; in mdesc_cpu_hwcap_list()
520 len -= plen; in mdesc_cpu_hwcap_list()
Dioport.c241 unsigned long plen; in _sparc_free_io() local
243 plen = resource_size(res); in _sparc_free_io()
244 BUG_ON((plen & (PAGE_SIZE-1)) != 0); in _sparc_free_io()
245 srmmu_unmapiorange(res->start, plen); in _sparc_free_io()
/arch/mips/include/asm/
Dvpe.h64 unsigned long plen; member
/arch/powerpc/kernel/
Dprom_init.c981 unsigned int plen; in prom_count_smt_threads() local
995 plen = prom_getproplen(node, "ibm,ppc-interrupt-server#s"); in prom_count_smt_threads()
996 if (plen == PROM_ERROR) in prom_count_smt_threads()
998 plen >>= 2; in prom_count_smt_threads()
999 prom_debug("Found %lu smt threads per core\n", (unsigned long)plen); in prom_count_smt_threads()
1002 if (plen < 1 || plen > 64) { in prom_count_smt_threads()
1004 (unsigned long)plen); in prom_count_smt_threads()
1007 return plen; in prom_count_smt_threads()
1389 unsigned int plen; in prom_init_mem() local
1425 plen = prom_getprop(node, "reg", regbuf, sizeof(regbuf)); in prom_init_mem()
[all …]
Deeh.c275 size_t *plen = flag; in eeh_dump_pe_log() local
278 *plen += eeh_dump_dev_log(edev, pci_regs_buf + *plen, in eeh_dump_pe_log()
279 EEH_PCI_REGS_LOG_LEN - *plen); in eeh_dump_pe_log()
/arch/mips/kernel/
Dvpe.c589 len = v->plen; in vpe_elfload()
803 v->plen = P_SIZE; in vpe_open()
851 v->plen = 0; in vpe_release()
874 if ((count + v->len) > v->plen) { in vpe_write()
/arch/cris/arch-v32/drivers/
Dcryptocop.c379 size_t plen; in create_pad_descriptor() local
392 error = create_md5_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor()
403 error = create_sha1_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor()
416 plen = 1; in create_pad_descriptor()
419 plen = 0; in create_pad_descriptor()
427 cdesc->dma_descr->after = cdesc->dma_descr->buf + plen; in create_pad_descriptor()