Lines Matching defs:rp
203 static inline struct mon_bin_hdr *MON_OFF2HDR(const struct mon_reader_bin *rp, in MON_OFF2HDR()
210 #define MON_RING_EMPTY(rp) ((rp)->b_cnt == 0) argument
298 static unsigned int mon_buff_area_alloc(struct mon_reader_bin *rp, in mon_buff_area_alloc()
323 static unsigned int mon_buff_area_alloc_contiguous(struct mon_reader_bin *rp, in mon_buff_area_alloc_contiguous()
362 static void mon_buff_area_shrink(struct mon_reader_bin *rp, unsigned int size) in mon_buff_area_shrink()
376 static void mon_buff_area_free(struct mon_reader_bin *rp, unsigned int size) in mon_buff_area_free()
385 static void mon_buff_area_fill(const struct mon_reader_bin *rp, in mon_buff_area_fill()
406 static unsigned int mon_bin_get_data(const struct mon_reader_bin *rp, in mon_bin_get_data()
450 static unsigned int mon_bin_collate_isodesc(const struct mon_reader_bin *rp, in mon_bin_collate_isodesc()
468 static void mon_bin_get_isodesc(const struct mon_reader_bin *rp, in mon_bin_get_isodesc()
488 static void mon_bin_event(struct mon_reader_bin *rp, struct urb *urb, in mon_bin_event()
625 struct mon_reader_bin *rp = data; in mon_bin_submit() local
631 struct mon_reader_bin *rp = data; in mon_bin_complete() local
637 struct mon_reader_bin *rp = data; in mon_bin_error() local
679 struct mon_reader_bin *rp; in mon_bin_open() local
740 static int mon_bin_get_event(struct file *file, struct mon_reader_bin *rp, in mon_bin_get_event()
783 struct mon_reader_bin *rp = file->private_data; in mon_bin_release() local
806 struct mon_reader_bin *rp = file->private_data; in mon_bin_read() local
875 static int mon_bin_flush(struct mon_reader_bin *rp, unsigned nevents) in mon_bin_flush()
901 static int mon_bin_fetch(struct file *file, struct mon_reader_bin *rp, in mon_bin_fetch()
952 static int mon_bin_queued(struct mon_reader_bin *rp) in mon_bin_queued()
989 struct mon_reader_bin *rp = file->private_data; in mon_bin_ioctl() local
1140 struct mon_reader_bin *rp = file->private_data; in mon_bin_compat_ioctl() local
1207 struct mon_reader_bin *rp = file->private_data; in mon_bin_poll() local
1227 struct mon_reader_bin *rp = vma->vm_private_data; in mon_bin_vma_open() local
1239 struct mon_reader_bin *rp = vma->vm_private_data; in mon_bin_vma_close() local
1250 struct mon_reader_bin *rp = vmf->vma->vm_private_data; in mon_bin_vma_fault() local
1304 static int mon_bin_wait_event(struct file *file, struct mon_reader_bin *rp) in mon_bin_wait_event()