/linux/arch/powerpc/kernel/ |
H A D | signal.h | 68 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument 78 #define unsafe_copy_vsx_from_user(task, from, label) do { \ argument 109 #define unsafe_copy_ckfpr_from_user(task, from, label) do { \ argument 119 #define unsafe_copy_ckvsx_from_user(task, from, label) do { \ argument 135 #define unsafe_copy_fpr_from_user(task, from, label) \ argument 147 copy_fpr_from_user(struct task_struct *task, void __user *from) in copy_fpr_from_user() 165 copy_ckfpr_from_user(struct task_struct *task, void __user *from) in copy_ckfpr_from_user() 174 #define unsafe_copy_fpr_from_user(task, from, label) do { if (0) goto label;} while (0) argument 183 copy_fpr_from_user(struct task_struct *task, void __user *from) in copy_fpr_from_user()
|
/linux/ipc/ |
H A D | compat.c | 39 struct compat_ipc64_perm __user *from) in get_compat_ipc64_perm() 51 struct compat_ipc_perm __user *from) in get_compat_ipc_perm() 62 void to_compat_ipc64_perm(struct compat_ipc64_perm *to, struct ipc64_perm *from) in to_compat_ipc64_perm() 73 void to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from) in to_compat_ipc_perm()
|
/linux/include/linux/ |
H A D | highmem.h | 303 static inline void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() 320 static inline void copy_highpage(struct page *to, struct page *from) in copy_highpage() 341 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() 361 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() 380 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() 387 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() 447 char *from = kmap_local_page(page); in memcpy_from_page() local 455 const char *from, size_t len) in memcpy_to_page() 488 const char *from = kmap_local_folio(folio, offset); in memcpy_from_folio() local 511 const char *from, size_t len) in memcpy_to_folio() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio_copy.c | 31 const void *from, size_t count) in pio_copy() 183 static inline void read_low_bytes(struct pio_buf *pbuf, const void *from, in read_low_bytes() 200 const void *from, unsigned int nbytes) in read_extra_bytes() 263 const void *from, size_t nbytes) in seg_pio_copy_start() 355 static void mid_copy_mix(struct pio_buf *pbuf, const void *from, size_t nbytes) in mid_copy_mix() 483 const void *from, size_t nbytes) in mid_copy_straight() 571 void seg_pio_copy_mid(struct pio_buf *pbuf, const void *from, size_t nbytes) in seg_pio_copy_mid()
|
/linux/tools/perf/util/ |
H A D | copyfile.c | 14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() 73 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode, in copyfile_mode_ns() 133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns() 138 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() 143 int copyfile(const char *from, const char *to) in copyfile()
|
/linux/drivers/pci/ |
H A D | search.c | 166 struct pci_bus *pci_find_next_bus(const struct pci_bus *from) in pci_find_next_bus() 269 struct pci_dev *from) in pci_get_dev_by_id() 303 struct pci_dev *from) in pci_get_subsys() 331 struct pci_dev *from) in pci_get_device() 351 struct pci_dev *pci_get_class(unsigned int class, struct pci_dev *from) in pci_get_class() 382 struct pci_dev *pci_get_base_class(unsigned int class, struct pci_dev *from) in pci_get_base_class()
|
/linux/rust/kernel/ |
H A D | error.rs | 199 fn from(_: AllocError) -> Error { in from() method 205 fn from(_: TryFromIntError) -> Error { in from() method 211 fn from(_: Utf8Error) -> Error { in from() method 217 fn from(_: LayoutError) -> Error { in from() method 223 fn from(_: core::fmt::Error) -> Error { in from() method 229 fn from(e: core::convert::Infallible) -> Error { in from() method
|
/linux/arch/m68k/include/asm/ |
H A D | uaccess.h | 190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 230 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument 235 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() 281 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument 316 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user() 366 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 374 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user()
|
/linux/scripts/ |
H A D | generate_rust_target.rs | 69 fn from(value: bool) -> Self { in from() method 75 fn from(value: i32) -> Self { in from() method 81 fn from(value: String) -> Self { in from() method 87 fn from(value: &str) -> Self { in from() method 93 fn from(object: Object) -> Self { in from() method 99 fn from(i: [T; N]) -> Self { in from() method
|
/linux/arch/x86/include/asm/ |
H A D | uaccess_32.h | 18 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 24 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 30 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache()
|
/linux/lib/ |
H A D | usercopy.c | 16 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() 24 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() 45 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user()
|
H A D | iomap_copy.c | 20 void __iowrite32_copy(void __iomem *to, const void *from, size_t count) in __iowrite32_copy() 42 void __ioread32_copy(void *to, const void __iomem *from, size_t count) in __ioread32_copy() 64 void __iowrite64_copy(void __iomem *to, const void *from, size_t count) in __iowrite64_copy()
|
/linux/fs/bcachefs/ |
H A D | bkey_methods.c | 31 struct bkey_validate_context from) in deleted_key_validate() 45 struct bkey_validate_context from) in empty_val_key_validate() 62 struct bkey_validate_context from) in key_type_cookie_validate() 86 struct bkey_validate_context from) in key_type_inline_data_validate() 127 struct bkey_validate_context from) in bch2_bkey_val_validate() 170 struct bkey_validate_context from) in __bch2_bkey_validate() 248 struct bkey_validate_context from) in bch2_bkey_validate() 256 struct bkey_validate_context from) in bch2_bkey_in_btree_node()
|
H A D | journal_io.c | 347 struct bkey_validate_context from, in journal_validate_key() 409 struct bkey_validate_context from) in journal_entry_btree_keys_validate() 455 struct bkey_validate_context from) in journal_entry_btree_root_validate() 497 struct bkey_validate_context from) in journal_entry_prio_ptrs_validate() 512 struct bkey_validate_context from) in journal_entry_blacklist_validate() 539 struct bkey_validate_context from) in journal_entry_blacklist_v2_validate() 581 struct bkey_validate_context from) in journal_entry_usage_validate() 615 struct bkey_validate_context from) in journal_entry_data_usage_validate() 659 struct bkey_validate_context from) in journal_entry_clock_validate() 699 struct bkey_validate_context from) in journal_entry_dev_usage_validate() [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | kup.h | 75 static __always_inline void allow_user_access(void __user *to, const void __user *from, in allow_user_access() 135 static __always_inline void allow_read_from_user(const void __user *from, unsigned long size) in allow_read_from_user() 146 static __always_inline void allow_read_write_user(void __user *to, const void __user *from, in allow_read_write_user() 153 static __always_inline void prevent_read_from_user(const void __user *from, unsigned long size) in prevent_read_from_user() 163 static __always_inline void prevent_read_write_user(void __user *to, const void __user *from, in prevent_read_write_user()
|
/linux/tools/virtio/linux/ |
H A D | uaccess.h | 25 static void volatile_memcpy(volatile char *to, const volatile char *from, in volatile_memcpy() 32 static inline int copy_from_user(void *to, const void __user volatile *from, in copy_from_user() 39 static inline int copy_to_user(void __user volatile *to, const void *from, in copy_to_user()
|
/linux/arch/x86/kernel/ |
H A D | ioport.c | 71 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on) in ksys_ioperm() 158 SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on) in SYSCALL_DEFINE3() argument 207 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on) in ksys_ioperm() 211 SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on) in SYSCALL_DEFINE3() argument
|
/linux/drivers/mtd/maps/ |
H A D | dc21285.c | 75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in dc21285_copy_from() 105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_32() 117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_16() 129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) in dc21285_copy_to_8()
|
/linux/fs/smb/client/ |
H A D | cifs_unicode.c | 118 cifs_mapchar(char *target, const __u16 *from, const struct nls_table *cp, in cifs_mapchar() 177 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in cifs_from_utf16() 248 cifs_strtoUTF16(__le16 *to, const char *from, int len, in cifs_strtoUTF16() 304 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() 597 cifs_local_to_utf16_bytes(const char *from, int len, in cifs_local_to_utf16_bytes()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt.h | 20 #define IS_GFX_GT_IP_RANGE(gt, from, until) ( \ argument 34 #define IS_MEDIA_GT_IP_RANGE(gt, from, until) ( \ argument 56 #define IS_GFX_GT_IP_STEP(gt, ipver, from, until) ( \ argument 74 #define IS_MEDIA_GT_IP_STEP(gt, ipver, from, until) ( \ argument
|
/linux/rust/kernel/alloc/kvec/ |
H A D | errors.rs | 18 fn from(_: PushError<T>) -> Error { in from() method 35 fn from(_: RemoveError) -> Error { in from() method 58 fn from(_: InsertError<T>) -> Error { in from() method
|
/linux/fs/smb/server/ |
H A D | unicode.c | 30 cifs_mapchar(char *target, const __u16 *from, const struct nls_table *cp, in cifs_mapchar() 106 static int smb_utf16_bytes(const __le16 *from, int maxbytes, in smb_utf16_bytes() 160 static int smb_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in smb_from_utf16() 233 int smb_strtoUTF16(__le16 *to, const char *from, int len, in smb_strtoUTF16()
|
/linux/include/asm-generic/ |
H A D | uaccess.h | 17 __get_user_fn(size_t size, const void __user *from, void *to) in __get_user_fn() 43 __put_user_fn(size_t size, void __user *to, void *from) in __put_user_fn() 82 raw_copy_from_user(void *to, const void __user * from, unsigned long n) in raw_copy_from_user() 89 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user()
|
/linux/arch/um/kernel/skas/ |
H A D | uaccess.c | 138 static int copy_chunk_from_user(unsigned long from, int len, void *arg) in copy_chunk_from_user() 147 unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 155 unsigned long *from_ptr = arg, from = *from_ptr; in copy_chunk_to_user() local 162 unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 168 static int strncpy_chunk_from_user(unsigned long from, int len, void *arg) in strncpy_chunk_from_user()
|
/linux/drivers/mtd/chips/ |
H A D | map_rom.c | 73 static int maprom_point(struct mtd_info *mtd, loff_t from, size_t len, in maprom_point() 87 static int maprom_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in maprom_unpoint() 92 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read()
|