Home
last modified time | relevance | path

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

/Linux-v5.10/fs/
Dfile.c53 static void copy_fd_bitmaps(struct fdtable *nfdt, struct fdtable *ofdt, in copy_fd_bitmaps() argument
59 set = (nfdt->max_fds - count) / BITS_PER_BYTE; in copy_fd_bitmaps()
60 memcpy(nfdt->open_fds, ofdt->open_fds, cpy); in copy_fd_bitmaps()
61 memset((char *)nfdt->open_fds + cpy, 0, set); in copy_fd_bitmaps()
62 memcpy(nfdt->close_on_exec, ofdt->close_on_exec, cpy); in copy_fd_bitmaps()
63 memset((char *)nfdt->close_on_exec + cpy, 0, set); in copy_fd_bitmaps()
66 set = BITBIT_SIZE(nfdt->max_fds) - cpy; in copy_fd_bitmaps()
67 memcpy(nfdt->full_fds_bits, ofdt->full_fds_bits, cpy); in copy_fd_bitmaps()
68 memset((char *)nfdt->full_fds_bits + cpy, 0, set); in copy_fd_bitmaps()
75 static void copy_fdtable(struct fdtable *nfdt, struct fdtable *ofdt) in copy_fdtable() argument
[all …]