#ifndef __ASM_GENERIC_UACCESS_UNALIGNED_H #define __ASM_GENERIC_UACCESS_UNALIGNED_H /* * This macro should be used instead of __get_user() when accessing * values at locations that are not known to be aligned. */ #define __get_user_unaligned(x, ptr) \ ({ \ __typeof__ (*(ptr)) __x; \ __copy_from_user(&__x, (ptr), sizeof(*(ptr))) ? -EFAULT : 0; \ (x) = __x; \ }) /* * This macro should be used instead of __put_user() when accessing * values at locations that are not known to be aligned. */ #define __put_user_unaligned(x, ptr) \ ({ \ __typeof__ (*(ptr)) __x = (x); \ __copy_to_user((ptr), &__x, sizeof(*(ptr))) ? -EFAULT : 0; \ }) #endif /* __ASM_GENERIC_UACCESS_UNALIGNED_H */ a> : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/fs
ModeNameSize
d---------9p724logplain
-rw-r--r--Kconfig7338logplain
-rw-r--r--Kconfig.binfmt7347logplain
-rw-r--r--Makefile4358logplain
d---------adfs423logplain
d---------affs423logplain
d---------afs1075logplain
-rw-r--r--aio.c44929logplain
-rw-r--r--anon_inodes.c5024logplain
-rw-r--r--attr.c9368logplain
d---------autofs4359logplain
-rw-r--r--bad_inode.c4380logplain
d---------befs680logplain
d---------bfs206logplain