Home
last modified time | relevance | path

Searched refs:new_fd (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/net/core/
Dscm.c233 int new_fd; in scm_detach_fds() local
237 new_fd = err; in scm_detach_fds()
238 err = put_user(new_fd, cmfptr); in scm_detach_fds()
240 put_unused_fd(new_fd); in scm_detach_fds()
245 fd_install(new_fd, fp[i]); in scm_detach_fds()
/linux-2.4.37.9/fs/jffs2/
Dgc.c376 struct jffs2_full_dirent *new_fd; in jffs2_garbage_collect_dirent() local
401 new_fd = jffs2_write_dirent(inode, &rd, fd->name, rd.nsize, phys_ofs, NULL); in jffs2_garbage_collect_dirent()
403 if (IS_ERR(new_fd)) { in jffs2_garbage_collect_dirent()
404 …printk(KERN_WARNING "jffs2_write_dirent in garbage_collect_dirent failed: %ld\n", PTR_ERR(new_fd)); in jffs2_garbage_collect_dirent()
405 return PTR_ERR(new_fd); in jffs2_garbage_collect_dirent()
407 jffs2_add_fd_to_list(c, new_fd, &f->dents); in jffs2_garbage_collect_dirent()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_ioctl.c298 int new_fd; in xfs_open_by_handle() local
345 if ((new_fd = get_unused_fd()) < 0) { in xfs_open_by_handle()
347 return new_fd; in xfs_open_by_handle()
353 put_unused_fd(new_fd); in xfs_open_by_handle()
363 put_unused_fd(new_fd); in xfs_open_by_handle()
369 fd_install(new_fd, filp); in xfs_open_by_handle()
370 return new_fd; in xfs_open_by_handle()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsocket32.c242 int new_fd; in scm_detach_fds32() local
246 new_fd = err; in scm_detach_fds32()
247 err = put_user(new_fd, cmfptr); in scm_detach_fds32()
249 put_unused_fd(new_fd); in scm_detach_fds32()
254 fd_install(new_fd, fp[i]); in scm_detach_fds32()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c2048 int new_fd; in scm_detach_fds32() local
2052 new_fd = err; in scm_detach_fds32()
2053 err = put_user(new_fd, cmfptr); in scm_detach_fds32()
2055 put_unused_fd(new_fd); in scm_detach_fds32()
2060 fd_install(new_fd, fp[i]); in scm_detach_fds32()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c2726 int new_fd; in scm_detach_fds32() local
2730 new_fd = err; in scm_detach_fds32()
2731 err = put_user(new_fd, cmfptr); in scm_detach_fds32()
2733 put_unused_fd(new_fd); in scm_detach_fds32()
2738 fd_install(new_fd, fp[i]); in scm_detach_fds32()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c1588 int new_fd; in scm_detach_fds32() local
1592 new_fd = err; in scm_detach_fds32()
1593 err = put_user(new_fd, cmfptr); in scm_detach_fds32()
1595 put_unused_fd(new_fd); in scm_detach_fds32()
1600 current->files->fd[new_fd] = fp[i]; in scm_detach_fds32()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c3606 int new_fd; in scm_detach_fds32() local
3610 new_fd = err; in scm_detach_fds32()
3611 err = put_user(new_fd, cmfptr); in scm_detach_fds32()
3613 put_unused_fd(new_fd); in scm_detach_fds32()
3618 fd_install(new_fd, fp[i]); in scm_detach_fds32()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c2611 int new_fd; in scm_detach_fds32() local
2615 new_fd = err; in scm_detach_fds32()
2616 err = put_user(new_fd, cmfptr); in scm_detach_fds32()
2618 put_unused_fd(new_fd); in scm_detach_fds32()
2623 fd_install(new_fd, fp[i]); in scm_detach_fds32()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c2539 int new_fd; in scm_detach_fds32() local
2543 new_fd = err; in scm_detach_fds32()
2544 err = put_user(new_fd, cmfptr); in scm_detach_fds32()
2546 put_unused_fd(new_fd); in scm_detach_fds32()
2551 fd_install(new_fd, fp[i]); in scm_detach_fds32()