| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | xterm_kern.c | 17 int new_fd; member 29 xterm->new_fd = fd; in xterm_interrupt() 49 .new_fd = -1 }); in xterm_fd() 69 ret = data->new_fd; in xterm_fd()
|
| /OK3568_Linux_fs/kernel/arch/um/kernel/ |
| H A D | irq.c | 132 struct irq_fd *new_fd; in activate_fd() local 183 new_fd = kmalloc(sizeof(struct irq_fd), GFP_ATOMIC); in activate_fd() 184 if (new_fd == NULL) in activate_fd() 189 *new_fd = ((struct irq_fd) { in activate_fd() 202 irq_entry->irq_array[type] = new_fd; in activate_fd()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | file.c | 1144 int new_fd; in __receive_fd() local 1152 new_fd = get_unused_fd_flags(o_flags); in __receive_fd() 1153 if (new_fd < 0) in __receive_fd() 1154 return new_fd; in __receive_fd() 1156 new_fd = fd; in __receive_fd() 1160 error = put_user(new_fd, ufd); in __receive_fd() 1163 put_unused_fd(new_fd); in __receive_fd() 1169 fd_install(new_fd, get_file(file)); in __receive_fd() 1171 error = replace_fd(new_fd, file, o_flags); in __receive_fd() 1178 return new_fd; in __receive_fd()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | rdma_core.c | 463 int new_fd; in alloc_begin_fd_uobject() local 479 new_fd = get_unused_fd_flags(O_CLOEXEC); in alloc_begin_fd_uobject() 480 if (new_fd < 0) { in alloc_begin_fd_uobject() 481 ret = ERR_PTR(new_fd); in alloc_begin_fd_uobject() 494 uobj->id = new_fd; in alloc_begin_fd_uobject() 498 put_unused_fd(new_fd); in alloc_begin_fd_uobject()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | select_reuseport.c | 439 int new_fd = accept(srv_fd, NULL, 0); in do_test() local 441 RET_IF(new_fd == -1, "accept(srv_fd)", in do_test() 443 ev.data.u32, new_fd, errno); in do_test() 445 nread = recv(new_fd, &rcv_cmd, sizeof(rcv_cmd), MSG_DONTWAIT); in do_test() 451 close(new_fd); in do_test()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | ifdtool.c | 495 int new_fd; in write_image() local 499 new_fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | in write_image() 501 if (new_fd < 0) in write_image() 503 if (write(new_fd, image, size) != size) in write_image() 505 close(new_fd); in write_image()
|
| /OK3568_Linux_fs/kernel/fs/jffs2/ |
| H A D | gc.c | 853 struct jffs2_full_dirent *new_fd; in jffs2_garbage_collect_dirent() local 884 new_fd = jffs2_write_dirent(c, f, &rd, fd->name, rd.nsize, ALLOC_GC); in jffs2_garbage_collect_dirent() 886 if (IS_ERR(new_fd)) { in jffs2_garbage_collect_dirent() 888 PTR_ERR(new_fd)); in jffs2_garbage_collect_dirent() 889 return PTR_ERR(new_fd); in jffs2_garbage_collect_dirent() 891 jffs2_add_fd_to_list(c, new_fd, &f->dents); in jffs2_garbage_collect_dirent()
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/skas/ |
| H A D | process.c | 478 int new_fd = phys_mapping(to_phys((void *)new_stack), &new_offset); in copy_context_skas0() local 486 .fd = new_fd in copy_context_skas0()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/lvm2/files/ |
| H A D | 0001-implement-libc-specific-reopen_stream.patch | 32 int fd, fd_copy, new_fd;
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | fork.c | 3005 struct files_struct *fd, *new_fd = NULL; in ksys_unshare() local 3046 err = unshare_fd(unshare_flags, NR_OPEN_MAX, &new_fd); in ksys_unshare() 3057 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare() 3086 if (new_fd) { in ksys_unshare() 3088 current->files = new_fd; in ksys_unshare() 3089 new_fd = fd; in ksys_unshare() 3107 if (new_fd) in ksys_unshare() 3108 put_files_struct(new_fd); in ksys_unshare()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | libbpf.c | 3656 int new_fd, err; in bpf_map__reuse_fd() local 3674 new_fd = open("/", O_RDONLY | O_CLOEXEC); in bpf_map__reuse_fd() 3675 if (new_fd < 0) { in bpf_map__reuse_fd() 3680 new_fd = dup3(fd, new_fd, O_CLOEXEC); in bpf_map__reuse_fd() 3681 if (new_fd < 0) { in bpf_map__reuse_fd() 3693 map->fd = new_fd; in bpf_map__reuse_fd() 3707 close(new_fd); in bpf_map__reuse_fd()
|