Lines Matching refs:set
143 size_t cpy, set; in copy_fdtable() local
148 set = (nfdt->max_fds - ofdt->max_fds) * sizeof(struct file *); in copy_fdtable()
150 memset((char *)nfdt->fd + cpy, 0, set); in copy_fdtable()
323 bool set) in __set_close_on_exec() argument
325 if (set) { in __set_close_on_exec()
333 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt, bool set) in __set_open_fd() argument
336 __set_close_on_exec(fd, fdt, set); in __set_open_fd()
485 unsigned long set; in close_files() local
489 set = fdt->open_fds[j++]; in close_files()
490 while (set) { in close_files()
491 if (set & 1) { in close_files()
499 set >>= 1; in close_files()
870 unsigned long set; in do_close_on_exec() local
875 set = fdt->close_on_exec[i]; in do_close_on_exec()
876 if (!set) in do_close_on_exec()
879 for ( ; set ; fd++, set >>= 1) { in do_close_on_exec()
881 if (!(set & 1)) in do_close_on_exec()