Searched refs:inparms (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/ |
D | tmod.c | 99 caddr_t *inparms; in tmod_ioctl() local 104 inparms = NULL; in tmod_ioctl() 125 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tmod_ioctl() 126 if (!inparms) { in tmod_ioctl() 130 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tmod_ioctl() 132 kfree(inparms); in tmod_ioctl() 139 kfree(inparms); in tmod_ioctl() 191 if (inparms) { in tmod_ioctl() 192 kfree(inparms); in tmod_ioctl()
|
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/ |
D | tusb.c | 190 caddr_t *inparms; in tusb_ioctl() local 196 inparms = NULL; in tusb_ioctl() 208 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tusb_ioctl() 209 if (!inparms) { in tusb_ioctl() 213 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tusb_ioctl() 215 kfree(inparms); in tusb_ioctl() 222 kfree(inparms); in tusb_ioctl() 278 if (inparms) { in tusb_ioctl() 279 kfree(inparms); in tusb_ioctl()
|
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/ |
D | tagp.c | 128 caddr_t *inparms; in tagp_ioctl() local 133 inparms = NULL; in tagp_ioctl() 154 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tagp_ioctl() 155 if (!inparms) { in tagp_ioctl() 159 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tagp_ioctl() 161 kfree(inparms); in tagp_ioctl() 168 kfree(inparms); in tagp_ioctl() 274 if (inparms) { in tagp_ioctl() 275 kfree(inparms); in tagp_ioctl()
|
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/ |
D | tbase.c | 243 caddr_t *inparms; in tbase_ioctl() local 248 inparms = NULL; in tbase_ioctl() 269 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tbase_ioctl() 270 if (!inparms) { in tbase_ioctl() 274 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tbase_ioctl() 276 kfree(inparms); in tbase_ioctl() 283 kfree(inparms); in tbase_ioctl() 396 if (inparms) { in tbase_ioctl() 397 kfree(inparms); in tbase_ioctl()
|