Home
last modified time | relevance | path

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

/arch/sparc/prom/
Dtree_64.c90 int plen; in prom_getproperty() local
92 plen = prom_getproplen(node, prop); in prom_getproperty()
93 if ((plen > bufsize) || (plen == 0) || (plen == -1)) { in prom_getproperty()
101 node, prop, buffer, P1275_SIZE(plen)); in prom_getproperty()
Dtree_32.c111 int plen, ret; in prom_getproperty() local
114 plen = prom_getproplen(node, prop); in prom_getproperty()
115 if((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
/arch/s390/crypto/
Dsha_common.c62 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/kernel/
Dprom_common.c247 int len, ourlen, plen; in build_full_name() local
250 plen = strlen(dp->parent->full_name); in build_full_name()
252 len = ourlen + plen + 2; in build_full_name()
257 strcpy(n + plen, "/"); in build_full_name()
258 plen++; in build_full_name()
260 strcpy(n + plen, dp->path_component_name); in build_full_name()
Dioport.c228 unsigned long plen; in _sparc_free_io() local
230 plen = res->end - res->start + 1; in _sparc_free_io()
231 BUG_ON((plen & (PAGE_SIZE-1)) != 0); in _sparc_free_io()
232 sparc_unmapiorange(res->start, plen); in _sparc_free_io()
/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.c115 int plen; in pmac_show_cpuinfo() local
137 pp = of_get_property(np, "compatible", &plen); in pmac_show_cpuinfo()
140 while (plen > 0) { in pmac_show_cpuinfo()
143 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/powerpc/boot/dtc-src/
Dflattree.c701 int plen; in nodename_from_path() local
703 plen = strlen(ppath); in nodename_from_path()
705 if (!strneq(ppath, cpath, plen)) in nodename_from_path()
711 plen++; in nodename_from_path()
713 return strdup(cpath + plen); in nodename_from_path()
/arch/mips/kernel/
Dvpe.c116 unsigned long plen; member
845 len = v->plen; in vpe_elfload()
1084 v->plen = P_SIZE; in vpe_open()
1146 v->plen = 0; in vpe_release()
1168 if ((count + v->len) > v->plen) { in vpe_write()
/arch/powerpc/kernel/
Dsys_ppc32.c636 u32 plen, in compat_sys_add_key() argument
639 return sys_add_key(_type, _description, _payload, plen, ringid); in compat_sys_add_key()
Dprom.c1677 unsigned int plen, t; in of_get_cpu_node() local
1683 &plen); in of_get_cpu_node()
1694 plen /= sizeof(u32); in of_get_cpu_node()
1695 for (t = 0; t < plen; t++) { in of_get_cpu_node()
Dprom_init.c956 unsigned int plen; in prom_init_mem() local
990 plen = prom_getprop(node, "reg", RELOC(regbuf), sizeof(regbuf)); in prom_init_mem()
991 if (plen > sizeof(regbuf)) { in prom_init_mem()
993 plen = sizeof(regbuf); in prom_init_mem()
996 endp = p + (plen / sizeof(cell_t)); in prom_init_mem()
/arch/cris/arch-v32/drivers/
Dcryptocop.c378 size_t plen; in create_pad_descriptor() local
391 error = create_md5_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor()
402 error = create_sha1_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor()
415 plen = 1; in create_pad_descriptor()
418 plen = 0; in create_pad_descriptor()
426 cdesc->dma_descr->after = cdesc->dma_descr->buf + plen; in create_pad_descriptor()