Lines Matching refs:res
32 unsigned long res = 0; in do_strncpy_from_user() local
41 unsafe_get_user(c, (unsigned long __user *)(src+res), byte_at_a_time); in do_strncpy_from_user()
58 *(unsigned long *)(dst+res) = c & mask; in do_strncpy_from_user()
59 return res + find_zero(data); in do_strncpy_from_user()
62 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user()
64 res += sizeof(unsigned long); in do_strncpy_from_user()
72 unsafe_get_user(c,src+res, efault); in do_strncpy_from_user()
73 dst[res] = c; in do_strncpy_from_user()
75 return res; in do_strncpy_from_user()
76 res++; in do_strncpy_from_user()
84 if (res >= count) in do_strncpy_from_user()
85 return res; in do_strncpy_from_user()