Lines Matching refs:begin
36 off_t begin = 0; in tty_drivers_read_proc() local
83 if (len+begin > off+count) in tty_drivers_read_proc()
85 if (len+begin < off) { in tty_drivers_read_proc()
86 begin += len; in tty_drivers_read_proc()
92 if (off >= len+begin) in tty_drivers_read_proc()
94 *start = page + (off-begin); in tty_drivers_read_proc()
95 return ((count < begin+len-off) ? count : begin+len-off); in tty_drivers_read_proc()
106 off_t begin = 0; in tty_ldiscs_read_proc() local
116 if (len+begin > off+count) in tty_ldiscs_read_proc()
118 if (len+begin < off) { in tty_ldiscs_read_proc()
119 begin += len; in tty_ldiscs_read_proc()
125 if (off >= len+begin) in tty_ldiscs_read_proc()
127 *start = page + (off-begin); in tty_ldiscs_read_proc()
128 return ((count < begin+len-off) ? count : begin+len-off); in tty_ldiscs_read_proc()