Searched refs:cp_inst (Results 1 – 1 of 1) sorted by relevance
267 struct coproc_instance *cp_inst; in coproc_open() local269 cp_inst = kzalloc(sizeof(*cp_inst), GFP_KERNEL); in coproc_open()270 if (!cp_inst) in coproc_open()273 cp_inst->coproc = container_of(inode->i_cdev, struct coproc_dev, in coproc_open()275 fp->private_data = cp_inst; in coproc_open()284 struct coproc_instance *cp_inst; in coproc_ioc_tx_win_open() local288 cp_inst = fp->private_data; in coproc_ioc_tx_win_open()293 if (cp_inst->txwin) in coproc_ioc_tx_win_open()307 if (!cp_inst->coproc->vops || !cp_inst->coproc->vops->open_win) { in coproc_ioc_tx_win_open()312 txwin = cp_inst->coproc->vops->open_win(uattr.vas_id, uattr.flags, in coproc_ioc_tx_win_open()[all …]