Searched refs:page_cnt (Results 1 – 1 of 1) sorted by relevance
112 uint32_t page_cnt; in pktlog_alloc_buf() local128 page_cnt = (sizeof(*(pl_info->buf)) + pl_info->buf_size) / PAGE_SIZE; in pktlog_alloc_buf()138 buffer = qdf_mem_valloc((page_cnt + 2) * PAGE_SIZE); in pktlog_alloc_buf()148 vaddr < ((unsigned long)(buffer) + (page_cnt * PAGE_SIZE)); in pktlog_alloc_buf()165 unsigned long page_cnt; in pktlog_release_buf() local185 page_cnt = ((sizeof(*(pl_info->buf)) + pl_info->buf_size) / in pktlog_release_buf()189 vaddr < (unsigned long)(pl_info->buf) + (page_cnt * PAGE_SIZE); in pktlog_release_buf()