Lines Matching defs:get_fs
16 * validity check must be skipped. The get_fs() macro tells us what
17 * to do: if get_fs()==USER_DS, checking is performed, if
18 * get_fs()==KERNEL_DS, checking is bypassed.
55 #define get_fs() (current_thread_info()->addr_limit)
73 #define access_ok(type, addr, size) __access_ok((addr), (size), get_fs())
83 #define put_user(x, ptr) __put_user_check((__typeof__(*(ptr))) (x), (ptr), sizeof(*(ptr)), get_fs())
84 #define get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr)), get_fs())
260 if (__access_ok(__cu_to, __cu_len, get_fs())) \
272 if (__access_ok(__cu_from, __cu_len, get_fs())) \
294 if (__access_ok(to, __cu_len, get_fs())) \
310 if (__access_ok(__sfu_from, 0, get_fs())) \
322 if (__access_ok(__su_str, 0, get_fs())) \
338 if (__access_ok(__su_str, 0, get_fs())) \