Home
last modified time | relevance | path

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

/drivers/vfio/
Dvfio_iommu_spapr_tce.c117 static long tce_iommu_mm_set(struct tce_container *container) in tce_iommu_mm_set() argument
119 if (container->mm) { in tce_iommu_mm_set()
120 if (container->mm == current->mm) in tce_iommu_mm_set()
125 container->mm = current->mm; in tce_iommu_mm_set()
126 atomic_inc(&container->mm->mm_count); in tce_iommu_mm_set()
131 static long tce_iommu_prereg_free(struct tce_container *container, in tce_iommu_prereg_free() argument
136 ret = mm_iommu_put(container->mm, tcemem->mem); in tce_iommu_prereg_free()
146 static long tce_iommu_unregister_pages(struct tce_container *container, in tce_iommu_unregister_pages() argument
156 mem = mm_iommu_find(container->mm, vaddr, size >> PAGE_SHIFT); in tce_iommu_unregister_pages()
160 list_for_each_entry(tcemem, &container->prereg_list, next) { in tce_iommu_unregister_pages()
[all …]
Dvfio.c78 struct vfio_container *container; member
289 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument
291 kref_get(&container->kref); in vfio_container_get()
296 struct vfio_container *container; in vfio_container_release() local
297 container = container_of(kref, struct vfio_container, kref); in vfio_container_release()
299 kfree(container); in vfio_container_release()
302 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument
304 kref_put(&container->kref, vfio_container_release); in vfio_container_put()
992 static long vfio_ioctl_check_extension(struct vfio_container *container, in vfio_ioctl_check_extension() argument
998 down_read(&container->group_lock); in vfio_ioctl_check_extension()
[all …]
/drivers/staging/lustre/lnet/lnet/
Dlib-msg.c134 struct lnet_msg_container *container = the_lnet.ln_msg_containers[cpt]; in lnet_msg_commit() local
157 list_add(&msg->msg_activelist, &container->msc_active); in lnet_msg_commit()
442 struct lnet_msg_container *container; in lnet_finalize() local
480 container = the_lnet.ln_msg_containers[cpt]; in lnet_finalize()
481 list_add_tail(&msg->msg_list, &container->msc_finalizing); in lnet_finalize()
488 for (i = 0; i < container->msc_nfinalizers; i++) { in lnet_finalize()
489 if (container->msc_finalizers[i] == current) in lnet_finalize()
492 if (my_slot < 0 && !container->msc_finalizers[i]) in lnet_finalize()
496 if (i < container->msc_nfinalizers || my_slot < 0) { in lnet_finalize()
501 container->msc_finalizers[my_slot] = current; in lnet_finalize()
[all …]
Dlib-md.c170 struct lnet_res_container *container = the_lnet.ln_md_containers[cpt]; in lnet_md_link() local
197 lnet_res_lh_initialize(container, &md->md_lh); in lnet_md_link()
200 list_add(&md->md_list, &container->rec_active); in lnet_md_link()
/drivers/scsi/aacraid/
Dcommsup.c944 u32 channel, id, lun, container; in aac_handle_aif() local
957 container = channel = id = lun = (u32)-1; in aac_handle_aif()
969 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
970 if ((container >> 28)) { in aac_handle_aif()
971 container = (u32)-1; in aac_handle_aif()
974 channel = (container >> 24) & 0xF; in aac_handle_aif()
976 container = (u32)-1; in aac_handle_aif()
979 id = container & 0xFFFF; in aac_handle_aif()
981 container = (u32)-1; in aac_handle_aif()
984 lun = (container >> 16) & 0xFF; in aac_handle_aif()
[all …]
/drivers/base/
Dtransport_class.c91 atc->container.class = &atc->tclass.class; in anon_transport_class_register()
92 attribute_container_set_no_classdevs(&atc->container); in anon_transport_class_register()
93 error = attribute_container_register(&atc->container); in anon_transport_class_register()
112 if (unlikely(attribute_container_unregister(&atc->container))) in anon_transport_class_unregister()
DMakefile7 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()
944 struct list_head container; in recv_packet_completion() local
945 INIT_LIST_HEAD(&container); in recv_packet_completion()
946 list_add_tail(&packet->list, &container); in recv_packet_completion()
949 do_recv_completion(ep, &container); in recv_packet_completion()
1108 struct list_head container; in htc_flush_rx_queue() local
1130 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/staging/fsl-mc/
DREADME.txt89 A DPRC is a container object that holds all the other
92 in the container.
127 All objects in a container share the same hardware "isolation context".
129 is at the DPRC (container) level, not at the individual object
256 same container/DPRC share the same 'device-id'.
267 As described previously, a DPRC is a container that holds the other
330 and handles interrupts for container events such as hot plug by
/drivers/acpi/
DMakefile71 obj-$(CONFIG_ACPI) += container.o
DKconfig384 the module will be called container.
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h576 int lnet_msg_container_setup(struct lnet_msg_container *container, int cpt);
577 void lnet_msg_container_cleanup(struct lnet_msg_container *container);