Lines Matching refs:err
30 int err, i;
32 err = mutex_lock_interruptible(&profile_lock);
33 if (err)
34 return err;
57 int err;
59 err = mutex_lock_interruptible(&profile_lock);
60 if (err)
61 return err;
68 err = cur_profile->profile_get(cur_profile, &profile);
70 if (err)
71 return err;
84 int err, i;
86 err = mutex_lock_interruptible(&profile_lock);
87 if (err)
88 return err;
108 err = cur_profile->profile_set(cur_profile, i);
109 if (!err)
113 if (err)
114 return err;
143 int err;
145 err = mutex_lock_interruptible(&profile_lock);
146 if (err)
147 return err;
154 err = cur_profile->profile_get(cur_profile, &profile);
155 if (err) {
157 return err;
168 err = cur_profile->profile_set(cur_profile, next);
171 if (!err)
174 return err;
180 int err;
196 err = sysfs_create_group(acpi_kobj, &platform_profile_group);
197 if (err) {
199 return err;