| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 511 * @alloc_state: Object holding allocation state such as charged cgroups. 523 struct ttm_bo_alloc_state *alloc_state) in ttm_bo_alloc_at_place() 528 may_evict = !alloc_state->in_evict && force_space && in ttm_bo_alloc_at_place() 530 if (!alloc_state->charge_pool) { in ttm_bo_alloc_at_place() 531 ret = ttm_resource_try_charge(bo, place, &alloc_state->charge_pool, in ttm_bo_alloc_at_place() 532 force_space ? &alloc_state->limit_pool in ttm_bo_alloc_at_place() 543 if (!alloc_state->in_evict) in ttm_bo_alloc_at_place() 544 alloc_state->may_try_low = may_evict; in ttm_bo_alloc_at_place() 580 if (!alloc_state->in_evict) { in ttm_bo_alloc_at_place() 581 may_evict |= dmem_cgroup_below_min(NULL, alloc_state in ttm_bo_alloc_at_place() 524 ttm_bo_alloc_at_place(struct ttm_buffer_object * bo,const struct ttm_place * place,bool force_space,struct ttm_resource ** res,struct ttm_bo_alloc_state * alloc_state) ttm_bo_alloc_at_place() argument 624 struct ttm_bo_alloc_state *alloc_state; global() member 979 struct ttm_bo_alloc_state alloc_state = {}; ttm_bo_alloc_resource() local [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 | 419 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() 425 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry() 536 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() 591 &alloc_state); in translate_table() 418 find_check_entry(struct arpt_entry * e,struct net * net,const char * name,unsigned int size,struct xt_percpu_counter_alloc_state * alloc_state) find_check_entry() argument 535 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; translate_table() local
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6_tables.c | 537 struct xt_percpu_counter_alloc_state *alloc_state) in find_check_entry() 546 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) in find_check_entry() 686 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; in translate_table() 740 &alloc_state); in translate_table() 536 find_check_entry(struct ip6t_entry * e,struct net * net,const char * name,unsigned int size,struct xt_percpu_counter_alloc_state * alloc_state) find_check_entry() argument 685 struct xt_percpu_counter_alloc_state alloc_state = { 0 }; translate_table() local
|
| /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 | 3102 enum s_alloc alloc_state = sa_none; in build_sched_domains() local 3114 alloc_state = __visit_domain_allocation_hell(&d, cpu_map); in build_sched_domains() 3115 if (alloc_state != sa_rootdomain) in build_sched_domains() 3244 __free_domain_allocs(&d, alloc_state, cpu_map); in build_sched_domains()
|
| /linux/fs/btrfs/ |
| H A D | dev-replace.c | 814 while (btrfs_find_first_extent_bit(&srcdev->alloc_state, start, in btrfs_set_target_alloc_state() 817 ret = btrfs_set_extent_bit(&tgtdev->alloc_state, found_start, in btrfs_set_target_alloc_state()
|
| H A D | volumes.h | 206 struct extent_io_tree alloc_state; 209 struct extent_io_tree alloc_state; global() member
|
| H A D | volumes.c | 414 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_free_device() 1188 btrfs_extent_io_tree_release(&device->alloc_state); in btrfs_close_one_device() 1557 if (btrfs_find_first_extent_bit(&device->alloc_state, start, in btrfs_first_pending_extent() 5513 btrfs_clear_extent_bit(&device->alloc_state, new_size, (u64)-1, in btrfs_add_system_chunk() 6092 btrfs_set_extent_bit(&device->alloc_state, stripe->physical, in btrfs_chunk_map_cmp() 6104 btrfs_clear_extent_bit(&device->alloc_state, stripe->physical, in btrfs_add_chunk_map() 7608 btrfs_extent_io_tree_init(fs_info, &dev->alloc_state, IO_TREE_DEVICE_ALLOC_STATE); in btrfs_report_missing_device()
|
| H A D | extent-tree.c | 6666 btrfs_find_first_clear_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents_throttle() 6707 btrfs_set_extent_bit(&device->alloc_state, start, in btrfs_trim_free_extents_throttle()
|
| /linux/fs/gfs2/ |
| H A D | bmap.c | 629 enum alloc_state { 677 enum alloc_state state; in __gfs2_iomap_alloc() 626 enum alloc_state { global() enum
|