Searched refs:STATIC_BUF_SIZE (Results 1 – 15 of 15) sorted by relevance
58 #define STATIC_BUF_SIZE (PAGE_SIZE*2) macro59 #define STATIC_BUF_TOTAL_LEN (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
48 #define STATIC_BUF_SIZE (PAGE_SIZE*2) macro57 #define DHD_PREALLOC_OSL_BUF_SIZE (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
79 DHD_PREALLOC_OSL_BUF, STATIC_BUF_SIZE + STATIC_BUF_TOTAL_LEN))) { in osl_static_mem_init()90 bcm_static_buf->buf_ptr = (unsigned char *)bcm_static_buf + STATIC_BUF_SIZE; in osl_static_mem_init()
749 if ((size >= PAGE_SIZE)&&(size <= STATIC_BUF_SIZE)) in osl_malloc()769 bzero(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i, size); in osl_malloc()773 return ((void *)(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i)); in osl_malloc()818 buf_idx = ((unsigned char *)addr - bcm_static_buf->buf_ptr)/STATIC_BUF_SIZE; in osl_mfree()
57 #define STATIC_BUF_SIZE (PAGE_SIZE * 2) macro58 #define STATIC_BUF_TOTAL_LEN (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
79 STATIC_BUF_SIZE + STATIC_BUF_TOTAL_LEN))) { in osl_static_mem_init()91 (unsigned char *)bcm_static_buf + STATIC_BUF_SIZE; in osl_static_mem_init()
86 #define STATIC_BUF_SIZE (PAGE_SIZE * 2) macro96 #define DHD_PREALLOC_OSL_BUF_SIZE (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
753 if ((size >= PAGE_SIZE) && (size <= STATIC_BUF_SIZE)) { in osl_malloc()771 bzero(bcm_static_buf->buf_ptr + STATIC_BUF_SIZE * i, size); in osl_malloc()776 return ((void *)(bcm_static_buf->buf_ptr + STATIC_BUF_SIZE * i)); in osl_malloc()820 STATIC_BUF_SIZE; in osl_mfree()
68 #define STATIC_BUF_SIZE (PAGE_SIZE*2) macro69 #define STATIC_BUF_TOTAL_LEN (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
75 DHD_PREALLOC_OSL_BUF, STATIC_BUF_SIZE + STATIC_BUF_TOTAL_LEN))) { in osl_static_mem_init()86 bcm_static_buf->buf_ptr = (unsigned char *)bcm_static_buf + STATIC_BUF_SIZE; in osl_static_mem_init()
604 if ((size >= PAGE_SIZE)&&(size <= STATIC_BUF_SIZE))624 bzero(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i, size);628 return ((void *)(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i));688 buf_idx = ((unsigned char *)addr - bcm_static_buf->buf_ptr)/STATIC_BUF_SIZE;
67 #define STATIC_BUF_SIZE (PAGE_SIZE * 2) macro72 #define DHD_PREALLOC_OSL_BUF_SIZE (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
47 #define STATIC_BUF_SIZE (PAGE_SIZE*2) macro52 #define DHD_PREALLOC_OSL_BUF_SIZE (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
109 #define STATIC_BUF_SIZE (PAGE_SIZE*2) macro110 #define STATIC_BUF_TOTAL_LEN (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)542 3, STATIC_BUF_SIZE + STATIC_BUF_TOTAL_LEN))) { in osl_static_mem_init()553 bcm_static_buf->buf_ptr = (unsigned char *)bcm_static_buf + STATIC_BUF_SIZE; in osl_static_mem_init()1579 if ((size >= PAGE_SIZE)&&(size <= STATIC_BUF_SIZE)) in osl_malloc()1599 bzero(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i, size); in osl_malloc()1603 return ((void *)(bcm_static_buf->buf_ptr+STATIC_BUF_SIZE*i)); in osl_malloc()1648 buf_idx = ((unsigned char *)addr - bcm_static_buf->buf_ptr)/STATIC_BUF_SIZE; in osl_mfree()