Searched refs:new_fds (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | ospoll.c | 281 struct ospollfd *new_fds; in ospoll_add() local 284 new_fds = reallocarray(ospoll->fds, new_size, sizeof (ospoll->fds[0])); in ospoll_add() 285 if (!new_fds) in ospoll_add() 287 ospoll->fds = new_fds; in ospoll_add() 311 struct ospollfd **new_fds; in ospoll_add() local 314 new_fds = reallocarray(ospoll->fds, new_size, sizeof (ospoll->fds[0])); in ospoll_add() 315 if (!new_fds) { in ospoll_add() 319 ospoll->fds = new_fds; in ospoll_add() 349 struct ospollfd **new_fds; in ospoll_add() local 352 new_fds = reallocarray(ospoll->fds, new_size, sizeof (ospoll->fds[0])); in ospoll_add() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | file.c | 319 struct file **old_fds, **new_fds; in dup_fd() local 380 new_fds = new_fdt->fd; in dup_fd() 395 rcu_assign_pointer(*new_fds++, f); in dup_fd() 400 memset(new_fds, 0, (new_fdt->max_fds - open_files) * sizeof(struct file *)); in dup_fd()
|