[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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.

Related Information

The m_clgetm kernel service.

I/O Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]