Lines Matching refs:size

551 static inline int allocateBuf( LSAPI_Request * pReq, int size )  in allocateBuf()  argument
553 char * pBuf = (char *)realloc( pReq->m_pReqBuf, size ); in allocateBuf()
557 pReq->m_reqBufSize = size; in allocateBuf()
579 static int allocateRespHeaderBuf( LSAPI_Request * pReq, int size ) in allocateRespHeaderBuf() argument
581 char * p = (char *)realloc( pReq->m_pRespHeaderBuf, size ); in allocateRespHeaderBuf()
586 pReq->m_pRespHeaderBufEnd = p + size; in allocateRespHeaderBuf()
1959 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile() argument
1963 ret = sendfile( fdIn, fdOut, *off, size, NULL, &written, 0 ); in gsendfile()
1974 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile() argument
1985 while (size > 0) { in gsendfile()
1986 size_t tor = size > sizeof(in) ? sizeof(in) : size; in gsendfile()
1998 size -= c; in gsendfile()
2009 ssize_t gsendfile( int fdOut, int fdIn, off_t* off, size_t size ) in gsendfile() argument
2012 off_t len = size; in gsendfile()
2026 ssize_t gsendfile( int fdOut, int fdIn, off_t *off, size_t size ) in gsendfile() argument
2034 vec[n].sfv_len = size; in gsendfile()
2056 ssize_t gsendfile( int fdOut, int fdIn, off_t * off, size_t size ) in gsendfile() argument
2058 return sendfile( fdOut, fdIn, off, size, NULL, 0 ); in gsendfile()
2063 ssize_t LSAPI_sendfile_r( LSAPI_Request * pReq, int fdIn, off_t* off, size_t size ) in LSAPI_sendfile_r() argument
2077 size + LSAPI_PACKET_HEADER_LEN ); in LSAPI_sendfile_r()
2083 return gsendfile( pReq->m_fd, fdIn, off, size ); in LSAPI_sendfile_r()
3002 int size = 4096; in lsapi_init_children_status() local
3009 size = max_children * sizeof( lsapi_child_status ) * 2 + 3 * sizeof(int); in lsapi_init_children_status()
3010 size = (size + 4095) / 4096 * 4096; in lsapi_init_children_status()
3011 pBuf =( char*) mmap( NULL, size, PROT_READ | PROT_WRITE, in lsapi_init_children_status()
3018 memset( pBuf, 0, size ); in lsapi_init_children_status()