Home
last modified time | relevance | path

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

/linux-3.4.99/fs/
Dfcntl.c56 struct file * file, *tofree; in SYSCALL_DEFINE3() local
92 tofree = fdt->fd[newfd]; in SYSCALL_DEFINE3()
93 if (!tofree && fd_is_open(newfd, fdt)) in SYSCALL_DEFINE3()
104 if (tofree) in SYSCALL_DEFINE3()
105 filp_close(tofree, files); in SYSCALL_DEFINE3()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_gpio.c289 LIST_HEAD(tofree); in nouveau_gpio_isr_del()
300 list_move(&isr->head, &tofree); in nouveau_gpio_isr_del()
304 list_for_each_entry_safe(isr, tmp, &tofree, head) { in nouveau_gpio_isr_del()
/linux-3.4.99/mm/
Dslab.c299 struct kmem_list3 *l3, int tofree);
2640 struct kmem_list3 *l3, int tofree) in drain_freelist() argument
2647 while (nr_freed < tofree && !list_empty(&l3->slabs_free)) { in drain_freelist()
4174 int tofree; in drain_array() local
4183 tofree = force ? ac->avail : (ac->limit + 4) / 5; in drain_array()
4184 if (tofree > ac->avail) in drain_array()
4185 tofree = (ac->avail + 1) / 2; in drain_array()
4186 free_block(cachep, ac->entry, tofree, node); in drain_array()
4187 ac->avail -= tofree; in drain_array()
4188 memmove(ac->entry, &(ac->entry[tofree]), in drain_array()
/linux-3.4.99/net/ipv4/
Dfib_trie.c702 struct tnode *tofree; in tnode_clean_free() local
705 tofree = (struct tnode *)rtnl_dereference(tn->child[i]); in tnode_clean_free()
706 if (tofree) in tnode_clean_free()
707 tnode_free(tofree); in tnode_clean_free()