Searched refs:linecard_index (Results 1 – 4 of 4) sorted by relevance
11 unsigned int linecard_index) in devlink_linecard_get_by_index() argument16 if (devlink_linecard->index == linecard_index) in devlink_linecard_get_by_index()23 unsigned int linecard_index) in devlink_linecard_index_exists() argument25 return devlink_linecard_get_by_index(devlink, linecard_index); in devlink_linecard_index_exists()32 u32 linecard_index = nla_get_u32(attrs[DEVLINK_ATTR_LINECARD_INDEX]); in devlink_linecard_get_from_attrs() local35 linecard = devlink_linecard_get_by_index(devlink, linecard_index); in devlink_linecard_get_from_attrs()440 devl_linecard_create(struct devlink *devlink, unsigned int linecard_index, in devl_linecard_create() argument450 if (devlink_linecard_index_exists(devlink, linecard_index)) in devl_linecard_create()458 linecard->index = linecard_index; in devl_linecard_create()
1808 __u32 linecard_index:1; member1813 __u32 linecard_index; member1845 __u32 linecard_index) in devlink_linecard_get_req_set_linecard_index() argument1847 req->_present.linecard_index = 1; in devlink_linecard_get_req_set_linecard_index()1848 req->linecard_index = linecard_index; in devlink_linecard_get_req_set_linecard_index()1855 __u32 linecard_index:1; member1860 __u32 linecard_index; member
2759 dst->_present.linecard_index = 1; in devlink_linecard_get_rsp_parse()2760 dst->linecard_index = mnl_attr_get_u32(attr); in devlink_linecard_get_rsp_parse()2783 if (req->_present.linecard_index) in devlink_linecard_get()2784 mnl_attr_put_u32(nlh, DEVLINK_ATTR_LINECARD_INDEX, req->linecard_index); in devlink_linecard_get()
1711 devl_linecard_create(struct devlink *devlink, unsigned int linecard_index,