[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

d_map_clear Kernel Service

Purpose

Deallocates resources previously allocated on a d_map_init call.

Syntax

#include <sys/dma.h>
   
void d_map_clear (*handle)
struct d_handle *handle

Parameters

handle Indicates the unique handle returned by the d_map_init kernel service.

Description

The d_map_clear kernel service is a bus-specific utility routine determined by the d_map_init service that deallocates resources previously allocated on a d_map_init call. This includes freeing the d_handle structure that was allocated by d_map_init.

Note: You can use the D_MAP_CLEAR macro provided in the /usr/include/sys/dma.h file to code calls to the d_map_clear kernel service.

Implementation Specifics

The d_map_clear kernel service is part of the base device package of your platform.

Related Information

The d_map_init kernel service.


[ Previous | Next | Contents | Home | Search ]