Searched refs:log_buf (Results 1 – 3 of 3) sorted by relevance
75 struct ath_pktlog_buf *log_buf; in pktlog_getbuf_intsafe() local101 log_buf = pl_info->buf; in pktlog_getbuf_intsafe()104 if (!log_buf) { in pktlog_getbuf_intsafe()111 cur_wr_offset = log_buf->wr_offset; in pktlog_getbuf_intsafe()113 if (log_buf->rd_offset >= 0) { in pktlog_getbuf_intsafe()114 if ((cur_wr_offset <= log_buf->rd_offset) in pktlog_getbuf_intsafe()116 log_buf->rd_offset) { in pktlog_getbuf_intsafe()117 PKTLOG_MOV_RD_IDX(log_buf->rd_offset, log_buf, in pktlog_getbuf_intsafe()121 log_buf->rd_offset = cur_wr_offset; in pktlog_getbuf_intsafe()124 log_hdr = (struct ath_pktlog_hdr *)(log_buf->log_data + cur_wr_offset); in pktlog_getbuf_intsafe()[all …]
746 struct ath_pktlog_buf *log_buf; in pktlog_read_proc_entry() local749 log_buf = pl_info->buf; in pktlog_read_proc_entry()753 if (!log_buf) { in pktlog_read_proc_entry()764 bufhdr_size = sizeof(log_buf->bufhdr); in pktlog_read_proc_entry()772 qdf_mem_copy(buf, ((char *)&log_buf->bufhdr) + *ppos, in pktlog_read_proc_entry()778 start_offset = log_buf->rd_offset; in pktlog_read_proc_entry()779 cur_wr_offset = log_buf->wr_offset; in pktlog_read_proc_entry()792 log_hdr = (struct ath_pktlog_hdr *) (log_buf->log_data + in pktlog_read_proc_entry()802 PKTLOG_MOV_RD_IDX(cur_rd_offset, log_buf, pl_info->buf_size); in pktlog_read_proc_entry()819 log_buf->log_data + ppos_data, in pktlog_read_proc_entry()[all …]
773 struct wmi_log_buf_t *log_buf = in wmi_dump_last_cmd_rec_info() local780 (*log_buf->p_buf_tail_idx == 0) ? (idx = log_buf->size) : in wmi_dump_last_cmd_rec_info()781 (idx = *log_buf->p_buf_tail_idx - 1); in wmi_dump_last_cmd_rec_info()782 idx %= log_buf->size; in wmi_dump_last_cmd_rec_info()788 cmd_log = &((struct wmi_command_debug *)log_buf->buf)[idx]; in wmi_dump_last_cmd_rec_info()