Lines Matching refs:to
3 /// This is a little bit restricted to reduce false positives
26 expression from,to,size;
31 - to = \(kmalloc@p\|kzalloc@p\)
34 + to = memdup_user(from,size);
36 - to==NULL
37 + IS_ERR(to)
41 + PTR_ERR(to)
44 - if (copy_from_user(to, from, size) != 0) {
51 expression from,to,size;
56 - to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
57 + to = vmemdup_user(from,size);
59 - to==NULL
60 + IS_ERR(to)
64 + PTR_ERR(to)
67 - if (copy_from_user(to, from, size) != 0) {
74 expression from,to,size;
79 * to = \(kmalloc@p\|kzalloc@p\)
82 if (to==NULL || ...) S1
83 if (copy_from_user(to, from, size) != 0)
87 expression from,to,size;
92 * to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
93 if (to==NULL || ...) S1
94 if (copy_from_user(to, from, size) != 0)