Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 59) sorted by relevance

123

/include/asm-generic/
Duaccess.h78 static inline __must_check long __copy_from_user(void *to, in __copy_from_user() argument
84 *(u8 *)to = *(u8 __force *)from; in __copy_from_user()
87 *(u16 *)to = *(u16 __force *)from; in __copy_from_user()
90 *(u32 *)to = *(u32 __force *)from; in __copy_from_user()
94 *(u64 *)to = *(u64 __force *)from; in __copy_from_user()
102 memcpy(to, (const void __force *)from, n); in __copy_from_user()
108 static inline __must_check long __copy_to_user(void __user *to, in __copy_to_user() argument
114 *(u8 __force *)to = *(u8 *)from; in __copy_to_user()
117 *(u16 __force *)to = *(u16 *)from; in __copy_to_user()
120 *(u32 __force *)to = *(u32 *)from; in __copy_to_user()
[all …]
Dpage.h9 #error need to prove a real asm/page.h
31 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) argument
34 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) argument
Dpgalloc.h7 #error need to implement an architecture specific asm/pgalloc.h
Dtlbflush.h9 #error need to implement an architecture specific asm/tlbflush.h
Dunaligned.h27 # error need to define endianess
Dsiginfo.h317 static inline void copy_siginfo(struct siginfo *to, struct siginfo *from) in copy_siginfo() argument
320 memcpy(to, from, sizeof(*to)); in copy_siginfo()
323 memcpy(to, from, __ARCH_SI_PREAMBLE_SIZE + sizeof(from->_sifields._sigchld)); in copy_siginfo()
328 extern int copy_siginfo_to_user(struct siginfo __user *to, struct siginfo *from);
/include/linux/
Dhwspinlock.h106 int __hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to, in __hwspin_lock_timeout() argument
210 unsigned int to, unsigned long *flags) in hwspin_lock_timeout_irqsave() argument
212 return __hwspin_lock_timeout(hwlock, to, HWLOCK_IRQSTATE, flags); in hwspin_lock_timeout_irqsave()
233 int hwspin_lock_timeout_irq(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout_irq() argument
235 return __hwspin_lock_timeout(hwlock, to, HWLOCK_IRQ, NULL); in hwspin_lock_timeout_irq()
258 int hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int to) in hwspin_lock_timeout() argument
260 return __hwspin_lock_timeout(hwlock, to, 0, NULL); in hwspin_lock_timeout()
Duaccess.h43 static inline unsigned long __copy_from_user_inatomic_nocache(void *to, in __copy_from_user_inatomic_nocache() argument
46 return __copy_from_user_inatomic(to, from, n); in __copy_from_user_inatomic_nocache()
49 static inline unsigned long __copy_from_user_nocache(void *to, in __copy_from_user_nocache() argument
52 return __copy_from_user(to, from, n); in __copy_from_user_nocache()
Duser_namespace.h40 uid_t user_ns_map_uid(struct user_namespace *to, const struct cred *cred, uid_t uid);
41 gid_t user_ns_map_gid(struct user_namespace *to, const struct cred *cred, gid_t gid);
59 static inline uid_t user_ns_map_uid(struct user_namespace *to, in user_ns_map_uid() argument
64 static inline gid_t user_ns_map_gid(struct user_namespace *to, in user_ns_map_gid() 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);
71 struct sonet_stats *to);
Dhighmem.h262 static inline void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() argument
268 vto = kmap_atomic(to); in copy_user_highpage()
269 copy_user_page(vto, vfrom, vaddr, to); in copy_user_highpage()
276 static inline void copy_highpage(struct page *to, struct page *from) in copy_highpage() argument
281 vto = kmap_atomic(to); in copy_highpage()
Dmigrate.h28 const nodemask_t *from, const nodemask_t *to,
47 const nodemask_t *from, const nodemask_t *to, in migrate_vmas() argument
Dparser.h25 char *to; member
Duio.h53 unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to);
/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
118 (__force __be32)to, pseudohdr); in inet_proto_csum_replace2()
Dnetdma.h28 struct sk_buff *skb, int offset, struct iovec *to,
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/netfilter/ipset/
Dpfxlen.h36 extern u32 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr);
38 #define ip_set_mask_from_to(from, to, cidr) \ argument
41 to = from | ~ip_set_hostmask(cidr); \
Dip_set_bitmap.h18 range_to_mask(u32 from, u32 to, u8 *bits) in range_to_mask() argument
23 while (--(*bits) > 0 && mask && (to & mask) != from) in range_to_mask()
/include/linux/mtd/
Dmap.h431 static inline void inline_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t… in inline_map_copy_from() argument
434 memcpy(to, (char *)map->cached + from, len); in inline_map_copy_from()
436 memcpy_fromio(to, map->virt + from, len); in inline_map_copy_from()
439 static inline void inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssi… in inline_map_copy_to() argument
441 memcpy_toio(map->virt + to, from, len); in inline_map_copy_to()
446 #define map_copy_from(map, to, from, len) (map)->copy_from(map, to, from, len) argument
448 #define map_copy_to(map, to, from, len) (map)->copy_to(map, to, from, len) argument
455 #define map_copy_from(map, to, from, len) inline_map_copy_from(map, to, from, len) argument
457 #define map_copy_to(map, to, from, len) inline_map_copy_to(map, to, from, len) argument
Dmtd.h190 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len,
192 int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len,
196 int (*_write_oob) (struct mtd_info *mtd, loff_t to,
206 int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to,
211 unsigned long count, loff_t to, size_t *retlen);
254 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
256 int mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
268 static inline int mtd_write_oob(struct mtd_info *mtd, loff_t to, in mtd_write_oob() argument
276 return mtd->_write_oob(mtd, to, ops); in mtd_write_oob()
287 int mtd_write_user_prot_reg(struct mtd_info *mtd, loff_t to, size_t len,
[all …]
Dplat-ram.h31 void (*set_rw)(struct device *dev, int to);
/include/linux/netfilter/
Dxt_connbytes.h21 __aligned_u64 to; /* count to be matched */ member
/include/sound/
Dwavefront.h26 You will not be able to compile this file correctly without gcc, because
27 it is necessary to pack the "wavefront_alias" structure to a size
28 of 22 bytes, corresponding to 16-bit alignment (as would have been
31 The method used to do this here ("__attribute__((packed)") is
34 All other wavefront_* types end up aligned to 32 bit values and

123