Home
last modified time | relevance | path

Searched refs:fd_map (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/gdb/gdb/
H A Dremote-fileio.c41 int *fd_map; member
56 if (!remote_fio_data.fd_map) in remote_fileio_init_fd_map()
60 remote_fio_data.fd_map[0] = FIO_FD_CONSOLE_IN; in remote_fileio_init_fd_map()
61 remote_fio_data.fd_map[1] = FIO_FD_CONSOLE_OUT; in remote_fileio_init_fd_map()
64 remote_fio_data.fd_map[i] = FIO_FD_INVALID; in remote_fileio_init_fd_map()
72 if (!remote_fio_data.fd_map) in remote_fileio_resize_fd_map()
75 remote_fio_data.fd_map = in remote_fileio_resize_fd_map()
76 (int *) xrealloc (remote_fio_data.fd_map, in remote_fileio_resize_fd_map()
87 if (remote_fio_data.fd_map[i] == FIO_FD_INVALID) in remote_fileio_next_free_fd()
96 remote_fio_data.fd_map[target_fd] = fd; in remote_fileio_fd_to_targetfd()
[all …]
/freebsd-12.1/sys/kern/
H A Dkern_descrip.c189 NDSLOTTYPE *map = fdp->fd_map; in fd_first_free()
216 NDSLOTTYPE *map = fdp->fd_map; in fd_last_used()
240 return ((fdp->fd_map[NDSLOT(fd)] & NDBIT(fd)) != 0); in fdisused()
252 fdp->fd_map[NDSLOT(fd)] |= NDBIT(fd); in fdused_init()
281 fdp->fd_map[NDSLOT(fd)] &= ~NDBIT(fd); in fdunused()
1671 omap = fdp->fd_map; in fdgrowtable()
1705 fdp->fd_map = nmap; in fdgrowtable()
1964 newfdp->fd_map = newfdp0->fd_dmap; in fdinit()
2266 free(fdp->fd_map, M_FILEDESC); in fdescfree_fds()
3329 count += bitcountl(fdp->fd_map[i]); in sysctl_kern_proc_nfds()
/freebsd-12.1/sys/sys/
H A Dfiledesc.h84 NDSLOTTYPE *fd_map; /* bitmap of free fds */ member