Lines Matching full:memblock
1480 #define MEMBLOCK 2048
1482 /* Check that strlen("membytes")+1 + 2*sizeof(int32) + MEMBLOCK <= DHD_IOCTL_MAXLEN */
1483 #if (MEMBLOCK + 17 > DHD_IOCTL_MAXLEN)
1484 #error MEMBLOCK/DHD_IOCTL_MAXLEN sizing
1496 uint8 memblock[MEMBLOCK];
1503 if (read_len >= MEMBLOCK)
1504 read_len = MEMBLOCK;
1505 len = fread(memblock, sizeof(uint8), read_len, fp);
1520 memcpy(bufp, memblock, len);
1789 uint8 memblock[MEMBLOCK];
1860 while ((len = fread(memblock, sizeof(uint8), MEMBLOCK, fp))) {
1861 if (len < MEMBLOCK && !feof(fp)) {
1867 ret = dhd_set(dhd, DHD_DLDN_WRITE, memblock, len);
1998 len = MIN(MEMBLOCK, size);