Home
last modified time | relevance | path

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

/linux-4.4.14/fs/
Dfile.c821 struct file *tofree; in do_dup2() local
839 tofree = fdt->fd[fd]; in do_dup2()
840 if (!tofree && fd_is_open(fd, fdt)) in do_dup2()
851 if (tofree) in do_dup2()
852 filp_close(tofree, files); in do_dup2()
/linux-4.4.14/net/sched/
Dsch_fq.c180 struct fq_flow *f, *tofree[FQ_GC_MAX]; in fq_gc() local
194 tofree[fcnt++] = f; in fq_gc()
209 struct fq_flow *f = tofree[--fcnt]; in fq_gc()
/linux-4.4.14/mm/
Dslab.c246 struct kmem_cache_node *n, int tofree);
2363 struct kmem_cache_node *n, int tofree) in drain_freelist() argument
2370 while (nr_freed < tofree && !list_empty(&n->slabs_free)) { in drain_freelist()
3831 int tofree; in drain_array() local
3840 tofree = force ? ac->avail : (ac->limit + 4) / 5; in drain_array()
3841 if (tofree > ac->avail) in drain_array()
3842 tofree = (ac->avail + 1) / 2; in drain_array()
3843 free_block(cachep, ac->entry, tofree, node, &list); in drain_array()
3844 ac->avail -= tofree; in drain_array()
3845 memmove(ac->entry, &(ac->entry[tofree]), in drain_array()
/linux-4.4.14/kernel/
Dcgroup.c4179 struct cgroup_pidlist *tofree = NULL; in cgroup_pidlist_destroy_work_fn() local
4191 tofree = l; in cgroup_pidlist_destroy_work_fn()
4195 kfree(tofree); in cgroup_pidlist_destroy_work_fn()