Searched refs:STATIC_BUF_SIZE (Results 1 – 1 of 1) sorted by relevance
54 #define STATIC_BUF_SIZE (PAGE_SIZE*2) macro55 #define STATIC_BUF_TOTAL_LEN (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)251 if (!(bcm_static_buf = (bcm_static_buf_t *)dhd_os_prealloc(osh, 3, STATIC_BUF_SIZE+ in osl_attach()265 bcm_static_buf->buf_ptr = (unsigned char *)bcm_static_buf + STATIC_BUF_SIZE; in osl_attach()994 if ((size >= PAGE_SIZE)&&(size <= STATIC_BUF_SIZE))1014 bzero(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i, size);1018 return ((void *)(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i));1051 buf_idx = ((unsigned char *)addr - bcm_static_buf->buf_ptr)/STATIC_BUF_SIZE;