Home
last modified time | relevance | path

Searched refs:container (Results 1 – 19 of 19) sorted by relevance

/drivers/vfio/
Dvfio_iommu_spapr_tce.c73 static long tce_iommu_mm_set(struct tce_container *container) in tce_iommu_mm_set() argument
75 if (container->mm) { in tce_iommu_mm_set()
76 if (container->mm == current->mm) in tce_iommu_mm_set()
81 container->mm = current->mm; in tce_iommu_mm_set()
82 mmgrab(container->mm); in tce_iommu_mm_set()
87 static long tce_iommu_prereg_free(struct tce_container *container, in tce_iommu_prereg_free() argument
92 ret = mm_iommu_put(container->mm, tcemem->mem); in tce_iommu_prereg_free()
102 static long tce_iommu_unregister_pages(struct tce_container *container, in tce_iommu_unregister_pages() argument
113 mem = mm_iommu_get(container->mm, vaddr, size >> PAGE_SHIFT); in tce_iommu_unregister_pages()
117 list_for_each_entry(tcemem, &container->prereg_list, next) { in tce_iommu_unregister_pages()
[all …]
Dvfio.c75 struct vfio_container *container; member
355 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument
357 kref_get(&container->kref); in vfio_container_get()
362 struct vfio_container *container; in vfio_container_release() local
363 container = container_of(kref, struct vfio_container, kref); in vfio_container_release()
365 kfree(container); in vfio_container_release()
368 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument
370 kref_put(&container->kref, vfio_container_release); in vfio_container_put()
1011 wait_event(group->container_q, !group->container); in vfio_unregister_group_dev()
1021 static long vfio_ioctl_check_extension(struct vfio_container *container, in vfio_ioctl_check_extension() argument
[all …]
/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c37 vector->container = NULL; in dal_vector_construct()
45 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct()
46 if (vector->container == NULL) in dal_vector_construct()
64 vector->container = NULL; in dal_vector_presized_costruct()
72 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct()
74 if (vector->container == NULL) in dal_vector_presized_costruct()
83 vector->container + i * struct_size, in dal_vector_presized_costruct()
135 kfree(vector->container); in dal_vector_destruct()
160 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index()
162 return vector->container + (index * vector->struct_size); in dal_vector_at_index()
[all …]
/drivers/scsi/aacraid/
Dcommsup.c1066 u32 channel, id, lun, container; in aac_handle_aif() local
1079 container = channel = id = lun = (u32)-1; in aac_handle_aif()
1091 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1092 if ((container >> 28)) { in aac_handle_aif()
1093 container = (u32)-1; in aac_handle_aif()
1096 channel = (container >> 24) & 0xF; in aac_handle_aif()
1098 container = (u32)-1; in aac_handle_aif()
1101 id = container & 0xFFFF; in aac_handle_aif()
1103 container = (u32)-1; in aac_handle_aif()
1106 lun = (container >> 16) & 0xFF; in aac_handle_aif()
[all …]
Daachba.c960 int container; in build_vpd83_type3() local
967 for (container = 0; container < dev->maximum_num_containers; in build_vpd83_type3()
968 container++) { in build_vpd83_type3()
970 if (scmd_id(scsicmd) == container) { in build_vpd83_type3()
972 dev->fsa_dev[container].identifier, in build_vpd83_type3()
/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c299 ast_vhub_str_of_container(struct usb_gadget_string_container *container) in ast_vhub_str_of_container() argument
301 return (struct usb_gadget_strings *)container->stash; in ast_vhub_str_of_container()
309 struct usb_gadget_string_container *container; in ast_vhub_collect_languages() local
315 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_collect_languages()
319 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages()
334 struct usb_gadget_string_container *container; in ast_vhub_lookup_string() local
336 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_lookup_string()
337 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string()
906 struct usb_gadget_string_container *container; in ast_vhub_str_container_alloc() local
908 size = sizeof(*container); in ast_vhub_str_container_alloc()
[all …]
/drivers/gpu/drm/
Ddrm_managed.c128 void drmm_add_final_kfree(struct drm_device *dev, void *container) in drmm_add_final_kfree() argument
131 WARN_ON(dev < (struct drm_device *) container); in drmm_add_final_kfree()
132 WARN_ON(dev + 1 > (struct drm_device *) (container + ksize(container))); in drmm_add_final_kfree()
133 dev->managed.final_kfree = container; in drmm_add_final_kfree()
Ddrm_encoder.c219 void *container; in __drmm_encoder_alloc() local
227 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_encoder_alloc()
228 if (!container) in __drmm_encoder_alloc()
231 encoder = container + offset; in __drmm_encoder_alloc()
243 return container; in __drmm_encoder_alloc()
Ddrm_drv.c689 void *container; in __devm_drm_dev_alloc() local
693 container = kzalloc(size, GFP_KERNEL); in __devm_drm_dev_alloc()
694 if (!container) in __devm_drm_dev_alloc()
697 drm = container + offset; in __devm_drm_dev_alloc()
700 kfree(container); in __devm_drm_dev_alloc()
703 drmm_add_final_kfree(drm, container); in __devm_drm_dev_alloc()
705 return container; in __devm_drm_dev_alloc()
Ddrm_crtc.c386 void *container; in __drmm_crtc_alloc_with_planes() local
394 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_crtc_alloc_with_planes()
395 if (!container) in __drmm_crtc_alloc_with_planes()
398 crtc = container + offset; in __drmm_crtc_alloc_with_planes()
412 return container; in __drmm_crtc_alloc_with_planes()
Ddrm_plane.c422 void *container; in __drmm_universal_plane_alloc() local
430 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_universal_plane_alloc()
431 if (!container) in __drmm_universal_plane_alloc()
434 plane = container + offset; in __drmm_universal_plane_alloc()
449 return container; in __drmm_universal_plane_alloc()
Ddrm_internal.h86 void drmm_add_final_kfree(struct drm_device *dev, void *container);
/drivers/base/
Dtransport_class.c94 atc->container.class = &atc->tclass.class; in anon_transport_class_register()
95 attribute_container_set_no_classdevs(&atc->container); in anon_transport_class_register()
96 error = attribute_container_register(&atc->container); in anon_transport_class_register()
115 if (unlikely(attribute_container_unregister(&atc->container))) in anon_transport_class_unregister()
DMakefile8 topology.o container.o property.o cacheinfo.o \
/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c81 struct list_head container; in send_packet_completion() local
84 INIT_LIST_HEAD(&container); in send_packet_completion()
85 list_add_tail(&packet->list, &container); in send_packet_completion()
88 do_send_completion(ep, &container); in send_packet_completion()
934 struct list_head container; in recv_packet_completion() local
935 INIT_LIST_HEAD(&container); in recv_packet_completion()
936 list_add_tail(&packet->list, &container); in recv_packet_completion()
939 do_recv_completion(ep, &container); in recv_packet_completion()
1098 struct list_head container; in htc_flush_rx_queue() local
1120 INIT_LIST_HEAD(&container); in htc_flush_rx_queue()
[all …]
Dhtc_mbox.c455 struct list_head container; in htc_tx_comp_handler() local
461 INIT_LIST_HEAD(&container); in htc_tx_comp_handler()
462 list_add_tail(&packet->list, &container); in htc_tx_comp_handler()
464 htc_tx_complete(endpoint, &container); in htc_tx_comp_handler()
1154 struct list_head discard_q, container; in ath6kl_htc_mbox_flush_txep() local
1183 INIT_LIST_HEAD(&container); in ath6kl_htc_mbox_flush_txep()
1184 list_add_tail(&packet->list, &container); in ath6kl_htc_mbox_flush_txep()
1185 htc_tx_complete(endpoint, &container); in ath6kl_htc_mbox_flush_txep()
/drivers/gpu/drm/amd/display/include/
Dvector.h30 uint8_t *container; member
/drivers/acpi/dptf/
DKconfig10 As a container for multiple power/thermal technologies, DPTF provides
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c153 return (struct i2c_payload *)p->payloads.container; in dal_ddc_i2c_payloads_get()