Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c40 int tofree = 0; in statmount_alloc() local
47 if (tofree) in statmount_alloc()
52 tofree = 1; in statmount_alloc()
60 if (tofree) in statmount_alloc()
/linux/fs/
H A Dfile.c1269 struct file *tofree; in do_dup2() local
1300 tofree = rcu_dereference_raw(fdt->fd[fd]); in do_dup2()
1301 if (!tofree && fd_is_open(fd, fdt)) in do_dup2()
1308 if (tofree) in do_dup2()
1309 filp_close(tofree, files); in do_dup2()
/linux/fs/ext4/
H A Dext4_extents.h125 enum {initial, tofree, nofree} state; enumerator
H A Dextents.c2503 if (partial->state == tofree) { in ext4_remove_blocks()
2571 partial->state = tofree; in ext4_remove_blocks()
2773 if (partial->state == tofree && ex >= EXT_FIRST_EXTENT(eh)) { in ext4_ext_rm_leaf()
3042 if (partial.state == tofree && err == 0) { in ext4_ext_remove_space()
/linux/net/sched/
H A Dsch_fq.c263 void *tofree[FQ_GC_MAX]; in fq_gc() local
277 tofree[fcnt++] = f; in fq_gc()
292 f = tofree[--i]; in fq_gc()
299 kmem_cache_free_bulk(fq_flow_cachep, fcnt, tofree); in fq_gc()
/linux/kernel/cgroup/
H A Dcgroup-v1.c224 struct cgroup_pidlist *tofree = NULL; in cgroup_pidlist_destroy_work_fn() local
236 tofree = l; in cgroup_pidlist_destroy_work_fn()
240 kfree(tofree); in cgroup_pidlist_destroy_work_fn()
/linux/lib/
H A Ddebugobjects.c495 HLIST_HEAD(tofree); in free_obj_work()
507 pool_pop_batch(&tofree, &pool_to_free); in free_obj_work()
513 free_object_list(&tofree); in free_obj_work()