/linux/drivers/vfio/ |
A D | vfio_iommu_spapr_tce.c | 76 if (container->mm) { in tce_iommu_mm_set() 83 mmgrab(container->mm); in tce_iommu_mm_set() 312 account_locked_vm(container->mm, container->locked_pages, false); in tce_iommu_disable() 324 container = kzalloc(sizeof(*container), GFP_KERNEL); in tce_iommu_open() 325 if (!container) in tce_iommu_open() 334 return container; in tce_iommu_open() 374 if (container->mm) in tce_iommu_release() 378 kfree(container); in tce_iommu_release() 803 BUG_ON(!container); in tce_iommu_ioctl() 804 if (container->mm && container->mm != current->mm) in tce_iommu_ioctl() [all …]
|
A D | vfio.c | 1149 container = kzalloc(sizeof(*container), GFP_KERNEL); in vfio_fops_open() 1191 struct vfio_container *container = group->container; in __vfio_group_unset_container() local 1294 group->container = container; in vfio_group_set_container() 1884 container = group->container; in vfio_pin_pages() 1931 container = group->container; in vfio_unpin_pages() 1985 container = group->container; in vfio_group_pin_pages() 2029 container = group->container; in vfio_group_unpin_pages() 2077 container = group->container; in vfio_dma_rw() 2102 container = group->container; in vfio_register_iommu_notifier() 2126 container = group->container; in vfio_unregister_iommu_notifier() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/basics/ |
A D | vector.c | 37 vector->container = NULL; in dal_vector_construct() 46 if (vector->container == NULL) in dal_vector_construct() 64 vector->container = NULL; 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() 174 vector->container + (index * vector->struct_size), in dal_vector_remove_at_index() 276 memmove(vec_cloned->container, vector->container, in dal_vector_clone() 294 new_container = krealloc(vector->container, in dal_vector_reserve() [all …]
|
/linux/drivers/scsi/aacraid/ |
A D | commsup.c | 1107 container = (u32)-1; in aac_handle_aif() 1154 container < dev->maximum_num_containers; ++container) { in aac_handle_aif() 1232 container = (u32)-1; in aac_handle_aif() 1311 container < dev->maximum_num_containers; ++container) { in aac_handle_aif() 1331 for (container = 0; in aac_handle_aif() 1333 ++container) { in aac_handle_aif() 1348 for (container = 0; in aac_handle_aif() 1350 ++container) { in aac_handle_aif() 1365 container = 0; in aac_handle_aif() 1368 for (; container < dev->maximum_num_containers; ++container) { in aac_handle_aif() [all …]
|
/linux/Documentation/driver-api/ |
A D | vfio.rst | 80 a container class, which may hold one or more groups. A container 104 be set to the same container. If a group fails to set to a container 169 int container, group, device, i; 176 /* Create a new container */ 194 /* Add the group to the container */ 308 container. 340 disables the container. 350 /* Add the group to the container */ 360 if (ioctl(container, VFIO_IOMMU_ENABLE)) 387 ioctl(container, VFIO_EEH_PE_OP, &pe_op); [all …]
|
/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
A D | hub.c | 309 struct usb_gadget_string_container *container; in ast_vhub_collect_languages() local 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 906 struct usb_gadget_string_container *container; in ast_vhub_str_container_alloc() local 908 size = sizeof(*container); in ast_vhub_str_container_alloc() 912 if (!container) in ast_vhub_str_container_alloc() 918 return container; in ast_vhub_str_container_alloc() 941 struct usb_gadget_string_container *container; in ast_vhub_str_alloc_add() local 943 container = ast_vhub_str_container_alloc(vhub); in ast_vhub_str_alloc_add() 944 if (IS_ERR(container)) in ast_vhub_str_alloc_add() [all …]
|
/linux/Documentation/security/tpm/ |
A D | tpm_vtpm_proxy.rst | 15 container. This allows programs to interact with a TPM in a container 17 container gets its own unique, emulated, software TPM. 22 To make an emulated software TPM available to each container, the container 25 descriptor. The former is moved into the container by creating a character 27 is passed to the TPM emulator. Software inside the container can then send
|
/linux/sound/soc/qcom/qdsp6/ |
A D | audioreach.c | 336 struct audioreach_container *container) in audioreach_get_container_last_module() argument 362 struct audioreach_container *container) in audioreach_get_container_first_module() argument 377 struct audioreach_container *container, in audioreach_get_container_next_module() argument 393 struct audioreach_container *container, in apm_populate_module_list_obj() argument 400 obj->container_id = container->container_id; in apm_populate_module_list_obj() 401 obj->num_modules = container->num_modules; in apm_populate_module_list_obj() 403 list_for_each_container_module(module, container) { in apm_populate_module_list_obj() 421 struct audioreach_container *container; in audioreach_populate_graph() local 439 apm_populate_container_config(cobj, container); in audioreach_populate_graph() 470 struct audioreach_container *container; in audioreach_alloc_graph_pkt() local [all …]
|
A D | q6apm.c | 164 struct audioreach_container *container; in __q6apm_find_module_by_mid() local 169 list_for_each_entry(container, &sgs->container_list, node) { in __q6apm_find_module_by_mid() 170 list_for_each_entry(module, &container->modules_list, node) { in __q6apm_find_module_by_mid() 182 struct audioreach_container *container; in q6apm_graph_get_last_module() local 192 container = list_last_entry(&sg->container_list, struct audioreach_container, node); in q6apm_graph_get_last_module() 193 module = audioreach_get_container_last_module(container); in q6apm_graph_get_last_module() 200 struct audioreach_container *container; in q6apm_graph_get_first_module() local 211 module = audioreach_get_container_first_module(container); in q6apm_graph_get_first_module() 373 struct audioreach_container *container; in q6apm_graph_media_format_pcm() local 377 list_for_each_entry(container, &sgs->container_list, node) { in q6apm_graph_media_format_pcm() [all …]
|
A D | audioreach.h | 668 struct audioreach_container *container; member 721 struct audioreach_container *container); 723 struct audioreach_container *container); 725 struct audioreach_container *container,
|
/linux/kernel/trace/ |
A D | trace_export.c | 46 #define __field_desc(type, container, item) type item; argument 49 #define __field_packed(type, container, item) type item; argument 55 #define __array_desc(type, container, item, size) type item[size]; argument 143 #define __field_desc(type, container, item) argument 146 #define __field_packed(type, container, item) argument 152 #define __array_desc(type, container, item, len) argument
|
/linux/drivers/gpu/drm/ |
A D | drm_encoder.c | 219 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()
|
A D | drm_managed.c | 128 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()
|
A D | drm_drv.c | 686 void *container; in __devm_drm_dev_alloc() local 690 container = kzalloc(size, GFP_KERNEL); in __devm_drm_dev_alloc() 691 if (!container) in __devm_drm_dev_alloc() 694 drm = container + offset; in __devm_drm_dev_alloc() 697 kfree(container); in __devm_drm_dev_alloc() 700 drmm_add_final_kfree(drm, container); in __devm_drm_dev_alloc() 702 return container; in __devm_drm_dev_alloc()
|
A D | drm_crtc.c | 386 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()
|
/linux/drivers/base/ |
A D | transport_class.c | 94 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()
|
A D | .container.o.cmd | 1 …container.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bi… 3 source_drivers/base/container.o := drivers/base/container.c 5 deps_drivers/base/container.o := \ 22 include/linux/container.h \ 922 drivers/base/container.o: $(deps_drivers/base/container.o) 924 $(deps_drivers/base/container.o):
|
/linux/Documentation/devicetree/bindings/mfd/ |
A D | sky81452.txt | 8 - backlight : container node for backlight following the binding 10 - regulator : container node for regulators following the binding
|
/linux/include/linux/ |
A D | transport_class.h | 40 struct attribute_container container; member 48 . container = { \
|
/linux/drivers/net/wireless/ath/ath6kl/ |
A D | htc_pipe.c | 81 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 …]
|
/linux/Documentation/devicetree/bindings/net/ |
A D | mscc-ocelot.txt | 24 - ethernet-ports: A container for child nodes representing switch ports. 26 The ethernet-ports container has the following properties
|
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
A D | overview.rst | 83 A DPRC is a container object that holds all the other 86 in the container. 124 All objects in a container share the same hardware "isolation context". 126 is at the DPRC (container) level, not at the individual object 269 same container/DPRC share the same 'device-id'. 280 As described previously, a DPRC is a container that holds the other 350 and handles interrupts for container events such as hot plug by
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_gem.c | 456 void **container, size_t size, void (*free)(struct kref *ref), in v3d_job_init() argument 464 *container = kcalloc(1, size, GFP_KERNEL); in v3d_job_init() 465 if (!*container) { in v3d_job_init() 470 job = *container; in v3d_job_init() 515 kfree(*container); in v3d_job_init() 516 *container = NULL; in v3d_job_init()
|
/linux/sound/core/ |
A D | control.c | 1343 unsigned int *container; in replace_user_tlv() local 1355 container = vmemdup_user(buf, size); in replace_user_tlv() 1356 if (IS_ERR(container)) in replace_user_tlv() 1357 return PTR_ERR(container); in replace_user_tlv() 1361 change = memcmp(ue->tlv_data, container, size) != 0; in replace_user_tlv() 1363 kvfree(container); in replace_user_tlv() 1378 ue->tlv_data = container; in replace_user_tlv() 1722 unsigned int __user *container; in snd_ctl_tlv_ioctl() local 1739 container = buf->tlv; in snd_ctl_tlv_ioctl() 1751 return call_tlv_handler(file, op_flag, kctl, &id, container, in snd_ctl_tlv_ioctl() [all …]
|
/linux/Documentation/driver-api/driver-model/ |
A D | design-patterns.rst | 21 The most common way to achieve this is to use the state container design 41 called. This is our state container for this instance of the device driver.
|