Home
last modified time | relevance | path

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

/linux-4.1.27/fs/
Dfile.c754 struct file *tofree; in do_dup2() local
772 tofree = fdt->fd[fd]; in do_dup2()
773 if (!tofree && fd_is_open(fd, fdt)) in do_dup2()
784 if (tofree) in do_dup2()
785 filp_close(tofree, files); in do_dup2()
/linux-4.1.27/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.1.27/mm/
Dslab.c246 struct kmem_cache_node *n, int tofree);
2372 struct kmem_cache_node *n, int tofree) in drain_freelist() argument
2379 while (nr_freed < tofree && !list_empty(&n->slabs_free)) { in drain_freelist()
3827 int tofree; in drain_array() local
3836 tofree = force ? ac->avail : (ac->limit + 4) / 5; in drain_array()
3837 if (tofree > ac->avail) in drain_array()
3838 tofree = (ac->avail + 1) / 2; in drain_array()
3839 free_block(cachep, ac->entry, tofree, node, &list); in drain_array()
3840 ac->avail -= tofree; in drain_array()
3841 memmove(ac->entry, &(ac->entry[tofree]), in drain_array()
/linux-4.1.27/kernel/
Dcgroup.c3833 struct cgroup_pidlist *tofree = NULL; in cgroup_pidlist_destroy_work_fn() local
3845 tofree = l; in cgroup_pidlist_destroy_work_fn()
3849 kfree(tofree); in cgroup_pidlist_destroy_work_fn()