Example #1
0
asmlinkage ssize_t sys_pwrite_wrapper(unsigned int fd, const char * buf,
			      size_t count, long dummy, loff_t pos)
{
	extern asmlinkage ssize_t sys_pwrite64(unsigned int fd, const char * buf,
					size_t count, loff_t pos);
	return sys_pwrite64(fd, buf, count, pos);
}
Example #2
0
asmlinkage compat_ssize_t sys32_pwrite64(unsigned int fd,
					 char __user *ubuf,
					 compat_size_t count,
					 unsigned long poshi,
					 unsigned long poslo)
{
	return sys_pwrite64(fd, ubuf, count, (poshi << 32) | poslo);
}
Example #3
0
ssize_t
uw7_pwrite64(int fd, char *bufp, int count, u_int pos, u_int pos_hi)
{
	return sys_pwrite64(fd, bufp, count, (pos | (loff_t)pos_hi << 32));
}
Example #4
0
long compat_sys_pwrite64(unsigned int fd, char __user *ubuf, size_t count,
			 u32 dummy, u32 low, u32 high)
{
	return sys_pwrite64(fd, ubuf, count, ((loff_t)high << 32) | low);
}
Example #5
0
asmlinkage ssize_t sys_pwrite64_metag(unsigned long fd, char __user *buf,
				      size_t count, unsigned long lo,
				      unsigned long hi)
{
	return sys_pwrite64(fd, buf, count, merge_64(hi, lo));
}
Example #6
0
compat_ssize_t compat_sys_pwrite64(unsigned int fd, const char __user *ubuf, compat_size_t count,
			      u32 reg6, u32 poshi, u32 poslo)
{
	return sys_pwrite64(fd, ubuf, count, ((loff_t)poshi << 32) | poslo);
}
Example #7
0
asmlinkage
ssize_t sys_lkl_pwrite64(unsigned int fd, const char *buf, size_t count,
			 off_t pos_hi, off_t pos_lo)
{
	return sys_pwrite64(fd, buf, count, ((loff_t)pos_hi << 32) + pos_lo);
}
Example #8
0
asmlinkage ssize_t trimedia_pwrite64(unsigned int fd, const char __user *buf,
			size_t count, unsigned int low , unsigned int high)
{
	return sys_pwrite64(fd, buf, count, (loff_t)high << 32 | low);
}
Example #9
0
COMPAT_SYSCALL_DEFINE6(pwrite64, unsigned int, fd, char __user *, ubuf,
                       size_t, count, u32, dummy, u32, low, u32, high)
{
	return sys_pwrite64(fd, ubuf, count, ((loff_t)high << 32) | low);
}