Home
last modified time | relevance | path

Searched refs:stagd (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/cxgb4/
Ddevice.c372 static int dump_stag(unsigned long id, struct c4iw_debugfs_data *stagd) in dump_stag() argument
379 space = stagd->bufsize - stagd->pos - 1; in dump_stag()
383 ret = cxgb4_read_tpte(stagd->devp->rdev.lldi.ports[0], (u32)id<<8, in dump_stag()
386 dev_err(&stagd->devp->rdev.lldi.pdev->dev, in dump_stag()
390 cc = snprintf(stagd->buf + stagd->pos, space, in dump_stag()
403 stagd->pos += cc; in dump_stag()
409 struct c4iw_debugfs_data *stagd = file->private_data; in stag_release() local
410 if (!stagd) { in stag_release()
414 vfree(stagd->buf); in stag_release()
415 kfree(stagd); in stag_release()
[all …]