Searched refs:sm_cdev (Results 1 – 1 of 1) sorted by relevance
96 struct cdev sm_cdev; member1096 port = container_of(inode->i_cdev, struct ib_umad_port, sm_cdev); in ib_umad_sm_open()1327 cdev_init(&port->sm_cdev, &umad_sm_fops); in ib_umad_init_port()1328 port->sm_cdev.owner = THIS_MODULE; in ib_umad_init_port()1330 ret = cdev_device_add(&port->sm_cdev, &port->sm_dev); in ib_umad_init_port()1350 cdev_device_del(&port->sm_cdev, &port->sm_dev); in ib_umad_kill_port()