home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pppphhhhaaaalllllllloooocccc((((DDDD3333)))) pppphhhhaaaalllllllloooocccc((((DDDD3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- _pppp_hhhh_aaaa_llll_llll_oooo_cccc - allocate and initialize a pollhead structure
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_pppp_oooo_llll_llll_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_kkkk_mmmm_eeee_mmmm_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
- _ssss_tttt_rrrr_uuuu_cccc_tttt _pppp_oooo_llll_llll_hhhh_eeee_aaaa_dddd _****_pppp_hhhh_aaaa_llll_llll_oooo_cccc_((((_iiii_nnnn_tttt _f_l_a_g_))))_;;;;
-
- AAAArrrrgggguuuummmmeeeennnnttttssss
- _f_l_a_g Specifies whether the caller is willing to sleep waiting for
- memory.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _pppp_hhhh_aaaa_llll_llll_oooo_cccc allocates and initializes a _pppp_oooo_llll_llll_hhhh_eeee_aaaa_dddd structure for use by non-
- STREAMS character drivers that wish to support polling. If _f_l_a_g is set
- to _KKKK_MMMM______SSSS_LLLL_EEEE_EEEE_PPPP, the caller will sleep if necessary until sufficient memory
- is available. If _f_l_a_g is set to _KKKK_MMMM______NNNN_OOOO_SSSS_LLLL_EEEE_EEEE_PPPP, the caller will not sleep,
- but _pppp_hhhh_aaaa_llll_llll_oooo_cccc will return _NNNN_UUUU_LLLL_LLLL if sufficient memory is not immediately
- available.
-
- RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
- On success, _pppp_hhhh_aaaa_llll_llll_oooo_cccc returns a pointer to the newly allocated _pppp_oooo_llll_llll_hhhh_eeee_aaaa_dddd
- structure. If _KKKK_MMMM______NNNN_OOOO_SSSS_LLLL_EEEE_EEEE_PPPP is specified and sufficient memory is not
- immediately available, _pppp_hhhh_aaaa_llll_llll_oooo_cccc returns a _NNNN_UUUU_LLLL_LLLL pointer.
-
- UUUUSSSSAAAAGGGGEEEE
- On systems where the _pppp_hhhh_aaaa_llll_llll_oooo_cccc function is available, DDI/DKI conforming
- drivers should only use _pppp_oooo_llll_llll_hhhh_eeee_aaaa_dddd structures which have been allocated and
- initialized using _pppp_hhhh_aaaa_llll_llll_oooo_cccc. Use of _pppp_oooo_llll_llll_hhhh_eeee_aaaa_dddd structures which have been
- obtained by any other means is prohibited on such systems.
-
- LLLLeeeevvvveeeellll
- Base only if _f_l_a_g is set to _KKKK_MMMM______SSSS_LLLL_EEEE_EEEE_PPPP.
-
- Initialization, Base or Interrupt if _f_l_a_g is set to _KKKK_MMMM______NNNN_OOOO_SSSS_LLLL_EEEE_EEEE_PPPP.
-
- SSSSyyyynnnncccchhhhrrrroooonnnniiiizzzzaaaattttiiiioooonnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnnttttssss
- May sleep if flag is set to _KKKK_MMMM______SSSS_LLLL_EEEE_EEEE_PPPP.
-
- Driver-defined basic locks and read/write locks may be held across calls
- to this function if _f_l_a_g is _KKKK_MMMM______NNNN_OOOO_SSSS_LLLL_EEEE_EEEE_PPPP but may not be held if _f_l_a_g is
- _KKKK_MMMM______SSSS_LLLL_EEEE_EEEE_PPPP.
-
- Driver-defined sleep locks may be held across calls to this function
- regardless of the value of _f_l_a_g.
-
- RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
- _pppp_oooo_llll_llll(D2), _pppp_hhhh_ffff_rrrr_eeee_eeee(D3)
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-