Home | History | Annotate | Download | only in kernel_space

Lines Matching defs:tif

127 	tagp_interface_t tif;
140 * between user and kernel space, using the tif
145 if (copy_from_user(&tif, (void *)l, sizeof(tif))) {
153 if (tif.in_len > 0) {
154 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL);
159 rc = copy_from_user(inparms, tif.in_data, tif.in_len);
165 if (tif.out_len > 0) {
166 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL);
249 tif.out_rc = rc;
253 * setup the rest of tif pointer for returning to
257 /* if outparms then copy outparms into tif.out_data */
259 if (copy_to_user(tif.out_data, outparms, tif.out_len)) {
265 /* copy tif structure into l so that can be used by user program */
266 if (copy_to_user((void *)l, &tif, sizeof(tif))) {
267 printk("tpci: Unsuccessful copy_to_user of tif\n");