Home
last modified time | relevance | path

Searched refs:inactive_list (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c22 * protecting inactive_list, so that shrinker does not need in msm_gem_shrinker_lock()
54 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_count()
78 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_scan()
109 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_vmap()
H A Dmsm_debugfs.c123 msm_gem_describe_objects(&priv->inactive_list, m); in msm_gem_show()
H A Dmsm_gem.c768 list_add_tail(&msm_obj->mm_list, &priv->inactive_list); in msm_gem_active_put()
1108 list_add_tail(&msm_obj->mm_list, &priv->inactive_list); in _msm_gem_new()
1111 list_add_tail(&msm_obj->mm_list, &priv->inactive_list); in _msm_gem_new()
1178 list_add_tail(&msm_obj->mm_list, &priv->inactive_list); in msm_gem_import()
H A Dmsm_drv.h179 struct list_head inactive_list; member
H A Dmsm_drv.c444 INIT_LIST_HEAD(&priv->inactive_list); in msm_drm_init()
/kernel/linux/linux-5.10/drivers/md/
H A Draid5.h87 * neither). The "inactive_list" contains stripes which are not
93 * not hashed must be on the inactive_list, and will normally be at
96 * The inactive_list, handle_list and hash bucket lists are all protected by the
101 * handle_list else inactive_list
107 * the stripe is on inactive_list.
201 struct list_head lru; /* inactive_list or handle_list */
564 /* only protect corresponding hash list and inactive_list */
653 struct list_head inactive_list[NR_STRIPE_HASH_LOCKS]; member
H A Draid5.c305 * @hash could be NR_STRIPE_HASH_LOCKS, then we have a list of inactive_list
333 if (list_empty(conf->inactive_list + hash) && in release_inactive_stripe_list()
336 list_splice_tail_init(list, conf->inactive_list + hash); in release_inactive_stripe_list()
437 if (list_empty(conf->inactive_list + hash)) in get_free_stripe()
439 first = (conf->inactive_list + hash)->next; in get_free_stripe()
445 if (list_empty(conf->inactive_list + hash)) in get_free_stripe()
737 !list_empty(conf->inactive_list + hash) && in raid5_get_active_stripe()
757 if (!list_empty(conf->inactive_list + hash)) in raid5_get_active_stripe()
760 if (list_empty(conf->inactive_list + hash) && inc_empty_inactive_list_flag) in raid5_get_active_stripe()
841 if (!list_empty(conf->inactive_list in stripe_add_to_batch_list()
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Draid5.h88 * neither). The "inactive_list" contains stripes which are not
94 * not hashed must be on the inactive_list, and will normally be at
97 * The inactive_list, handle_list and hash bucket lists are all protected by the
102 * handle_list else inactive_list
108 * the stripe is on inactive_list.
202 struct list_head lru; /* inactive_list or handle_list */
576 /* only protect corresponding hash list and inactive_list */
658 struct list_head inactive_list[NR_STRIPE_HASH_LOCKS]; member
H A Draid5.c315 * @hash could be NR_STRIPE_HASH_LOCKS, then we have a list of inactive_list
343 if (list_empty(conf->inactive_list + hash) && in release_inactive_stripe_list()
346 list_splice_tail_init(list, conf->inactive_list + hash); in release_inactive_stripe_list()
447 if (list_empty(conf->inactive_list + hash)) in get_free_stripe()
449 first = (conf->inactive_list + hash)->next; in get_free_stripe()
455 if (list_empty(conf->inactive_list + hash)) in get_free_stripe()
656 if (!list_empty(conf->inactive_list + hash)) in find_get_stripe()
659 if (list_empty(conf->inactive_list + hash) && in find_get_stripe()
793 if (list_empty(conf->inactive_list + hash)) in is_inactive_blocked()
2604 !list_empty(conf->inactive_list in resize_stripes()
[all...]
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptscsih.c2184 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_is_phys_disk()
2188 list_for_each_entry(component_info, &ioc->raid_data.inactive_list, in mptscsih_is_phys_disk()
2261 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_raid_id_to_num()
2265 list_for_each_entry(component_info, &ioc->raid_data.inactive_list, in mptscsih_raid_id_to_num()
H A Dmptbase.h516 * @inactive_list
529 struct list_head inactive_list; /* link list for physical member
H A Dmptbase.c2559 INIT_LIST_HEAD(&ioc->raid_data.inactive_list); in mpt_do_ioc_recovery()
5625 if (list_empty(&ioc->raid_data.inactive_list)) in mpt_inactive_raid_list_free()
5630 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()
5711 &ioc->raid_data.inactive_list); in mpt_inactive_raid_volumes()
/kernel/linux/linux-6.6/drivers/message/fusion/
H A Dmptscsih.c2183 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_is_phys_disk()
2187 list_for_each_entry(component_info, &ioc->raid_data.inactive_list, in mptscsih_is_phys_disk()
2260 if (list_empty(&ioc->raid_data.inactive_list)) in mptscsih_raid_id_to_num()
2264 list_for_each_entry(component_info, &ioc->raid_data.inactive_list, in mptscsih_raid_id_to_num()
H A Dmptbase.h516 * @inactive_list
529 struct list_head inactive_list; /* link list for physical member
H A Dmptbase.c2550 INIT_LIST_HEAD(&ioc->raid_data.inactive_list); in mpt_do_ioc_recovery()
5630 if (list_empty(&ioc->raid_data.inactive_list)) in mpt_inactive_raid_list_free()
5635 &ioc->raid_data.inactive_list, list) { in mpt_inactive_raid_list_free()
5716 &ioc->raid_data.inactive_list); in mpt_inactive_raid_volumes()

Completed in 46 milliseconds