Displaying 4 results from an estimated 4 matches for "pending_addr".
Did you mean:
pend_int_addr
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 09/13] lguest64 devices
...ce to restock. */
+ up_read(¤t->mm->mmap_sem);
+ mutex_unlock(&lguest_lock);
+ yield();
+ empty++;
+ goto again;
+ }
+ pending = 0;
+ } else {
+ /* Private mapping: tell our userspace. */
+ linfo->dma_is_pending = 1;
+ linfo->pending_dma = udma;
+ linfo->pending_addr = addr;
+ pending = 1;
+ }
+unlock:
+ up_read(¤t->mm->mmap_sem);
+ mutex_unlock(&lguest_lock);
+ printk("Returning send_dma with pending: %x\n",pending);
+ return pending;
+}
+void release_all_dma(struct lguest_guest_info *linfo)
+{
+ unsigned int i;
+
+ BUG_ON(!mutex...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 09/13] lguest64 devices
...ce to restock. */
+ up_read(¤t->mm->mmap_sem);
+ mutex_unlock(&lguest_lock);
+ yield();
+ empty++;
+ goto again;
+ }
+ pending = 0;
+ } else {
+ /* Private mapping: tell our userspace. */
+ linfo->dma_is_pending = 1;
+ linfo->pending_dma = udma;
+ linfo->pending_addr = addr;
+ pending = 1;
+ }
+unlock:
+ up_read(¤t->mm->mmap_sem);
+ mutex_unlock(&lguest_lock);
+ printk("Returning send_dma with pending: %x\n",pending);
+ return pending;
+}
+void release_all_dma(struct lguest_guest_info *linfo)
+{
+ unsigned int i;
+
+ BUG_ON(!mutex...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...struct *mm;
+ u32 guest_id;
+ u64 pfn_limit;
+ u64 start_kernel_map;
+ u64 page_offset;
+
+ int halted;
+ /* does it really belong here? */
+ char *dead;
+#if 0
+ unsigned long noirq_start, noirq_end;
+#endif
+ int dma_is_pending;
+ unsigned long pending_dma; /* struct lguest_dma */
+ unsigned long pending_addr; /* address they're sending to */
+
+ struct lguest_pgd kpgdir;
+ struct lguest_pgd pgdirs[LGUEST_PGDIRS];
+ struct list_head pgd_list;
+ struct list_head pud_hash[PUD_HASH_SIZE];
+ struct list_head pmd_hash[PMD_HASH_SIZE];
+ struct list_head pte_hash[PTE_HASH_SIZE];
+ struct mutex page_lock;
+...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...struct *mm;
+ u32 guest_id;
+ u64 pfn_limit;
+ u64 start_kernel_map;
+ u64 page_offset;
+
+ int halted;
+ /* does it really belong here? */
+ char *dead;
+#if 0
+ unsigned long noirq_start, noirq_end;
+#endif
+ int dma_is_pending;
+ unsigned long pending_dma; /* struct lguest_dma */
+ unsigned long pending_addr; /* address they're sending to */
+
+ struct lguest_pgd kpgdir;
+ struct lguest_pgd pgdirs[LGUEST_PGDIRS];
+ struct list_head pgd_list;
+ struct list_head pud_hash[PUD_HASH_SIZE];
+ struct list_head pmd_hash[PMD_HASH_SIZE];
+ struct list_head pte_hash[PTE_HASH_SIZE];
+ struct mutex page_lock;
+...