Searched refs:nfdt (Results 1 – 1 of 1) sorted by relevance
/linux/fs/ |
H A D | file.c | 119 static inline void copy_fd_bitmaps(struct fdtable *nfdt, struct fdtable *ofdt, in copy_fd_bitmaps() argument 122 unsigned int nwords = fdt_words(nfdt); in copy_fd_bitmaps() 124 bitmap_copy_and_extend(nfdt->open_fds, ofdt->open_fds, in copy_fd_bitmaps() 126 bitmap_copy_and_extend(nfdt->close_on_exec, ofdt->close_on_exec, in copy_fd_bitmaps() 128 bitmap_copy_and_extend(nfdt->full_fds_bits, ofdt->full_fds_bits, in copy_fd_bitmaps() 136 static void copy_fdtable(struct fdtable *nfdt, struct fdtable *ofdt) in copy_fdtable() argument 140 BUG_ON(nfdt->max_fds < ofdt->max_fds); in copy_fdtable() 143 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable() 144 memcpy(nfdt->fd, ofdt->fd, cpy); in copy_fdtable() 145 memset((char *)nfdt->fd + cpy, 0, set); in copy_fdtable() [all …]
|