Lines Matching refs:filp
211 snd->filp = filp_open(fn_cntl, O_RDWR, 0);
212 if (IS_ERR(snd->filp)) {
213 int ret = PTR_ERR(snd->filp);
216 snd->filp = NULL;
223 snd->filp = filp_open(fn_play, O_WRONLY, 0);
224 if (IS_ERR(snd->filp)) {
225 int ret = PTR_ERR(snd->filp);
228 snd->filp = NULL;
231 pcm_file = snd->filp->private_data;
238 snd->filp = filp_open(fn_cap, O_RDONLY, 0);
239 if (IS_ERR(snd->filp)) {
243 snd->filp = NULL;
245 pcm_file = snd->filp->private_data;
262 if (snd->filp)
263 filp_close(snd->filp, NULL);
267 if (snd->filp)
268 filp_close(snd->filp, NULL);
272 if (snd->filp)
273 filp_close(snd->filp, NULL);