Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ddi_dma_numwin(9f) [sunos man page]

ddi_dma_numwin(9F)					   Kernel Functions for Drivers 					ddi_dma_numwin(9F)

NAME
ddi_dma_numwin - retrieve number of DMA windows SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_dma_numwin(ddi_dma_handle_t handle, uint_t *nwinp); PARAMETERS
handle The DMA handle previously allocated by a call to ddi_dma_alloc_handle(9F). nwinp Upon a successful return, nwinp will contain the number of DMA windows for this object. INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). DESCRIPTION
ddi_dma_numwin() returns the number of DMA windows for a DMA object if partial resource allocation was permitted. RETURN VALUES
ddi_dma_numwin() returns: DDI_SUCCESS Successfully filled in the number of DMA windows. DDI_FAILURE DMA windows are not activated. CONTEXT
ddi_dma_numwin() can be called from user, kernel, or interrupt context. SEE ALSO
ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_unbind_handle(9F) Writing Device Drivers SunOS 5.10 29 Sep 1994 ddi_dma_numwin(9F)

Check Out this Related Man Page

ddi_dma_numwin(9F)					   Kernel Functions for Drivers 					ddi_dma_numwin(9F)

NAME
ddi_dma_numwin - retrieve number of DMA windows SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_dma_numwin(ddi_dma_handle_t handle, uint_t *nwinp); PARAMETERS
handle The DMA handle previously allocated by a call to ddi_dma_alloc_handle(9F). nwinp Upon a successful return, nwinp will contain the number of DMA windows for this object. INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). DESCRIPTION
ddi_dma_numwin() returns the number of DMA windows for a DMA object if partial resource allocation was permitted. RETURN VALUES
ddi_dma_numwin() returns: DDI_SUCCESS Successfully filled in the number of DMA windows. DDI_FAILURE DMA windows are not activated. CONTEXT
ddi_dma_numwin() can be called from user, kernel, or interrupt context. SEE ALSO
ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_unbind_handle(9F) Writing Device Drivers SunOS 5.11 29 Sep 1994 ddi_dma_numwin(9F)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

connecting to windows from unix

how to connect to windows from unix??? (7 Replies)
Discussion started by: hemant30
7 Replies

2. Shell Programming and Scripting

Want to get the output in windows

Hai I want to run a script in unix and send the outptut to windows. As all the related files are in unix i can't run the script in windows. Actually my work is related to CVS, so I don't have much knowledge about unix but i have a general idea. Thanks, csrope (5 Replies)
Discussion started by: csrope
5 Replies

3. UNIX for Dummies Questions & Answers

Shell script in windows

I use windows and I wanted to know how I can use shell script in windows. I saw windows power shell but the commands they use seem to be different from those I know as a newbie. For example I wanted to change the permission of a file using chmod, but it doesn't recognise such a command. So I would... (12 Replies)
Discussion started by: #moveon
12 Replies

4. Shell Programming and Scripting

sftp connection from Unix to windows

Hi guyz, I have a Solaris 5.9 box from which i need to connect to a windows server using Coreftp (passwordless login). Coreftp is installed on windows and in solaris, it is already available.I generated a pair of key(public,private) in windows and specify pub key over there, edit the know_hosts... (7 Replies)
Discussion started by: Renjesh
7 Replies

5. Solaris

Running unix script from windows.

Hi All, I need to call a unix script from windows bat file, please help if that can be done. I cant install cygwin or putty or any other ssh on server.....! do we have anything else? (8 Replies)
Discussion started by: fidelis
8 Replies

6. Shell Programming and Scripting

Replace unix 'new line' with windows 'new line'

I'm trying to write a script to convert a unix text file to windows/dos format. Essentially all I want to do is replace the Unix return with a windows one. on the command line I can do this successfully by: sed s/$/^M/ ~/unix.txt ~/dos.txt when I put this line in my shell script it... (5 Replies)
Discussion started by: wha72
5 Replies

7. Solaris

DMA failure ?

Our Solaris was hung yesterday, and dmesg show that, nxge3 : <== nxge_m_start: initialization failed nxge2 : nxge_dma_mem_alloc:ddi_dma_mem_alloc kmem alloc failed nxge2 : nxge_alloc_rx_buf_dma: Alloc Failed: dma 9 size_index 10 size requested 4194304 Does it mean the DMA failure ? How... (5 Replies)
Discussion started by: dehetoxic
5 Replies

8. Debian

How to run windows application in Ubuntu?

HI ! all I have some model which works fine in windows 7 OS with matlab program I want to run all those from Ubuntu 12.04 32-bit OS. is there any provision to run windows applications? wine I tried, its not working, if any other available kindly explain the usage also Note : Dual boot ... (5 Replies)
Discussion started by: Akshay Hegde
5 Replies

9. UNIX for Dummies Questions & Answers

Script for copying files from windows to UNIX

Hi guys Let me start by saying that I'm a newbie, so feel free to point me to any good reading material. What I wanted to do is copy some specific files from windows to unix. Let me elaborate my view. Let's say I have some directory tree in unix, CHO-species/C2H1O1/ VAS-S005-001-Ru444/OPT-0/,... (16 Replies)
Discussion started by: saleheen
16 Replies

10. UNIX for Dummies Questions & Answers

UNIX tools on windows ?

is there any tool or something to install and practice unix on windows ? (8 Replies)
Discussion started by: ded325
8 Replies

11. Linux

Dual boot Internet bug

I'm a windows user going to Linux I've tried manjaro, zorin, and other ones :p But none of them will connect to the internet. :confused: I use a cable. ;) I'm running windows 8 :( and I'm trying to dual boot :eek: Can anyone help me? :confused: :b: - CamCK :b: (6 Replies)
Discussion started by: CamCK
6 Replies

12. Linux

Need suggestions or references to find a way to get free Linux on Windows

Hi all, I am sorry if this is a repetitive question and would be happy if I get directed to a source where I can find details about this. I have a laptop with windows 8, 8 GB RAM and 1 TB hard disk with most of the memory available for use. I am trying to find a good option to install Linux... (8 Replies)
Discussion started by: pat_pramod
8 Replies

13. Red Hat

Oracle Linux issue - all files FTPed to it from windows need to to be processed with dos2UNIX

Hello Friends, I have observed one recent issue about ftp from windows to Linux. Initially we had Solaris unix and any file sent from windows to solaris via ftp (binary or ascii) worked smoothly. Say for e.g if I sent a shell script to soalris from windows, that script used to run corectly.... (17 Replies)
Discussion started by: Albert_Pinto7
17 Replies

14. UNIX for Beginners Questions & Answers

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies