Home
last modified time | relevance | path

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

/linux-2.4.37.9/kernel/
Dfork.c440 int open_files, nfds, size, i, error = 0; in copy_files() local
488 open_files = count_open_files(oldf, size); in copy_files()
496 if (open_files > nfds) { in copy_files()
500 error = expand_fd_array(newf, open_files-1); in copy_files()
511 memcpy(newf->open_fds->fds_bits, oldf->open_fds->fds_bits, open_files/8); in copy_files()
512 memcpy(newf->close_on_exec->fds_bits, oldf->close_on_exec->fds_bits, open_files/8); in copy_files()
514 for (i = open_files; i != 0; i--) { in copy_files()
525 FD_CLR(open_files - i, newf->open_fds); in copy_files()
532 size = (newf->max_fds - open_files) * sizeof(struct file *); in copy_files()
537 if (newf->max_fdset > open_files) { in copy_files()
[all …]
/linux-2.4.37.9/drivers/message/i2o/
Di2o_config.c62 static struct i2o_cfg_info *open_files = NULL; variable
108 for(inf = open_files; inf; inf = inf->next) in i2o_cfg_reply()
795 for(p = open_files; p; p = p->next) in ioctl_evt_get()
835 tmp->next = open_files; in cfg_open()
838 open_files = tmp; in cfg_open()
854 for(p1 = open_files; p1; ) in cfg_release()
864 open_files = p1->next; in cfg_release()
883 for(p = open_files; p; p = p->next) in cfg_fasync()