hsi_alloc_msg(9)

hsi_alloc_msg9

Allocate an hsi message

Usage

struct hsi_msg * hsi_alloc_msg(unsigned int nents, gfp_t flags);

Arguments

nents

Number of memory entries

flags

Kernel allocation flags

Overview

nents can be 0. This mainly makes sense for read transfer. In that case, HSI drivers will call the complete callback when there is data to be read without consuming it.

Return NULL on failure or a pointer to an hsi_msg on success.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.