Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/filesystems/statmount/
Dstatmount_test.c41 int tofree = 0; in statmount_alloc() local
48 if (tofree) in statmount_alloc()
53 tofree = 1; in statmount_alloc()
61 if (tofree) in statmount_alloc()
/linux-6.12.1/fs/
Dfile.c1202 struct file *tofree; in do_dup2() local
1221 tofree = fdt->fd[fd]; in do_dup2()
1222 if (!tofree && fd_is_open(fd, fdt)) in do_dup2()
1233 if (tofree) in do_dup2()
1234 filp_close(tofree, files); in do_dup2()
/linux-6.12.1/fs/ext4/
Dext4_extents.h132 enum {initial, tofree, nofree} state; enumerator
Dextents.c2499 if (partial->state == tofree) { in ext4_remove_blocks()
2567 partial->state = tofree; in ext4_remove_blocks()
2769 if (partial->state == tofree && ex >= EXT_FIRST_EXTENT(eh)) { in ext4_ext_rm_leaf()
3039 if (partial.state == tofree && err == 0) { in ext4_ext_remove_space()
/linux-6.12.1/net/sched/
Dsch_fq.c262 void *tofree[FQ_GC_MAX]; in fq_gc() local
276 tofree[fcnt++] = f; in fq_gc()
291 f = tofree[--i]; in fq_gc()
298 kmem_cache_free_bulk(fq_flow_cachep, fcnt, tofree); in fq_gc()
/linux-6.12.1/kernel/cgroup/
Dcgroup-v1.c220 struct cgroup_pidlist *tofree = NULL; in cgroup_pidlist_destroy_work_fn() local
232 tofree = l; in cgroup_pidlist_destroy_work_fn()
236 kfree(tofree); in cgroup_pidlist_destroy_work_fn()
/linux-6.12.1/lib/
Ddebugobjects.c290 HLIST_HEAD(tofree); in free_obj_work()
323 hlist_move_list(&obj_to_free, &tofree); in free_obj_work()
329 hlist_for_each_entry_safe(obj, tmp, &tofree, node) { in free_obj_work()