Searched refs:in_fd (Results 1 - 21 of 21) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dgetsmbpass.c87 static int in_fd = -1; variable
96 if (in_fd != -1)
97 close(in_fd); /* Safe way to force a return. */
98 in_fd = -1;
146 in_fd = fileno(in);
155 if (gotintr && in_fd == -1)
H A Dsendfile.c96 extern int32 sendfile (int out_fd, int in_fd, int32 *offset, uint32 count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/utils/
H A Dmktree.c43 int in_fd, out_fd; local
83 if ((in_fd = open(argv[1], O_RDONLY)) < 0) {
100 if (read(in_fd, tmpbuf, IMGBLK) != IMGBLK) {
111 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) {
126 if (read(in_fd, tmpbuf, IMGBLK) < 0) {
H A Dmkbugboot.c56 uint32_t copy_image(int in_fd, int out_fd, uint16_t *sum) argument
63 lseek(in_fd, ELF_HEADER_SIZE, SEEK_SET);
66 while ( (n = read(in_fd, buf + offset, SIZE - offset)) > 0 ) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dmktree.c43 int in_fd, out_fd; local
81 if ((in_fd = open(argv[1], O_RDONLY)) < 0) {
98 if (read(in_fd, tmpbuf, IMGBLK) != IMGBLK) {
109 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) {
124 if (read(in_fd, tmpbuf, IMGBLK) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/init/
H A Ddo_mounts_rd.c34 static int __init crd_load(int in_fd, int out_fd);
160 int in_fd, out_fd; local
173 in_fd = sys_open(from, O_RDONLY, 0);
174 if (in_fd < 0)
177 nblocks = identify_ramdisk_image(in_fd, rd_image_start);
183 if (crd_load(in_fd, out_fd) == 0)
218 if (sys_ioctl(in_fd, BLKGETSIZE, (unsigned long)&devblocks) < 0)
243 if (sys_close(in_fd)) {
248 in_fd = sys_open(from, O_RDONLY, 0);
249 if (in_fd <
413 crd_load(int in_fd, int out_fd) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dharddog_user.c109 void stop_watchdog(int in_fd, int out_fd) argument
111 os_close_file(in_fd);
H A Dharddog_kern.c91 extern void stop_watchdog(int in_fd, int out_fd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/libunarchive/
H A Ddecompress_bunzip2.c70 int in_fd, out_fd, inbufCount, inbufPos /*, outbufPos*/; member in struct:bunzip_data
106 /* if "no input fd" case: in_fd == -1, read fails, we jump */
107 bd->inbufCount = read(bd->in_fd, bd->inbuf, IOBUF_SIZE);
629 /* Allocate the structure, read file header. If in_fd==-1, inbuf must contain
630 a complete bunzip file (len bytes long). If in_fd!=-1, inbuf and len are
637 int start_bunzip(bunzip_data **bdp, int in_fd, const unsigned char *inbuf, argument
649 if (in_fd != -1) i += IOBUF_SIZE;
657 bd->in_fd = in_fd;
658 if (-1 == in_fd) {
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_sendfile.c84 ssize_t sys_sendfile(int out_fd, int in_fd, off_t *_offset, size_t count) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_sendfile.c111 ssize_t sys_sendfile(int out_fd, int in_fd, off_t *_offset, size_t count) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dread_write.c716 static ssize_t do_sendfile(int out_fd, int in_fd, loff_t *ppos, argument
729 in_file = fget_light(in_fd, &fput_needed_in);
811 asmlinkage ssize_t sys_sendfile(int out_fd, int in_fd, off_t __user *offset, size_t count) argument
823 ret = do_sendfile(out_fd, in_fd, &pos, count, (loff_t)0xFFFFFFFFUL);
825 ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS);
833 return do_sendfile(out_fd, in_fd, NULL, count, 0);
836 asmlinkage ssize_t sys_sendfile64(int out_fd, int in_fd, loff_t __user *offset, size_t count) argument
844 ret = do_sendfile(out_fd, in_fd, &pos, count, 0);
850 return do_sendfile(out_fd, in_fd, NULL, count, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/include/
H A Dunarchive.h104 int start_bunzip(bunzip_data **bdp, int in_fd, const unsigned char *inbuf, int len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/
H A Dsys_parisc32.c548 asmlinkage int sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, s32 count) argument
558 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *)&of : NULL, count);
567 asmlinkage int sys32_sendfile64(int out_fd, int in_fd, compat_loff_t __user *offset, s32 count) argument
577 ret = sys_sendfile64(out_fd, in_fd, offset ? (loff_t __user *)&lof : NULL, count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dsys_ppc32.c306 /* Note: it is necessary to treat out_fd and in_fd as unsigned ints,
311 asmlinkage long compat_sys_sendfile(u32 out_fd, u32 in_fd, compat_off_t __user * offset, u32 count) argument
324 ret = sys_sendfile((int)out_fd, (int)in_fd, up, count);
333 asmlinkage int compat_sys_sendfile64(int out_fd, int in_fd, compat_loff_t __user *offset, s32 count) argument
346 ret = sys_sendfile64(out_fd, in_fd, up, count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/kernel/
H A Dcompat_linux.c637 asmlinkage long sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, size_t count) argument
647 ret = sys_sendfile(out_fd, in_fd,
657 asmlinkage long sys32_sendfile64(int out_fd, int in_fd, argument
668 ret = sys_sendfile64(out_fd, in_fd,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/
H A Dlinux32.c523 asmlinkage int sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, argument
534 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *)&of : NULL, count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dsys_sparc32.c851 asmlinkage long compat_sys_sendfile(int out_fd, int in_fd, argument
863 ret = sys_sendfile(out_fd, in_fd,
874 asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd, argument
886 ret = sys_sendfile64(out_fd, in_fd,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/ia32/
H A Dsys_ia32.c673 sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, s32 count) argument
683 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *)&of : NULL,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dsyscalls.h322 asmlinkage ssize_t sys_sendfile(int out_fd, int in_fd,
324 asmlinkage ssize_t sys_sendfile64(int out_fd, int in_fd,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/ia32/
H A Dsys_ia32.c2243 sys32_sendfile (int out_fd, int in_fd, int __user *offset, unsigned int count) argument
2253 ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *) &of : NULL, count);

Completed in 158 milliseconds