Searched defs:BUFLEN (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/libgss/
H A Dg_utils.c40 #define BUFLEN 256 macro
60 char buf[BUFLEN]; /* one line from the file */
91 line = fgets(buf, BUFLEN, fp);
/osnet-11/usr/src/lib/libwrap/
H A Dhosts_access.c102 #define BUFLEN 2048 macro
145 char sv_list[BUFLEN]; /* becomes list of daemons */
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdladm_impl.h39 #define BUFLEN(lim, ptr) (((lim) > (ptr)) ? ((lim) - (ptr)) : 0) macro
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Ddavicom.c125 #define BUFLEN 1536 macro
141 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4)));
146 static unsigned char rxb[NRXD * BUFLEN] __attribute__ ((aligned(4)));
461 rxd[i].buf1addr = (void *)virt_to_bus(&rxb[i * BUFLEN]);
463 rxd[i].buf1sz = BUFLEN;
613 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
H A Dtulip.c364 #define BUFLEN 1536 macro
399 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4)));
403 static unsigned char rxb[RX_RING_SIZE * BUFLEN] __attribute__ ((aligned(4)));
909 rx_ring[i].length = cpu_to_le32(BUFLEN);
910 rx_ring[i].buffer1 = virt_to_le32desc(&rxb[i * BUFLEN]);
914 rx_ring[i-1].length = cpu_to_le32(DESC_RING_WRAP | BUFLEN);
931 tx_ring[1].length = cpu_to_le32(DESC_RING_WRAP | BUFLEN);
1158 memcpy(nic->packet, rxb + tp->cur_rx * BUFLEN, nic->packetlen);

Completed in 54 milliseconds