Home
last modified time | relevance | path

Searched refs:alloc_state (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dsched.c190 if (spu->alloc_state != SPU_FREE) { in do_notify_spus_active()
570 if (spu && spu->alloc_state == SPU_FREE) in spu_get_idle()
587 if (spu->alloc_state == SPU_FREE) in spu_get_idle()
598 spu->alloc_state = SPU_USED; in spu_get_idle()
710 spu->alloc_state = SPU_USED; in __spu_schedule()
752 spu->alloc_state = SPU_FREE; in spu_unschedule()
1136 if (spu->alloc_state != SPU_FREE) in spu_sched_exit()
1137 spu->alloc_state = SPU_FREE; in spu_sched_exit()
/linux-6.6.21/drivers/crypto/cavium/zip/
Dzip_device.h84 u8 alloc_state; member
/linux-6.6.21/fs/btrfs/tests/
Dbtrfs-tests.c105 extent_io_tree_init(NULL, &dev->alloc_state, 0); in btrfs_alloc_dummy_device()
114 extent_io_tree_release(&dev->alloc_state); in btrfs_free_dummy_device()
/linux-6.6.21/net/netlink/
Dpolicy.c100 static struct netlink_policy_dump_state *alloc_state(void) in alloc_state() function
135 state = alloc_state(); in netlink_policy_dump_add_policy()
/linux-6.6.21/net/ipv4/netfilter/
Darp_tables.c407 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() argument
413 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry()
524 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local
579 &alloc_state); in translate_table()
Dip_tables.c517 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() argument
526 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry()
663 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local
717 &alloc_state); in translate_table()
/linux-6.6.21/net/ipv6/netfilter/
Dip6_tables.c536 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() argument
545 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry()
680 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local
734 &alloc_state); in translate_table()
/linux-6.6.21/kernel/sched/
Dtopology.c2363 enum s_alloc alloc_state = sa_none; in build_sched_domains() local
2373 alloc_state = __visit_domain_allocation_hell(&d, cpu_map); in build_sched_domains()
2374 if (alloc_state != sa_rootdomain) in build_sched_domains()
2507 __free_domain_allocs(&d, alloc_state, cpu_map); in build_sched_domains()
/linux-6.6.21/fs/btrfs/
Dextent_map.c367 set_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_set_bits()
383 __clear_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_clear_bits()
Dvolumes.h164 struct extent_io_tree alloc_state; member
Ddev-replace.c811 while (find_first_extent_bit(&srcdev->alloc_state, start, in btrfs_set_target_alloc_state()
814 ret = set_extent_bit(&tgtdev->alloc_state, found_start, in btrfs_set_target_alloc_state()
Dvolumes.c399 extent_io_tree_release(&device->alloc_state); in btrfs_free_device()
1149 extent_io_tree_release(&device->alloc_state); in btrfs_close_one_device()
1429 if (find_first_extent_bit(&device->alloc_state, *start, in contains_pending_extent()
4974 clear_extent_bits(&device->alloc_state, new_size, (u64)-1, in btrfs_shrink_device()
6626 extent_io_tree_init(fs_info, &dev->alloc_state, IO_TREE_DEVICE_ALLOC_STATE); in btrfs_alloc_device()
Dextent-tree.c6018 find_first_clear_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents()
6057 set_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents()
/linux-6.6.21/arch/powerpc/include/asm/
Dspu.h117 enum { SPU_FREE, SPU_USED } alloc_state; member
/linux-6.6.21/arch/powerpc/platforms/cell/
Dspu_base.c566 spu->alloc_state = SPU_FREE; in create_spu()
/linux-6.6.21/fs/gfs2/
Dbmap.c622 enum alloc_state { enum
669 enum alloc_state state; in __gfs2_iomap_alloc()