Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/
A Dfile.c1093 struct file *tofree; in do_dup2() local
1111 tofree = fdt->fd[fd]; in do_dup2()
1112 if (!tofree && fd_is_open(fd, fdt)) in do_dup2()
1123 if (tofree) in do_dup2()
1124 filp_close(tofree, files); in do_dup2()
/linux-6.3-rc2/fs/ext4/
A Dext4_extents.h132 enum {initial, tofree, nofree} state; enumerator
A Dextents.c2497 if (partial->state == tofree) { in ext4_remove_blocks()
2565 partial->state = tofree; in ext4_remove_blocks()
2767 if (partial->state == tofree && ex >= EXT_FIRST_EXTENT(eh)) { in ext4_ext_rm_leaf()
3038 if (partial.state == tofree && err == 0) { in ext4_ext_remove_space()
/linux-6.3-rc2/net/sched/
A Dsch_fq.c222 void *tofree[FQ_GC_MAX]; in fq_gc() local
236 tofree[fcnt++] = f; in fq_gc()
251 f = tofree[--i]; in fq_gc()
258 kmem_cache_free_bulk(fq_flow_cachep, fcnt, tofree); in fq_gc()
/linux-6.3-rc2/mm/
A Dslab.c211 struct kmem_cache_node *n, int tofree);
2120 int tofree; in drain_array_locked() local
2125 tofree = free_all ? ac->avail : (ac->limit + 4) / 5; in drain_array_locked()
2126 if (tofree > ac->avail) in drain_array_locked()
2127 tofree = (ac->avail + 1) / 2; in drain_array_locked()
2129 free_block(cachep, ac->entry, tofree, node, list); in drain_array_locked()
2130 ac->avail -= tofree; in drain_array_locked()
2131 memmove(ac->entry, &(ac->entry[tofree]), sizeof(void *) * ac->avail); in drain_array_locked()
2180 struct kmem_cache_node *n, int tofree) in drain_freelist() argument
2187 while (nr_freed < tofree && !list_empty(&n->slabs_free)) { in drain_freelist()
/linux-6.3-rc2/kernel/cgroup/
A Dcgroup-v1.c214 struct cgroup_pidlist *tofree = NULL; in cgroup_pidlist_destroy_work_fn() local
226 tofree = l; in cgroup_pidlist_destroy_work_fn()
230 kfree(tofree); in cgroup_pidlist_destroy_work_fn()
/linux-6.3-rc2/lib/
A Ddebugobjects.c294 HLIST_HEAD(tofree); in free_obj_work()
327 hlist_move_list(&obj_to_free, &tofree); in free_obj_work()
333 hlist_for_each_entry_safe(obj, tmp, &tofree, node) { in free_obj_work()

Completed in 30 milliseconds