Searched refs:cp_inst (Results 1 – 1 of 1) sorted by relevance
266 struct coproc_instance *cp_inst; in coproc_open() local268 cp_inst = kzalloc(sizeof(*cp_inst), GFP_KERNEL); in coproc_open()269 if (!cp_inst) in coproc_open()272 cp_inst->coproc = container_of(inode->i_cdev, struct coproc_dev, in coproc_open()274 fp->private_data = cp_inst; in coproc_open()283 struct coproc_instance *cp_inst; in coproc_ioc_tx_win_open() local287 cp_inst = fp->private_data; in coproc_ioc_tx_win_open()292 if (cp_inst->txwin) in coproc_ioc_tx_win_open()306 if (!cp_inst->coproc->vops || !cp_inst->coproc->vops->open_win) { in coproc_ioc_tx_win_open()311 txwin = cp_inst->coproc->vops->open_win(uattr.vas_id, uattr.flags, in coproc_ioc_tx_win_open()[all …]