| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 524 struct ttm_bo_alloc_state *alloc_state) in ttm_bo_alloc_at_place() argument 529 may_evict = !alloc_state->in_evict && force_space && in ttm_bo_alloc_at_place() 531 if (!alloc_state->charge_pool) { in ttm_bo_alloc_at_place() 532 ret = ttm_resource_try_charge(bo, place, &alloc_state->charge_pool, in ttm_bo_alloc_at_place() 533 force_space ? &alloc_state->limit_pool in ttm_bo_alloc_at_place() 544 if (!alloc_state->in_evict) in ttm_bo_alloc_at_place() 545 alloc_state->may_try_low = may_evict; in ttm_bo_alloc_at_place() 581 if (!alloc_state->in_evict) { in ttm_bo_alloc_at_place() 582 may_evict |= dmem_cgroup_below_min(NULL, alloc_state->charge_pool); in ttm_bo_alloc_at_place() 583 alloc_state->may_try_low = may_evict; in ttm_bo_alloc_at_place() [all …]
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | sched.c | 190 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 D | policy.c | 101 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 D | arp_tables.c | 418 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() argument 424 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry() 535 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local 590 &alloc_state); in translate_table()
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6_tables.c | 536 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() 685 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() local 739 &alloc_state); in translate_table()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | spu.h | 117 enum { SPU_FREE, SPU_USED } alloc_state; member
|
| /linux/kernel/sched/ |
| H A D | topology.c | 3084 enum s_alloc alloc_state = sa_none; in build_sched_domains() 3096 alloc_state = __visit_domain_allocation_hell(&d, cpu_map); in build_sched_domains() 3097 if (alloc_state != sa_rootdomain) in build_sched_domains() 3226 __free_domain_allocs(&d, alloc_state, cpu_map); 3080 enum s_alloc alloc_state = sa_none; build_sched_domains() local
|
| /linux/fs/btrfs/ |
| H A D | dev-replace.c | 810 while (btrfs_find_first_extent_bit(&srcdev->alloc_state, start, in btrfs_set_target_alloc_state() 813 ret = btrfs_set_extent_bit(&tgtdev->alloc_state, found_start, in btrfs_set_target_alloc_state()
|
| H A D | volumes.h | 209 struct extent_io_tree alloc_state; member
|
| H A D | volumes.c | 414 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_free_device() 1190 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_close_one_device() 1561 if (btrfs_find_first_extent_bit(&device->alloc_state, start, in btrfs_first_pending_extent() 5475 btrfs_clear_extent_bit(&device->alloc_state, new_size, (u64)-1, in btrfs_shrink_device() 6054 btrfs_set_extent_bit(&device->alloc_state, stripe->physical, in chunk_map_device_set_bits() 6066 btrfs_clear_extent_bit(&device->alloc_state, stripe->physical, in btrfs_chunk_map_device_clear_bits() 7570 btrfs_extent_io_tree_init(fs_info, &dev->alloc_state, IO_TREE_DEVICE_ALLOC_STATE); in btrfs_alloc_device()
|
| H A D | extent-tree.c | 6659 btrfs_find_first_clear_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents_throttle() 6700 btrfs_set_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents_throttle()
|
| /linux/fs/gfs2/ |
| H A D | bmap.c | 626 enum alloc_state { enum 673 enum alloc_state state; in __gfs2_iomap_alloc()
|