Searched refs:HEADER_SIZE (Results 1 – 5 of 5) sorted by relevance
46 #define HEADER_SIZE 4 macro67 size = 2*size + HEADER_SIZE; in vcs_size()180 if (p < HEADER_SIZE) { in vcs_read()194 tmp_count = HEADER_SIZE; in vcs_read()200 p = HEADER_SIZE; in vcs_read()201 con_buf0 = con_buf + HEADER_SIZE; in vcs_read()217 p -= HEADER_SIZE; in vcs_read()381 if (p < HEADER_SIZE) { in vcs_write()382 char header[HEADER_SIZE]; in vcs_write()385 while (p < HEADER_SIZE && this_round > 0) { in vcs_write()[all …]
607 #define HEADER_SIZE (1 + 1 + 6 + 6) macro613 #define DEFAULT_PACKET_SIZE (HEADER_SIZE + SRC_SIZE + DEFAULT_DATA_SIZE)614 #define MIN_PACKET_SIZE (HEADER_SIZE + SRC_SIZE + MIN_DATA_SIZE)615 #define MAX_PACKET_SIZE (HEADER_SIZE + SRC_SIZE + MAX_DATA_SIZE)
254 #define HEADER_SIZE 4096 macro379 if (*ppos > (sys_info.mem_size + HEADER_SIZE)) { in zcore_read()384 count = min(count, (size_t) (sys_info.mem_size + HEADER_SIZE - *ppos)); in zcore_read()387 if (*ppos < HEADER_SIZE) { in zcore_read()388 size = min(count, (size_t) (HEADER_SIZE - *ppos)); in zcore_read()397 mem_start = *ppos - HEADER_SIZE; in zcore_read()403 if (*ppos < (ZFCPDUMP_HSA_SIZE + HEADER_SIZE)) { in zcore_read()
1240 #define HEADER_SIZE (sizeof(struct ti_i2c_desc) + \ in download_fw() macro1245 header = kmalloc(HEADER_SIZE, GFP_KERNEL); in download_fw()1253 vheader = kmalloc(HEADER_SIZE, GFP_KERNEL); in download_fw()1289 HEADER_SIZE, in download_fw()1302 HEADER_SIZE, vheader); in download_fw()1312 if (memcmp(vheader, header, HEADER_SIZE)) { in download_fw()
4538 #define HEADER_SIZE 14 macro4539 #define DATA_OFFSET HEADER_SIZE4564 if ((size-HEADER_SIZE) > MAX_APP_SIZE) { in bnx2x_sfx7101_flash_download()4570 size = MAX_APP_SIZE+HEADER_SIZE; in bnx2x_sfx7101_flash_download()