Home
last modified time | relevance | path

Searched refs:res_list (Results 1 – 13 of 13) sorted by relevance

/drivers/acpi/
Dacpi_memhotplug.c79 struct list_head res_list; member
95 list_for_each_entry(info, &mem_device->res_list, list) { in acpi_memory_get_resource()
114 list_add_tail(&new->list, &mem_device->res_list); in acpi_memory_get_resource()
124 list_for_each_entry_safe(info, n, &mem_device->res_list, list) in acpi_memory_free_device_resources()
126 INIT_LIST_HEAD(&mem_device->res_list); in acpi_memory_free_device_resources()
134 if (!list_empty(&mem_device->res_list)) in acpi_memory_get_device_resources()
217 list_for_each_entry(info, &mem_device->res_list, list) { in acpi_memory_enable_device()
277 list_for_each_entry_safe(info, n, &mem_device->res_list, list) { in acpi_memory_remove_memory()
314 INIT_LIST_HEAD(&mem_device->res_list); in acpi_memory_device_add()
/drivers/xen/
Dxen-acpi-memhotplug.c43 struct list_head res_list; member
82 list_for_each_entry(info, &mem_device->res_list, list) { in xen_acpi_memory_enable_device()
117 list_for_each_entry(info, &mem_device->res_list, list) { in acpi_memory_get_resource()
135 list_add_tail(&new->list, &mem_device->res_list); in acpi_memory_get_resource()
146 if (!list_empty(&mem_device->res_list)) in acpi_memory_get_device_resources()
153 list_for_each_entry_safe(info, n, &mem_device->res_list, list) in acpi_memory_get_device_resources()
155 INIT_LIST_HEAD(&mem_device->res_list); in acpi_memory_get_device_resources()
305 INIT_LIST_HEAD(&mem_device->res_list); in xen_acpi_memory_device_add()
/drivers/acpi/apei/
Dapei-base.c303 static int apei_res_add(struct list_head *res_list, in apei_res_add() argument
312 list_for_each_entry_safe(res, resn, res_list, list) { in apei_res_add()
328 list_add(&res_ins->list, res_list); in apei_res_add()
335 list_add(&res_ins->list, res_list); in apei_res_add()
381 static void apei_res_clean(struct list_head *res_list) in apei_res_clean() argument
385 list_for_each_entry_safe(res, resn, res_list, list) { in apei_res_clean()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c283 if (!list_empty(&bi->res_list)) in vmw_binding_drop()
284 list_del(&bi->res_list); in vmw_binding_drop()
311 INIT_LIST_HEAD(&loc->res_list); in vmw_binding_add()
338 list_add_tail(&loc->res_list, &loc->res->binding_head); in vmw_binding_transfer()
398 list_for_each_entry_safe(entry, next, head, res_list) in vmw_binding_res_list_kill()
415 list_for_each_entry(entry, head, res_list) { in vmw_binding_res_list_scrub()
423 list_for_each_entry(entry, head, res_list) { in vmw_binding_res_list_scrub()
Dvmwgfx_binding.h70 struct list_head res_list; member
Dvmwgfx_resource.c426 INIT_LIST_HEAD(&vmw_bo->res_list); in vmw_dmabuf_init()
1142 list_add_tail(&res->mob_head, &res->backup->res_list); in vmw_resource_do_validate()
1194 list_add_tail(&res->mob_head, &new_backup->res_list); in vmw_resource_unreserve()
1504 list_for_each_entry_safe(res, n, &dma_buf->res_list, mob_head) { in vmw_resource_move_notify()
Dvmwgfx_cotable.c482 list_add_tail(&res->mob_head, &buf->res_list); in vmw_cotable_resize()
Dvmwgfx_drv.h89 struct list_head res_list; member
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c508 slave_list[i].res_list[t]); in mlx4_init_resource_tracker()
946 &tracker->slave_list[slave].res_list[RES_COUNTER], in handle_unexisting_counter()
1185 &tracker->slave_list[slave].res_list[RES_COUNTER], in mlx4_calc_vf_counters()
1248 &tracker->slave_list[slave].res_list[type]); in add_res_range()
1945 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_find_smac_ix_in_slave()
1962 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_add_to_slave()
1985 &tracker->slave_list[slave].res_list[RES_MAC]); in mac_add_to_slave()
1995 &tracker->slave_list[slave].res_list[RES_MAC]; in mac_del_from_slave()
2015 &tracker->slave_list[slave].res_list[RES_MAC]; in rem_slave_macs()
2069 &tracker->slave_list[slave].res_list[RES_VLAN]; in vlan_add_to_slave()
[all …]
Dmlx4.h535 struct list_head res_list[MLX4_NUM_OF_RESOURCE_TYPE]; member
/drivers/gpio/
Dgpiolib-acpi.c432 struct list_head res_list; in acpi_gpio_resource_lookup() local
435 INIT_LIST_HEAD(&res_list); in acpi_gpio_resource_lookup()
437 ret = acpi_dev_get_resources(lookup->adev, &res_list, acpi_find_gpio, in acpi_gpio_resource_lookup()
442 acpi_dev_free_resource_list(&res_list); in acpi_gpio_resource_lookup()
/drivers/scsi/
Dmvumi.h547 struct list_head res_list; member
Dmvumi.c166 list_add_tail(&res->entry, &mhba->res_list); in mvumi_alloc_mem_resource()
175 list_for_each_entry_safe(res, tmp, &mhba->res_list, entry) { in mvumi_release_mem_resource()
2547 INIT_LIST_HEAD(&mhba->res_list); in mvumi_probe_one()