---
name: "i2o_sg_tablesize"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/i2o_sg_tablesize"
---

# i2o\_sg\_tablesize(9)

Calculate the maximum number of elements in a SGL

## NAME

i2o\_sg\_tablesize - Calculate the maximum number of elements in a SGL

## SYNOPSIS

**u16 i2o\_sg\_tablesize(struct i2o\_controller \*** *c***, u16** *body\_size***);**

## ARGUMENTS

*c*

I2O controller for which the calculation should be done

*body\_size*

maximum body size used for message in 32-bit words.

## DESCRIPTION

Return the maximum number of SG elements in a SG list.

## COPYRIGHT
