[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel and Subsystems Technical Reference, Volume 1

m_clget Macro for mbuf Kernel Services

Purpose

Allocates a page-sized mbuf structure cluster.

Syntax

#include <sys/mbuf.h>
int m_clget (m)
struct mbuf *m;

Parameter

m Specifies the mbuf structure with which the cluster is to be associated.

Description

The m_clget macro allocates a page-sized mbuf cluster and attaches it to the given mbuf structure. If successful, the length of the mbuf structure is set to CLBYTES.

Execution Environment

The m_clget macro can be called from either the process or interrupt environment.

Return Values

1 Indicates successful completion.
0 Indicates an error.

Implementation Specifics

The m_clget macro is part of Base Operating System (BOS) Runtime.

Related Information

The m_clgetm kernel service.

I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]