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/net/netlink/
H A Dpolicy.c101 static struct netlink_policy_dump_state *alloc_state(void) in alloc_state() function
136 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.c2446 enum s_alloc alloc_state = sa_none; in build_sched_domains() local
2457 alloc_state = __visit_domain_allocation_hell(&d, cpu_map); in build_sched_domains()
2458 if (alloc_state != sa_rootdomain) in build_sched_domains()
2589 __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 Ddev-replace.c797 while (btrfs_find_first_extent_bit(&srcdev->alloc_state, start, in btrfs_set_target_alloc_state()
800 ret = btrfs_set_extent_bit(&tgtdev->alloc_state, found_start, in btrfs_set_target_alloc_state()
H A Dvolumes.h196 struct extent_io_tree alloc_state; member
H A Dvolumes.c408 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_free_device()
1160 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_close_one_device()
1517 if (btrfs_find_first_extent_bit(&device->alloc_state, *start, in contains_pending_extent()
5027 btrfs_clear_extent_bit(&device->alloc_state, new_size, (u64)-1, in btrfs_shrink_device()
5443 btrfs_set_extent_bit(&device->alloc_state, stripe->physical, in chunk_map_device_set_bits()
5455 btrfs_clear_extent_bit(&device->alloc_state, stripe->physical, in chunk_map_device_clear_bits()
6920 btrfs_extent_io_tree_init(fs_info, &dev->alloc_state, IO_TREE_DEVICE_ALLOC_STATE); in btrfs_alloc_device()
H A Dextent-tree.c6446 btrfs_find_first_clear_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents()
6485 btrfs_set_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents()
/linux/fs/gfs2/
H A Dbmap.c625 enum alloc_state { enum
672 enum alloc_state state; in __gfs2_iomap_alloc()