sgset man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



sgset(D3X)							    sgset(D3X)

NAME
     sgset - assign physical addresses to a vector of software scatter-gather
     registers

SYNOPSIS
     #include "sys/types.h"
     #include "sys/buf.h"
     #include "sys/sg.h"

     sgset(struct buf *bp, struct sg *vec, int maxvec, int *resid);

DESCRIPTION
     sgset provides a utility to manage a software equivalent of scatter-
     gather registers for devices that do not implement them. Based on the
     information provided in the buf type structure pointed to by bp, this
     routine fills in maxvec entries of a scatter-gather vector vec. If the
     number of vectors required to perform the transfer exceeds maxvec, the
     contents of resid is set to the number of pages remaining.

     The buffer must not be for mapped address (B_PAGEIO for buf(40) not set).

     The scatter gather entries are formatted in the following structure,
     excerpted from sys/sg.h:
     struct sg {
	     unsigned long sg_ioaddr; /* physical addrs of page */
	     unsigned long sg_bcount; /* byte count of transfer */
     };

   Return Values
     The number of vector entries used.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net