Lines Matching refs:ppos
86 loff_t *ppos);
208 qdf_sysctl_decl(ath_sysctl_pktlog_enable, ctl, write, filp, buffer, lenp, ppos) in qdf_sysctl_decl() argument
238 lenp, ppos); in qdf_sysctl_decl()
250 lenp, ppos); in qdf_sysctl_decl()
271 qdf_sysctl_decl(ath_sysctl_pktlog_size, ctl, write, filp, buffer, lenp, ppos) in qdf_sysctl_decl() argument
301 lenp, ppos); in qdf_sysctl_decl()
308 lenp, ppos); in qdf_sysctl_decl()
738 pktlog_read_proc_entry(char *buf, size_t nbytes, loff_t *ppos, in pktlog_read_proc_entry() argument
759 if (*ppos == 0 && pl_info->log_state) { in pktlog_read_proc_entry()
770 if (*ppos < bufhdr_size) { in pktlog_read_proc_entry()
771 count = MIN((bufhdr_size - *ppos), rem_len); in pktlog_read_proc_entry()
772 qdf_mem_copy(buf, ((char *)&log_buf->bufhdr) + *ppos, in pktlog_read_proc_entry()
811 ppos_data = *ppos + ret_val - bufhdr_size + start_offset; in pktlog_read_proc_entry()
837 *ppos + ret_val - (bufhdr_size + in pktlog_read_proc_entry()
855 *ppos += ret_val; in pktlog_read_proc_entry()
877 __pktlog_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos) in __pktlog_read() argument
908 if (*ppos == 0 && pl_info->log_state) { in __pktlog_read()
920 if (*ppos < bufhdr_size) { in __pktlog_read()
921 count = QDF_MIN((bufhdr_size - *ppos), rem_len); in __pktlog_read()
923 if (copy_to_user(buf, ((char *)&log_buf->bufhdr) + *ppos, in __pktlog_read()
964 ppos_data = *ppos + ret_val - bufhdr_size + start_offset; in __pktlog_read()
999 *ppos + ret_val - (bufhdr_size + in __pktlog_read()
1021 *ppos += ret_val; in __pktlog_read()
1028 pktlog_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos) in pktlog_read() argument
1042 err_size = __pktlog_read(file, buf, nbytes, ppos); in pktlog_read()