Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 62) sorted by relevance

123

/include/pcmcia/
Dmem_op.h33 static inline void copy_pc_to_user(void *to, const void *from, size_t n) in copy_pc_to_user() argument
38 put_user(__raw_readl(from), (int *)to); in copy_pc_to_user()
39 (char *)from += 4; (char *)to += 4; n -= 4; in copy_pc_to_user()
42 put_user(readb((char *)from++), (char *)to++); in copy_pc_to_user()
45 static inline void copy_user_to_pc(void *to, const void *from, size_t n) in copy_user_to_pc() argument
52 get_user(l, (int *)from); in copy_user_to_pc()
54 (char *)to += 4; (char *)from += 4; n -= 4; in copy_user_to_pc()
57 get_user(c, (char *)from++); in copy_user_to_pc()
64 static inline void copy_from_pc(void *to, void __iomem *from, size_t n) in copy_from_pc() argument
67 __u16 __iomem *f = from; in copy_from_pc()
[all …]
/include/asm-mn10300/
Duaccess.h290 #define __copy_user(to, from, size) \ argument
294 const void *__from = from; \
318 #define __copy_user_zeroing(to, from, size) \ argument
322 const void *__from = from; \
358 unsigned long __generic_copy_from_user_nocheck(void *to, const void *from, in __generic_copy_from_user_nocheck() argument
361 __copy_user_zeroing(to, from, n); in __generic_copy_from_user_nocheck()
366 unsigned long __generic_copy_to_user_nocheck(void *to, const void *from, in __generic_copy_to_user_nocheck() argument
369 __copy_user(to, from, n); in __generic_copy_to_user_nocheck()
375 #error don't use - these macros don't increment to & from pointers
377 #define __constant_copy_user(to, from, size) \
[all …]
/include/asm-frv/
Duaccess.h269 #define __copy_from_user_inatomic(to, from, n) __memcpy_user((to), ____force(from), (n)) argument
270 #define __copy_to_user_inatomic(to, from, n) __memcpy_user(____force(to), (from), (n)) argument
275 #define __copy_from_user_inatomic(to, from, n) (memcpy((to), ____force(from), (n)), 0) argument
276 #define __copy_to_user_inatomic(to, from, n) (memcpy(____force(to), (from), (n)), 0) argument
283 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() argument
286 return __copy_to_user_inatomic(to, from, n); in __copy_to_user()
290 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument
293 return __copy_from_user_inatomic(to, from, n); in __copy_from_user()
296 static inline long copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() argument
300 if (likely(__access_ok(from, n))) in copy_from_user()
[all …]
Dpage.h15 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) argument
/include/asm-m32r/
Duaccess.h424 #define __copy_user(to,from,size) \ argument
477 : "0" (to), "1" (from), "2" (size), "3" (size / 4) \
481 #define __copy_user_zeroing(to,from,size) \ argument
540 : "0" (to), "1" (from), "2" (size), "3" (size / 4) \
549 const void __user *from, unsigned long n) in __generic_copy_from_user_nocheck() argument
551 __copy_user_zeroing(to,from,n); in __generic_copy_from_user_nocheck()
556 const void *from, unsigned long n) in __generic_copy_to_user_nocheck() argument
558 __copy_user(to,from,n); in __generic_copy_to_user_nocheck()
579 #define __copy_to_user(to,from,n) \ argument
580 __generic_copy_to_user_nocheck((to),(from),(n))
[all …]
Dpage.h12 extern void copy_page(void *to, void *from);
15 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) argument
/include/linux/
Duaccess.h44 const void __user *from, unsigned long n) in __copy_from_user_inatomic_nocache() argument
46 return __copy_from_user_inatomic(to, from, n); in __copy_from_user_inatomic_nocache()
50 const void __user *from, unsigned long n) in __copy_from_user_nocache() argument
52 return __copy_from_user(to, from, n); in __copy_from_user_nocache()
Dof.h30 extern struct device_node *of_find_node_by_name(struct device_node *from,
35 extern struct device_node *of_find_node_by_type(struct device_node *from,
40 extern struct device_node *of_find_compatible_node(struct device_node *from,
45 extern struct device_node *of_find_matching_node(struct device_node *from,
61 struct device_node *from, const char *prop_name);
Disapnp.h105 struct pnp_card *from);
109 struct pnp_dev *from);
122 struct pnp_card *from) { return NULL; } in pnp_find_card() argument
126 struct pnp_dev *from) { return NULL; } in pnp_find_dev() argument
Ddebug_locks.h46 extern void debug_check_no_locks_freed(const void *from, unsigned long len);
62 debug_check_no_locks_freed(const void *from, unsigned long len) in debug_check_no_locks_freed() argument
Dmigrate.h22 const nodemask_t *from, const nodemask_t *to,
37 const nodemask_t *from, const nodemask_t *to, in migrate_vmas() argument
Dio.h27 void __iowrite32_copy(void __iomem *to, const void *from, size_t count);
28 void __iowrite64_copy(void __iomem *to, const void *from, size_t count);
Dsonet.h69 extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to);
70 extern void sonet_subtract_stats(struct k_sonet_stats *from,
Dhighmem.h165 static inline void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() argument
170 vfrom = kmap_atomic(from, KM_USER0); in copy_user_highpage()
179 static inline void copy_highpage(struct page *to, struct page *from) in copy_highpage() argument
183 vfrom = kmap_atomic(from, KM_USER0); in copy_highpage()
Ddmi.h44 const struct dmi_device *from);
58 const struct dmi_device *from) { return NULL; } in dmi_find_device() argument
Ddm-kcopyd.h42 int dm_kcopyd_copy(struct dm_kcopyd_client *kc, struct dm_io_region *from,
Dparser.h24 char *from; member
Drtmutex.h42 extern int rt_mutex_debug_check_no_locks_freed(const void *from,
46 static inline int rt_mutex_debug_check_no_locks_freed(const void *from, in rt_mutex_debug_check_no_locks_freed() argument
Dtopology.h58 #define node_distance(from,to) ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE) argument
/include/net/
Dchecksum.h97 static inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) in csum_replace4() argument
99 __be32 diff[] = { ~from, to }; in csum_replace4()
104 static inline void csum_replace2(__sum16 *sum, __be16 from, __be16 to) in csum_replace2() argument
106 csum_replace4(sum, (__force __be32)from, (__force __be32)to); in csum_replace2()
111 __be32 from, __be32 to, int pseudohdr);
114 __be16 from, __be16 to, in inet_proto_csum_replace2() argument
117 inet_proto_csum_replace4(sum, skb, (__force __be32)from, in inet_proto_csum_replace2()
Dudplite.h19 static __inline__ int udplite_getfrag(void *from, char *to, int offset, in udplite_getfrag() argument
22 return memcpy_fromiovecend(to, (struct iovec *) from, offset, len); in udplite_getfrag()
/include/linux/mtd/
Dmtd.h159 int (*point) (struct mtd_info *mtd, loff_t from, size_t len,
163 void (*unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
166 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
178 int (*read_oob) (struct mtd_info *mtd, loff_t from,
189 …int (*read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *…
191 …int (*read_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *…
192 …int (*write_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char …
193 int (*lock_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len);
291 unsigned long count, loff_t from, size_t *retlen);
Dmap.h250 #define INVALIDATE_CACHED_RANGE(map, from, size) \ argument
251 do { if(map->inval_cache) map->inval_cache(map, from, size); } while(0)
410 static inline void inline_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t… in inline_map_copy_from() argument
413 memcpy(to, (char *)map->cached + from, len); in inline_map_copy_from()
415 memcpy_fromio(to, map->virt + from, len); in inline_map_copy_from()
418 static inline void inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssi… in inline_map_copy_to() argument
420 memcpy_toio(map->virt + to, from, len); in inline_map_copy_to()
425 #define map_copy_from(map, to, from, len) (map)->copy_from(map, to, from, len) argument
427 #define map_copy_to(map, to, from, len) (map)->copy_to(map, to, from, len) argument
434 #define map_copy_from(map, to, from, len) inline_map_copy_from(map, to, from, len) argument
[all …]
/include/asm-generic/
Dsiginfo.h281 static inline void copy_siginfo(struct siginfo *to, struct siginfo *from) in copy_siginfo() argument
283 if (from->si_code < 0) in copy_siginfo()
284 memcpy(to, from, sizeof(*to)); in copy_siginfo()
287 memcpy(to, from, __ARCH_SI_PREAMBLE_SIZE + sizeof(from->_sifields._sigchld)); in copy_siginfo()
292 extern int copy_siginfo_to_user(struct siginfo __user *to, struct siginfo *from);
/include/linux/netfilter/
Dxt_connbytes.h19 aligned_u64 from; /* count to be matched */ member

123