Lines Matching defs:file
22 struct file *file)
28 if (file && ff->effect_owners[effect_id] != file)
87 * @file: owner of the effect
90 struct file *file)
138 ret = check_effect_access(ff, id, file);
156 ff->effect_owners[id] = file;
170 struct file *file)
175 error = check_effect_access(ff, effect_id, file);
188 ff->effect_owners[effect_id] = file;
202 * @file: purported owner of the request
206 * file handle that is requesting erase.
208 int input_ff_erase(struct input_dev *dev, int effect_id, struct file *file)
217 ret = erase_effect(dev, effect_id, file);
225 * input_ff_flush - erase all effects owned by a file handle
227 * @file: purported owner of the effects
230 * the given owner from specified device. Note that @file may be %NULL,
233 int input_ff_flush(struct input_dev *dev, struct file *file)
243 erase_effect(dev, i, file);
319 max_effects * sizeof(struct file *);