Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/platforms/cell/spufs/
Dsched.c193 if (spu->alloc_state != SPU_FREE) { in do_notify_spus_active()
576 if (spu && spu->alloc_state == SPU_FREE) in spu_get_idle()
593 if (spu->alloc_state == SPU_FREE) in spu_get_idle()
604 spu->alloc_state = SPU_USED; in spu_get_idle()
716 spu->alloc_state = SPU_USED; in __spu_schedule()
758 spu->alloc_state = SPU_FREE; in spu_unschedule()
1140 if (spu->alloc_state != SPU_FREE) in spu_sched_exit()
1141 spu->alloc_state = SPU_FREE; in spu_sched_exit()
/Linux-v5.10/drivers/crypto/cavium/zip/
Dzip_device.h84 u8 alloc_state; member
/Linux-v5.10/fs/btrfs/tests/
Dbtrfs-tests.c97 extent_io_tree_init(NULL, &dev->alloc_state, 0, NULL); in btrfs_alloc_dummy_device()
106 extent_io_tree_release(&dev->alloc_state); in btrfs_free_dummy_device()
/Linux-v5.10/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-v5.10/fs/btrfs/
Dextent_map.c366 set_extent_bits_nowait(&device->alloc_state, stripe->physical, in extent_map_device_set_bits()
381 __clear_extent_bit(&device->alloc_state, stripe->physical, in extent_map_device_clear_bits()
Dvolumes.h138 struct extent_io_tree alloc_state; member
Ddev-replace.c635 while (!find_first_extent_bit(&srcdev->alloc_state, start, in btrfs_set_target_alloc_state()
638 ret = set_extent_bits(&tgtdev->alloc_state, found_start, in btrfs_set_target_alloc_state()
Dvolumes.c375 extent_io_tree_release(&device->alloc_state); in btrfs_free_device()
437 extent_io_tree_init(fs_info, &dev->alloc_state, in __alloc_device()
1143 extent_io_tree_release(&device->alloc_state); in btrfs_close_one_device()
1385 if (!find_first_extent_bit(&device->alloc_state, *start, in contains_pending_extent()
4716 clear_extent_bits(&device->alloc_state, new_size, (u64)-1, in btrfs_shrink_device()
Dextent-tree.c5826 find_first_clear_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents()
5865 set_extent_bits(&device->alloc_state, start, in btrfs_trim_free_extents()
/Linux-v5.10/net/ipv4/netfilter/
Darp_tables.c406 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() argument
412 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry()
523 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local
578 &alloc_state); in translate_table()
Dip_tables.c518 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() argument
527 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry()
664 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local
718 &alloc_state); in translate_table()
/Linux-v5.10/kernel/sched/
Dtopology.c1984 enum s_alloc alloc_state = sa_none; in build_sched_domains() local
1995 alloc_state = __visit_domain_allocation_hell(&d, cpu_map); in build_sched_domains()
1996 if (alloc_state != sa_rootdomain) in build_sched_domains()
2076 __free_domain_allocs(&d, alloc_state, cpu_map); in build_sched_domains()
/Linux-v5.10/net/ipv6/netfilter/
Dip6_tables.c537 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() argument
546 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry()
681 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local
735 &alloc_state); in translate_table()
/Linux-v5.10/arch/powerpc/include/asm/
Dspu.h117 enum { SPU_FREE, SPU_USED } alloc_state; member
/Linux-v5.10/arch/powerpc/platforms/cell/
Dspu_base.c573 spu->alloc_state = SPU_FREE; in create_spu()
/Linux-v5.10/fs/gfs2/
Dbmap.c627 enum alloc_state { enum
674 enum alloc_state state; in gfs2_iomap_alloc()