Searched refs:anon_file (Results 1 – 1 of 1) sorted by relevance
297 struct ondemand_anon_file *anon_file) in cachefiles_ondemand_get_fd() argument315 anon_file->fd = get_unused_fd_flags(O_WRONLY); in cachefiles_ondemand_get_fd()316 if (anon_file->fd < 0) { in cachefiles_ondemand_get_fd()317 ret = anon_file->fd; in cachefiles_ondemand_get_fd()321 anon_file->file = anon_inode_getfile("[cachefiles]", in cachefiles_ondemand_get_fd()323 if (IS_ERR(anon_file->file)) { in cachefiles_ondemand_get_fd()324 ret = PTR_ERR(anon_file->file); in cachefiles_ondemand_get_fd()332 anon_file->file->private_data = NULL; in cachefiles_ondemand_get_fd()337 anon_file->file->f_mode |= FMODE_PWRITE | FMODE_LSEEK; in cachefiles_ondemand_get_fd()340 load->fd = anon_file->fd; in cachefiles_ondemand_get_fd()[all …]