Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/cell/spufs/
H A 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/fs/btrfs/tests/
H A Dbtrfs-tests.c105 btrfs_extent_io_tree_init(fs_info, &dev->alloc_state, 0); in btrfs_alloc_dummy_device()
114 btrfs_extent_io_tree_release(&dev->alloc_state); in btrfs_free_dummy_device()
/linux/net/netlink/
H A Dpolicy.c101 static struct netlink_policy_dump_state *alloc_state(void) in alloc_state() function
135 state = alloc_state(); in netlink_policy_dump_add_policy()
/linux/net/ipv4/netfilter/
H A 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()
H A 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/net/ipv6/netfilter/
H A 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/kernel/sched/
H A Dtopology.c2558 enum s_alloc alloc_state = sa_none; in build_sched_domains() local
2569 alloc_state = __visit_domain_allocation_hell(&d, cpu_map); in build_sched_domains()
2570 if (alloc_state != sa_rootdomain) in build_sched_domains()
2701 __free_domain_allocs(&d, alloc_state, cpu_map); in build_sched_domains()
/linux/arch/powerpc/include/asm/
H A Dspu.h117 enum { SPU_FREE, SPU_USED } alloc_state; member
/linux/fs/btrfs/
H A Dvolumes.h208 struct extent_io_tree alloc_state; member
H A Dvolumes.c412 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_free_device()
1163 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_close_one_device()
1534 if (btrfs_find_first_extent_bit(&device->alloc_state, start, in btrfs_first_pending_extent()
5298 btrfs_clear_extent_bit(&device->alloc_state, new_size, (u64)-1, in btrfs_shrink_device()
5714 btrfs_set_extent_bit(&device->alloc_state, stripe->physical, in chunk_map_device_set_bits()
5726 btrfs_clear_extent_bit(&device->alloc_state, stripe->physical, in btrfs_chunk_map_device_clear_bits()
7215 btrfs_extent_io_tree_init(fs_info, &dev->alloc_state, IO_TREE_DEVICE_ALLOC_STATE); in btrfs_alloc_device()
/linux/arch/powerpc/platforms/cell/
H A Dspu_base.c565 spu->alloc_state = SPU_FREE; in create_spu()
/linux/fs/gfs2/
H A Dbmap.c625 enum alloc_state { enum
672 enum alloc_state state; in __gfs2_iomap_alloc()