Name

ccw_device_get_chp_desc — return newly allocated channel-path descriptor

Synopsis

struct channel_path_desc * ccw_device_get_chp_desc (struct ccw_device * cdev,
 int chp_idx);
 

Arguments

struct ccw_device * cdev

device to obtain the descriptor for

int chp_idx

index of the channel path

Description

On success return a newly allocated copy of the channel-path description data associated with the given channel path. Return NULL on error.