Lines Matching refs:ppos_data

745 	int fold_offset, ppos_data, cur_rd_offset, cur_wr_offset;  in pktlog_read_proc_entry()  local
811 ppos_data = *ppos + ret_val - bufhdr_size + start_offset; in pktlog_read_proc_entry()
814 if (ppos_data > end_offset) in pktlog_read_proc_entry()
817 count = MIN(rem_len, (end_offset - ppos_data + 1)); in pktlog_read_proc_entry()
819 log_buf->log_data + ppos_data, in pktlog_read_proc_entry()
824 if (ppos_data <= fold_offset) { in pktlog_read_proc_entry()
825 count = MIN(rem_len, (fold_offset - ppos_data + 1)); in pktlog_read_proc_entry()
827 log_buf->log_data + ppos_data, in pktlog_read_proc_entry()
836 ppos_data = in pktlog_read_proc_entry()
840 if (ppos_data <= end_offset) { in pktlog_read_proc_entry()
841 count = MIN(rem_len, (end_offset - ppos_data + 1)); in pktlog_read_proc_entry()
843 log_buf->log_data + ppos_data, in pktlog_read_proc_entry()
883 int fold_offset, ppos_data, cur_rd_offset; in __pktlog_read() local
964 ppos_data = *ppos + ret_val - bufhdr_size + start_offset; in __pktlog_read()
967 if (ppos_data > end_offset) in __pktlog_read()
970 count = QDF_MIN(rem_len, (end_offset - ppos_data + 1)); in __pktlog_read()
974 log_buf->log_data + ppos_data, count)) { in __pktlog_read()
982 if (ppos_data <= fold_offset) { in __pktlog_read()
983 count = QDF_MIN(rem_len, (fold_offset - ppos_data + 1)); in __pktlog_read()
986 log_buf->log_data + ppos_data, in __pktlog_read()
998 ppos_data = in __pktlog_read()
1002 if (ppos_data <= end_offset) { in __pktlog_read()
1003 count = QDF_MIN(rem_len, (end_offset - ppos_data + 1)); in __pktlog_read()
1006 log_buf->log_data + ppos_data, in __pktlog_read()