• Home
  • Raw
  • Download

Lines Matching full:window

82  *	      window from being destroyed while RMAs are in progress.
143 * window or multiple contiguous windows. Mmaps can span across partial windows.
145 * single window. A window can also be of type self or peer.
209 * struct scif_window - Registration Window for Self and Remote
218 * @va_for_temp: va address that this window represents
219 * @dma_mark: Used to determine if all DMAs against the window are done
223 * @type: self or peer window
224 * @peer_window: Pointer to peer window. Useful for sending messages to peer
231 * @pinned_pages: The set of pinned_pages backing this window
238 * @mapped_offset: Offset used to map the window by the peer
313 struct scif_window *window, s64 offset);
314 /* Create self registration window */
317 /* Destroy self registration window.*/
318 int scif_destroy_window(struct scif_endpt *ep, struct scif_window *window);
319 void scif_unmap_window(struct scif_dev *remote_dev, struct scif_window *window);
320 /* Map pages of self window to Aperture/PCI */
322 struct scif_window *window);
323 /* Unregister a self window */
324 int scif_unregister_window(struct scif_window *window);
325 /* Destroy remote registration window */
327 scif_destroy_remote_window(struct scif_window *window);
369 scif_init_window_iter(struct scif_window *window, struct scif_window_iter *iter) in scif_init_window_iter() argument
371 iter->offset = window->offset; in scif_init_window_iter()
375 dma_addr_t scif_off_to_dma_addr(struct scif_window *window, s64 off,
379 dma_addr_t __scif_off_to_dma_addr(struct scif_window *window, s64 off) in __scif_off_to_dma_addr() argument
381 return scif_off_to_dma_addr(window, off, NULL, NULL); in __scif_off_to_dma_addr()
426 static inline void scif_get_window(struct scif_window *window, int nr_pages) in scif_get_window() argument
428 window->ref_count += nr_pages; in scif_get_window()
431 static inline void scif_put_window(struct scif_window *window, int nr_pages) in scif_put_window() argument
433 window->ref_count -= nr_pages; in scif_put_window()
436 static inline void scif_set_window_ref(struct scif_window *window, int nr_pages) in scif_set_window_ref() argument
438 window->ref_count = nr_pages; in scif_set_window_ref()
442 scif_queue_for_cleanup(struct scif_window *window, struct list_head *list) in scif_queue_for_cleanup() argument
445 list_add_tail(&window->list, list); in scif_queue_for_cleanup()
450 static inline void __scif_rma_destroy_tcw_helper(struct scif_window *window) in __scif_rma_destroy_tcw_helper() argument
452 list_del_init(&window->list); in __scif_rma_destroy_tcw_helper()
453 scif_queue_for_cleanup(window, &scif_info.rma_tc); in __scif_rma_destroy_tcw_helper()