Searched refs:smallbuf (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_io.c151 static char smallbuf[256]; local
173 * using smallbuf instead) when memory is low
175 * deadlocking. smallbuf should be at least as
181 if (len > sizeof (smallbuf)) {
196 * smallbuf, since smallbuf is statically allocated and
205 * If buf is small enough, use smallbuf
207 * smallbuf is static, so single thread
211 if (len <= sizeof (smallbuf)) {
212 promplat_bcopy(buf, smallbuf, le
[all...]
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c214 uchar_t smallbuf[8]; local
221 * The first four bytes of smallbuf concatenated tell us the
226 if (get_configuration(fd, 0, 8, &smallbuf[0])) {
227 buflen = GET32(smallbuf) + 4;
246 uchar_t smallbuf[8]; local
253 * The first four bytes of smallbuf concatenated tell us the
258 if (get_configuration(fd, 0, 8, &smallbuf[0])) {
259 buflen = GET32(smallbuf) + 4;

Completed in 56 milliseconds