Lines Matching refs:buflen
41 prom_set_security_key(char *keyname, caddr_t buf, int buflen, int *reslen, in prom_set_security_key() argument
65 if (buflen > 0 && ((uintptr_t)buf > (uint32_t)-1)) { in prom_set_security_key()
67 buf = promplat_alloc(buflen); in prom_set_security_key()
72 promplat_bcopy(obuf, buf, buflen); in prom_set_security_key()
95 ci[5] = p1275_uint2cell(buflen); in prom_set_security_key()
105 promplat_free(buf, buflen); in prom_set_security_key()
123 prom_get_security_key(char *keyname, caddr_t buf, int buflen, int *keylen, in prom_get_security_key() argument
144 buf = promplat_alloc(buflen); in prom_get_security_key()
171 ci[5] = p1275_uint2cell(buflen); in prom_get_security_key()
181 promplat_bcopy(buf, obuf, buflen); in prom_get_security_key()
182 promplat_free(buf, buflen); in prom_get_security_key()