/linux-master/drivers/vfio/ |
H A D | container.c | 5 * VFIO container (/dev/vfio/vfio) 80 static bool vfio_iommu_driver_allowed(struct vfio_container *container, argument 85 return container->noiommu == (driver->ops == &vfio_noiommu_ops); 143 * it's freed via kref. Must support container/group/device being 148 struct vfio_container *container; local 149 container = container_of(kref, struct vfio_container, kref); 151 kfree(container); 154 static void vfio_container_get(struct vfio_container *container) argument 156 kref_get(&container->kref); 159 static void vfio_container_put(struct vfio_container *container) argument 185 vfio_container_ioctl_check_extension(struct vfio_container *container, unsigned long arg) argument 235 __vfio_container_attach_groups(struct vfio_container *container, struct vfio_iommu_driver *driver, void *data) argument 260 vfio_ioctl_set_iommu(struct vfio_container *container, unsigned long arg) argument 330 struct vfio_container *container = filep->private_data; local 361 struct vfio_container *container; local 378 struct vfio_container *container = filep->private_data; local 397 struct vfio_container *container; local 416 vfio_container_attach_group(struct vfio_container *container, struct vfio_group *group) argument 470 struct vfio_container *container = group->container; local 535 struct vfio_container *container = device->group->container; local 551 struct vfio_container *container = device->group->container; local 564 struct vfio_container *container = device->group->container; local [all...] |
H A D | vfio_iommu_spapr_tce.c | 50 * A container needs to remember which preregistered region it has 59 * The container descriptor supports only a single group per container. 60 * Required by the API as the container is not supplied with the IOMMU group 75 static long tce_iommu_mm_set(struct tce_container *container) argument 77 if (container->mm) { 78 if (container->mm == current->mm) 83 container->mm = current->mm; 84 mmgrab(container->mm); 89 static long tce_iommu_prereg_free(struct tce_container *container, argument 104 tce_iommu_unregister_pages(struct tce_container *container, __u64 vaddr, __u64 size) argument 136 tce_iommu_register_pages(struct tce_container *container, __u64 vaddr, __u64 size) argument 198 tce_groups_attached(struct tce_container *container) argument 203 tce_iommu_find_table(struct tce_container *container, phys_addr_t ioba, struct iommu_table **ptbl) argument 226 tce_iommu_find_free_table(struct tce_container *container) argument 238 tce_iommu_enable(struct tce_container *container) argument 305 tce_iommu_disable(struct tce_container *container) argument 318 struct tce_container *container; local 346 struct tce_container *container = iommu_data; local 390 tce_iommu_prereg_ua_to_hpa(struct tce_container *container, unsigned long tce, unsigned long shift, unsigned long *phpa, struct mm_iommu_table_group_mem_t **pmem) argument 410 tce_iommu_unuse_page_v2(struct tce_container *container, struct iommu_table *tbl, unsigned long entry) argument 432 tce_iommu_clear(struct tce_container *container, struct iommu_table *tbl, unsigned long entry, unsigned long pages) argument 500 tce_iommu_build(struct tce_container *container, struct iommu_table *tbl, unsigned long entry, unsigned long tce, unsigned long pages, enum dma_data_direction direction) argument 548 tce_iommu_build_v2(struct tce_container *container, struct iommu_table *tbl, unsigned long entry, unsigned long tce, unsigned long pages, enum dma_data_direction direction) argument 607 tce_iommu_create_table(struct tce_container *container, struct iommu_table_group *table_group, int num, __u32 page_shift, __u64 window_size, __u32 levels, struct iommu_table **ptbl) argument 635 tce_iommu_free_table(struct tce_container *container, struct iommu_table *tbl) argument 644 tce_iommu_create_window(struct tce_container *container, __u32 page_shift, __u64 window_size, __u32 levels, __u64 *start_addr) argument 709 tce_iommu_remove_window(struct tce_container *container, __u64 start_addr) argument 748 tce_iommu_create_default_window(struct tce_container *container) argument 831 struct tce_container *container = iommu_data; local 1190 tce_iommu_release_ownership(struct tce_container *container, struct iommu_table_group *table_group) argument 1205 tce_iommu_take_ownership(struct tce_container *container, struct iommu_table_group *table_group) argument 1235 struct tce_container *container = iommu_data; local 1315 struct tce_container *container = iommu_data; local [all...] |
H A D | Makefile | 8 vfio-$(CONFIG_VFIO_CONTAINER) += container.o
|
H A D | group.c | 62 * There can only be users if there is a container, and if there is a 63 * container there must be users. 65 WARN_ON(!group->container != !group->container_users); 67 return group->container || group->iommufd; 72 * if there was no container to unset. Since the ioctl is called on 85 if (group->container) { 105 struct vfio_container *container; local 128 container = vfio_container_from_file(f.file); 129 if (container) { 130 ret = vfio_container_attach_group(container, grou [all...] |
H A D | vfio.h | 82 struct vfio_container *container; member in struct:vfio_group 242 int vfio_container_attach_group(struct vfio_container *container, 274 static inline int vfio_container_attach_group(struct vfio_container *container, argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | vector.c | 35 vector->container = NULL; 43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); 44 if (vector->container == NULL) 61 vector->container = NULL; 69 vector->container = kcalloc(count, struct_size, GFP_KERNEL); 71 if (vector->container == NULL) 80 vector->container + i * struct_size, 132 kfree(vector->container); 157 if (vector->container == NULL || index >= vector->count) 159 return vector->container [all...] |
/linux-master/drivers/base/ |
H A D | container.c | 9 #include <linux/container.h> 13 #define CONTAINER_BUS_NAME "container"
|
H A D | transport_class.c | 21 * transport class<-----attribute container<----class device 23 * Usually the attribute container is per-HBA, but the design doesn't 85 * container. The idea of an anonymous class is that it never 87 * saves on container storage). So it can only be used for triggering 94 atc->container.class = &atc->tclass.class; 95 attribute_container_set_no_classdevs(&atc->container); 96 error = attribute_container_register(&atc->container); 115 if (unlikely(attribute_container_unregister(&atc->container)))
|
H A D | Makefile | 8 topology.o container.o property.o cacheinfo.o \
|
/linux-master/drivers/scsi/aacraid/ |
H A D | commsup.c | 1066 u32 channel, id, lun, container; local 1075 /* Sniff for container changes */ 1079 container = channel = id = lun = (u32)-1; 1091 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); 1092 if ((container >> 28)) { 1093 container = (u32)-1; 1096 channel = (container >> 24) & 0xF; 1098 container = (u32)-1; 1101 id = container & 0xFFFF; 1103 container [all...] |
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_kunit_helpers.c | 64 void *container; local 67 container = __devm_drm_dev_alloc(dev, driver, size, offset); 68 if (IS_ERR(container)) 69 return ERR_CAST(container); 71 drm = container + offset;
|
/linux-master/include/linux/ |
H A D | transport_class.h | 3 * transport_class.h - a generic container for all transport classes 40 struct attribute_container container; member in struct:anon_transport_class 48 . container = { \
|
/linux-master/drivers/gpu/drm/ci/ |
H A D | build-igt.sh | 11 . ../.gitlab-ci/container/create-cross-file.sh armhf
|
/linux-master/kernel/trace/ |
H A D | trace_export.c | 46 #define __field_desc(type, container, item) type item; 49 #define __field_packed(type, container, item) type item; 58 #define __array_desc(type, container, item, size) type item[size]; 150 #define __field_desc(type, container, item) 153 #define __field_packed(type, container, item) 162 #define __array_desc(type, container, item, len)
|
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 327 ast_vhub_str_of_container(struct usb_gadget_string_container *container) argument 329 return (struct usb_gadget_strings *)container->stash; 337 struct usb_gadget_string_container *container; local 343 list_for_each_entry(container, &vhub->vhub_str_desc, list) { 347 lang_str = ast_vhub_str_of_container(container); 362 struct usb_gadget_string_container *container; local 364 list_for_each_entry(container, &vhub->vhub_str_desc, list) { 365 lang_str = ast_vhub_str_of_container(container); 936 struct usb_gadget_string_container *container; local 938 size = sizeof(*container); 971 struct usb_gadget_string_container *container; local [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_encoder.c | 248 void *container; local 253 container = drmm_kzalloc(dev, size, GFP_KERNEL); 254 if (!container) 257 encoder = container + offset; 265 return container;
|
H A D | drm_managed.c | 129 void drmm_add_final_kfree(struct drm_device *dev, void *container) argument 132 WARN_ON(dev < (struct drm_device *) container); 133 WARN_ON(dev + 1 > (struct drm_device *) (container + ksize(container))); 134 dev->managed.final_kfree = container;
|
H A D | drm_drv.c | 721 void *container; local 725 container = kzalloc(size, GFP_KERNEL); 726 if (!container) 729 drm = container + offset; 732 kfree(container); 735 drmm_add_final_kfree(drm, container); 737 return container;
|
/linux-master/tools/testing/selftests/net/ |
H A D | srv6_end_next_csid_l3vpn_test.sh | 24 # Compressed SID (C-SID) container. In this way, the length of the SID 116 # contained in a single Compressed SID (C-SID) container. Therefore the 121 # (C-SID) container, followed by a regular (non compressed) SID. The resulting 123 # SID when all the C-SIDs in a C-SID container have been processed. Using the 146 # C-SID container carrying several C-SIDs (e.g. 0400, 0300, etc). 150 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container 220 # Since the Argument of the C-SID container is zero, the behavior can not 274 # ID of the router used for testing the C-SID container cfgs 276 # Routing table used for testing the C-SID container cfgs 279 # C-SID container configuration [all...] |
H A D | srv6_end_x_next_csid_l3vpn_test.sh | 26 # Compressed SID (C-SID) container. In this way, the length of the SID 119 # contained in a single Compressed SID (C-SID) container. Therefore the 124 # (C-SID) container, followed by a regular (non compressed) SID. The resulting 126 # SID when all the C-SIDs in a C-SID container have been processed. Using the 149 # C-SID container carrying several C-SIDs (e.g. 0300, 0200, etc). 153 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container 220 # Since the Argument of the C-SID container is zero, the behavior can not 254 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container 275 # Since the Argument of the C-SID container is zero, the behavior can not 316 # ID of the router used for testing the C-SID container cfg [all...] |
/linux-master/drivers/gpu/drm/amd/display/include/ |
H A D | vector.h | 30 uint8_t *container; member in struct:vector 66 * reallocate container if necessary 68 * return if the container modified 69 * do not check that index belongs to container
|
/linux-master/drivers/acpi/ |
H A D | container.c | 3 * container.c - ACPI Generic Container Driver 13 #include <linux/container.h> 114 acpi_scan_add_handler_with_hotplug(&container_handler, "container");
|
/linux-master/arch/s390/include/asm/ |
H A D | sysinfo.h | 178 struct topology_container container; member in union:topology_entry
|
/linux-master/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 3747 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3748 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; 3758 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3759 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; 3805 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3806 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; 3816 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3817 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; 3865 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3866 struct amdgpu_device *adev = (struct amdgpu_device *)container 3876 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3926 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3937 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3985 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 3996 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); local 4082 struct od_kobj *container, *container_next; local 4124 amdgpu_od_is_self_contained(struct amdgpu_device *adev, struct od_feature_container *container) argument 4149 struct od_feature_container *container; local [all...] |
/linux-master/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 81 struct list_head container; local 84 INIT_LIST_HEAD(&container); 85 list_add_tail(&packet->list, &container); 88 do_send_completion(ep, &container); 934 struct list_head container; local 935 INIT_LIST_HEAD(&container); 936 list_add_tail(&packet->list, &container); 939 do_recv_completion(ep, &container); 1085 /* recover the packet container */ 1098 struct list_head container; local [all...] |